summaryrefslogtreecommitdiffstats
path: root/mdkapplet-config
diff options
context:
space:
mode:
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")),
]);