From a9a6cb8d22a4d0742f3e0cbee80913084d36f312 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Fri, 4 Apr 2008 09:57:57 +0000 Subject: INTEGRATION: CWS dv03 (1.16.6); FILE MERGED 2008/04/01 09:19:30 dv 1.16.6.1: #i85765# Changed RemoveBubbleWindow to always remove icon --- extensions/source/update/ui/updatecheckui.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'extensions') diff --git a/extensions/source/update/ui/updatecheckui.cxx b/extensions/source/update/ui/updatecheckui.cxx index 6cfdfa08e73d..1c8a80b21ced 100644 --- a/extensions/source/update/ui/updatecheckui.cxx +++ b/extensions/source/update/ui/updatecheckui.cxx @@ -4,9 +4,9 @@ * * $RCSfile: updatecheckui.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: obo $ $Date: 2008-02-25 15:35:53 $ + * last change: $Author: kz $ $Date: 2008-04-04 10:57:57 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -632,8 +632,7 @@ void UpdateCheckUI::RemoveBubbleWindow( bool bRemoveIcon ) if ( bRemoveIcon ) { try { - if ( mpIconSysWin && mpIconMBar && - ( mpIconSysWin->GetMenuBar() == mpIconMBar ) ) + if ( mpIconMBar && ( mnIconID != 0 ) ) { mpIconMBar->RemoveMenuBarButton( mnIconID ); mpIconMBar = NULL; -- cgit