summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol-center315
1 files changed, 9 insertions, 6 deletions
diff --git a/control-center3 b/control-center3
index e0aa84c3..7ace7987 100755
--- a/control-center3
+++ b/control-center3
@@ -237,7 +237,10 @@ sub gtkcreate_png {
}
sub quit_global {
- kill TERM, @pid_launched;
+ foreach(@pid_launched)
+ {
+ kill TERM, $_;
+ }
Gtk->exit(0);
}
@@ -412,7 +415,7 @@ sub exec_treeitem {
my ($label, $exec_string, $available) = @_;
if (!$available) {
my $vbox = new Gtk::VBox(0, 0);
- $vbox->pack_start( new Gtk::Label (_("The application cannot be loaded,\nthe file '%s' has not be found.\nTry to reinstall DrakConf.", $exec_string)), 1, 0, 0);
+ $vbox->pack_start( new Gtk::Label (_("The application cannot be loaded,\nthe file '%s' has not be found.\nTry to install it.", $exec_string)), 1, 0, 0);
$vbox->show_all;
$notebook_global->append_page($vbox, "");
$pid_launched[$nb_pages] = undef;
@@ -428,7 +431,7 @@ sub exec_treeitem {
$vbox2->show;
$global_vbox=\$vbox2;
$vbox->pack_start($vbox2,1,0,0);
- my $label_ = new Gtk::Label (_("Please be patient"));
+ my $label_ = new Gtk::Label (_("Please wait while loading ..."));
$vbox2->pack_start( $label_, 0, 0, 0);
$label_->show;
my $hbox = new Gtk::HBox(0, 0);
@@ -462,11 +465,11 @@ sub exec_treeitem {
$anim_nb > 9 and $anim_nb=0;
1;
});
- $lock_time_tag = Gtk->timeout_add(20000, sub {
+ $lock_time_tag = Gtk->timeout_add(10000, sub {
Gtk->timeout_remove($global_time_tag);
${$tree_launched{$_}->[1]} and ${$tree_launched{$_}->[1]}->set_sensitive(1) foreach (keys %tree_launched);
- $vbox->pack_start(new Gtk::Label (_("After 20 sec., this application didn't appear.\nIt's probably buggy")), 1, 1, 0);
- $label_->set(_("After 20 sec., this application didn't appear.\nIt's probably buggy")); $darea1->hide;
+ $vbox->pack_start(new Gtk::Label (_("After 20 sec., Failed to launch \nSee if it's installed")), 1, 1, 0);
+ $label_->set(_("After 20 sec., Failed to launch \nSee if it's installed")); $darea1->hide;
});
$socket->realize;