From cb422cb310481948ec0e4421d854a066e6fc512c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 18 Mar 2005 17:22:30 +0000 Subject: (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) --- perl-install/standalone/drakperm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'perl-install/standalone/drakperm') 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:")), -- cgit v1.2.1