made sure the toolbar icon loading works with pyinstaller package

git-svn-id: http://comictagger.googlecode.com/svn/trunk@46 6c5673fe-1810-88d6-992b-cd32ca31540c
This commit is contained in:
beville@gmail.com 2012-11-15 17:22:27 +00:00
parent cd39847aa8
commit 5c814bf7c9

View File

@ -204,13 +204,13 @@ class TaggerWindow( QtGui.QMainWindow):
# ToolBar
self.actionLoad.setIcon( QtGui.QIcon('graphics/open.png') )
self.actionWrite_Tags.setIcon( QtGui.QIcon('graphics/save.png') )
self.actionParse_Filename.setIcon( QtGui.QIcon('graphics/parse.png') )
self.actionSearchOnline.setIcon( QtGui.QIcon('graphics/search.png') )
self.actionAutoSearch.setIcon( QtGui.QIcon('graphics/auto.png') )
self.actionClearEntryForm.setIcon( QtGui.QIcon('graphics/clear.png') )
self.actionPageBrowser.setIcon( QtGui.QIcon('graphics/browse.png') )
self.actionLoad.setIcon( QtGui.QIcon(os.path.join(ComicTaggerSettings.baseDir(),'graphics/open.png')) )
self.actionWrite_Tags.setIcon( QtGui.QIcon(os.path.join(ComicTaggerSettings.baseDir(),'graphics/save.png')) )
self.actionParse_Filename.setIcon( QtGui.QIcon(os.path.join(ComicTaggerSettings.baseDir(),'graphics/parse.png')) )
self.actionSearchOnline.setIcon( QtGui.QIcon(os.path.join(ComicTaggerSettings.baseDir(),'graphics/search.png')) )
self.actionAutoSearch.setIcon( QtGui.QIcon(os.path.join(ComicTaggerSettings.baseDir(),'graphics/auto.png')) )
self.actionClearEntryForm.setIcon( QtGui.QIcon(os.path.join(ComicTaggerSettings.baseDir(),'graphics/clear.png')) )
self.actionPageBrowser.setIcon( QtGui.QIcon(os.path.join(ComicTaggerSettings.baseDir(),'graphics/browse.png') ))
self.toolBar.addAction( self.actionLoad )
self.toolBar.addAction( self.actionWrite_Tags )