summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-01-25 11:10:30 +0000
committerThierry Vignaud <tv@mandriva.org>2010-01-25 11:10:30 +0000
commitcf57bae664cefa5b35d878b130c552ef0f148690 (patch)
tree8bb8d532c7db7920549523e4d8a0d3612c8b7339
parent70b4c5b43887cb3b5bde9325eb8c333f4bd7da5b (diff)
downloadmgaonline-cf57bae664cefa5b35d878b130c552ef0f148690.tar
mgaonline-cf57bae664cefa5b35d878b130c552ef0f148690.tar.gz
mgaonline-cf57bae664cefa5b35d878b130c552ef0f148690.tar.bz2
mgaonline-cf57bae664cefa5b35d878b130c552ef0f148690.tar.xz
mgaonline-cf57bae664cefa5b35d878b130c552ef0f148690.zip
(no_rights_dialog) do not show banner in error dialog when embedded in mcc
-rw-r--r--NEWS3
-rwxr-xr-xmdkapplet-extended-maintenance-helper2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 87694bec..58cb8a75 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- mdkapplet-extended-maintenance-helper
+ o do not show banner in error dialog when embedded in mcc
+
Version 2.77.15 - 21 January 2010, Thierry Vignaud
- mdkapplet
diff --git a/mdkapplet-extended-maintenance-helper b/mdkapplet-extended-maintenance-helper
index f6e407e4..4f0f3328 100755
--- a/mdkapplet-extended-maintenance-helper
+++ b/mdkapplet-extended-maintenance-helper
@@ -158,7 +158,7 @@ sub no_rights_dialog() {
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("Your Mandriva account does not have Extended Maintenance subscription enabled."),
@common),
gtknew('HButtonBox', layout => 'start', children_tight => [