Commit be277759 authored by Debarshi Ray's avatar Debarshi Ray
Browse files

region: Use header bar in the input options dialog

https://bugzilla.gnome.org/show_bug.cgi?id=757516
parent 7d9f7f30
......@@ -180,5 +180,5 @@ cc_input_options_class_init (CcInputOptionsClass *klass)
GtkWidget *
cc_input_options_new (GtkWidget *parent)
{
return g_object_new (CC_TYPE_INPUT_OPTIONS, "transient-for", parent, NULL);
return g_object_new (CC_TYPE_INPUT_OPTIONS, "transient-for", parent, "use-header-bar", TRUE, NULL);
}
......@@ -12,32 +12,6 @@
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">2</property>
<child internal-child="action_area">
<object class="GtkButtonBox" id="dialog-action_area1">
<property name="can_focus">False</property>
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="ok-button">
<property name="label" translatable="yes">_Close</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack_type">end</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkGrid" id="grid1">
<property name="visible">True</property>
......@@ -222,8 +196,5 @@
</child>
</object>
</child>
<action-widgets>
<action-widget response="-5">ok-button</action-widget>
</action-widgets>
</template>
</interface>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment