summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/mousedrake
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-07-06 17:58:22 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-07-06 17:58:22 +0000
commit8bcf945dbec5accd4011940ad8a166d19145d8f1 (patch)
tree72c8130c0d87712fe58ddd132a5e8fe696feeda1 /perl-install/standalone/mousedrake
parent392ecc12d323eae88def56281938b3ca13009de1 (diff)
downloaddrakx-8bcf945dbec5accd4011940ad8a166d19145d8f1.tar
drakx-8bcf945dbec5accd4011940ad8a166d19145d8f1.tar.gz
drakx-8bcf945dbec5accd4011940ad8a166d19145d8f1.tar.bz2
drakx-8bcf945dbec5accd4011940ad8a166d19145d8f1.tar.xz
drakx-8bcf945dbec5accd4011940ad8a166d19145d8f1.zip
increase gui coherency of drakxtools vs other gtk+ apps: use stock icons
Diffstat (limited to 'perl-install/standalone/mousedrake')
-rwxr-xr-xperl-install/standalone/mousedrake4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/mousedrake b/perl-install/standalone/mousedrake
index a774eeb9f..935d0db6c 100755
--- a/perl-install/standalone/mousedrake
+++ b/perl-install/standalone/mousedrake
@@ -73,8 +73,8 @@ if (!$::isEmbedded && $in->isa('interactive::gtk')) {
Gtk2::Label->new(N("Please test your mouse:")),
my $test_hbox = Gtk2::HBox->new(0, 5),
gtkpack(create_hbox(),
- gtksignal_connect(Gtk2::Button->new(N("Ok")), clicked => sub { $w->{retval} = 1; Gtk2->main_quit }),
- gtksignal_connect(Gtk2::Button->new(N("Cancel")), clicked => sub { $w->{retval} = 0; Gtk2->main_quit }))));
+ gtksignal_connect(Gtk2::Button->new_from_stock('gtk-ok'), clicked => sub { $w->{retval} = 1; Gtk2->main_quit }),
+ gtksignal_connect(Gtk2::Button->new_from_stock('gtk-cancel'), clicked => sub { $w->{retval} = 0; Gtk2->main_quit }))));
mouse::test_mouse_standalone($mouse, $test_hbox);
$w->main or goto begin;
}