summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-07-10 15:58:23 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-07-10 15:58:23 +0000
commit95f60e49632826058a8af58477b126e63daad9a1 (patch)
treeba80c6a46ab49549e77eb2da5f2e9694f0e8ed83
parentc2dabfd382bb0e677d6cd240011f31353f398a59 (diff)
downloaddrakx-95f60e49632826058a8af58477b126e63daad9a1.tar
drakx-95f60e49632826058a8af58477b126e63daad9a1.tar.gz
drakx-95f60e49632826058a8af58477b126e63daad9a1.tar.bz2
drakx-95f60e49632826058a8af58477b126e63daad9a1.tar.xz
drakx-95f60e49632826058a8af58477b126e63daad9a1.zip
fix crash on cancel exit
-rwxr-xr-xperl-install/standalone/drakconnect6
1 files changed, 1 insertions, 5 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect
index 763136c89..c24e2a55c 100755
--- a/perl-install/standalone/drakconnect
+++ b/perl-install/standalone/drakconnect
@@ -252,11 +252,7 @@ $button_apply->set_sensitive(0);
$bbox0->add($button_apply);
my $button_cancel = new Gtk2::Button(N("Cancel"));
-$button_cancel->signal_connect(clicked => sub {
- $combo1->entry->set_text($old_profile);
- update();
- quit_global();
- });
+$button_cancel->signal_connect(clicked => \&quit_global);
$bbox0->add($button_cancel);
my $button_ok = new Gtk2::Button(N("OK"));
$button_ok->signal_connect(clicked => sub {