mirror of
https://github.com/linuxmint/timeshift.git
synced 2024-08-17 04:20:34 +03:00
Reset button for exclude list in Settings window will clear the list
This commit is contained in:
parent
17c3de1cf7
commit
af0e2b6775
@ -302,7 +302,7 @@ public class SettingsWindow : Gtk.Dialog{
|
||||
|
||||
btn_reset_exclude_list.is_important = false;
|
||||
btn_reset_exclude_list.label = _("Reset");
|
||||
btn_reset_exclude_list.set_tooltip_text (_("Reset this list to default state"));
|
||||
btn_reset_exclude_list.set_tooltip_text (_("Clear the list"));
|
||||
|
||||
btn_reset_exclude_list.clicked.connect (btn_reset_exclude_list_clicked);
|
||||
|
||||
@ -872,12 +872,6 @@ public class SettingsWindow : Gtk.Dialog{
|
||||
|
||||
temp_exclude_list = new Gee.ArrayList<string>();
|
||||
|
||||
foreach(string path in App.exclude_list_user){
|
||||
if (!temp_exclude_list.contains(path)){
|
||||
temp_exclude_list.add(path);
|
||||
}
|
||||
}
|
||||
|
||||
//refresh treeview --------------------------
|
||||
|
||||
refresh_tv_exclude();
|
||||
|
Loading…
Reference in New Issue
Block a user