forked from AuroraMiddleware/gtk
5729ea7744
GtkWidget already has hexpand/vexpand properties.
98 lines
3.8 KiB
XML
98 lines
3.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface domain="gtk30">
|
|
<!-- interface-requires gtk+ 3.10 -->
|
|
<template class="GtkAppChooserDialog" parent="GtkDialog">
|
|
<property name="title" translatable="yes">Select Application</property>
|
|
<property name="type-hint">dialog</property>
|
|
<child internal-child="vbox">
|
|
<object class="GtkBox" id="dialog-vbox1">
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">2</property>
|
|
<child>
|
|
<object class="GtkSearchBar" id="search_bar">
|
|
<property name="visible">1</property>
|
|
<child>
|
|
<object class="GtkSearchEntry" id="search_entry">
|
|
<property name="visible">1</property>
|
|
<property name="hexpand">1</property>
|
|
<property name="max-width-chars">40</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child internal-child="action_area">
|
|
<object class="GtkButtonBox" id="dialog-action_area1">
|
|
<property name="layout-style">end</property>
|
|
</object>
|
|
<packing>
|
|
<property name="pack-type">end</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox" id="inner_box">
|
|
<property name="visible">1</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">6</property>
|
|
<child>
|
|
<object class="GtkLabel" id="label">
|
|
<property name="visible">1</property>
|
|
<property name="halign">center</property>
|
|
<property name="valign">center</property>
|
|
<property name="label">label</property>
|
|
<property name="wrap">1</property>
|
|
<property name="vexpand">1</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child type="action">
|
|
<object class="GtkButton" id="cancel_button">
|
|
<property name="visible">1</property>
|
|
<property name="use-underline">1</property>
|
|
<property name="label" translatable="yes">_Cancel</property>
|
|
</object>
|
|
</child>
|
|
<child type="action">
|
|
<object class="GtkButton" id="ok_button">
|
|
<property name="visible">1</property>
|
|
<property name="label" translatable="yes">_Select</property>
|
|
<property name="use-underline">1</property>
|
|
<property name="can-default">1</property>
|
|
</object>
|
|
</child>
|
|
<action-widgets>
|
|
<action-widget response="cancel">cancel_button</action-widget>
|
|
<action-widget response="ok" default="true">ok_button</action-widget>
|
|
</action-widgets>
|
|
</template>
|
|
<object class="GtkButton" id="show_more_button">
|
|
<property name="label" translatable="yes">_View All Applications</property>
|
|
<property name="visible">1</property>
|
|
<property name="use-underline">1</property>
|
|
<property name="can-focus">1</property>
|
|
<property name="receives-default">1</property>
|
|
<signal name="clicked" handler="show_more_button_clicked_cb" swapped="no"/>
|
|
</object>
|
|
<object class="GtkButton" id="software_button">
|
|
<property name="label" translatable="yes">_Find New Applications</property>
|
|
<property name="visible">1</property>
|
|
<property name="use-underline">1</property>
|
|
<property name="can-focus">1</property>
|
|
<property name="receives-default">1</property>
|
|
<signal name="clicked" handler="software_button_clicked_cb" swapped="no"/>
|
|
</object>
|
|
<object class="GtkSizeGroup" id="buttons">
|
|
<property name="mode">vertical</property>
|
|
<widgets>
|
|
<widget name="cancel_button"/>
|
|
<widget name="ok_button"/>
|
|
</widgets>
|
|
</object>
|
|
</interface>
|