diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 15:18:46 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 15:18:46 +0000 |
commit | 56294d30a82ec2da6f9ce399740c1ef65a9ddef4 (patch) | |
tree | bbe3823e41495d026ba8edc6eeaef166edb7e2a2 /src/gs-app-row.ui | |
parent | Initial commit. (diff) | |
download | gnome-software-56294d30a82ec2da6f9ce399740c1ef65a9ddef4.tar.xz gnome-software-56294d30a82ec2da6f9ce399740c1ef65a9ddef4.zip |
Adding upstream version 3.38.1.upstream/3.38.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/gs-app-row.ui')
-rw-r--r-- | src/gs-app-row.ui | 258 |
1 files changed, 258 insertions, 0 deletions
diff --git a/src/gs-app-row.ui b/src/gs-app-row.ui new file mode 100644 index 0000000..109881c --- /dev/null +++ b/src/gs-app-row.ui @@ -0,0 +1,258 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.10 --> + <template class="GsAppRow" parent="GtkListBoxRow"> + <property name="visible">True</property> + <style> + <class name="list-box-app-row"/> + </style> + <child> + <object class="GtkBox" id="box"> + <property name="visible">True</property> + <property name="margin_top">16</property> + <property name="margin_bottom">16</property> + <property name="orientation">horizontal</property> + <child> + <object class="GtkImage" id="image"> + <property name="visible">True</property> + <property name="pixel_size">64</property> + <property name="margin_start">24</property> + <property name="valign">center</property> + </object> + </child> + <child> + <object class="GtkBox" id="name_box"> + <property name="visible">True</property> + <property name="orientation">vertical</property> + <property name="margin-start">12</property> + <property name="spacing">6</property> + <property name="valign">center</property> + <child> + <object class="GtkLabel" id="name_label"> + <property name="visible">True</property> + <property name="wrap">True</property> + <property name="max_width_chars">20</property> + <property name="xalign">0.0</property> + <property name="yalign">0.5</property> + <property name="ellipsize">end</property> + <property name="lines">3</property> + <property name="wrap-mode">word-char</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + </child> + <child> + <object class="GtkBox" id="version_box"> + <property name="visible">True</property> + <property name="orientation">horizontal</property> + <property name="spacing">4</property> + <child> + <object class="GtkLabel" id="version_current_label"> + <property name="visible">True</property> + <property name="xalign">0.0</property> + <property name="yalign">0.5</property> + <property name="ellipsize">end</property> + </object> + </child> + <child> + <object class="GtkLabel" id="version_arrow_label"> + <property name="visible">True</property> + <property name="xalign">0.0</property> + <property name="yalign">0.5</property> + <property name="ellipsize">end</property> + <property name="label">→</property> + <style> + <class name="version-arrow-label"/> + </style> + </object> + </child> + <child> + <object class="GtkLabel" id="version_update_label"> + <property name="visible">True</property> + <property name="xalign">0.0</property> + <property name="yalign">0.5</property> + <property name="ellipsize">end</property> + </object> + </child> + </object> + </child> + <child> + <object class="GsStarWidget" id="star"> + <property name="visible">False</property> + <property name="halign">start</property> + <property name="icon-size">12</property> + </object> + </child> + </object> + </child> + <child> + <object class="GtkBox" id="description_box"> + <property name="visible">True</property> + <property name="margin_top">3</property> + <property name="orientation">vertical</property> + <property name="spacing">3</property> + <property name="hexpand">True</property> + <property name="valign">center</property> + <child> + <object class="GtkLabel" id="description_label"> + <property name="visible">True</property> + <property name="valign">start</property> + <property name="vexpand">True</property> + <property name="margin_start">24</property> + <property name="margin_end">24</property> + <property name="wrap">True</property> + <property name="wrap-mode">word-char</property> + <property name="ellipsize">end</property> + <property name="lines">2</property> + <property name="xalign">0</property> + </object> + </child> + <child> + <object class="GtkBox" id="box_tag"> + <property name="visible">True</property> + <property name="spacing">4</property> + <property name="margin_left">24</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkBox" id="box_desc"> + <property name="visible">True</property> + <property name="orientation">horizontal</property> + <property name="vexpand">True</property> + <child> + <object class="GtkLabel" id="label_origin"> + <property name="visible">True</property> + <property name="xalign">0.0</property> + <property name="yalign">1.0</property> + <property name="halign">start</property> + <property name="hexpand">True</property> + <property name="ellipsize">end</property> + <style> + <class name="app-row-origin-text"/> + <class name="dim-label"/> + </style> + </object> + </child> + <child> + <object class="GtkBox" id="label_installed"> + <property name="visible">False</property> + <property name="orientation">horizontal</property> + <property name="no_show_all">True</property> + <property name="halign">end</property> + <property name="hexpand">True</property> + <property name="valign">end</property> + <property name="spacing">6</property> + <property name="margin-right">24</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="margin-bottom">4</property> + <property name="pixel-size">16</property> + <property name="icon-name">software-installed-symbolic</property> + <style> + <class name="installed-icon"/> + <class name="app-row-installed-icon"/> + </style> + </object> + </child> + <child> + <object class="GtkLabel" id="installed-label"> + <property name="visible">True</property> + <property name="label" translatable="yes">Installed</property> + <style> + <class name="app-row-installed-label"/> + </style> + </object> + </child> + </object> + </child> + </object> + </child> + <child> + <object class="GtkLabel" id="label_warning"> + <property name="visible">False</property> + <property name="label">warning-text</property> + <property name="halign">start</property> + <property name="ellipsize">middle</property> + <attributes> + <attribute name="weight" value="bold"/> + <attribute name="foreground" value="#cccc00000000"/> + </attributes> + </object> + </child> + </object> + </child> + </object> + </child> + <child> + <object class="GtkBox" id="vertical_box"> + <property name="visible">True</property> + <property name="orientation">vertical</property> + <property name="halign">center</property> + <property name="valign">center</property> + <property name="margin-right">6</property> + <child> + <object class="GtkBox" id="button_box"> + <property name="visible">True</property> + <property name="orientation">horizontal</property> + <property name="halign">end</property> + <property name="valign">center</property> + <child> + <object class="GsProgressButton" id="button"> + <property name="visible">False</property> + <property name="width_request">100</property> + <property name="halign">end</property> + </object> + <packing> + <property name="pack_type">end</property> + </packing> + </child> + <child> + <object class="GtkSpinner" id="spinner"> + <property name="visible">False</property> + <property name="margin_start">12</property> + <property name="margin_end">12</property> + <property name="halign">end</property> + </object> + <packing> + <property name="pack_type">end</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="label"> + <property name="visible">False</property> + <property name="margin_start">12</property> + <property name="margin_end">12</property> + <property name="halign">end</property> + </object> + <packing> + <property name="pack_type">end</property> + </packing> + </child> + </object> + </child> + <child> + <object class="GtkLabel" id="label_app_size"> + <property name="visible">True</property> + <property name="halign">center</property> + <property name="valign">center</property> + <property name="vexpand">True</property> + <property name="label">150 MB</property> + <property name="margin-top">6</property> + <style> + <class name="app-row-app-size"/> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="pack_type">end</property> + </packing> + </child> + </object> + </child> + </object> + </child> + </template> +</interface> |