summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol-center15
1 files changed, 7 insertions, 8 deletions
diff --git a/control-center b/control-center
index 19b4a2d4..cba2fd93 100755
--- a/control-center
+++ b/control-center
@@ -282,7 +282,7 @@ sub splash_warning {
my $lab = new Gtk::Label($label);
my $style1 = new Gtk::Style;
- $win_about->vbox->pack_start( $lab, 1, 1, 0 );
+ $win_about->vbox->pack_start($lab, 1, 1, 0);
$win_about->show_all();
$win_about->set_modal(1);
@@ -322,8 +322,7 @@ sub create_tree_item {
} else {
$treeitem->signal_connect(button_press_event => sub { $expanded ? $treeitem->collapse : $treeitem->expand; $expanded = !$expanded });
$treeitem->signal_connect(select => sub { $treeitem_old and $$treeitem_old->collapse(); $treeitem->expand(); $treeitem_old=\$treeitem;
- $expanded=1;
- });
+ $expanded=1; });
}
$parent_tree->append($treeitem);
$treeitem->show_all();
@@ -339,7 +338,7 @@ sub create_tree_item {
}
sub xpm_label_box {
- my ( $parent, $xpm_filename, $label_text, $is_last ) = @_;
+ my ($parent, $xpm_filename, $label_text, $is_last) = @_;
# Create box for xpm and label
my $box = new Gtk::HBox( 0, 0 );
my $box2;
@@ -377,16 +376,16 @@ sub exec_treeitem {
}
if (!$tree_launched{$label}->[0]) {
- if ($label eq _("Printer") && -e "/usr/bin/kups") {
-# if ($label eq _("Printer") && -e "/usr/bin/mozilla") {
+# if ($label eq _("Printer") && -e "/usr/bin/kups") {
+ if ($label eq _("Printer") && -e "/usr/bin/mozilla") {
my $socket = new Gtk::Socket;
$notebook_global->append_page($socket, new Gtk::Label(""));
$nb_pages++;
$tree_launched{$label}->[0]=$nb_pages;
$notebook_global->set_page($nb_pages);
$socket->realize;
- $socket->steal(launch_wait("kups", "kups"));
-# $socket->steal(launch_wait("xchat", "xchat"));
+# $socket->steal(launch_wait("kups", "kups"));
+ $socket->steal(launch_wait("xchat", "xchat"));
$notebook_global->show_all();
$notebook_global->set_page($nb_pages);
return;