summaryrefslogtreecommitdiffstats
path: root/src/gs-updates-section.ui
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/gs-updates-section.ui109
1 files changed, 109 insertions, 0 deletions
diff --git a/src/gs-updates-section.ui b/src/gs-updates-section.ui
new file mode 100644
index 0000000..3a1eac3
--- /dev/null
+++ b/src/gs-updates-section.ui
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <requires lib="gtk+" version="3.0"/>
+ <template class="GsUpdatesSection" parent="GtkBox">
+ <property name="orientation">vertical</property>
+ <style>
+ <class name="section"/>
+ </style>
+ <child>
+ <object class="GtkBox" id="section_header">
+ <property name="spacing">12</property>
+ <child>
+ <object class="GtkLabel" id="title">
+ <property name="can_focus">False</property>
+ <property name="ellipsize">end</property>
+ <property name="halign">start</property>
+ <property name="hexpand">True</property>
+ <property name="xalign">0</property>
+ <style>
+ <class name="heading"/>
+ </style>
+ </object>
+ </child>
+ <child>
+ <object class="GtkStack" id="button_stack">
+
+ <child>
+ <object class="GtkStackPage">
+ <property name="name">download</property>
+ <property name="child">
+ <object class="GsProgressButton" id="button_download">
+ <property name="use_underline">True</property>
+ <property name="label" translatable="yes">_Download</property>
+ <signal name="clicked" handler="_button_download_clicked_cb" swapped="yes"/>
+ <style>
+ <class name="suggested-action"/>
+ </style>
+ </object>
+ </property>
+ </object>
+ </child>
+
+ <child>
+ <object class="GtkStackPage">
+ <property name="name">update</property>
+ <property name="child">
+ <object class="GsProgressButton" id="button_update">
+ <signal name="clicked" handler="_button_update_all_clicked_cb" swapped="yes"/>
+ <style>
+ <class name="suggested-action"/>
+ </style>
+ </object>
+ </property>
+ </object>
+ </child>
+
+ <child>
+ <object class="GtkStackPage">
+ <property name="name">cancel</property>
+ <property name="child">
+ <object class="GsProgressButton" id="button_cancel">
+ <property name="label" translatable="yes">Cancel</property>
+ <signal name="clicked" handler="_button_cancel_clicked_cb" swapped="yes"/>
+ <style>
+ <class name="install-progress"/>
+ </style>
+ </object>
+ </property>
+ </object>
+ </child>
+
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel" id="description">
+ <property name="visible">False</property>
+ <property name="can_focus">False</property>
+ <property name="halign">start</property>
+ <property name="wrap">True</property>
+ <property name="wrap-mode">word-char</property>
+ <property name="xalign">0</property>
+ <style>
+ <class name="dim-label"/>
+ </style>
+ </object>
+ </child>
+ <child>
+ <object class="GtkBox" id="listbox_box">
+ <property name="orientation">vertical</property>
+ <accessibility>
+ <relation name="labelled-by">title</relation>
+ </accessibility>
+ <child>
+ <object class="GtkListBox" id="listbox">
+ <property name="selection_mode">none</property>
+ <property name="valign">start</property>
+ <signal name="row-activated" handler="_app_row_activated_cb" swapped="yes"/>
+ <signal name="keynav-failed" handler="_listbox_keynav_failed_cb" swapped="yes"/>
+ <style>
+ <class name="boxed-list"/>
+ </style>
+ </object>
+ </child>
+ </object>
+ </child>
+ </template>
+</interface>