summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol-center6
1 files changed, 2 insertions, 4 deletions
diff --git a/control-center b/control-center
index 6bd12308..de99dfe3 100755
--- a/control-center
+++ b/control-center
@@ -137,7 +137,6 @@ my $exec_hash =
_("Postfix") => ["Postfix wizard", "drakwizard $_wizdir/postfix_wizard/postfix.wiz", -1 ],
_("Proxy") => ["Squid wizard", "drakwizard $_wizdir/proxy_wizard/proxy.wiz", -1 ],
_("Samba") => ["Samba wizard", "drakwizard $_wizdir/samba_wizard/samba.wiz", -1 ],
- _("Server") => ["Server wizard", "drakwizard $_wizdir/server_wizard/server.wiz", -1 ],
_("Time") => ["Time wizard", "drakwizard $_wizdir/time_wizard/time.wiz", -1 ],
_("Web") => ["Web wizard", "drakwizard $_wizdir/web_wizard/web.wiz", -1 ],
};
@@ -151,7 +150,6 @@ my %wizard = ("client" => [ _("DNS Client"), 'server-mdk'],
"postfix" => [ _("Postfix"), 'postfix-mdk'],
"proxy" => [ _("Proxy"), 'web-mdk'],
"samba" => [ _("Samba"), 'diskdrake_samba'],
- "server" => [ _("Server"), 'network-mdk'],
"time" => [ _("Time"), 'time-mdk'],
"web" => [ _("Web"), 'web-mdk'],
);
@@ -580,14 +578,14 @@ sub compute_exec_string {
my ($icon, $log_exp, $exec, $gtkplug, $alternate) = ($_[0], @{$_[1]});
print "($icon, $log_exp, $exec, $gtkplug, $alternate)\n";
if ($embedded) {
- if ($gtkplug != -1) {
+ if ($gtkplug != -1) { # not explicitely not embedded
$notebook_global->hide;
res_socket();
$emb_box->show;
$emb_socket->realize;
- $exec .= " --embedded " . $emb_socket->window->XWINDOW . " " . $$;
}
if ($gtkplug > 0) {
+ $exec .= " --embedded " . $emb_socket->window->XWINDOW . " " . $$;
$emb_wait->show;
if ($run_pixbuf) {
undef $run_pixbuf;#->unref;