From 458046b4e9012507d87438ccee350f3f035a6b80 Mon Sep 17 00:00:00 2001 From: misc Date: Mon, 16 Aug 2010 23:14:39 +0000 Subject: - remove dead code git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@270571 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94 --- draksnapshot-config | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) (limited to 'draksnapshot-config') 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 }), -- cgit v1.2.1