diff options
Diffstat (limited to 'src/gs-popular-tile.ui')
-rw-r--r-- | src/gs-popular-tile.ui | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/src/gs-popular-tile.ui b/src/gs-popular-tile.ui new file mode 100644 index 0000000..17e4eec --- /dev/null +++ b/src/gs-popular-tile.ui @@ -0,0 +1,113 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.10 --> + <template class="GsPopularTile" parent="GsAppTile"> + <property name="visible">True</property> + <style> + <class name="view"/> + <class name="tile"/> + </style> + <child> + <object class="GtkStack" id="stack"> + <property name="visible">True</property> + <child> + <object class="GtkImage" id="waiting"> + <property name="visible">True</property> + <property name="halign">center</property> + <property name="valign">center</property> + <property name="pixel-size">16</property> + <property name="icon-name">content-loading-symbolic</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="name">waiting</property> + </packing> + </child> + <child> + <object class="GtkOverlay" id="overlay"> + <property name="visible">True</property> + <property name="halign">fill</property> + <property name="valign">fill</property> + <child type="overlay"> + <object class="GtkEventBox" id="eventbox"> + <property name="visible">False</property> + <property name="no_show_all">True</property> + <property name="visible_window">True</property> + <property name="halign">end</property> + <property name="valign">start</property> + <child> + <object class="GtkImage" id="installed-icon"> + <property name="visible">True</property> + <property name="halign">center</property> + <property name="valign">center</property> + <property name="pixel-size">16</property> + <property name="margin-top">6</property> + <property name="margin-right">6</property> + <property name="icon-name">software-installed-symbolic</property> + <style> + <class name="installed-icon"/> + </style> + </object> + </child> + </object> + </child> + <child> + <object class="GtkEventBox" id="eboxbox"> + <property name="visible">True</property> + <child> + <object class="GtkBox" id="box"> + <property name="visible">True</property> + <property name="orientation">vertical</property> + <property name="halign">fill</property> + <property name="valign">fill</property> + <property name="margin-start">15</property> + <property name="margin-end">15</property> + <property name="margin-top">15</property> + <property name="margin-bottom">16</property> + <child> + <object class="GtkImage" id="image"> + <property name="width-request">64</property> + <property name="height-request">64</property> + <property name="visible">True</property> + <property name="valign">center</property> + <property name="vexpand">True</property> + <style> + <class name="icon-dropshadow"/> + </style> + </object> + </child> + <child> + <object class="GtkLabel" id="label"> + <property name="visible">True</property> + <property name="valign">end</property> + <property name="margin">6</property> + <property name="ellipsize">end</property> + <property name="width_chars">12</property> + <property name="max_width_chars">12</property> + </object> + </child> + <child> + <object class="GsStarWidget" id="stars"> + <property name="visible">True</property> + <property name="halign">center</property> + <property name="icon-size">12</property> + <style> + <class name="onlyjustvisible"/> + </style> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + <packing> + <property name="name">content</property> + </packing> + </child> + </object> + </child> + </template> +</interface> |