summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakconnect
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-08-26 15:53:32 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-08-26 15:53:32 +0000
commita0cd1bf19044f75fd43e98d2512fc42931c3c686 (patch)
tree4a95ea5fe32d0eab89f07fd9cf849cf67d2b1827 /perl-install/standalone/drakconnect
parentd72620ce75fb614ec5e4f0f5e2009b12a01934ce (diff)
downloaddrakx-a0cd1bf19044f75fd43e98d2512fc42931c3c686.tar
drakx-a0cd1bf19044f75fd43e98d2512fc42931c3c686.tar.gz
drakx-a0cd1bf19044f75fd43e98d2512fc42931c3c686.tar.bz2
drakx-a0cd1bf19044f75fd43e98d2512fc42931c3c686.tar.xz
drakx-a0cd1bf19044f75fd43e98d2512fc42931c3c686.zip
hide profile in "internet config" dialog if profiles are disabled
Diffstat (limited to 'perl-install/standalone/drakconnect')
-rwxr-xr-xperl-install/standalone/drakconnect6
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})) ],
),