summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-12-30 02:20:41 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-12-30 02:25:09 +0100
commitf912957ee40cd3ab3de7d18794ecbe03e57a7cd0 (patch)
tree7dbce3fd9224479cd3fc90d79ed36460e3943e64
parent6ac6c4131b7c043c69c6896d5199e13f054c9e20 (diff)
downloadmgaonline-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")
-rw-r--r--NEWS1
-rwxr-xr-xmgaapplet-config12
2 files changed, 5 insertions, 8 deletions
diff --git a/NEWS b/NEWS
index 4be7905a..c64316f7 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
- mdkapplet-config (mga#12148)
o fix detecting if HScale widgets are supported
o fix two Entry pointing to the same reference in old compat mode
+ o drop support for mdv 200[89].x
Version 3.3 - 21 December 2013, Thierry Vignaud
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},