diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-02-24 07:59:13 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-02-24 07:59:13 +0000 |
commit | 9438d57fc15041c70e961bd6f5cee4518951e8c3 (patch) | |
tree | 6e0204ce87e30da30f9dd3f27af0f64582d48028 | |
parent | a0a8d69342566142e8c8c182e447e4b059d0d562 (diff) | |
download | drakx-backup-do-not-use-9438d57fc15041c70e961bd6f5cee4518951e8c3.tar drakx-backup-do-not-use-9438d57fc15041c70e961bd6f5cee4518951e8c3.tar.gz drakx-backup-do-not-use-9438d57fc15041c70e961bd6f5cee4518951e8c3.tar.bz2 drakx-backup-do-not-use-9438d57fc15041c70e961bd6f5cee4518951e8c3.tar.xz drakx-backup-do-not-use-9438d57fc15041c70e961bd6f5cee4518951e8c3.zip |
fix embedding (even if we don't embbed it, it's better)
-rwxr-xr-x | perl-install/standalone/net_monitor | 10 |
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); |