diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-08-26 15:53:32 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-08-26 15:53:32 +0000 |
commit | a0cd1bf19044f75fd43e98d2512fc42931c3c686 (patch) | |
tree | 4a95ea5fe32d0eab89f07fd9cf849cf67d2b1827 /perl-install | |
parent | d72620ce75fb614ec5e4f0f5e2009b12a01934ce (diff) | |
download | drakx-backup-do-not-use-a0cd1bf19044f75fd43e98d2512fc42931c3c686.tar drakx-backup-do-not-use-a0cd1bf19044f75fd43e98d2512fc42931c3c686.tar.gz drakx-backup-do-not-use-a0cd1bf19044f75fd43e98d2512fc42931c3c686.tar.bz2 drakx-backup-do-not-use-a0cd1bf19044f75fd43e98d2512fc42931c3c686.tar.xz drakx-backup-do-not-use-a0cd1bf19044f75fd43e98d2512fc42931c3c686.zip |
hide profile in "internet config" dialog if profiles are disabled
Diffstat (limited to 'perl-install')
-rwxr-xr-x | perl-install/standalone/drakconnect | 6 |
1 files 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})) ], ), |