summaryrefslogtreecommitdiffstats
path: root/mdkapplet-config
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 /mdkapplet-config
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)
Diffstat (limited to 'mdkapplet-config')
-rwxr-xr-xmdkapplet-config18
1 files changed, 14 insertions, 4 deletions
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")),
]);