Rename the Nautilus exit button to close
Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
This commit is contained in:
parent
b32ba9f736
commit
27445e9134
BIN
nautilus/.nautilus_mat2.py.swp
Normal file
BIN
nautilus/.nautilus_mat2.py.swp
Normal file
Binary file not shown.
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user