diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:54:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:54:43 +0000 |
commit | e4283f6d48b98e764b988b43bbc86b9d52e6ec94 (patch) | |
tree | c8f7f7a6c2f5faa2942d27cefc6fd46cca492656 /subprojects/extensions-app/data/ui/extension-row.ui | |
parent | Initial commit. (diff) | |
download | gnome-shell-54cc9b72c7f1eca5c7acbdf783df9cfc8e4c2680.tar.xz gnome-shell-54cc9b72c7f1eca5c7acbdf783df9cfc8e4c2680.zip |
Adding upstream version 43.9.upstream/43.9upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'subprojects/extensions-app/data/ui/extension-row.ui')
-rw-r--r-- | subprojects/extensions-app/data/ui/extension-row.ui | 143 |
1 files changed, 143 insertions, 0 deletions
diff --git a/subprojects/extensions-app/data/ui/extension-row.ui b/subprojects/extensions-app/data/ui/extension-row.ui new file mode 100644 index 0000000..37acb68 --- /dev/null +++ b/subprojects/extensions-app/data/ui/extension-row.ui @@ -0,0 +1,143 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <template class="ExtensionRow" parent="GtkListBoxRow"> + <style> + <class name="extension"/> + </style> + <child> + <object class="GtkBox"> + <property name="orientation">vertical</property> + <child> + <object class="GtkBox"> + <child> + <object class="GtkBox"> + <property name="orientation">vertical</property> + <property name="hexpand">true</property> + <style> + <class name="information"/> + </style> + <child> + <object class="GtkBox"> + <style> + <class name="header"/> + </style> + <child> + <object class="GtkLabel" id="nameLabel"> + <property name="xalign">0</property> + <style> + <class name="title"/> + </style> + </object> + </child> + <child> + <object class="GtkLabel" id="versionLabel"> + <property name="visible">false</property> + <property name="xalign">0</property> + <property name="yalign">1</property> + <style> + <class name="caption"/> + <class name="dim-label"/> + </style> + </object> + </child> + <child> + <object class="GtkBox"> + <style> + <class name="status"/> + </style> + <child> + <object class="GtkImage" id="errorIcon"> + <property name="visible">false</property> + <property name="icon-name">dialog-error-symbolic</property> + <property name="tooltip-text" translatable="yes">The extension had an error</property> + <style> + <class name="error"/> + </style> + </object> + </child> + <child> + <object class="GtkImage" id="updatesIcon"> + <property name="visible">false</property> + <property name="icon-name">software-update-available-symbolic</property> + <property name="tooltip-text" translatable="yes">The extension can be updated</property> + <style> + <class name="warning"/> + </style> + </object> + </child> + </object> + </child> + </object> + </child> + <child> + <object class="GtkLabel" id="descriptionLabel"> + <property name="xalign">0</property> + <property name="ellipsize">end</property> + <style> + <class name="subtitle"/> + </style> + </object> + </child> + <child> + <object class="GtkLabel" id="errorLabel"> + <property name="visible">false</property> + <property name="selectable">true</property> + <property name="wrap">True</property> + <property name="xalign">0</property> + <style> + <class name="caption"/> + <class name="error"/> + </style> + </object> + </child> + </object> + </child> + <child> + <object class="GtkSwitch" id="switch"> + <property name="valign">center</property> + <property name="action-name">row.enabled</property> + </object> + </child> + </object> + </child> + <child> + <object class="GtkCenterBox" id="actionsBox"> + <style> + <class name="actions"/> + </style> + <child type="start"> + <object class="GtkBox"> + <child> + <object class="GtkButton" id="websiteButton"> + <property name="label" translatable="yes">Website</property> + <property name="action-name">row.show-url</property> + </object> + </child> + <child> + <object class="GtkButton" id="prefsButton"> + <property name="visible" + bind-source="prefsButton" + bind-property="sensitive" + bind-flags="sync-create"/> + <property name="label" translatable="yes">Settings</property> + <property name="action-name">row.show-prefs</property> + </object> + </child> + </object> + </child> + <child type="end"> + <object class="GtkButton" id="removeButton"> + <property name="visible" + bind-source="removeButton" + bind-property="sensitive" + bind-flags="sync-create"/> + <property name="label" translatable="yes">Removeā¦</property> + <property name="action-name">row.uninstall</property> + </object> + </child> + </object> + </child> + </object> + </child> + </template> +</interface> |