summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurélien Lefebvre <alefebvre@mandriva.com>2009-09-04 10:05:45 +0000
committerAurélien Lefebvre <alefebvre@mandriva.com>2009-09-04 10:05:45 +0000
commit87374b4348b24005f255fe938f85e57dfbce68b6 (patch)
tree4191decef93480f0b58a8096d4d87d30089ae028
parent9546d88c97b6f054a4f807df2664e0786c3eeef9 (diff)
downloadmgaonline-87374b4348b24005f255fe938f85e57dfbce68b6.tar
mgaonline-87374b4348b24005f255fe938f85e57dfbce68b6.tar.gz
mgaonline-87374b4348b24005f255fe938f85e57dfbce68b6.tar.bz2
mgaonline-87374b4348b24005f255fe938f85e57dfbce68b6.tar.xz
mgaonline-87374b4348b24005f255fe938f85e57dfbce68b6.zip
- mdkapplet-config
o use GtkHScale instead of GtkEntry (Require drakxtools >= 12.48)
-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")),
]);