diff options
author | Tünde Tóth <toth.tunde@nisz.hu> | 2022-05-31 16:11:03 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2022-06-23 17:07:00 +0200 |
commit | 18cc891483fef63ad168273658a30bff72b87a95 (patch) | |
tree | f0cca081ee60f61fa0660ea77d595ae3cd1d08d6 /svtools | |
parent | 4142d728f003166ebe520bfdaf672505e585b807 (diff) |
tdf#149401 show "Restart LibreOffice" dialog changing AutoRecovery
Changing "Save Autorecovery... information every ... minutes"
option in Tools->Options...->Load/Save->General shows that
dialog window to warn about its work.
Change-Id: I91ae72ea1e52ec5c6d9286a43cd986386636076c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135221
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/dialogs/restartdialog.cxx | 3 | ||||
-rw-r--r-- | svtools/uiconfig/ui/restartdialog.ui | 19 |
2 files changed, 20 insertions, 2 deletions
diff --git a/svtools/source/dialogs/restartdialog.cxx b/svtools/source/dialogs/restartdialog.cxx index ba5c7d2a3304..30954f17638b 100644 --- a/svtools/source/dialogs/restartdialog.cxx +++ b/svtools/source/dialogs/restartdialog.cxx @@ -71,6 +71,9 @@ public: case svtools::RESTART_REASON_MSCOMPATIBLE_FORMS_MENU: reason_ = m_xBuilder->weld_widget("reason_mscompatible_formsmenu"); break; + case svtools::RESTART_REASON_SAVE: + reason_ = m_xBuilder->weld_widget("reason_save"); + break; case svtools::RESTART_REASON_UI_CHANGE: reason_ = m_xBuilder->weld_widget("reason_uichange"); break; diff --git a/svtools/uiconfig/ui/restartdialog.ui b/svtools/uiconfig/ui/restartdialog.ui index c49218c03bc8..9772c1659ad7 100644 --- a/svtools/uiconfig/ui/restartdialog.ui +++ b/svtools/uiconfig/ui/restartdialog.ui @@ -274,6 +274,21 @@ </packing> </child> <child> + <object class="GtkLabel" id="reason_save"> + <property name="can-focus">False</property> + <property name="no-show-all">True</property> + <property name="label" translatable="yes" context="restartdialog|reason_save">For the modified save settings to take effect, %PRODUCTNAME must be restarted.</property> + <property name="wrap">True</property> + <property name="max-width-chars">50</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">14</property> + </packing> + </child> + <child> <object class="GtkLabel" id="label"> <property name="visible">True</property> <property name="can-focus">False</property> @@ -284,7 +299,7 @@ <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">14</property> + <property name="position">15</property> </packing> </child> <child> @@ -299,7 +314,7 @@ <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">15</property> + <property name="position">16</property> </packing> </child> </object> |