summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-02-24 07:36:00 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-02-24 07:36:00 +0000
commit04a32a7f6b48a977c768d62a1c28f00958e0c9df (patch)
tree05ea561bbfdbb2819f457e37b6f8d197540e3bf1 /perl-install/diskdrake
parente58ebc9dfceda9a7ceaab42e1aacb85724e65f96 (diff)
downloaddrakx-backup-do-not-use-04a32a7f6b48a977c768d62a1c28f00958e0c9df.tar
drakx-backup-do-not-use-04a32a7f6b48a977c768d62a1c28f00958e0c9df.tar.gz
drakx-backup-do-not-use-04a32a7f6b48a977c768d62a1c28f00958e0c9df.tar.bz2
drakx-backup-do-not-use-04a32a7f6b48a977c768d62a1c28f00958e0c9df.tar.xz
drakx-backup-do-not-use-04a32a7f6b48a977c768d62a1c28f00958e0c9df.zip
- clean up embedding; since socket get automatically destroyed on child exit
and since they emit plug-removed at that moment, it's just cleaner to centralize/consolidate the child exit in mcc this of course, need a newer up-to-date mcc what's more, it allows to remove the somewhat mythical "$::isEmbedded and kill 'USR1', $::CCPID;" - drakautoinst, drakxservices, keyboardrake: fix fscking embedding managment
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/hd_gtk.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm
index 321682581..cce017e50 100644
--- a/perl-install/diskdrake/hd_gtk.pm
+++ b/perl-install/diskdrake/hd_gtk.pm
@@ -124,9 +124,7 @@ sub try_ {
$current_entry = '' if !diskdrake::interactive::is_part_existing($current_entry, $all_hds);
$update_all->();
- if ($v && member($name, 'Done', 'Wizard')) {
- $::isEmbedded ? kill('USR1', $::CCPID) : Gtk2->main_quit;
- }
+ Gtk2->main_quit if $v && member($name, 'Done', 'Wizard');
}
################################################################################