Skip to content

Commit

Permalink
Use window-close icon instead of cancel for panel
Browse files Browse the repository at this point in the history
  • Loading branch information
ztlxltl committed Feb 2, 2025
1 parent 1a0b764 commit 3ea86a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/family_tree_view_panel_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def create_panel_header(self):
panel_header_container = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
panel_header = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, halign=Gtk.Align.END)

image = Gtk.Image.new_from_icon_name("cancel", Gtk.IconSize.LARGE_TOOLBAR)
image = Gtk.Image.new_from_icon_name("window-close", Gtk.IconSize.LARGE_TOOLBAR)
close_button = Gtk.Button(image=image)
close_button.connect("clicked", lambda button: self.widget_manager.close_panel())
panel_header.add(close_button)
Expand Down

0 comments on commit 3ea86a5

Please sign in to comment.