diff options
author | misc <misc@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94> | 2010-08-16 23:14:39 +0000 |
---|---|---|
committer | misc <misc@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94> | 2010-08-16 23:14:39 +0000 |
commit | 458046b4e9012507d87438ccee350f3f035a6b80 (patch) | |
tree | 1a1910d9b6fd70fe31da5f216f9b1a587b0538eb /draksnapshot-config | |
parent | 970cc811b07477f9c013b7b8412c8b1349dba5fa (diff) | |
download | draksnapshot-458046b4e9012507d87438ccee350f3f035a6b80.tar draksnapshot-458046b4e9012507d87438ccee350f3f035a6b80.tar.gz draksnapshot-458046b4e9012507d87438ccee350f3f035a6b80.tar.bz2 draksnapshot-458046b4e9012507d87438ccee350f3f035a6b80.tar.xz draksnapshot-458046b4e9012507d87438ccee350f3f035a6b80.zip |
- remove dead code
git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@270571 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94
Diffstat (limited to 'draksnapshot-config')
-rwxr-xr-x | draksnapshot-config | 22 |
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 }), |