diff options
Diffstat (limited to 'bin/drakroam')
-rwxr-xr-x | bin/drakroam | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/bin/drakroam b/bin/drakroam index b79cd8e..478d9cd 100755 --- a/bin/drakroam +++ b/bin/drakroam @@ -29,13 +29,6 @@ use modules; my $droam = {}; -my $title = N("Wireless connection"); -my $icon = '/usr/share/mcc/themes/default/drakroam-mdk.png'; - -$ugtk2::wm_icon = $icon; -$droam->{gui}{w} = ugtk2->new($title); -#- so that transient_for is defined, for wait messages and popups to be centered -$::main_window = $droam->{gui}{w}{real_window}; my $in = 'interactive'->vnew('su'); my $net = {}; @@ -301,6 +294,14 @@ $droam->{gui}{pixbufs} = { } qw(open weak strong) }, }; +my $title = N("Wireless connection"); +my $icon = '/usr/share/mcc/themes/default/drakroam-mdk.png'; + +$ugtk2::wm_icon = $icon; +$droam->{gui}{w} = ugtk2->new($title); +#- so that transient_for is defined, for wait messages and popups to be centered +$::main_window = $droam->{gui}{w}{real_window}; + gtkadd($droam->{gui}{w}{window}, gtknew('VBox', spacing => 5, children => [ $::isEmbedded ? () : (0, Gtk2::Banner->new($icon, $title)), |