diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:45:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:45:20 +0000 |
commit | ae1c76ff830d146d41e88d6fba724c0a54bce868 (patch) | |
tree | 3c354bec95af07be35fc71a4b738268496f1a1c4 /panels/power/cc-battery-row.ui | |
parent | Initial commit. (diff) | |
download | gnome-control-center-ae1c76ff830d146d41e88d6fba724c0a54bce868.tar.xz gnome-control-center-ae1c76ff830d146d41e88d6fba724c0a54bce868.zip |
Adding upstream version 1:43.6.upstream/1%43.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'panels/power/cc-battery-row.ui')
-rw-r--r-- | panels/power/cc-battery-row.ui | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/panels/power/cc-battery-row.ui b/panels/power/cc-battery-row.ui new file mode 100644 index 0000000..a99d80f --- /dev/null +++ b/panels/power/cc-battery-row.ui @@ -0,0 +1,82 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.0 --> + <template class="CcBatteryRow" parent="GtkListBoxRow"> + <property name="selectable">False</property> + <property name="activatable">False</property> + <child> + <object class="GtkBox"> + <property name="orientation">vertical</property> + <property name="valign">center</property> + <property name="margin-start">12</property> + <property name="margin-end">12</property> + <property name="margin-top">16</property> + <property name="margin-bottom">14</property> + <property name="spacing">10</property> + <child> + <object class="GtkBox"> + <property name="orientation">horizontal</property> + <property name="spacing">12</property> + <child> + <object class="GtkBox" id="battery_box"> + <property name="orientation">horizontal</property> + <property name="spacing">12</property> + <child> + <object class="GtkLabel" id="name_label"> + <property name="ellipsize">end</property> + <property name="xalign">0</property> + </object> + </child> + <child> + <object class="GtkImage" id="icon"> + <property name="halign">end</property> + <property name="valign">center</property> + <style> + <class name="dim-label"/> + </style> + </object> + </child> + </object> + </child> + <child> + <object class="GtkLabel" id="percentage_label"> + <property name="halign">end</property> + <style> + <class name="dim-label"/> + </style> + </object> + </child> + <child> + <object class="GtkLevelBar" id="levelbar"> + <property name="hexpand">True</property> + <property name="halign">fill</property> + <property name="valign">center</property> + <offsets> + <offset name="warning-battery-offset" value="0.03"/> + <offset name="low-battery-offset" value="0.1"/> + <offset name="high-battery-offset" value="1.0"/> + </offsets> + </object> + </child> + </object> + </child> + <child> + <object class="GtkBox" id="primary_bottom_box"> + <property name="orientation">horizontal</property> + <child> + <object class="GtkLabel" id="details_label"> + <property name="hexpand">True</property> + <property name="ellipsize">end</property> + <property name="xalign">0</property> + </object> + </child> + <child> + <object class="GtkLabel" id="primary_percentage_label" /> + </child> + </object> + </child> + </object> + </child> + </template> +</interface> + |