diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-11-27 12:40:15 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-11-27 12:51:39 +0100 |
commit | 872d76228fc440d22924b69a391f027dbdc8e693 (patch) | |
tree | 8c62817deff6b6636bb04d353af8be2ff7cc5052 /svtools/Library_svt.mk | |
parent | 602b746330d21ae1b9c0fc60eb0980ed92cd5680 (diff) |
Introduce a Restart dialog that allows to automatically restart LO
...instead of just telling the user to restart manually.
The one existing dialog (duplicated into svtools and cui) that got replaced by
this is the dialog asking to restart when the choice of JVM changed. There are
more similar dialogs that would benefit from replacing them, like
RID_SVX_MSGBOX_OPTIONS_RESTART (cui/source/options/optjava.src), but that one is
called when closing a dialog nested within the Options dialog, and calling
OfficeRestartManger.requestRestart in such a nested situation still leads to a
crash.
The design idea is that when more similar dialogs are replaced, restartdialog.ui
contains a list of hidden GtkLables with the appropriate prose why a restart is
required in the given case, and restartdialog.hxx's RestartReason enum contains
corresponding values that will show exactly one of those GtkLables.
The new svtools/uiconfig/ui/restartdialog.ui is probably still pretty rough and
could benefit from some UX love.
Change-Id: Id939188ee22f24301a8a3598b83afb31339bded5
Diffstat (limited to 'svtools/Library_svt.mk')
-rw-r--r-- | svtools/Library_svt.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/svtools/Library_svt.mk b/svtools/Library_svt.mk index fd81beb9dbc3..7ed5a70e201d 100644 --- a/svtools/Library_svt.mk +++ b/svtools/Library_svt.mk @@ -130,6 +130,7 @@ $(eval $(call gb_Library_add_exception_objects,svt,\ svtools/source/dialogs/mcvmath \ svtools/source/dialogs/PlaceEditDialog \ svtools/source/dialogs/prnsetup \ + svtools/source/dialogs/restartdialog \ svtools/source/dialogs/roadmapwizard \ svtools/source/dialogs/ServerDetailsControls \ svtools/source/dialogs/wizardmachine \ |