1
0
mirror of synced 2024-11-25 18:54:22 +01:00

Rename the Nautilus exit button to close

Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
This commit is contained in:
Antoine Tenart 2018-07-26 08:57:09 +02:00
parent b32ba9f736
commit 27445e9134
2 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@ -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)