From 3385b46f67b8ec9e9d6a6afd4402155d44620ab4 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sun, 31 Aug 2003 21:12:05 +0000 Subject: fix dialogs height: replace"small" option by "height" & "weight" ones rationale: make thecommon path be the easiest one to set up (and make the uncommon path be the hardest one to follow) --- perl-install/standalone/drakconnect | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'perl-install/standalone/drakconnect') diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index 90c0cb79e..19d705362 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -280,7 +280,7 @@ $window1->{window}->add( gtksignal_connect(Gtk2::Button->new(N("Cancel")), clicked => \&quit_global), gtksignal_connect(Gtk2::Button->new(N("Ok")), clicked => sub { if ($button_apply->get('sensitive')) { - my $dialog = _create_dialog(N("Please wait"), { small => 1 }); + my $dialog = _create_dialog(N("Please wait")); gtkpack($dialog->vbox, Gtk2::Label->new(N("Please Wait... Applying the configuration"))); $dialog->show_all; @@ -434,7 +434,7 @@ sub get_intf_status { sub configure_lan() { sensitive_buttons(0); - my $window = _create_dialog(N("LAN configuration"), { small => 1 }); + my $window = _create_dialog(N("LAN configuration")); my @card_tab; if (@all_cards < 1) { @@ -568,7 +568,7 @@ sub configure_net { Gtk2->main_quit; }; if (!$netcnx->{type}) { - $dialog = _create_dialog(N("LAN configuration"), { small => 1 }); + $dialog = _create_dialog(N("LAN configuration")); $dialog->vbox->add(Gtk2::Label->new(N("You don't have an Internet connection. Create one first by clicking on 'Configure'"))); gtkpack($dialog->action_area, @@ -580,7 +580,7 @@ Create one first by clicking on 'Configure'"))); } my $cnx = {}; $cnx = $netcnx->{$netcnx->{type}}; - $dialog = _create_dialog(N("Internet connection configuration"), { small => 1 }); + $dialog = _create_dialog(N("Internet connection configuration")); $dialog->signal_connect(delete_event => $exit_dialogsub); $dialog->set_border_width(10); -- cgit v1.2.1