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-upgrade-banner.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-upgrade-banner.ui')
-rw-r--r-- | src/gs-upgrade-banner.ui | 135 |
1 files changed, 135 insertions, 0 deletions
diff --git a/src/gs-upgrade-banner.ui b/src/gs-upgrade-banner.ui new file mode 100644 index 0000000..3e53a25 --- /dev/null +++ b/src/gs-upgrade-banner.ui @@ -0,0 +1,135 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.10 --> + <template class="GsUpgradeBanner" parent="GtkBin"> + <child> + <object class="GtkBox" id="box_upgrades"> + <property name="visible">True</property> + <property name="orientation">vertical</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="valign">center</property> + <style> + <class name="upgrade-banner"/> + </style> + <child> + <object class="GtkLabel" id="label_upgrades_title"> + <property name="visible">True</property> + <property name="margin-top">66</property> + <property name="margin_bottom">26</property> + <!-- Just a placeholder; actual label text is set in code --> + <property name="label">GNOME 3.20 Now Available</property> + <attributes> + <attribute name="scale" value="1.8"/> + </attributes> + </object> + </child> + <child> + <object class="GtkLabel" id="label_upgrades_summary"> + <property name="visible">True</property> + <property name="label" translatable="yes">A major upgrade, with new features and added polish.</property> + <attributes> + <attribute name="scale" value="1.2"/> + </attributes> + </object> + </child> + <child> + <object class="GtkBox" id="box_upgrades_buttons"> + <property name="visible">True</property> + <property name="orientation">horizontal</property> + <property name="halign">fill</property> + <property name="valign">end</property> + <property name="spacing">12</property> + <property name="margin_top">48</property> + <style> + <class name="osd"/> + <class name="upgrade-buttons"/> + </style> + <child> + <object class="GtkButton" id="button_upgrades_help"> + <property name="label" translatable="yes">_Learn More</property> + <property name="width_request">150</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="use_underline">True</property> + <property name="relief">normal</property> + </object> + </child> + + <child> + <object class="GtkLabel" id="label_dummy1"> + <property name="visible">True</property> + <property name="label"></property> + <property name="vexpand">True</property> + <property name="hexpand">True</property> + </object> + </child> + + <child> + <object class="GtkProgressBar" id="progressbar"> + <property name="visible">True</property> + <property name="width_request">400</property> + <property name="halign">center</property> + <property name="valign">center</property> + <property name="fraction">0.3</property> + <property name="margin_top">8</property> + <style> + <class name="upgrade-progressbar"/> + </style> + </object> + </child> + + <child> + <object class="GtkLabel" id="label_upgrades_warning"> + <property name="visible">True</property> + <property name="label"></property><!-- Set in code --> + <property name="justify">center</property> + <property name="wrap">True</property> + </object> + </child> + + <child> + <object class="GtkLabel" id="label_dummy2"> + <property name="visible">True</property> + <property name="label"></property> + <property name="vexpand">True</property> + <property name="hexpand">True</property> + </object> + </child> + + <child> + <object class="GtkButton" id="button_upgrades_download"> + <property name="label" translatable="yes">_Download</property> + <property name="width_request">150</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="use_underline">True</property> + <property name="relief">normal</property> + </object> + </child> + <child> + <object class="GtkButton" id="button_upgrades_cancel"> + <property name="label" translatable="yes">_Cancel</property> + <property name="width_request">150</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="use_underline">True</property> + <property name="relief">normal</property> + </object> + </child> + <child> + <object class="GtkButton" id="button_upgrades_install"> + <property name="label">_Install</property><!-- Set in code --> + <property name="width_request">150</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="use_underline">True</property> + <property name="relief">normal</property> + </object> + </child> + </object> + </child> + </object> + </child> + </template> +</interface> |