summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-22 18:42:41 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 11:00:48 +0100
commit331742480333c9090d1a7244c565cf02a009dd9d (patch)
treee0695e4f1f472fe6026359a2b4227c50f44841fd
parentee8db3f2972eeb83540f57f1d528315265c47253 (diff)
downloaddrakx-net-331742480333c9090d1a7244c565cf02a009dd9d.tar
drakx-net-331742480333c9090d1a7244c565cf02a009dd9d.tar.gz
drakx-net-331742480333c9090d1a7244c565cf02a009dd9d.tar.bz2
drakx-net-331742480333c9090d1a7244c565cf02a009dd9d.tar.xz
drakx-net-331742480333c9090d1a7244c565cf02a009dd9d.zip
OptionMenu has been deprecated prior to Gtk3
-rwxr-xr-xbin/draknfs4
-rwxr-xr-xbin/draksambashare4
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/draknfs b/bin/draknfs
index 21ee663..c00b7c8 100755
--- a/bin/draknfs
+++ b/bin/draknfs
@@ -242,9 +242,9 @@ sub add_modify_entry {
undef $i; undef $iter;
$_ = gtknew('Entry') foreach $dir, $options;
- $_ = Gtk3::OptionMenu->new foreach $lr, $luserid, $lsecure, $lsync, $lsubtree_check;
+ $_ = Gtk3::ComboBoxText->new foreach $lr, $luserid, $lsecure, $lsync, $lsubtree_check;
- $access = Gtk3::ComboBox->new;
+ $access = Gtk3::ComboBoxText->new;
# $access = gtknew('ComboBox');
my @access_list = get_access_list();
# foreach (@access_list) {
diff --git a/bin/draksambashare b/bin/draksambashare
index 81851ea..536d8cd 100755
--- a/bin/draksambashare
+++ b/bin/draksambashare
@@ -526,7 +526,7 @@ sub modify_printers_entry {
$share_name = Gtk3::Label->new;
$_ = Gtk3::Entry->new foreach $dir, $comment, $print_command, $write_list, $printing, $lpq_command, $create_mode;
- $_ = Gtk3::OptionMenu->new foreach $browseable, $printable, $guest_ok, $writable, $use_client_driver, $inherit_permissions;
+ $_ = Gtk3::ComboBoxText->new foreach $browseable, $printable, $guest_ok, $writable, $use_client_driver, $inherit_permissions;
$_->set_popdown_strings(@yesno) foreach $browseable, $printable, $guest_ok, $writable, $use_client_driver, $inherit_permissions;
@@ -661,7 +661,7 @@ sub modify_entry {
$share_name = Gtk3::Label->new;
$_ = Gtk3::Entry->new foreach $dir, $comment, $create_mask, $directory_mask, $hide_files;
$_ = Gtk3::Entry->new foreach $read_list, $write_list, $admin_users, $valid_users, $force_group, $force_create_mode;
- $_ = Gtk3::OptionMenu->new foreach $browseable, $public, $writable, $default_case, $preserve_case, $hide_dot_files, $inherit_permissions;
+ $_ = Gtk3::ComboBoxText->new foreach $browseable, $public, $writable, $default_case, $preserve_case, $hide_dot_files, $inherit_permissions;
$default_case->set_popdown_strings(@default_case);
$_->set_popdown_strings(@yesno) foreach $browseable, $public, $writable, $hide_dot_files, $preserve_case, $inherit_permissions;