summaryrefslogtreecommitdiffstats
path: root/mdkapplet-extended-maintenance-helper
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-01-21 22:43:12 +0000
committerThierry Vignaud <tv@mandriva.org>2010-01-21 22:43:12 +0000
commit2394a2cc0d73651b6716c9bf32c810899e37413d (patch)
tree9294f636c03ce5bc426bd18d01c11f6db2d89cb3 /mdkapplet-extended-maintenance-helper
parent77e8d4b6f72dbe4cd33293cf1dafd7e2d8d8e78d (diff)
downloadmgaonline-2394a2cc0d73651b6716c9bf32c810899e37413d.tar
mgaonline-2394a2cc0d73651b6716c9bf32c810899e37413d.tar.gz
mgaonline-2394a2cc0d73651b6716c9bf32c810899e37413d.tar.bz2
mgaonline-2394a2cc0d73651b6716c9bf32c810899e37413d.tar.xz
mgaonline-2394a2cc0d73651b6716c9bf32c810899e37413d.zip
(get_extmaint_authentication) do not show the banner when embedded
Diffstat (limited to 'mdkapplet-extended-maintenance-helper')
-rwxr-xr-xmdkapplet-extended-maintenance-helper4
1 files changed, 3 insertions, 1 deletions
diff --git a/mdkapplet-extended-maintenance-helper b/mdkapplet-extended-maintenance-helper
index 190b3bec..e23d7957 100755
--- a/mdkapplet-extended-maintenance-helper
+++ b/mdkapplet-extended-maintenance-helper
@@ -76,7 +76,9 @@ sub get_extmaint_authentication() {
fill_n_run_portable_dialog(
$w,
[
- get_banner(N("Adding an additional package medium")),
+ if_(!$::isEmbedded,
+ get_banner(N("Adding an additional package medium")),
+ ),
gtknew('Label_Left', text => N("Please fill in your account ID to add an additional package medium"),
@common),
gtknew('HButtonBox', layout => 'start', children_tight => [