Skip to content

Commit

Permalink
Merge pull request #6 from bariscodefxy/patch-1
Browse files Browse the repository at this point in the history
ported xfce about dialog fix from pardus-software
  • Loading branch information
fthaltun authored Feb 6, 2024
2 parents 1f7b4b3 + 9976cb5 commit ad17fe8
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 ad17fe8

Please sign in to comment.