Changeset 774:60afd8f94257 in hatta-dev for hatta_qticon.py


Ignore:
Timestamp:
07/09/10 08:07:06 (23 months ago)
Author:
Cezary Krzyżanowski <cezary.krzyzanowski@…>
Branch:
default
Children:
775:29909eb43528, 776:3fb8fdccbf45
Message:

Update of project metadata imports

File:
1 edited

Legend:

Unmodified
Added
Removed
  • hatta_qticon.py

    r734 r774  
    3434    QPoint, QLocale) 
    3535 
    36 from hatta import WikiConfig, Wiki, WikiRequest, name, url 
     36from hatta import WikiConfig, Wiki, WikiRequest, project_name, project_url 
    3737 
    3838def we_are_frozen(): 
     
    8383        try: 
    8484            return self.wiki.application(*args, **kwargs) 
    85         except Exception as (errno, strerror): 
    86             self.exception_signal.emit(errno, strerror) 
     85        except e: 
     86            print e 
     87#        except Exception as (errno, strerror): 
     88#            self.exception_signal.emit(errno, strerror) 
    8789 
    8890    def quit(self): 
     
    204206        str(QDesktopServices.storageLocation( 
    205207            QDesktopServices.DataLocation)), 
    206         name, 
    207         name + u'.conf') 
     208        project_name, 
     209        project_name + u'.conf') 
    208210    dist_icon = os.path.join(module_path(), 
    209211                             'share/icons/hicolor/64x64/hatta.png') 
     
    462464        str(QDesktopServices.storageLocation( 
    463465            QDesktopServices.DataLocation)), 
    464         name, 
     466        project_name, 
    465467        u'pages'), 
    466468    cache_path=join( 
    467469        str(QDesktopServices.storageLocation( 
    468470            QDesktopServices.CacheLocation)), 
    469         name), 
     471        project_name), 
    470472    # front_page = 'Home' 
    471473    # page_charset = 'UTF-8' 
Note: See TracChangeset for help on using the changeset viewer.