diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-03-18 17:22:30 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-03-18 17:22:30 +0000 |
commit | cb422cb310481948ec0e4421d854a066e6fc512c (patch) | |
tree | 4ef8a3f3d46ea4be6f58502e0c3e4f0c02f490f3 /perl-install/standalone/drakperm | |
parent | 640008789f1180434a4046e7733e83a5bd8f5ea4 (diff) | |
download | drakx-cb422cb310481948ec0e4421d854a066e6fc512c.tar drakx-cb422cb310481948ec0e4421d854a066e6fc512c.tar.gz drakx-cb422cb310481948ec0e4421d854a066e6fc512c.tar.bz2 drakx-cb422cb310481948ec0e4421d854a066e6fc512c.tar.xz drakx-cb422cb310481948ec0e4421d854a066e6fc512c.zip |
(row_setting_dialog) better looking GUI: span groups & users on
several columns (up to 3)
(we might have choosed to set number of columns depending of number
and max length of group/users rather than hardcoding 3 columns)
Diffstat (limited to 'perl-install/standalone/drakperm')
-rwxr-xr-x | perl-install/standalone/drakperm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/standalone/drakperm b/perl-install/standalone/drakperm index 2f6cb8269..52ba3c0ad 100755 --- a/perl-install/standalone/drakperm +++ b/perl-install/standalone/drakperm @@ -282,9 +282,11 @@ sub row_setting_dialog { my $users = Gtk2::ComboBox->new_with_strings([ get_user_or_group('users') ]); $users->entry->set_text($model->get($iter, 2)) if $iter; + $users->set_wrap_width(3); my $groups = Gtk2::ComboBox->new_with_strings([ get_user_or_group() ]); $groups->entry->set_text($model->get($iter, 3)) if $iter; + $groups->set_wrap_width(3); my $id_box = gtkadd(Gtk2::HBox->new, Gtk2::Label->new(N("User:")), |