diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-08-31 23:49:26 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-08-31 23:49:26 +0000 |
commit | b721321b9312b93621d3a7d6ade9b7ab246a4aac (patch) | |
tree | f0ee45c7a3386fd423c4b52f41d1f03565eb2685 /perl-install | |
parent | 65f600cf6a4d1ebfb687bc74467ea290d6cafc28 (diff) | |
download | drakx-backup-do-not-use-b721321b9312b93621d3a7d6ade9b7ab246a4aac.tar drakx-backup-do-not-use-b721321b9312b93621d3a7d6ade9b7ab246a4aac.tar.gz drakx-backup-do-not-use-b721321b9312b93621d3a7d6ade9b7ab246a4aac.tar.bz2 drakx-backup-do-not-use-b721321b9312b93621d3a7d6ade9b7ab246a4aac.tar.xz drakx-backup-do-not-use-b721321b9312b93621d3a7d6ade9b7ab246a4aac.zip |
short-circuit and fix embedded mode
Diffstat (limited to 'perl-install')
-rwxr-xr-x | perl-install/standalone/drakroam | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakroam b/perl-install/standalone/drakroam index ca68689ff..e5fe256e4 100755 --- a/perl-install/standalone/drakroam +++ b/perl-install/standalone/drakroam @@ -158,7 +158,7 @@ Glib::Timeout->add(30000, \&update_networks); my $w = ugtk2->new(N("Wireless connection")); gtkadd($w->{window}, gtknew('VBox', spacing => 5, children => [ - 0, if_(!$::isEmbedded, Gtk2::Banner->new('/usr/share/mcc/themes/default/drakroam-mdk.png', N("Wireless connection"))), + $::isEmbedded ? () : (0, Gtk2::Banner->new('/usr/share/mcc/themes/default/drakroam-mdk.png', N("Wireless connection"))), 1, gtknew('HBox', spacing => 5, children => [ 1, gtknew('ScrolledWindow', width => 420, height => 300, child => $wireless_list), 0, gtknew('VButtonBox', layout => 'edge', children_loose => [ |