summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/net_monitor
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-08-05 14:08:18 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-08-05 14:08:18 +0000
commitf0e226d2ee9b2a3b2cf122d4be445f9920fef59e (patch)
tree29532a5b5c9422bb59e9b27f8d5b07dc64ebd0a5 /perl-install/standalone/net_monitor
parentccd20f76c6ecc6abc844aef0d21f111022b6fc61 (diff)
downloaddrakx-f0e226d2ee9b2a3b2cf122d4be445f9920fef59e.tar
drakx-f0e226d2ee9b2a3b2cf122d4be445f9920fef59e.tar.gz
drakx-f0e226d2ee9b2a3b2cf122d4be445f9920fef59e.tar.bz2
drakx-f0e226d2ee9b2a3b2cf122d4be445f9920fef59e.tar.xz
drakx-f0e226d2ee9b2a3b2cf122d4be445f9920fef59e.zip
remove stock icons (per IHM team request)
Diffstat (limited to 'perl-install/standalone/net_monitor')
-rwxr-xr-xperl-install/standalone/net_monitor6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/standalone/net_monitor b/perl-install/standalone/net_monitor
index 4ef113d1b..68ca5a9a2 100755
--- a/perl-install/standalone/net_monitor
+++ b/perl-install/standalone/net_monitor
@@ -121,7 +121,7 @@ gtkadd($window1->{window},
? system('/usr/sbin/logdrake --file=/var/log/messages &')
: system('/usr/X11R6/bin/xvt -e "tail -f /var/log/messages " &')
}),
- gtksignal_connect(my $button_close = Gtk2::Button->new_from_stock('gtk-close'), clicked => sub { ugtk2->exit(0) }),
+ gtksignal_connect(my $button_close = Gtk2::Button->new(N("Close")), clicked => sub { ugtk2->exit(0) }),
)
)
)
@@ -328,11 +328,11 @@ sub change_color {
my $doit;
$dialog->vbox->add(my $colorsel = Gtk2::ColorSelection->new);
gtkpack($dialog->action_area,
- gtksignal_connect(Gtk2::Button->new_from_stock('gtk-cancel'), clicked => sub {
+ gtksignal_connect(Gtk2::Button->new(N("Cancel")), clicked => sub {
$doit = 1;
$dialog->destroy;
}),
- gtksignal_connect(Gtk2::Button->new_from_stock('gtk-ok'), clicked => sub {
+ gtksignal_connect(Gtk2::Button->new(N("Ok")), clicked => sub {
$dialog->destroy;
}),
);