diff options
Diffstat (limited to '')
-rw-r--r-- | src/gs-overview-page.ui | 295 |
1 files changed, 295 insertions, 0 deletions
diff --git a/src/gs-overview-page.ui b/src/gs-overview-page.ui new file mode 100644 index 0000000..e83bc17 --- /dev/null +++ b/src/gs-overview-page.ui @@ -0,0 +1,295 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <requires lib="gtk+" version="3.10"/> + <template class="GsOverviewPage" parent="GsPage"> + <child internal-child="accessible"> + <object class="AtkObject" id="overview-accessible"> + <property name="accessible-name" translatable="yes">Overview page</property> + </object> + </child> + <child> + <object class="GtkStack" id="stack_overview"> + <property name="visible">True</property> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="orientation">vertical</property> + + <child> + <object class="GtkInfoBar" id="infobar_third_party"> + <property name="visible">True</property> + <property name="app_paintable">True</property> + <property name="show_close_button">True</property> + <child internal-child="action_area"> + <object class="GtkButtonBox"> + <property name="spacing">6</property> + <property name="layout_style">end</property> + <child/> + </object> + </child> + <child internal-child="content_area"> + <object class="GtkBox"> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <property name="border_width">12</property> + <child> + <object class="GtkLabel" id="label_third_party_title"> + <property name="visible">True</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Enable Third Party Software Repositories?</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + </child> + <child> + <object class="GtkLabel" id="label_third_party"> + <property name="visible">True</property> + <property name="halign">start</property> + <property name="label">Provides access to additional software.</property> + <property name="wrap">True</property> + <property name="wrap_mode">word-char</property> + <property name="xalign">0</property> + </object> + </child> + </object> + </child> + </object> + </child> + + <child> + <object class="GtkScrolledWindow" id="scrolledwindow_overview"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hscrollbar_policy">never</property> + <property name="vscrollbar_policy">automatic</property> + <property name="shadow_type">none</property> + <child> + <object class="GtkViewport" id="viewport_overview"> + <property name="visible">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <child> + <object class="GtkBox" id="box_overview"> + <property name="visible">True</property> + <property name="halign">center</property> + <property name="hexpand">False</property> + <property name="border_width">12</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkOverlay" id="overlay"> + <property name="visible">True</property> + <property name="halign">fill</property> + <property name="valign">fill</property> + <property name="height-request">150</property> + <child type="overlay"> + <object class="GtkStack" id="stack_featured"> + <property name="visible">True</property> + <property name="halign">fill</property> + <property name="transition-type">crossfade</property> + </object> + </child> + <child type="overlay"> + <object class="GtkButton" id="button_featured_back"> + <property name="visible">True</property> + <property name="use_underline">True</property> + <property name="can_focus">True</property> + <property name="halign">start</property> + <property name="valign">center</property> + <child internal-child="accessible"> + <object class="AtkObject" id="button_featured_back_accessible"> + <property name="accessible-name" translatable="yes">Previous</property> + </object> + </child> + <style> + <class name="osd"/> + <class name="featured-button-left"/> + </style> + <child> + <object class="GtkImage" id="back_image"> + <property name="visible">True</property> + <property name="icon_name">go-previous-symbolic</property> + <property name="icon_size">1</property> + </object> + </child> + </object> + </child> + <child type="overlay"> + <object class="GtkButton" id="button_featured_forwards"> + <property name="visible">True</property> + <property name="use_underline">True</property> + <property name="can_focus">True</property> + <property name="halign">end</property> + <property name="valign">center</property> + <child internal-child="accessible"> + <object class="AtkObject" id="button_featured_forwards_accessible"> + <property name="accessible-name" translatable="yes">Next</property> + </object> + </child> + <style> + <class name="osd"/> + <class name="featured-button-right"/> + </style> + <child> + <object class="GtkImage" id="forwards_image"> + <property name="visible">True</property> + <property name="icon_name">go-next-symbolic</property> + <property name="icon_size">1</property> + </object> + </child> + </object> + </child> + </object> + </child> + + <child> + <object class="GtkLabel" id="popular_heading"> + <property name="visible">True</property> + <property name="xalign">0</property> + <property name="label" translatable="yes" comments="Translators: This is a heading for software which has been featured ('picked') by the distribution.">Editor’s Picks</property> + <property name="margin-top">21</property> + <property name="margin-bottom">6</property> + <accessibility> + <relation target="box_popular" type="label-for"/> + </accessibility> + <style> + <class name="index-title-alignment-software"/> + </style> + </object> + </child> + <child> + <object class="GsHidingBox" id="box_popular"> + <property name="visible">True</property> + <property name="spacing">14</property> + <property name="valign">start</property> + <accessibility> + <relation target="popular_heading" type="labelled-by"/> + </accessibility> + </object> + </child> + + <child> + <object class="GtkLabel" id="recent_heading"> + <property name="visible">True</property> + <property name="xalign">0</property> + <property name="label" translatable="yes" comments="Translators: This is a heading for software which has been recently released upstream.">Recent Releases</property> + <property name="margin-top">21</property> + <property name="margin-bottom">6</property> + <accessibility> + <relation target="box_recent" type="label-for"/> + </accessibility> + <style> + <class name="index-title-alignment-software"/> + </style> + </object> + </child> + <child> + <object class="GsHidingBox" id="box_recent"> + <property name="visible">True</property> + <property name="spacing">14</property> + <property name="valign">start</property> + <accessibility> + <relation target="recent_heading" type="labelled-by"/> + </accessibility> + </object> + </child> + + <child> + <object class="GtkBox" id="box_popular_rotating"> + <property name="visible">True</property> + <property name="orientation">vertical</property> + <property name="valign">start</property> + </object> + </child> + + <child> + <object class="GtkLabel" id="category_heading"> + <property name="visible">True</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">Categories</property> + <property name="margin-top">24</property> + <property name="margin-bottom">6</property> + <accessibility> + <relation target="flowbox_categories" type="label-for"/> + </accessibility> + <style> + <class name="index-title-alignment-software"/> + </style> + </object> + </child> + <child> + <object class="GtkFlowBox" id="flowbox_categories"> + <property name="visible">True</property> + <property name="margin-bottom">6</property> + <property name="row_spacing">14</property> + <property name="column_spacing">14</property> + <property name="homogeneous">True</property> + <property name="max_children_per_line">3</property> + <property name="selection_mode">none</property> + <accessibility> + <relation target="category_heading" type="labelled-by"/> + </accessibility> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + <packing> + <property name="name">overview</property> + </packing> + </child> + <child> + <object class="GtkGrid" id="noresults_grid_overview"> + <property name="visible">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="halign">center</property> + <property name="valign">center</property> + <property name="row-spacing">12</property> + <property name="column-spacing">12</property> + <style> + <class name="dim-label"/> + </style> + <child> + <object class="GtkImage" id="noappdata_icon"> + <property name="visible">True</property> + <property name="icon_name">org.gnome.Software-symbolic</property> + <property name="pixel-size">64</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="noappdata_label"> + <property name="visible">True</property> + <property name="label" translatable="yes">No Application Data Found</property> + <property name="halign">start</property> + <property name="valign">center</property> + <property name="wrap">True</property> + <attributes> + <attribute name="scale" value="1.4"/> + </attributes> + </object> + <packing> + <property name="left-attach">1</property> + <property name="top-attach">0</property> + </packing> + </child> + </object> + <packing> + <property name="name">no-results</property> + </packing> + </child> + </object> + </child> + </template> +</interface> |