diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-12-20 23:14:42 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-12-20 23:14:42 +0100 |
commit | 9a6f9d11dec579bd605f5f167dbb6b2722c5ccf6 (patch) | |
tree | c76da9a0269da85b80c844e6b8744dd2cd3e1564 /perl-install/standalone/draksec | |
parent | 2058d0ddaa491d1601c61c1a2829cf70e4aa7f5f (diff) | |
download | drakx-9a6f9d11dec579bd605f5f167dbb6b2722c5ccf6.tar drakx-9a6f9d11dec579bd605f5f167dbb6b2722c5ccf6.tar.gz drakx-9a6f9d11dec579bd605f5f167dbb6b2722c5ccf6.tar.bz2 drakx-9a6f9d11dec579bd605f5f167dbb6b2722c5ccf6.tar.xz drakx-9a6f9d11dec579bd605f5f167dbb6b2722c5ccf6.zip |
use expanders for clarity
Diffstat (limited to 'perl-install/standalone/draksec')
-rwxr-xr-x | perl-install/standalone/draksec | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec index cda3a8705..1626e7d74 100755 --- a/perl-install/standalone/draksec +++ b/perl-install/standalone/draksec @@ -202,11 +202,10 @@ gtkpack_($vbox, ])), 1, gtkshow(create_scrolled_window( gtknew('VBox', children => [ - 1, create_packtable( - $common_opts, map { my ($title, $progs) = @$_; - ([ gtknew('Title2', label => $title), '' ], + (0, gtknew('Expander', use_markup => 1, text => mygtk3::title1_to_markup($title), child => create_packtable( + $common_opts, map { [ gtkshow(gtknew('Label_Left', line_wrap => 1, text => $descr{$_} || $_)), @@ -218,7 +217,7 @@ gtkpack_($vbox, ) ]; } split(' ', $progs) - ); + ))); } ( [ N("Software Management"), 'drakrpm drakrpm-update drakrpm-editmedia' ], [ N("Hardware"), 'drak3d drakx11 drakmouse drakkeyboard drakups' ], @@ -226,7 +225,6 @@ gtkpack_($vbox, [ N("System"), 'drakauth drakfont draklog drakxservices drakuser drakclock' ], [ N("Boot"), 'drakboot' ], ) - ) ]))), 0, create_okcancel(my $oc = |