summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive_gtk.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-07-27 12:29:35 +0000
committerFrancois Pons <fpons@mandriva.com>2001-07-27 12:29:35 +0000
commitd84c91a8c829fe711b3253665166ae4d92da63a4 (patch)
tree65aa42fe53e2779667d5d3e8757d3c055137270c /perl-install/interactive_gtk.pm
parentbeb8a2fb70f63d5332fa227877165b8ece4db77c (diff)
downloaddrakx-backup-do-not-use-d84c91a8c829fe711b3253665166ae4d92da63a4.tar
drakx-backup-do-not-use-d84c91a8c829fe711b3253665166ae4d92da63a4.tar.gz
drakx-backup-do-not-use-d84c91a8c829fe711b3253665166ae4d92da63a4.tar.bz2
drakx-backup-do-not-use-d84c91a8c829fe711b3253665166ae4d92da63a4.tar.xz
drakx-backup-do-not-use-d84c91a8c829fe711b3253665166ae4d92da63a4.zip
allow ask_browse_tree_info_refW to return 0 on cancel (previously always 1).
Diffstat (limited to 'perl-install/interactive_gtk.pm')
-rw-r--r--perl-install/interactive_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive_gtk.pm b/perl-install/interactive_gtk.pm
index 7105d287f..2852f9ad5 100644
--- a/perl-install/interactive_gtk.pm
+++ b/perl-install/interactive_gtk.pm
@@ -526,7 +526,7 @@ sub ask_browse_tree_info_refW {
0, my $l = new Gtk::HBox(0,15),
0, gtkpack(new Gtk::HBox(0,10),
$go = gtksignal_connect(new Gtk::Button($common->{ok}), "clicked" => sub { $w->{retval} = 1; Gtk->main_quit }),
- $common->{cancel} ? (gtksignal_connect(new Gtk::Button($common->{cancel}), "clicked" => sub { $w->{retval} = 1; Gtk->main_quit })) : (),
+ $common->{cancel} ? (gtksignal_connect(new Gtk::Button($common->{cancel}), "clicked" => sub { $w->{retval} = 0; Gtk->main_quit })) : (),
)
));
gtkpack__($l, my $toolbar = new Gtk::Toolbar('horizontal', 'icons'));