summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdraksnapshot-config22
1 files changed, 2 insertions, 20 deletions
diff --git a/draksnapshot-config b/draksnapshot-config
index bd98c64..f5bf218 100755
--- a/draksnapshot-config
+++ b/draksnapshot-config
@@ -99,15 +99,7 @@ my $_menubar = $::isEmbedded ? create_factory_menu($my_win->{rwindow}, @menu_ite
######### 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) {
@@ -173,17 +165,7 @@ gtkadd($my_win->{window},
),
]),
- if_(0, 0, gtknew('Title2', label => N("Number of snapshots to keep stored")),
- 0, gtknew('Table', col_spacings => 10, row_spacings => 5, homogeneous => 1, children => [
- map {
- [
- gtknew('Label_Left', text => $interval_titles{$_}),
- $entries{$_} = gtknew('SpinButton', value => $default_intervals{$_}, lower => 0, upper => 100,
- tip => N("The number of snapshots for this type of interval (\"%s\") that will be stored", $_)
- )
- ];
- } @ordered_intervals
- ])),
+
0, gtknew('HButtonBox', layout => 'start', border_width => 5, spacing => 5, children_loose => [
$button = gtknew($product_id->{version} =~ /200[6-8]/ ? 'Button' : 'Install_Button',
text => N("Advanced"), clicked => sub { $d_window->show }),