Make the window behave much more like a modal popup

This commit is contained in:
R. Tyler Croy 2017-01-07 14:31:56 -08:00
parent fa5c4df2ac
commit ddd8a7f3cf
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 9 additions and 1 deletions

View File

@ -3,8 +3,11 @@
<interface>
<requires lib="gtk+" version="3.12"/>
<object class="GtkWindow" id="commandWindow">
<property name="width_request">400</property>
<property name="can_focus">False</property>
<property name="modal">True</property>
<property name="window_position">center</property>
<property name="type_hint">dialog</property>
<signal name="destroy" handler="Main_Quit" swapped="no"/>
<child>
<object class="GtkBox" id="commandBox">
@ -29,6 +32,10 @@
<property name="can_focus">True</property>
<property name="has_focus">True</property>
<property name="receives_default">True</property>
<property name="margin_left">2</property>
<property name="margin_right">2</property>
<property name="margin_top">2</property>
<property name="margin_bottom">2</property>
<property name="primary_icon_name">edit-find-symbolic</property>
<property name="primary_icon_activatable">False</property>
<property name="primary_icon_sensitive">False</property>
@ -37,8 +44,9 @@
<signal name="search-changed" handler="commandEntry_search_changed_cb" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="padding">1</property>
<property name="position">1</property>
</packing>
</child>