summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xmdkapplet-config18
2 files changed, 16 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index 054d6a12..4b05335d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- mdkapplet-config
+ o use GtkHScale instead of GtkEntry (Require drakxtools >= 12.48)
- mdkapplet
o use https to fetch mirrorlist from api.mandriva.com
diff --git a/mdkapplet-config b/mdkapplet-config
index a7068ed7..53f38a1e 100755
--- a/mdkapplet-config
+++ b/mdkapplet-config
@@ -61,10 +61,20 @@ sub configure() {
if_(!$::isEmbedded, get_banner(N("Updates Configuration"))),
gtknew('Label_Left', text => N("Here you can configure the updates applet"), @common),
gtknew('Table', col_spacings => 5, row_spacings => 5, children => [
- [ N("Update frequency (hours)"),
- gtknew('Entry', text_ref => \$config{UPDATE_FREQUENCY}) ],
- [ N("First check delay (minutes)"),
- gtknew('Entry',text_ref => \$config{FIRST_CHECK_DELAY}) ],
+ [ gtknew('Label', alignment => [ 0, 1 ], text => N("Update frequency (hours)")),
+ gtknew('HScale',
+ digits => 0,
+ lower => 1,
+ upper => 24,
+ step_increment => 1,
+ value_ref => \$config{UPDATE_FREQUENCY}) ],
+ [ gtknew('Label', alignment => [ 0, 1 ], text => N("First check delay (minutes)")),
+ gtknew('HScale',
+ digits => 0,
+ lower => 5,
+ upper => 30,
+ step_increment => 1,
+ value_ref => \$config{FIRST_CHECK_DELAY}) ]
]),
create_okcancel($w), #, N("Next"), N("Cancel")),
]);