summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-09-06 10:09:17 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-09-06 10:09:17 +0000
commita8ad1f0e3a1dd99166f21d2f56df2ff55f515845 (patch)
tree2d2fe8e11bec5bc4f8570798eed1eff25c248d62
parent10606c1c5ccfe5d0e84477ffc0fde77783e7cba6 (diff)
downloadcontrol-center-a8ad1f0e3a1dd99166f21d2f56df2ff55f515845.tar
control-center-a8ad1f0e3a1dd99166f21d2f56df2ff55f515845.tar.gz
control-center-a8ad1f0e3a1dd99166f21d2f56df2ff55f515845.tar.bz2
control-center-a8ad1f0e3a1dd99166f21d2f56df2ff55f515845.tar.xz
control-center-a8ad1f0e3a1dd99166f21d2f56df2ff55f515845.zip
remove server wizard as told
-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;