diff options
| author | Antoine Tenart | 2018-07-26 08:57:09 +0200 |
|---|---|---|
| committer | Antoine Tenart | 2018-07-26 08:57:09 +0200 |
| commit | 27445e913484ad58642efe5ef3b4a194d099eb70 (patch) | |
| tree | eeb87de8aa0ae8cc5f80cbbf0df58590d0d01977 | |
| parent | b32ba9f736995b52c4cb18ebc6e8e8b90c45c120 (diff) | |
Rename the Nautilus exit button to close
Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
| -rw-r--r-- | nautilus/.nautilus_mat2.py.swp | bin | 0 -> 20480 bytes | |||
| -rw-r--r-- | nautilus/nautilus_mat2.py | 6 |
2 files changed, 3 insertions, 3 deletions
diff --git a/nautilus/.nautilus_mat2.py.swp b/nautilus/.nautilus_mat2.py.swp new file mode 100644 index 0000000..2eff1c6 --- /dev/null +++ b/nautilus/.nautilus_mat2.py.swp | |||
| Binary files differ | |||
diff --git a/nautilus/nautilus_mat2.py b/nautilus/nautilus_mat2.py index 32326be..2336a16 100644 --- a/nautilus/nautilus_mat2.py +++ b/nautilus/nautilus_mat2.py | |||
| @@ -94,9 +94,9 @@ class ColumnExtension(GObject.GObject, Nautilus.MenuProvider, Nautilus.LocationW | |||
| 94 | window.set_titlebar(headerbar) | 94 | window.set_titlebar(headerbar) |
| 95 | headerbar.props.title = "Metadata removal failed" | 95 | headerbar.props.title = "Metadata removal failed" |
| 96 | 96 | ||
| 97 | exit_buton = Gtk.Button("Exit") | 97 | close_buton = Gtk.Button("Close") |
| 98 | exit_buton.connect("clicked", lambda _: window.close()) | 98 | close_buton.connect("clicked", lambda _: window.close()) |
| 99 | headerbar.pack_end(exit_buton) | 99 | headerbar.pack_end(close_buton) |
| 100 | 100 | ||
| 101 | box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL) | 101 | box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL) |
| 102 | window.add(box) | 102 | window.add(box) |
