summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-07-24 16:25:38 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-07-24 16:25:38 +0000
commit9fd537a8c231ba2b9cc12f10f5cd6f586deb9e54 (patch)
tree215a29e4b655722e2a59c58ebd34a58769489e15
parentc88413de537276aa1879b5500c1a6355382153a4 (diff)
downloaddrakx-backup-do-not-use-9fd537a8c231ba2b9cc12f10f5cd6f586deb9e54.tar
drakx-backup-do-not-use-9fd537a8c231ba2b9cc12f10f5cd6f586deb9e54.tar.gz
drakx-backup-do-not-use-9fd537a8c231ba2b9cc12f10f5cd6f586deb9e54.tar.bz2
drakx-backup-do-not-use-9fd537a8c231ba2b9cc12f10f5cd6f586deb9e54.tar.xz
drakx-backup-do-not-use-9fd537a8c231ba2b9cc12f10f5cd6f586deb9e54.zip
use option menus instead of combos in settings dialog too
-rwxr-xr-xperl-install/standalone/drakperm6
1 files changed, 2 insertions, 4 deletions
diff --git a/perl-install/standalone/drakperm b/perl-install/standalone/drakperm
index 5941485dc..e3d4f4d75 100755
--- a/perl-install/standalone/drakperm
+++ b/perl-install/standalone/drakperm
@@ -217,8 +217,6 @@ sub row_setting_dialog {
my $ok = Gtk2::Button->new_from_stock('gtk-ok');
my $cancel = Gtk2::Button->new_from_stock('gtk-cancel');
my $browse = new Gtk2::Button(N("browse"));
- my $users = new Gtk2::Combo;
- my $groups = new Gtk2::Combo;
my $file = new Gtk2::Entry;
my $usr_hbox = new Gtk2::HBox(0,5);
my $usr_vbox = new Gtk2::VBox(0,5);
@@ -270,13 +268,13 @@ sub row_setting_dialog {
$file->set_text($treeModel->get($iter, 0)) if $iter;
+ my $users = Gtk2::OptionMenu->new;
$users->set_popdown_strings(&get_user_or_group('users'));
$users->entry->set_text($treeModel->get($iter, 1)) if $iter;
- $users->entry->set_editable(0);
+ my $groups = Gtk2::OptionMenu->new;
$groups->set_popdown_strings(&get_user_or_group);
$groups->entry->set_text($treeModel->get($iter, 2)) if $iter;
- $groups->entry->set_editable(0);
if ($iter && $treeModel->get($iter, 1) eq 'current') {
$usr_check->set_active(1);