diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-08-02 10:53:18 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-08-02 10:53:18 +0000 |
commit | 7483aba771482effd795103fda9c294eeb8d0cf6 (patch) | |
tree | 8b48764fc74d5b559d9637ffb4d4a63d28afa91f | |
parent | 5d674a0f921a4f7e6d2113c70520dd25bc2b584e (diff) | |
download | control-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
-rwxr-xr-x | clock.pl | 1 | ||||
-rwxr-xr-x | gecko.pm | 1 | ||||
-rwxr-xr-x | logdrake | 4 | ||||
-rwxr-xr-x | menus_launcher.pl | 1 | ||||
-rwxr-xr-x | print_launcher.pl | 1 |
5 files changed, 3 insertions, 5 deletions
@@ -28,7 +28,6 @@ sub translate { $s ? c::dgettext('drakconf', $s) : ''; } -$::isEmbedded = ($::XID, $::CCPID) = "@ARGV" =~ /--embedded (\w+) (\w+)/; my $in = vnew interactive('su'); my $pixmap; my $radius; @@ -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); @@ -55,7 +55,6 @@ $::isInstall and die "Not supported during install.\n"; my $in = 'interactive'->vnew('su', 'default'); -$::isEmbedded = ($::XID, $::CCPID) = "@ARGV" =~ /--embedded (\w+) (\w+)/; if ($::isEmbedded) { print "EMBED\n"; print "parent XID\t$::XID\n"; @@ -508,6 +507,9 @@ sub destroy_window { # log # $Log$ +# Revision 1.34 2002/08/02 10:53:18 prigaux +# adapt to new drakxtools standalone.pm which sets $::isEmbedded itself and removing --embedded from @ARGV +# # Revision 1.33 2002/01/31 12:46:16 pablo # fixed some English typose # diff --git a/menus_launcher.pl b/menus_launcher.pl index b4482b4a..1054508c 100755 --- a/menus_launcher.pl +++ b/menus_launcher.pl @@ -27,7 +27,6 @@ sub translate { } my $_bindir = "/usr/bin/"; -$::isEmbedded = ($::XID, $::CCPID) = "@ARGV" =~ /--embedded (\w+) (\w+)/; my $window = $::isEmbedded ? new Gtk::Plug ($::XID) : new Gtk::Window -toplevel; $window->signal_connect ( delete_event => \&quit_global ); my $vbox = new Gtk::VBox(0,0); diff --git a/print_launcher.pl b/print_launcher.pl index 654f101e..4ce46df2 100755 --- a/print_launcher.pl +++ b/print_launcher.pl @@ -27,7 +27,6 @@ sub translate { } my $_sbindir = "/usr/sbin/"; -$::isEmbedded = ($::XID, $::CCPID) = "@ARGV" =~ /--embedded (\w+) (\w+)/; my $window = $::isEmbedded ? new Gtk::Plug ($::XID) : new Gtk::Window -toplevel; $window->signal_connect ( delete_event => \&quit_global ); my $vbox = new Gtk::VBox(0,0); |