summaryrefslogtreecommitdiffstats
path: root/desktop/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-04-24 19:16:06 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-04-24 20:22:49 +0200
commit2d2b19dea1ab401b1b4971ff5b12b87bb11fd666 (patch)
treea13afa06cc3e153353077180c973024c39ea5f8e /desktop/inc
parentBump extension versions after changing to passive registration (diff)
downloadcore-2d2b19dea1ab401b1b4971ff5b12b87bb11fd666.tar.gz
core-2d2b19dea1ab401b1b4971ff5b12b87bb11fd666.zip
Force ExtensionManager resync when the implementation changes
...as checking the lastsynchronized time-stamps can give wrong results if new and old impl use same user config and old impl is started once more after new impl is installed, in which case per-user data of bundled exts of new impl would not be regenerated, leading to inconsistencies.
Diffstat (limited to 'desktop/inc')
-rw-r--r--desktop/inc/app.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/desktop/inc/app.hxx b/desktop/inc/app.hxx
index fa4553afdc87..28b2c63d965a 100644
--- a/desktop/inc/app.hxx
+++ b/desktop/inc/app.hxx
@@ -130,12 +130,14 @@ class Desktop : public Application
static sal_Bool isCrashReporterEnabled();
// first-start (ever) related methods
+ static bool newInstallation();
+
static sal_Bool CheckExtensionDependencies();
static void DoRestartActionsIfNecessary( sal_Bool bQuickStart );
static void SetRestartState();
- void SynchronizeExtensionRepositories();
+ void SynchronizeExtensionRepositories(bool force);
void SetSplashScreenText( const ::rtl::OUString& rText );
void SetSplashScreenProgress( sal_Int32 );