Reset button for exclude list in Settings window will clear the list

This commit is contained in:
Tony George 2013-10-09 20:06:04 +05:30
parent 17c3de1cf7
commit af0e2b6775

View File

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