From 7ce2a89f4f8fa84232896766276cb3433ada239c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 30 May 2013 20:00:46 +0100 Subject: prompt to restart office when required for experimental features Change-Id: I43051ec6b0efeaebcf4a28940f70913423b8ea9f --- svtools/source/dialogs/restartdialog.cxx | 3 +++ svtools/uiconfig/ui/restartdialog.ui | 16 +++++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) (limited to 'svtools') diff --git a/svtools/source/dialogs/restartdialog.cxx b/svtools/source/dialogs/restartdialog.cxx index e5d64dec0bc6..81655a5dc8c3 100644 --- a/svtools/source/dialogs/restartdialog.cxx +++ b/svtools/source/dialogs/restartdialog.cxx @@ -40,6 +40,9 @@ public: case svtools::RESTART_REASON_BIBLIOGRAPHY_INSTALL: get(reason_, "reason_bibliography_install"); break; + case svtools::RESTART_REASON_MODIFIED_SIDEBAR: + get(reason_, "reason_sidebar"); + break; default: assert(false); // this cannot happen } diff --git a/svtools/uiconfig/ui/restartdialog.ui b/svtools/uiconfig/ui/restartdialog.ui index 5027620b485e..f2445df4e24c 100644 --- a/svtools/uiconfig/ui/restartdialog.ui +++ b/svtools/uiconfig/ui/restartdialog.ui @@ -100,6 +100,20 @@ 2 + + + False + True + For the modified sidebar setting to take effect, %PRODUCTNAME must be restarted. + True + 50 + + + False + True + 3 + + True @@ -110,7 +124,7 @@ False True - 3 + 4 -- cgit