diff options
author | irem <iremsendur1@gmail.com> | 2016-05-23 09:43:44 +0100 |
---|---|---|
committer | jan iversen <jani@documentfoundation.org> | 2016-06-23 06:44:23 +0000 |
commit | 2c1056d679187a702bad3a2ba5dcb6b068e1aa5e (patch) | |
tree | 7682b83bbcb550e903bd686a690253f100988a85 /svtools | |
parent | aa0d0536a444fb26d9e570bd6bf6c1bdc3596cf3 (diff) |
tdf#46279 Show restart message after extension installation
Change-Id: I91feab63b77055b8f73d0fb481a76586b249160c
Reviewed-on: https://gerrit.libreoffice.org/24595
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/dialogs/restartdialog.cxx | 3 | ||||
-rw-r--r-- | svtools/uiconfig/ui/restartdialog.ui | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/svtools/source/dialogs/restartdialog.cxx b/svtools/source/dialogs/restartdialog.cxx index bc6c3f7309ac..2c1528370109 100644 --- a/svtools/source/dialogs/restartdialog.cxx +++ b/svtools/source/dialogs/restartdialog.cxx @@ -58,6 +58,9 @@ public: case svtools::RESTART_REASON_EXP_FEATURES: get(reason_,"reason_exp_features"); break; + case svtools::RESTART_REASON_EXTENSION_INSTALL: + get(reason_, "reason_extension_install"); + break; default: assert(false); // this cannot happen } diff --git a/svtools/uiconfig/ui/restartdialog.ui b/svtools/uiconfig/ui/restartdialog.ui index cf378ac377bf..c9765e71042a 100644 --- a/svtools/uiconfig/ui/restartdialog.ui +++ b/svtools/uiconfig/ui/restartdialog.ui @@ -196,6 +196,21 @@ </packing> </child> <child> + <object class="GtkLabel" id="reason_extension_install"> + <property name="can_focus">False</property> + <property name="no_show_all">True</property> + <property name="label" translatable="yes">For the extension to work properly, %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">9</property> + </packing> + </child> + <child> <object class="GtkLabel" id="label"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -206,7 +221,7 @@ <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">9</property> + <property name="position">10</property> </packing> </child> </object> |