summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakperm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-05-24 13:10:24 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-05-24 13:10:24 +0000
commit762dee42a6cbe4a3e803d402ccadc8050897752e (patch)
treedc99aaa2ba5ec957f2c1854557e96be6778b3618 /perl-install/standalone/drakperm
parent55e82bbb21c394f5d939a3b3827ceb99364554cb (diff)
downloaddrakx-762dee42a6cbe4a3e803d402ccadc8050897752e.tar
drakx-762dee42a6cbe4a3e803d402ccadc8050897752e.tar.gz
drakx-762dee42a6cbe4a3e803d402ccadc8050897752e.tar.bz2
drakx-762dee42a6cbe4a3e803d402ccadc8050897752e.tar.xz
drakx-762dee42a6cbe4a3e803d402ccadc8050897752e.zip
switch from deprecated OptionMenu into new ComboBox widget
Diffstat (limited to 'perl-install/standalone/drakperm')
-rwxr-xr-xperl-install/standalone/drakperm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/standalone/drakperm b/perl-install/standalone/drakperm
index 096ce8e8b..aecf7e0c8 100755
--- a/perl-install/standalone/drakperm
+++ b/perl-install/standalone/drakperm
@@ -51,7 +51,7 @@ my $index = 0;
load_perms();
#- widgets settings
-my $combo_perm = new Gtk2::OptionMenu;
+my $combo_perm = Gtk2::ComboBox->new_text;
$combo_perm->set_popdown_strings(sort(values %perm_l10n));
sub add_callback() {
@@ -271,11 +271,11 @@ sub row_setting_dialog {
my $alrd_exsts = defined $iter;
$file->set_text($model->get($iter, 1)) if $iter;
- my $users = Gtk2::OptionMenu->new;
+ my $users = Gtk2::ComboBox->new_text;
$users->set_popdown_strings(&get_user_or_group('users'));
$users->entry->set_text($model->get($iter, 2)) if $iter;
- my $groups = Gtk2::OptionMenu->new;
+ my $groups = Gtk2::ComboBox->new_text;
$groups->set_popdown_strings(&get_user_or_group);
$groups->entry->set_text($model->get($iter, 3)) if $iter;