summaryrefslogtreecommitdiffstats
path: root/old/net_monitor
diff options
context:
space:
mode:
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');