2013-03-23 12:59:30 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2017-08-05 22:17:29 +00:00
|
|
|
<interface domain="gtk40">
|
2013-03-23 12:59:30 +00:00
|
|
|
<!-- interface-requires gtk+ 3.10 -->
|
|
|
|
<object class="GtkListStore" id="program_list_store">
|
|
|
|
<columns>
|
|
|
|
<!-- column-name app-info -->
|
|
|
|
<column type="GAppInfo"/>
|
|
|
|
<!-- column-name app-icon -->
|
|
|
|
<column type="GIcon"/>
|
|
|
|
<!-- column-name name -->
|
|
|
|
<column type="gchararray"/>
|
|
|
|
<!-- column-name description -->
|
|
|
|
<column type="gchararray"/>
|
|
|
|
<!-- column-name exec -->
|
|
|
|
<column type="gchararray"/>
|
|
|
|
<!-- column-name default -->
|
|
|
|
<column type="gboolean"/>
|
|
|
|
<!-- column-name heading -->
|
|
|
|
<column type="gboolean"/>
|
|
|
|
<!-- column-name heading-text -->
|
|
|
|
<column type="gchararray"/>
|
|
|
|
<!-- column-name recommended -->
|
|
|
|
<column type="gboolean"/>
|
|
|
|
<!-- column-name fallback -->
|
|
|
|
<column type="gboolean"/>
|
|
|
|
</columns>
|
|
|
|
</object>
|
|
|
|
<object class="GtkTreeModelSort" id="program_list_sort">
|
|
|
|
<property name="model">program_list_store</property>
|
|
|
|
</object>
|
2017-03-25 20:10:27 +00:00
|
|
|
<template class="GtkAppChooserWidget" parent="GtkWidget">
|
2013-03-23 12:59:30 +00:00
|
|
|
<child>
|
2014-02-13 05:14:42 +00:00
|
|
|
<object class="GtkOverlay" id="overlay">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2013-03-23 12:59:30 +00:00
|
|
|
<child>
|
2014-02-13 05:14:42 +00:00
|
|
|
<object class="GtkScrolledWindow" id="scrolled_window">
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="width-request">400</property>
|
|
|
|
<property name="height-request">300</property>
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="can-focus">1</property>
|
|
|
|
<property name="hscrollbar-policy">never</property>
|
|
|
|
<property name="shadow-type">in</property>
|
2013-03-23 12:59:30 +00:00
|
|
|
<child>
|
2014-02-13 05:14:42 +00:00
|
|
|
<object class="GtkTreeView" id="program_list">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="can-focus">1</property>
|
2014-02-13 05:14:42 +00:00
|
|
|
<property name="model">program_list_sort</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="headers-visible">0</property>
|
2014-02-13 05:14:42 +00:00
|
|
|
<signal name="button-press-event" handler="widget_button_press_event_cb" swapped="no"/>
|
|
|
|
<signal name="row-activated" handler="program_list_selection_activated" swapped="no"/>
|
|
|
|
<child internal-child="selection">
|
|
|
|
<object class="GtkTreeSelection" id="treeview-selection2">
|
|
|
|
<property name="mode">browse</property>
|
|
|
|
<signal name="changed" handler="refresh_and_emit_app_selected" object="GtkAppChooserWidget" swapped="yes"/>
|
2013-03-23 12:59:30 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2014-02-13 05:14:42 +00:00
|
|
|
<object class="GtkTreeViewColumn" id="column">
|
|
|
|
<child>
|
|
|
|
<object class="GtkCellRendererText" id="padding_renderer"/>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkCellRendererText" id="heading">
|
|
|
|
<property name="ypad">6</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="wrap-mode">word</property>
|
|
|
|
<property name="wrap-width">350</property>
|
2014-02-13 05:14:42 +00:00
|
|
|
</object>
|
|
|
|
<attributes>
|
|
|
|
<attribute name="visible">6</attribute>
|
|
|
|
<attribute name="markup">7</attribute>
|
|
|
|
</attributes>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkCellRendererText" id="secondary_padding"/>
|
|
|
|
</child>
|
|
|
|
<child>
|
2015-03-16 02:14:47 +00:00
|
|
|
<object class="GtkCellRendererPixbuf" id="app_icon"/>
|
2014-02-13 05:14:42 +00:00
|
|
|
<attributes>
|
|
|
|
<attribute name="gicon">1</attribute>
|
|
|
|
</attributes>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkCellRendererText" id="app_name">
|
|
|
|
<property name="ellipsize">end</property>
|
|
|
|
</object>
|
|
|
|
<attributes>
|
|
|
|
<attribute name="markup">3</attribute>
|
|
|
|
</attributes>
|
|
|
|
</child>
|
2013-03-23 12:59:30 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2014-02-13 05:14:42 +00:00
|
|
|
<child type="overlay">
|
|
|
|
<object class="GtkBox" id="no_apps">
|
2017-01-19 09:31:03 +00:00
|
|
|
<property name="visible">0</property>
|
2014-02-13 05:14:42 +00:00
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="halign">center</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2015-12-02 12:46:24 +00:00
|
|
|
<property name="icon-name">application-x-executable-symbolic</property>
|
2014-02-13 05:14:42 +00:00
|
|
|
<property name="pixel-size">48</property>
|
|
|
|
<property name="margin">12</property>
|
|
|
|
<style>
|
|
|
|
<class name="dim-label"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="no_apps_label">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2015-09-14 03:26:16 +00:00
|
|
|
<property name="label" translatable="yes">No applications found.</property>
|
2014-02-13 05:14:42 +00:00
|
|
|
<property name="halign">center</property>
|
|
|
|
<property name="valign">center</property>
|
2015-12-02 12:46:24 +00:00
|
|
|
<property name="wrap">1</property>
|
2014-02-13 05:14:42 +00:00
|
|
|
<attributes>
|
|
|
|
<attribute name="scale" value="1.2"/>
|
|
|
|
</attributes>
|
|
|
|
<style>
|
|
|
|
<class name="dim-label"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2013-03-23 12:59:30 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</template>
|
|
|
|
</interface>
|