summaryrefslogtreecommitdiff
path: root/sfx2/uiconfig
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-10-04 17:06:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-10-05 12:20:28 +0200
commitfaf6b466ab510ccee540953eebb790b6a57386e6 (patch)
tree2e6f384d14234aaa1430dac0317eda65eebbd201 /sfx2/uiconfig
parent42b629bc7f700d6f1d1b922e5c6aab119b8edf27 (diff)
weld modeless sfx SearchDialog
Change-Id: I90a9b5dcf8878356b6666f8fe911d5dce9391904 Reviewed-on: https://gerrit.libreoffice.org/61396 Tested-by: Jenkins 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/searchdialog.ui18
1 files changed, 12 insertions, 6 deletions
diff --git a/sfx2/uiconfig/ui/searchdialog.ui b/sfx2/uiconfig/ui/searchdialog.ui
index a8468aa1e54f..8445eabb5bc9 100644
--- a/sfx2/uiconfig/ui/searchdialog.ui
+++ b/sfx2/uiconfig/ui/searchdialog.ui
@@ -1,12 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.18.3 -->
+<!-- Generated with glade 3.22.1 -->
<interface domain="sfx">
<requires lib="gtk+" version="3.18"/>
<object class="GtkDialog" id="SearchDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
<property name="title" translatable="yes" context="searchdialog|SearchDialog">Find on this Page</property>
+ <property name="default_width">0</property>
+ <property name="default_height">0</property>
<property name="type_hint">dialog</property>
+ <child>
+ <placeholder/>
+ </child>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox3">
<property name="can_focus">False</property>
@@ -17,7 +22,7 @@
<property name="can_focus">False</property>
<property name="layout_style">end</property>
<child>
- <object class="GtkButton" id="search">
+ <object class="GtkButton" id="ok">
<property name="label" translatable="yes" context="searchdialog|search">_Find</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -68,7 +73,7 @@
<property name="can_focus">False</property>
<property name="row_spacing">6</property>
<child>
- <object class="GtkComboBox" id="searchterm">
+ <object class="GtkComboBoxText" id="searchterm">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">center</property>
@@ -76,7 +81,8 @@
<property name="has_entry">True</property>
<child internal-child="entry">
<object class="GtkEntry" id="combobox-entry1">
- <property name="can_focus">False</property>
+ <property name="can_focus">True</property>
+ <property name="activates_default">True</property>
</object>
</child>
</object>
@@ -89,10 +95,10 @@
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xalign">0</property>
<property name="label" translatable="yes" context="searchdialog|label1">_Search for:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">searchterm</property>
+ <property name="xalign">0</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -189,7 +195,7 @@
</object>
</child>
<action-widgets>
- <action-widget response="0">search</action-widget>
+ <action-widget response="101">ok</action-widget>
<action-widget response="-7">close</action-widget>
</action-widgets>
</object>