gtkappchooserdialog.ui 3.94 KB
Newer Older
1 2 3 4
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk30">
  <!-- interface-requires gtk+ 3.10 -->
  <template class="GtkAppChooserDialog" parent="GtkDialog">
5
    <property name="title" translatable="yes">Select Application</property>
Matthias Clasen's avatar
Matthias Clasen committed
6
    <property name="type-hint">dialog</property>
7 8 9 10
    <child internal-child="vbox">
      <object class="GtkBox" id="dialog-vbox1">
        <property name="orientation">vertical</property>
        <property name="spacing">2</property>
11 12
        <child>
          <object class="GtkSearchBar" id="search_bar">
13
            <property name="visible">1</property>
14 15
            <child>
              <object class="GtkSearchEntry" id="search_entry">
16 17
                <property name="visible">1</property>
                <property name="hexpand">1</property>
18
                <property name="max-width-chars">40</property>
19 20 21 22
              </object>
            </child>
          </object>
        </child>
23 24
        <child internal-child="action_area">
          <object class="GtkButtonBox" id="dialog-action_area1">
Matthias Clasen's avatar
Matthias Clasen committed
25
            <property name="layout-style">end</property>
26 27
          </object>
          <packing>
Matthias Clasen's avatar
Matthias Clasen committed
28
            <property name="pack-type">end</property>
29
            <property name="position">1</property>
30 31 32
          </packing>
        </child>
        <child>
33
          <object class="GtkBox" id="inner_box">
34
            <property name="visible">1</property>
35
            <property name="orientation">vertical</property>
36
            <property name="spacing">6</property>
37
            <child>
38
              <object class="GtkLabel" id="label">
39
                <property name="visible">1</property>
40 41
                <property name="halign">center</property>
                <property name="valign">center</property>
42
                <property name="label">label</property>
43
                <property name="wrap">1</property>
44 45
              </object>
              <packing>
46
                <property name="expand">1</property>
47 48 49 50
              </packing>
            </child>
          </object>
          <packing>
51
            <property name="expand">1</property>
52
            <property name="position">2</property>
53 54 55 56
          </packing>
        </child>
      </object>
    </child>
57 58
    <child type="action">
      <object class="GtkButton" id="cancel_button">
59
        <property name="visible">1</property>
Matthias Clasen's avatar
Matthias Clasen committed
60
        <property name="use-underline">1</property>
61
        <property name="label" translatable="yes">_Cancel</property>
62 63 64 65
      </object>
    </child>
    <child type="action">
      <object class="GtkButton" id="ok_button">
66
        <property name="visible">1</property>
67
        <property name="label" translatable="yes">_Select</property>
Matthias Clasen's avatar
Matthias Clasen committed
68 69
        <property name="use-underline">1</property>
        <property name="can-default">1</property>
70 71 72 73 74 75
      </object>
    </child>
    <action-widgets>
      <action-widget response="cancel">cancel_button</action-widget>
      <action-widget response="ok" default="true">ok_button</action-widget>
    </action-widgets>
76 77
  </template>
  <object class="GtkButton" id="show_more_button">
78
    <property name="label" translatable="yes">_View All Applications</property>
79
    <property name="visible">1</property>
Matthias Clasen's avatar
Matthias Clasen committed
80 81 82
    <property name="use-underline">1</property>
    <property name="can-focus">1</property>
    <property name="receives-default">1</property>
83 84
    <signal name="clicked" handler="show_more_button_clicked_cb" swapped="no"/>
  </object>
85
  <object class="GtkButton" id="software_button">
86
    <property name="label" translatable="yes">_Find New Applications</property>
87
    <property name="visible">1</property>
Matthias Clasen's avatar
Matthias Clasen committed
88 89 90
    <property name="use-underline">1</property>
    <property name="can-focus">1</property>
    <property name="receives-default">1</property>
91 92
    <signal name="clicked" handler="software_button_clicked_cb" swapped="no"/>
  </object>
93 94 95 96 97 98 99
  <object class="GtkSizeGroup" id="buttons">
    <property name="mode">vertical</property>
    <widgets>
      <widget name="cancel_button"/>
      <widget name="ok_button"/>
    </widgets>
  </object>
100
</interface>