From a0cd1bf19044f75fd43e98d2512fc42931c3c686 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 26 Aug 2003 15:53:32 +0000 Subject: hide profile in "internet config" dialog if profiles are disabled --- perl-install/standalone/drakconnect | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index d42909f4c..5272f8fa4 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -643,8 +643,10 @@ Create one first by clicking on 'Configure'"))); Gtk2::Label->new(N("Internet Connection Configuration")), Gtk2::HSeparator->new, create_packtable({ col_spacings => 5, row_spacings => 5, homogenous => 1 }, - [ Gtk2::Label->new(N("Profile: ")), - Gtk2::Label->new(translate($netcnx->{PROFILE})) ], + if_($activate_profile, + [ Gtk2::Label->new(N("Profile: ")), + Gtk2::Label->new(translate($netcnx->{PROFILE})) ], + ), [ Gtk2::Label->new(N("Connection type: ")), Gtk2::Label->new(translate($netcnx->{type})) ], ), -- cgit v1.2.1