diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-12-30 02:20:41 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-12-30 02:25:09 +0100 |
commit | f912957ee40cd3ab3de7d18794ecbe03e57a7cd0 (patch) | |
tree | 7dbce3fd9224479cd3fc90d79ed36460e3943e64 /mgaapplet-config | |
parent | 6ac6c4131b7c043c69c6896d5199e13f054c9e20 (diff) | |
download | mgaonline-f912957ee40cd3ab3de7d18794ecbe03e57a7cd0.tar mgaonline-f912957ee40cd3ab3de7d18794ecbe03e57a7cd0.tar.gz mgaonline-f912957ee40cd3ab3de7d18794ecbe03e57a7cd0.tar.bz2 mgaonline-f912957ee40cd3ab3de7d18794ecbe03e57a7cd0.tar.xz mgaonline-f912957ee40cd3ab3de7d18794ecbe03e57a7cd0.zip |
drop support for mdv 200[89].x
basically reverting commit 56bcaff85b7b8a98ffdf67118a4df873fe301882
from Nov 24 2009 ("(configure) make it work on 2008.x & 2009.x")
Diffstat (limited to 'mgaapplet-config')
-rwxr-xr-x | mgaapplet-config | 12 |
1 files changed, 4 insertions, 8 deletions
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}, |