diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-06-30 08:41:52 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-06-30 08:41:52 +0000 |
commit | aaf7e30df737fc769ec195a97a3951fee5345e7e (patch) | |
tree | 08de952ae90e13ae012937835bd7958b0b210bba | |
parent | 5ff3f8019166790b34c8e787c1f57b4c7d575dbc (diff) | |
download | drakx-aaf7e30df737fc769ec195a97a3951fee5345e7e.tar drakx-aaf7e30df737fc769ec195a97a3951fee5345e7e.tar.gz drakx-aaf7e30df737fc769ec195a97a3951fee5345e7e.tar.bz2 drakx-aaf7e30df737fc769ec195a97a3951fee5345e7e.tar.xz drakx-aaf7e30df737fc769ec195a97a3951fee5345e7e.zip |
always draw an arrow next to transmitted amount
-rwxr-xr-x | perl-install/standalone/net_monitor | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/perl-install/standalone/net_monitor b/perl-install/standalone/net_monitor index 875f0b95f..1e1705f42 100755 --- a/perl-install/standalone/net_monitor +++ b/perl-install/standalone/net_monitor @@ -543,13 +543,12 @@ sub draw_monitor { if ($i > $pix_maxt && $switch) { my $x_l = 5; my $y_l; - if ($i > $grid_interval) { - $y_l = $i-$grid_interval/2; - $pixmap->draw_line($gct, $x_l, 0, $x_l, $y_l); - $pixmap->draw_line($gct, $x_l-1, 0, $x_l-1, $y_l); - $pixmap->draw_line($gct, $x_l+1, 0, $x_l+1, $y_l); - $pixmap->draw_polygon($gct, 1, $x_l-5, $y_l, $x_l+5, $y_l, $x_l, $y_l+5); - } + + $y_l = $i-$grid_interval/2; + $pixmap->draw_line($gct, $x_l, 0, $x_l, $y_l); + $pixmap->draw_line($gct, $x_l-1, 0, $x_l-1, $y_l); + $pixmap->draw_line($gct, $x_l+1, 0, $x_l+1, $y_l); + $pixmap->draw_polygon($gct, 1, $x_l-5, $y_l, $x_l+5, $y_l, $x_l, $y_l+5); $y_l = $i+$grid_interval/2; $pixmap->draw_line($gcr, $x_l, $height, $x_l, $y_l); |