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_applet | |
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_applet')
-rw-r--r-- | perl-install/standalone/net_applet | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet index 3ed171489..1f81589ac 100644 --- a/perl-install/standalone/net_applet +++ b/perl-install/standalone/net_applet @@ -132,7 +132,7 @@ sub setState { my $arr = $appletstate{$state_type}{menu}; my $tmp = gtkcreate_pixbuf($appletstate{$state_type}{colour}[0]); $img->set_from_pixbuf($tmp); - gtkset_tip(new Gtk2::Tooltips, $eventbox, formatAlaTeX(common::sprintf_fixutf8(translate($appletstate{$state_type}{tt}[0]), $interface))); + gtkset_tip(Gtk2::Tooltips->new, $eventbox, formatAlaTeX(common::sprintf_fixutf8(translate($appletstate{$state_type}{tt}[0]), $interface))); my $menu = Gtk2::Menu->new; foreach (@$arr) { $menu->append(gtksignal_connect(gtkshow(Gtk2::MenuItem->new_with_label($actions{$_}{name})), activate => $actions{$_}{launch})); |