mirror of
https://github.com/linuxmint/timeshift.git
synced 2024-10-26 09:54:40 +03:00
Unmark Deletion: Update menu item label
This commit is contained in:
parent
04ee126ef4
commit
ee92ad8af7
@ -634,7 +634,7 @@ class MainWindow : Gtk.Window{
|
|||||||
|
|
||||||
App.repo.load_snapshots();
|
App.repo.load_snapshots();
|
||||||
|
|
||||||
string title = (marked ? "Marked " : "Unchecked ") + "for deletion";
|
string title = (marked ? "Marked " : "Unmarked ") + "for deletion";
|
||||||
string message = (marked ? "Snapshots will " : "Snapshots will not ") + "be removed during the next scheduled run";
|
string message = (marked ? "Snapshots will " : "Snapshots will not ") + "be removed during the next scheduled run";
|
||||||
|
|
||||||
gtk_messagebox(_(title),
|
gtk_messagebox(_(title),
|
||||||
|
@ -326,7 +326,7 @@ class SnapshotListBox : Gtk.Box{
|
|||||||
mi_remove = item;
|
mi_remove = item;
|
||||||
|
|
||||||
// mi_mark
|
// mi_mark
|
||||||
item = new ImageMenuItem.with_label(_("Mark/Uncheck for Deletion"));
|
item = new ImageMenuItem.with_label(_("Mark/Unmark for Deletion"));
|
||||||
item.image = IconManager.lookup_image("edit-delete", 16);
|
item.image = IconManager.lookup_image("edit-delete", 16);
|
||||||
item.activate.connect(()=> { mark_selected(); });
|
item.activate.connect(()=> { mark_selected(); });
|
||||||
menu_snapshots.append(item);
|
menu_snapshots.append(item);
|
||||||
|
Loading…
Reference in New Issue
Block a user