added desktop integration to debian pacakging. Fixes #20.
This commit is contained in:
@@ -253,7 +253,11 @@ class DamarisGUI:
|
||||
self.xml_gui.add_from_file(glade_file)
|
||||
self.main_window = self.xml_gui.get_object( "main_window" )
|
||||
self.main_window.connect( "delete-event", self.quit_event )
|
||||
self.main_window.set_icon_from_file( os.path.join( os.path.dirname( __file__ ), "DAMARIS3.png" ) )
|
||||
for icon_path in ["/usr/share/pixmaps/DAMARIS3.png",
|
||||
os.path.join( os.path.dirname( __file__ ), "DAMARIS3.png" )]:
|
||||
if os.path.exists(icon_path):
|
||||
self.main_window.set_icon_from_file(icon_path)
|
||||
break
|
||||
self.main_window.set_title( "DAMARIS-%s" % __version__ )
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user