diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-07-24 20:58:07 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-07-24 20:58:07 +0000 |
commit | d5d1548e0c89824d88703223bb527a5858f2f901 (patch) | |
tree | 423c509e9c0c6427192e3cdce0468f288d96cff5 /perl-install/standalone/mousedrake | |
parent | 3dd4ca7b1f82d08a05c4b5f60ba79a67c3d98646 (diff) | |
download | drakx-backup-do-not-use-d5d1548e0c89824d88703223bb527a5858f2f901.tar drakx-backup-do-not-use-d5d1548e0c89824d88703223bb527a5858f2f901.tar.gz drakx-backup-do-not-use-d5d1548e0c89824d88703223bb527a5858f2f901.tar.bz2 drakx-backup-do-not-use-d5d1548e0c89824d88703223bb527a5858f2f901.tar.xz drakx-backup-do-not-use-d5d1548e0c89824d88703223bb527a5858f2f901.zip |
use std button layout
Diffstat (limited to 'perl-install/standalone/mousedrake')
-rwxr-xr-x | perl-install/standalone/mousedrake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/mousedrake b/perl-install/standalone/mousedrake index 635532c15..0e2176dab 100755 --- a/perl-install/standalone/mousedrake +++ b/perl-install/standalone/mousedrake @@ -73,8 +73,9 @@ 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_from_stock('gtk-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; } |