added desktop integration to debian pacakging. Fixes #20.
Build Debian Packages / build (trixie, debian13) (push) Successful in 13m58s
Build Debian Packages / build (bookworm, debian12) (push) Successful in 14m18s
Build Debian Packages / build (bullseye, debian11) (push) Has been cancelled

This commit is contained in:
2026-07-04 15:54:26 +02:00
parent 415224f692
commit ef695a7487
5 changed files with 11 additions and 4 deletions
+5 -1
View File
@@ -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__ )