gtkrecentchooserdefault.ui 4.02 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk30">
  <!-- interface-requires gtk+ 3.10 -->
  <object class="GtkListStore" id="recent_store">
    <columns>
      <!-- column-name uri -->
      <column type="gchararray"/>
      <!-- column-name display-name -->
      <column type="gchararray"/>
      <!-- column-name info -->
      <column type="GtkRecentInfo"/>
    </columns>
  </object>
  <template class="GtkRecentChooserDefault" parent="GtkBox">
Matthias Clasen's avatar
Matthias Clasen committed
15
    <property name="can-focus">False</property>
16 17 18 19
    <property name="orientation">vertical</property>
    <property name="spacing">6</property>
    <child>
      <object class="GtkScrolledWindow" id="scrolledwindow">
20
        <property name="visible">1</property>
Matthias Clasen's avatar
Matthias Clasen committed
21 22 23
        <property name="can-focus">1</property>
        <property name="hscrollbar-policy">never</property>
        <property name="shadow-type">in</property>
24
        <property name="vexpand">1</property>
25 26
        <child>
          <object class="GtkTreeView" id="recent_view">
27
            <property name="visible">1</property>
Matthias Clasen's avatar
Matthias Clasen committed
28 29 30
            <property name="can-focus">1</property>
            <property name="has-tooltip">1</property>
            <property name="headers-visible">0</property>
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
            <signal name="button-press-event" handler="recent_view_button_press_cb" swapped="no"/>
            <signal name="drag-begin" handler="recent_view_drag_begin_cb" swapped="no"/>
            <signal name="drag-data-get" handler="recent_view_drag_data_get_cb" swapped="no"/>
            <signal name="popup-menu" handler="recent_view_popup_menu_cb" swapped="no"/>
            <signal name="query-tooltip" handler="recent_view_query_tooltip_cb" swapped="no"/>
            <signal name="row-activated" handler="row_activated_cb" swapped="no"/>
            <child internal-child="selection">
              <object class="GtkTreeSelection" id="selection">
                <signal name="changed" handler="selection_changed_cb" swapped="no"/>
              </object>
            </child>
            <child>
              <object class="GtkTreeViewColumn" id="icon_column">
                <property name="title">icon</property>
                <child>
                  <object class="GtkCellRendererPixbuf" id="icon_renderer">
Matthias Clasen's avatar
Matthias Clasen committed
47
                    <property name="stock-size">4</property>
48 49 50 51 52 53 54
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkTreeViewColumn" id="meta_column">
                <property name="title">meta</property>
55
                <property name="expand">1</property>
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
                <child>
                  <object class="GtkCellRendererText" id="meta_renderer">
                    <property name="ellipsize">end</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
      <packing>
        <property name="expand">True</property>
        <property name="fill">True</property>
        <property name="position">0</property>
      </packing>
    </child>
    <child>
      <object class="GtkBox" id="filter_combo_hbox">
        <property name="spacing">12</property>
        <child>
          <object class="GtkComboBoxText" id="filter_combo">
77
            <property name="visible">1</property>
Matthias Clasen's avatar
Matthias Clasen committed
78 79 80 81
            <property name="tooltip-text" translatable="yes">Select which type of documents are shown</property>
            <property name="focus-on-click">0</property>
            <property name="entry-text-column">0</property>
            <property name="id-column">1</property>
82 83 84
            <signal name="changed" handler="filter_combo_changed_cb" swapped="no"/>
          </object>
          <packing>
85
            <property name="fill">0</property>
Matthias Clasen's avatar
Matthias Clasen committed
86
            <property name="pack-type">end</property>
87 88 89 90 91 92 93 94 95 96 97
          </packing>
        </child>
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="fill">True</property>
        <property name="position">1</property>
      </packing>
    </child>
  </template>
</interface>