diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-08-09 01:39:27 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-08-09 01:39:27 +0000 |
commit | 0bcef6753fff40efc1638452575b07eb7fb1c4f5 (patch) | |
tree | 582afdee2ddaf72c35553fb154a6dafbeb2e5244 /perl-install/standalone/net_monitor | |
parent | d1b4c0820761179bbcb2d066483236606c67fb7a (diff) | |
download | drakx-0bcef6753fff40efc1638452575b07eb7fb1c4f5.tar drakx-0bcef6753fff40efc1638452575b07eb7fb1c4f5.tar.gz drakx-0bcef6753fff40efc1638452575b07eb7fb1c4f5.tar.bz2 drakx-0bcef6753fff40efc1638452575b07eb7fb1c4f5.tar.xz drakx-0bcef6753fff40efc1638452575b07eb7fb1c4f5.zip |
prefer obj->new rather than new obj for gtk+ widgets
Diffstat (limited to 'perl-install/standalone/net_monitor')
-rwxr-xr-x | perl-install/standalone/net_monitor | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/net_monitor b/perl-install/standalone/net_monitor index ba0a671a8..1b14b273c 100755 --- a/perl-install/standalone/net_monitor +++ b/perl-install/standalone/net_monitor @@ -112,7 +112,7 @@ gtkadd($window1->{window}, ), ) ), - 0, gtksignal_connect(gtkset_active(new Gtk2::CheckButton(N("Use same scale for received and transmitted")), $use_same_scale), clicked => sub { $use_same_scale = !$use_same_scale }), + 0, gtksignal_connect(gtkset_active(Gtk2::CheckButton->new(N("Use same scale for received and transmitted")), $use_same_scale), clicked => sub { $use_same_scale = !$use_same_scale }), 0, gtkpack(create_hbox('edge'), gtksignal_connect(my $button_connect = gtkset_sensitive(Gtk2::Button->new(N("Wait please")), 0), clicked => \&connection), gtksignal_connect(my $button_close = Gtk2::Button->new(N("Close")), clicked => \&main_quit), |