summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake/hd_gtk.pm
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/hd_gtk.pm
parente58ebc9dfceda9a7ceaab42e1aacb85724e65f96 (diff)
downloaddrakx-04a32a7f6b48a977c768d62a1c28f00958e0c9df.tar
drakx-04a32a7f6b48a977c768d62a1c28f00958e0c9df.tar.gz
drakx-04a32a7f6b48a977c768d62a1c28f00958e0c9df.tar.bz2
drakx-04a32a7f6b48a977c768d62a1c28f00958e0c9df.tar.xz
drakx-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/hd_gtk.pm')
-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');
}
################################################################################