diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-19 01:03:53 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-24 11:00:45 +0100 |
commit | e212db1cb2ebb5c62e47153d4c06ac929de4b032 (patch) | |
tree | 3171c53af456c7cc9788ed36137f60ce6e3200a1 | |
parent | 1af2a8e88a117ef799782d419394907cf5022f72 (diff) | |
download | drakx-net-e212db1cb2ebb5c62e47153d4c06ac929de4b032.tar drakx-net-e212db1cb2ebb5c62e47153d4c06ac929de4b032.tar.gz drakx-net-e212db1cb2ebb5c62e47153d4c06ac929de4b032.tar.bz2 drakx-net-e212db1cb2ebb5c62e47153d4c06ac929de4b032.tar.xz drakx-net-e212db1cb2ebb5c62e47153d4c06ac929de4b032.zip |
perlish action_area() => get_action_area()
-rwxr-xr-x | bin/draknetprofile | 2 | ||||
-rwxr-xr-x | old/drakconnect-old | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/draknetprofile b/bin/draknetprofile index 3b8ec58..904979b 100755 --- a/bin/draknetprofile +++ b/bin/draknetprofile @@ -162,7 +162,7 @@ sub clone_profile() { Gtk3::WrappedLabel->new(N("Please specify the name of the new network profile to be created (e.g., work, home, roaming, ..). This new profile will be created based on current settings, and you'll be able to configure your system configuration as usual afterwards.")), $entry_dialog, ); - gtkpack($dialog->action_area, + gtkpack($dialog->get_action_area, gtksignal_connect(Gtk3::Button->new(N("Cancel")), clicked => sub { $dialog->destroy }), gtksignal_connect(my $bok = Gtk3::Button->new(N("Ok")), clicked => sub { diff --git a/old/drakconnect-old b/old/drakconnect-old index 2594418..80c3ee8 100755 --- a/old/drakconnect-old +++ b/old/drakconnect-old @@ -176,7 +176,7 @@ sub configure_lan() { if (@all_cards < 1) { $window->get_child->add(Gtk3::Label->new(N("You do not have any configured interface. Configure them first by clicking on 'Configure'"))); - gtkpack(gtkset_layout($window->action_area, 'end'), + gtkpack(gtkset_layout($window->get_action_area, 'end'), gtksignal_connect(Gtk3::Button->new(N("Ok")), clicked => sub { Gtk3->main_quit }) ); @@ -261,7 +261,7 @@ Configure them first by clicking on 'Configure'"))); Gtk3->main_quit; }; - gtkpack($window->action_area, + gtkpack($window->get_action_area, gtksignal_connect(Gtk3::Button->new(N("Cancel")), clicked => $exit_dialogsub), gtksignal_connect(Gtk3::Button->new(N("Ok")), clicked => sub { |