Skip to content

Commit

Permalink
ported xfce about dialog fix from pardus-software
Browse files Browse the repository at this point in the history
  • Loading branch information
bariscodefxy authored Feb 5, 2024
1 parent 1f7b4b3 commit 9976cb5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/client/MainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,13 @@ def init(self):

# about dialog
self.o("ui_about_dialog").set_program_name(_("Pardus Power Manager"))
if self.o("ui_about_dialog").get_titlebar() is None:
about_headerbar = Gtk.HeaderBar.new()
about_headerbar.set_show_close_button(True)
about_headerbar.set_title(_("About Pardus Power Manager"))
about_headerbar.pack_start(Gtk.Image.new_from_icon_name("pardus-power-manager", Gtk.IconSize.LARGE_TOOLBAR))
about_headerbar.show_all()
self.o("ui_about_dialog").set_titlebar(about_headerbar)

# settings page
self.window.set_icon_name("pardus-power-manager")
Expand Down

0 comments on commit 9976cb5

Please sign in to comment.