summaryrefslogtreecommitdiffstats
path: root/lib/network/connection_manager.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-05-23 09:13:28 +0000
committerOlivier Blin <oblin@mandriva.com>2008-05-23 09:13:28 +0000
commitb14a202e44075b977f79f6eca6b2b375c0cfab2c (patch)
tree77ba2e86886aed75fbda4cc6d75d836dd9423419 /lib/network/connection_manager.pm
parent7074de6940ec76e488558635f2fbd1c18f2f9208 (diff)
downloaddrakx-net-b14a202e44075b977f79f6eca6b2b375c0cfab2c.tar
drakx-net-b14a202e44075b977f79f6eca6b2b375c0cfab2c.tar.gz
drakx-net-b14a202e44075b977f79f6eca6b2b375c0cfab2c.tar.bz2
drakx-net-b14a202e44075b977f79f6eca6b2b375c0cfab2c.tar.xz
drakx-net-b14a202e44075b977f79f6eca6b2b375c0cfab2c.zip
do not let interactive::gtk set huge window size when asking hardware settings
Diffstat (limited to 'lib/network/connection_manager.pm')
-rw-r--r--lib/network/connection_manager.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm
index 7369636..388589e 100644
--- a/lib/network/connection_manager.pm
+++ b/lib/network/connection_manager.pm
@@ -76,7 +76,8 @@ sub setup_connection {
$cmanager->{connection}->guess_hardware_settings if $cmanager->{connection}->can('guess_hardware_settings');
$cmanager->{in}->ask_from_({
title => N("Network settings"),
- messages => N("Please enter settings for network")
+ messages => N("Please enter settings for network"),
+ auto_window_size => 1,
}, $cmanager->{connection}->get_hardware_settings) or return;
if ($cmanager->{connection}->can("check_hardware_settings") && !$cmanager->{connection}->check_hardware_settings) {
$cmanager->{in}->ask_warn(N("Error"), $cmanager->{connection}->{hardware}{error});