1
0
mirror of synced 2024-12-22 12:50:13 +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)
headerbar.props.title = "Metadata removal failed"
exit_buton = Gtk.Button("Exit")
exit_buton.connect("clicked", lambda _: window.close())
headerbar.pack_end(exit_buton)
close_buton = Gtk.Button("Close")
close_buton.connect("clicked", lambda _: window.close())
headerbar.pack_end(close_buton)
box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
window.add(box)