summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakfloppy
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/drakfloppy
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/drakfloppy')
-rwxr-xr-xperl-install/standalone/drakfloppy10
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-install/standalone/drakfloppy b/perl-install/standalone/drakfloppy
index 4cb27ca80..56c837545 100755
--- a/perl-install/standalone/drakfloppy
+++ b/perl-install/standalone/drakfloppy
@@ -111,12 +111,12 @@ $window->{window}->add(
),
),
0, gtkpack__(new Gtk2::HButtonBox(),
- gtksignal_connect(Gtk2::Button->new_from_stock('gtk-cancel'),
+ gtksignal_connect(Gtk2::Button->new(N("Cancel")),
clicked => sub { ugtk2->exit(0) }
),
- gtksignal_connect(Gtk2::Button->new_from_stock('gtk-preferences'), clicked => \&pref_dialog),
+ gtksignal_connect(Gtk2::Button->new(N("Preferences")), clicked => \&pref_dialog),
gtksignal_connect(gtkset_tip($tips,
- Gtk2::Button->new_from_stock('gtk-ok'),
+ Gtk2::Button->new(N("Ok")),
N("Build the disk")),
clicked => \&build_it
),
@@ -202,8 +202,8 @@ sub pref_dialog() {
@temp_modules = ();
gtkpack($dialog->action_area,
- gtksignal_connect(Gtk2::Button->new_from_stock('gtk-cancel'), clicked => sub { $dialog->destroy }),
- gtksignal_connect(Gtk2::Button->new_from_stock('gtk-ok'), clicked => sub {
+ gtksignal_connect(Gtk2::Button->new(N("Cancel")), clicked => sub { $dialog->destroy }),
+ gtksignal_connect(Gtk2::Button->new(N("Ok")), clicked => sub {
# save values:
$options{$_} = $buttons{$_}->get_active foreach keys %buttons;
my $val;