diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2008-07-17 09:50:08 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2008-07-17 09:50:08 +0000 |
commit | dd9ffa49c3b23577e130c6e102048dcd74a9695d (patch) | |
tree | d7651f8050e7bfcdaba7a90ba291e899c35f44dc /desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx | |
parent | a030ffa694fcb4bcb45f0d7aad92afab6c668186 (diff) |
INTEGRATION: CWS dv04 (1.6.4); FILE MERGED
2008/07/14 06:28:00 dv 1.6.4.1: #i91625# Notify updates after canceling update dialog, too
Diffstat (limited to 'desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx')
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx b/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx index 9960f4667446..67719dc75805 100644 --- a/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx +++ b/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx @@ -8,7 +8,7 @@ * * $RCSfile: dp_gui_extensioncmdqueue.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * * This file is part of OpenOffice.org. * @@ -1029,9 +1029,10 @@ void ExtensionCmdQueue::Thread::_checkForUpdates( const uno::Sequence< uno::Refe pUpdateDialog = new UpdateDialog( m_xContext, m_pDialog, rtl::Reference< SelectedPackage >(), rPackageManagers, &vData ); + pUpdateDialog->notifyMenubar( true, false ); // prepare the checking, if there updates to be notified via menu bar icon + if ( ( pUpdateDialog->Execute() == RET_OK ) && !vData.empty() ) { - pUpdateDialog->notifyMenubar( true, false ); // prepare the checking, if there updates to be notified via menu bar icon // If there is at least one directly downloadable dialog then we // open the install dialog. ::std::vector< UpdateData > dataDownload; @@ -1065,6 +1066,8 @@ void ExtensionCmdQueue::Thread::_checkForUpdates( const uno::Sequence< uno::Refe } } } + else + pUpdateDialog->notifyMenubar( false, false ); // check if there updates to be notified via menu bar icon delete pUpdateDialog; } |