summaryrefslogtreecommitdiffstats
path: root/gecko.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-02 10:53:18 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-02 10:53:18 +0000
commit7483aba771482effd795103fda9c294eeb8d0cf6 (patch)
tree8b48764fc74d5b559d9637ffb4d4a63d28afa91f /gecko.pm
parent5d674a0f921a4f7e6d2113c70520dd25bc2b584e (diff)
downloadcontrol-center-7483aba771482effd795103fda9c294eeb8d0cf6.tar
control-center-7483aba771482effd795103fda9c294eeb8d0cf6.tar.gz
control-center-7483aba771482effd795103fda9c294eeb8d0cf6.tar.bz2
control-center-7483aba771482effd795103fda9c294eeb8d0cf6.tar.xz
control-center-7483aba771482effd795103fda9c294eeb8d0cf6.zip
adapt to new drakxtools standalone.pm which sets $::isEmbedded itself and removing --embedded from @ARGV
Diffstat (limited to 'gecko.pm')
-rwxr-xr-xgecko.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/gecko.pm b/gecko.pm
index 2359cb45..b6959bc7 100755
--- a/gecko.pm
+++ b/gecko.pm
@@ -20,7 +20,6 @@ Gtk->set_locale;
system("LD_PRELOAD=libpthread.so ; export LD_PRELOAD");
-$::isEmbedded = ($::XID, $::CCPID) = "@ARGV" =~ /--embedded (\w+) (\w+)/;
#my $in = vnew interactive('su');
my $window = $::isEmbedded ? new Gtk::Plug ($::XID) : new Gtk::Window -toplevel;
$window->set_default_size(600, 400);