From f912957ee40cd3ab3de7d18794ecbe03e57a7cd0 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 30 Dec 2013 02:20:41 +0100 Subject: drop support for mdv 200[89].x basically reverting commit 56bcaff85b7b8a98ffdf67118a4df873fe301882 from Nov 24 2009 ("(configure) make it work on 2008.x & 2009.x") --- mgaapplet-config | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'mgaapplet-config') diff --git a/mgaapplet-config b/mgaapplet-config index c4ae5d28..59113839 100755 --- a/mgaapplet-config +++ b/mgaapplet-config @@ -57,8 +57,6 @@ sub configure() { # config file has negative options but GUI want positive options (HIG): invbools_for_display(\%config); - my $_ww = eval { gtknew('HScale', digits => 5, value => 3, lower => 0) }; - my $is_hscale_unsupported = $@; my $product = translate_product(); my $res = @@ -69,22 +67,20 @@ sub configure() { gtknew('Label_Left', text => N("Here you can configure the updates applet"), @common), gtknew('Table', col_spacings => 5, row_spacings => 5, children => [ [ gtknew('Label', alignment => [ 0, 1 ], text => N("Update frequency (hours)")), - gtknew($is_hscale_unsupported ? ('Entry', text_ref => \$config{UPDATE_FREQUENCY}) - : ('HScale', + gtknew('HScale', digits => 0, lower => 1, upper => 24, step_increment => 1, width => 100, - value_ref => \$config{UPDATE_FREQUENCY})) ], + value_ref => \$config{UPDATE_FREQUENCY}) ], [ gtknew('Label', alignment => [ 0, 1 ], text => N("First check delay (minutes)")), - gtknew($is_hscale_unsupported ? ('Entry', text_ref => \$config{FIRST_CHECK_DELAY}) - : ('HScale', + gtknew('HScale', digits => 0, lower => 5, upper => 30, step_increment => 1, - value_ref => \$config{FIRST_CHECK_DELAY})) ], + value_ref => \$config{FIRST_CHECK_DELAY}) ], [ gtknew('CheckButton', text => N("Check for newer \"%s\" releases", $product), active_ref => \$config{DO_NOT_ASK_FOR_DISTRO_UPGRADE}, -- cgit v1.2.1