diff options
author | Aurélien Lefebvre <alefebvre@mandriva.com> | 2009-09-04 10:05:45 +0000 |
---|---|---|
committer | Aurélien Lefebvre <alefebvre@mandriva.com> | 2009-09-04 10:05:45 +0000 |
commit | 87374b4348b24005f255fe938f85e57dfbce68b6 (patch) | |
tree | 4191decef93480f0b58a8096d4d87d30089ae028 | |
parent | 9546d88c97b6f054a4f807df2664e0786c3eeef9 (diff) | |
download | mgaonline-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-- | NEWS | 2 | ||||
-rwxr-xr-x | mdkapplet-config | 18 |
2 files changed, 16 insertions, 4 deletions
@@ -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")), ]); |