summaryrefslogtreecommitdiffstats
path: root/old/net_monitor
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-19 00:51:47 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 11:00:44 +0100
commit4f652a8ed66a3c8cef89170f9845fbd1cc02296a (patch)
tree1583b64670afe8030376c6ffc3b2ffe445c49f28 /old/net_monitor
parent07388acc2571db56faf3298062c821a0041d7e6c (diff)
downloaddrakx-net-4f652a8ed66a3c8cef89170f9845fbd1cc02296a.tar
drakx-net-4f652a8ed66a3c8cef89170f9845fbd1cc02296a.tar.gz
drakx-net-4f652a8ed66a3c8cef89170f9845fbd1cc02296a.tar.bz2
drakx-net-4f652a8ed66a3c8cef89170f9845fbd1cc02296a.tar.xz
drakx-net-4f652a8ed66a3c8cef89170f9845fbd1cc02296a.zip
perlish $dialog->vbox => $dialog->get_child
Diffstat (limited to 'old/net_monitor')
-rwxr-xr-xold/net_monitor2
1 files changed, 1 insertions, 1 deletions
diff --git a/old/net_monitor b/old/net_monitor
index 3d1ee56..df8aad0 100755
--- a/old/net_monitor
+++ b/old/net_monitor
@@ -383,7 +383,7 @@ sub get_val() {
sub change_color {
my ($color) = @_;
my $dialog = _create_dialog(N("Color configuration"));
- $dialog->vbox->add(my $colorsel = Gtk3::ColorSelection->new);
+ $dialog->get_child->add(my $colorsel = Gtk3::ColorSelection->new);
$colorsel->set_current_color($color);
$dialog->add_button(N("Cancel"), 'cancel');
$dialog->add_button(N("Ok"), 'ok');