diff options
author | Nicolas Lécureuil <neoclust@mageia.org> | 2020-06-02 14:10:45 +0200 |
---|---|---|
committer | Nicolas Lécureuil <neoclust@mageia.org> | 2020-06-02 14:11:05 +0200 |
commit | 75012e54a7f7291431e3db699982626e5b3cdd72 (patch) | |
tree | 1448040b882d3b1ffc3965aa2a9a8980224bc0ed /draksnapshot-config | |
parent | dfd91acf77964ca0532048d5d78d8e5ae89a0ecc (diff) | |
download | draksnapshot-75012e54a7f7291431e3db699982626e5b3cdd72.tar draksnapshot-75012e54a7f7291431e3db699982626e5b3cdd72.tar.gz draksnapshot-75012e54a7f7291431e3db699982626e5b3cdd72.tar.bz2 draksnapshot-75012e54a7f7291431e3db699982626e5b3cdd72.tar.xz draksnapshot-75012e54a7f7291431e3db699982626e5b3cdd72.zip |
Revert "Fix add of interval_titles ( fixes previous commit)"
This reverts commit d4b68c2aa72b106d364f1203702e271efc2fd9b0.
Diffstat (limited to 'draksnapshot-config')
-rw-r--r--[-rwxr-xr-x] | draksnapshot-config | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/draksnapshot-config b/draksnapshot-config index 00d8b31..afa0598 100755..100644 --- a/draksnapshot-config +++ b/draksnapshot-config @@ -105,14 +105,8 @@ my $_menubar = $::isEmbedded ? Gtk3::MenuBar->new($my_win->{rwindow}, @menu_item #my $_menubar = create_factory_menu($my_win->{rwindow}, @menu_items); ######### menus end -my %interval_titles = ( - 'hourly' => N("Hourly snapshots"), - 'daily' => N("Daily snapshots"), - 'weekly' => N("Weekly snapshots"), - 'monthly' => N("Monthly snapshots"), -); -my (%entries, $where); +my $where; # if not configured, just default where will be mounted the discs by HAL: if (!$backup_directory || $::testing) { @@ -307,7 +301,7 @@ sub add { sub save() { save_keyword('retain', map { - my $val = $entries{$_}->get_text; + my $val = $default_intervals{$_}; if_($val, join("\t", 'retain', $_, $val)); } @ordered_intervals); |