summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-07-20 11:04:52 +0000
committerOlivier Blin <oblin@mandriva.org>2004-07-20 11:04:52 +0000
commit52cf02b6dfee94fca599d61389898f018263fcda (patch)
tree188ba8460af3fef7ac20586da4728d42e6ff8438 /perl-install/standalone
parent7d5657c91150f5486007737f5d5fab26d14bbf08 (diff)
downloaddrakx-52cf02b6dfee94fca599d61389898f018263fcda.tar
drakx-52cf02b6dfee94fca599d61389898f018263fcda.tar.gz
drakx-52cf02b6dfee94fca599d61389898f018263fcda.tar.bz2
drakx-52cf02b6dfee94fca599d61389898f018263fcda.tar.xz
drakx-52cf02b6dfee94fca599d61389898f018263fcda.zip
cosmetics
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/net_monitor10
1 files changed, 7 insertions, 3 deletions
diff --git a/perl-install/standalone/net_monitor b/perl-install/standalone/net_monitor
index cfcead0ce..7c6827aaa 100755
--- a/perl-install/standalone/net_monitor
+++ b/perl-install/standalone/net_monitor
@@ -119,14 +119,17 @@ gtkadd($window1->{window},
0, my $statusbar = Gtk2::Statusbar->new
),
);
+
$window1->{rwindow}->show_all;
$window1->{rwindow}->realize;
+
my $gct = Gtk2::Gdk::GC->new($window1->{rwindow}->window);
$gct->set_foreground($colort);
my $gcr = Gtk2::Gdk::GC->new($window1->{rwindow}->window);
$gcr->set_foreground($colorr);
my $gca = Gtk2::Gdk::GC->new($window1->{rwindow}->window);
$gca->set_foreground($colora);
+
$statusbar->push(1, N("Wait please, testing your connection..."));
$window1->{rwindow}->show_all;
@@ -417,11 +420,12 @@ sub update() {
)),
Gtk2::Label->new($intf));
foreach my $i ([$button_t, $gct], [$button_r, $gcr], [$button_a, $gca]) {
- $i->[0]->add(gtksignal_connect(gtkshow(gtksize(gtkset_size_request(Gtk2::DrawingArea->new, 10, 10), 10, 10)), expose_event => sub { $_[0]->window->draw_rectangle($i->[1], 1, 0, 0, 10, 10) }));
+ $i->[0]->add(gtksignal_connect(gtkshow(gtksize(gtkset_size_request(Gtk2::DrawingArea->new, 10, 10), 10, 10)),
+ expose_event => sub { $_[0]->window->draw_rectangle($i->[1], 1, 0, 0, 10, 10) }));
}
$monitor->{$intf}{page} = $notebook->page_num($page);
- $darea->{$intf}->realize;
- $pixmap->{$intf} = Gtk2::Gdk::Pixmap->new($darea->{$intf}->window, $width, $height, $darea->{$intf}->window->get_depth);
+ $darea->{$intf}->realize;
+ $pixmap->{$intf} = Gtk2::Gdk::Pixmap->new($darea->{$intf}->window, $width, $height, $darea->{$intf}->window->get_depth);
$monitor->{$intf}{referencer} = $monitor->{$intf}{val}[0];
$monitor->{$intf}{referencet} = $monitor->{$intf}{val}[8];
$pixmap->{$intf}->draw_rectangle($darea->{$intf}->style->black_gc, 1, 0, 0, $width, $height);