872d76228f
...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
18 lines
526 B
Makefile
18 lines
526 B
Makefile
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
#
|
|
# This file is part of the LibreOffice project.
|
|
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
#
|
|
|
|
$(eval $(call gb_UI_UI,svt))
|
|
|
|
$(eval $(call gb_UI_add_uifiles,svt,\
|
|
svtools/uiconfig/ui/graphicexport \
|
|
svtools/uiconfig/ui/placeedit \
|
|
svtools/uiconfig/ui/restartdialog \
|
|
))
|
|
|
|
# vim: set noet sw=4 ts=4:
|