summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/net_monitor
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-02-24 07:59:13 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-02-24 07:59:13 +0000
commit9438d57fc15041c70e961bd6f5cee4518951e8c3 (patch)
tree6e0204ce87e30da30f9dd3f27af0f64582d48028 /perl-install/standalone/net_monitor
parenta0a8d69342566142e8c8c182e447e4b059d0d562 (diff)
downloaddrakx-9438d57fc15041c70e961bd6f5cee4518951e8c3.tar
drakx-9438d57fc15041c70e961bd6f5cee4518951e8c3.tar.gz
drakx-9438d57fc15041c70e961bd6f5cee4518951e8c3.tar.bz2
drakx-9438d57fc15041c70e961bd6f5cee4518951e8c3.tar.xz
drakx-9438d57fc15041c70e961bd6f5cee4518951e8c3.zip
fix embedding (even if we don't embbed it, it's better)
Diffstat (limited to 'perl-install/standalone/net_monitor')
-rwxr-xr-xperl-install/standalone/net_monitor10
1 files changed, 6 insertions, 4 deletions
diff --git a/perl-install/standalone/net_monitor b/perl-install/standalone/net_monitor
index 8889986d0..2df918780 100755
--- a/perl-install/standalone/net_monitor
+++ b/perl-install/standalone/net_monitor
@@ -52,10 +52,12 @@ require_root_capability();
my $window1 = my_gtk->new('net_monitor');
$window1->{rwindow}->signal_connect(delete_event => sub { my_gtk->exit(0) });
-$window1->{rwindow}->set_position(1);
-$window1->{rwindow}->set_title(N("Network Monitoring"));
-$window1->{rwindow}->set_policy(1, 1, 1);
-$window1->{rwindow}->set_border_width(5);
+unless ($::isEmbedded) {
+ $window1->{rwindow}->set_position(1) ;
+ $window1->{rwindow}->set_title(N("Network Monitoring"));
+ $window1->{rwindow}->set_policy(1, 1, 1);
+ $window1->{rwindow}->set_border_width(5);
+}
#$::isEmbedded or $window1->{rwindow}->set_usize(580, 320);
my $colorr = gtkcolor(50400, 655, 20000);