summaryrefslogtreecommitdiff
path: root/sfx2/uiconfig
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-03-03 17:13:53 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-03-03 21:48:38 +0100
commit66bed5a89d3418c5f634f0dc3213ca600a3abd60 (patch)
tree5492f4f1a3750294fbe46183e83b4090da6152e1 /sfx2/uiconfig
parent102c0cc175602d1bca654813cc184f52e80f94cb (diff)
weld SafeMode dialog
and rework as an explicit MessageDialog Change-Id: I1f99bf30d70b309d3f46f818f83bdbd759f97f45 Reviewed-on: https://gerrit.libreoffice.org/50683 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2/uiconfig')
-rw-r--r--sfx2/uiconfig/ui/safemodequerydialog.ui43
1 files changed, 14 insertions, 29 deletions
diff --git a/sfx2/uiconfig/ui/safemodequerydialog.ui b/sfx2/uiconfig/ui/safemodequerydialog.ui
index 4a01791f52b2..b9409d0a5d5a 100644
--- a/sfx2/uiconfig/ui/safemodequerydialog.ui
+++ b/sfx2/uiconfig/ui/safemodequerydialog.ui
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.18.3 -->
+<!-- Generated with glade 3.20.2 -->
<interface domain="sfx">
<requires lib="gtk+" version="3.0"/>
- <object class="GtkDialog" id="SafeModeQueryDialog">
+ <object class="GtkMessageDialog" id="SafeModeQueryDialog">
<property name="can_focus">False</property>
- <property name="border_width">6</property>
<property name="title" translatable="yes" context="safemodequerydialog|SafeModeQueryDialog">Enter Safe Mode</property>
- <property name="resizable">False</property>
<property name="type_hint">dialog</property>
+ <property name="message_type">question</property>
+ <property name="text" translatable="yes" context="safemodequerydialog|label">Are you sure you want to restart %PRODUCTNAME and enter safe mode?</property>
<child internal-child="vbox">
- <object class="GtkBox" id="dialog-vbox1">
+ <object class="GtkBox">
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
- <property name="spacing">12</property>
+ <property name="spacing">2</property>
<child internal-child="action_area">
- <object class="GtkButtonBox" id="dialog-action_area1">
+ <object class="GtkButtonBox">
<property name="can_focus">False</property>
- <property name="layout_style">end</property>
+ <property name="homogeneous">True</property>
<child>
<object class="GtkButton" id="cancel">
<property name="label">gtk-cancel</property>
@@ -35,7 +35,7 @@
</packing>
</child>
<child>
- <object class="GtkButton" id="restart">
+ <object class="GtkButton" id="ok">
<property name="label" translatable="yes" context="safemodequerydialog|restart">_Restart</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -51,33 +51,18 @@
</object>
<packing>
<property name="expand">False</property>
- <property name="fill">True</property>
- <property name="pack_type">end</property>
+ <property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
- <child>
- <object class="GtkLabel" id="label">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes" context="safemodequerydialog|label">Are you sure you want to restart %PRODUCTNAME and enter safe mode?</property>
- <property name="wrap">True</property>
- <property name="max_width_chars">80</property>
- <property name="lines">2</property>
- <property name="xalign">0</property>
- <property name="yalign">0</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">1</property>
- </packing>
- </child>
</object>
</child>
<action-widgets>
<action-widget response="-6">cancel</action-widget>
- <action-widget response="0">restart</action-widget>
+ <action-widget response="-5">ok</action-widget>
</action-widgets>
+ <child>
+ <placeholder/>
+ </child>
</object>
</interface>