diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 15:07:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 15:07:22 +0000 |
commit | f9d480cfe50ca1d7a0f0b5a2b8bb9932962bfbe7 (patch) | |
tree | ce9e8db2d4e8799780fa72ae8f1953039373e2ee /subprojects/extensions-app/data/ui | |
parent | Initial commit. (diff) | |
download | gnome-shell-upstream.tar.xz gnome-shell-upstream.zip |
Adding upstream version 3.38.6.upstream/3.38.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'subprojects/extensions-app/data/ui')
-rw-r--r-- | subprojects/extensions-app/data/ui/extension-row.ui | 259 | ||||
-rw-r--r-- | subprojects/extensions-app/data/ui/extensions-window.ui | 307 |
2 files changed, 566 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..e1fd430 --- /dev/null +++ b/subprojects/extensions-app/data/ui/extension-row.ui @@ -0,0 +1,259 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.22.0 --> +<interface> + <requires lib="gtk+" version="3.20"/> + <template class="ExtensionRow" parent="GtkListBoxRow"> + <property name="visible">True</property> + <property name="activatable">False</property> + <child> + <object class="GtkGrid"> + <property name="visible">True</property> + <property name="margin">12</property> + <property name="column_spacing">12</property> + <child> + <object class="GtkLabel" id="nameLabel"> + <property name="visible">True</property> + </object> + </child> + <child> + <object class="GtkImage" id="errorIcon"> + <property name="no_show_all">True</property> + <property name="icon_name">dialog-error-symbolic</property> + <style> + <class name="error"/>> + </style> + </object> + </child> + <child> + <object class="GtkImage" id="updatesIcon"> + <property name="no_show_all">True</property> + <property name="icon_name">software-update-available-symbolic</property> + <style> + <class name="warning"/>> + </style> + </object> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="hexpand">True</property> + </object> + </child> + <child> + <object class="GtkButton" id="prefsButton"> + <property name="no_show_all">True</property> + <property name="visible" + bind-source="prefsButton" + bind-property="sensitive" + bind-flags="sync-create"/> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="valign">center</property> + <property name="action-name">row.show-prefs</property> + <style> + <class name="circular"/>> + <class name="image-button"/>> + </style> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="icon_name">emblem-system-symbolic</property> + </object> + </child> + </object> + </child> + <child> + <object class="GtkSwitch" id="switch"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="valign">center</property> + <property name="action-name">row.enabled</property> + </object> + </child> + <child> + <object class="GtkSeparator"> + <property name="visible">True</property> + </object> + </child> + <child> + <object class="GtkButton" id="revealButton"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="valign">center</property> + <style> + <class name="details-button"/> + <class name="image-button"/> + <class name="flat"/> + </style> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="icon_name">pan-end-symbolic</property> + </object> + </child> + </object> + </child> + <child> + <object class="GtkRevealer" id="revealer"> + <property name="visible">True</property> + <child> + <object class="GtkGrid"> + <property name="visible">True</property> + <property name="margin_top">12</property> + <property name="row_spacing">6</property> + <property name="column_spacing">12</property> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="label" translatable="yes">Description</property> + <property name="xalign">0</property> + <style> + <class name="dim-label"/> + </style> + </object> + </child> + <child> + <object class="GtkLabel" id="descriptionLabel"> + <property name="visible">True</property> + <property name="ellipsize">end</property> + <property name="max_width_chars">60</property> + <property name="xalign">0</property> + <property name="yalign">0</property> + </object> + </child> + <child> + <object class="GtkLabel"> + <property name="visible" + bind-source="versionLabel" + bind-property="visible" + bind-flags="sync-create"/> + <property name="no_show_all">True</property> + <property name="label" translatable="yes">Version</property> + <property name="xalign">0</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="versionLabel"> + <property name="no_show_all">True</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="visible" + bind-source="authorLabel" + bind-property="visible" + bind-flags="sync-create"/> + <property name="no_show_all">True</property> + <property name="label" translatable="yes">Author</property> + <property name="xalign">0</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">2</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="authorLabel"> + <property name="no_show_all">True</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">2</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="visible" + bind-source="errorLabel" + bind-property="visible" + bind-flags="sync-create"/> + <property name="no_show_all">True</property> + <property name="label" translatable="yes">Error</property> + <property name="xalign">0</property> + <property name="yalign">0</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">3</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="errorLabel"> + <property name="no_show_all">True</property> + <property name="selectable">True</property> + <property name="wrap">True</property> + <property name="max_width_chars">60</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">3</property> + </packing> + </child> + <child> + <object class="GtkButton"> + <property name="visible">True</property> + <property name="label" translatable="yes">Website</property> + <property name="action_name">row.show-url</property> + <property name="valign">end</property> + <property name="margin-top">12</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">4</property> + </packing> + </child> + <child> + <object class="GtkButton" id="removeButton"> + <property name="visible" + bind-source="removeButton" + bind-property="sensitive" + bind-flags="sync-create"/> + <property name="no_show_all">True</property> + <property name="label" translatable="yes">Remove…</property> + <property name="action_name">row.uninstall</property> + <property name="hexpand">True</property> + <property name="halign">end</property> + <property name="valign">end</property> + <style> + <class name="destructive-action"/> + </style> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">4</property> + </packing> + </child> + </object> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + <property name="width">8</property> + </packing> + </child> + </object> + </child> + </template> +</interface> diff --git a/subprojects/extensions-app/data/ui/extensions-window.ui b/subprojects/extensions-app/data/ui/extensions-window.ui new file mode 100644 index 0000000..dd36924 --- /dev/null +++ b/subprojects/extensions-app/data/ui/extensions-window.ui @@ -0,0 +1,307 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.22.0 --> +<interface> + <requires lib="gtk+" version="3.20"/> + <menu id="primary-menu"> + <section> + <item> + <attribute name="label" translatable="yes">Help</attribute> + <attribute name="action">win.show-help</attribute> + </item> + <item> + <attribute name="label" translatable="yes">About Extensions</attribute> + <attribute name="action">win.show-about</attribute> + </item> + </section> + </menu> + <object class="GtkPopover" id="infoPopover"> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="orientation">vertical</property> + <property name="margin">12</property> + <property name="spacing">6</property> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="label" translatable="yes">To find and add extensions, visit <a href="https://extensions.gnome.org">extensions.gnome.org</a>.</property> + <property name="use_markup">True</property> + <property name="xalign">0</property> + </object> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="label" translatable="yes">Warning</property> + <property name="xalign">0</property> + <property name="margin_top">6</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="label" translatable="yes">Extensions can cause system issues, including performance problems. If you encounter problems with your system, it is recommended to disable all extensions.</property> + <property name="wrap">True</property> + <property name="max_width_chars">40</property> + <property name="xalign">0</property> + </object> + </child> + </object> + </child> + </object> + <template class="ExtensionsWindow" parent="GtkApplicationWindow"> + <property name="default_width">800</property> + <property name="default_height">500</property> + <child type="titlebar"> + <object class="GtkHeaderBar"> + <property name="visible">True</property> + <property name="title" translatable="yes">Extensions</property> + <property name="show_close_button">True</property> + <child> + <object class="GtkMenuButton"> + <property name="visible">True</property> + <property name="popover">infoPopover</property> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="icon_name">dialog-information-symbolic</property> + </object> + </child> + </object> + </child> + <child> + <object class="GtkMenuButton" id="menuButton"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="menu_model">primary-menu</property> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="icon_name">open-menu-symbolic</property> + </object> + </child> + </object> + <packing> + <property name="pack_type">end</property> + </packing> + </child> + <child> + <object class="GtkSwitch"> + <property name="visible">True</property> + <property name="action-name">win.user-extensions-enabled</property> + <property name="valign">center</property> + </object> + <packing> + <property name="pack_type">end</property> + </packing> + </child> + </object> + </child> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkStack" id="mainStack"> + <property name="visible">True</property> + <property name="transition_type">crossfade</property> + <property name="vexpand">True</property> + <child> + <object class="GtkScrolledWindow" id="scrolledWindow"> + <property name="visible">True</property> + <property name="hscrollbar_policy">never</property> + <child> + <object class="GtkViewport"> + <property name="visible">True</property> + <child> + <object class="GtkBox" id="mainBox"> + <property name="visible">True</property> + <property name="orientation">vertical</property> + <property name="halign">center</property> + <property name="margin">36</property> + <property name="spacing">12</property> + <child> + <object class="GtkLabel"> + <property name="visible" + bind-source="userList" + bind-property="visible" + bind-flags="sync-create"/> + <property name="halign">start</property> + <property name="hexpand">True</property> + <property name="label" translatable="yes">Manually Installed</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + </child> + <child> + <object class="GtkListBox" id="userList"> + <property name="visible">True</property> + <property name="selection_mode">none</property> + <property name="margin_bottom">24</property> + <style> + <class name="frame"/> + </style> + </object> + </child> + <child> + <object class="GtkLabel"> + <property name="visible" + bind-source="systemList" + bind-property="visible" + bind-flags="sync-create"/> + <property name="halign">start</property> + <property name="hexpand">True</property> + <property name="label" translatable="yes">Built-In</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + </child> + <child> + <object class="GtkListBox" id="systemList"> + <property name="visible">True</property> + <property name="selection_mode">none</property> + <style> + <class name="frame"/> + </style> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + <packing> + <property name="name">main</property> + </packing> + </child> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="orientation">vertical</property> + <property name="margin">32</property> + <property name="spacing">6</property> + <property name="valign">center</property> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="pixel_size">96</property> + <property name="icon_name">org.gnome.Extensions-symbolic</property> + </object> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="label" translatable="yes">No Installed Extensions</property> + <attributes> + <attribute name="weight" value="bold"/> + <attribute name="scale" value="1.44"/> + </attributes> + </object> + </child> + </object> + <packing> + <property name="name">placeholder</property> + </packing> + </child> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="margin_left">100</property> + <property name="margin_right">100</property> + <property name="margin_top">100</property> + <property name="margin_bottom">60</property> + <property name="orientation">vertical</property> + <property name="spacing">12</property> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="label" translatable="yes">Something’s gone wrong</property> + <attributes> + <attribute name="scale" value="1.44"/> + </attributes> + <style> + <class name="dim-label"/> + </style> + </object> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="label" translatable="yes">We’re very sorry, but it was not possible to get the list of installed extensions. Make sure you are logged into GNOME and try again.</property> + <property name="justify">center</property> + <property name="wrap">True</property> + <style> + <class name="dim-label"/> + </style> + </object> + </child> + </object> + <packing> + <property name="name">noshell</property> + </packing> + </child> + </object> + </child> + <child> + <object class="GtkActionBar" id="updatesBar"> + <property name="no_show_all">True</property> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="pixel-size">24</property> + <property name="margin">6</property> + <property name="icon_name">software-update-available-symbolic</property> + <style> + <class name="warning"/> + </style> + </object> + </child> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Extension Updates Ready</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + </child> + <child> + <object class="GtkLabel" id="updatesLabel"> + <property name="visible">True</property> + <property name="halign">start</property> + </object> + </child> + </object> + </child> + <child> + <object class="GtkButton"> + <property name="label" translatable="yes">Log Out…</property> + <property name="visible">True</property> + <property name="valign">center</property> + <property name="action-name">win.logout</property> + <property name="receives_default">True</property> + <style> + <class name="suggested-action"/> + </style> + </object> + <packing> + <property name="pack_type">end</property> + </packing> + </child> + </object> + </child> + </object> + </child> + </template> +</interface> |