Skip to content
Snippets Groups Projects
Commit 27445e91 authored by atenart's avatar atenart
Browse files

Rename the Nautilus exit button to close

parent b32ba9f7
No related branches found
No related tags found
No related merge requests found
File added
...@@ -94,9 +94,9 @@ class ColumnExtension(GObject.GObject, Nautilus.MenuProvider, Nautilus.LocationW ...@@ -94,9 +94,9 @@ class ColumnExtension(GObject.GObject, Nautilus.MenuProvider, Nautilus.LocationW
window.set_titlebar(headerbar) window.set_titlebar(headerbar)
headerbar.props.title = "Metadata removal failed" headerbar.props.title = "Metadata removal failed"
exit_buton = Gtk.Button("Exit") close_buton = Gtk.Button("Close")
exit_buton.connect("clicked", lambda _: window.close()) close_buton.connect("clicked", lambda _: window.close())
headerbar.pack_end(exit_buton) headerbar.pack_end(close_buton)
box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL) box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
window.add(box) window.add(box)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment