[gnome] Update extensions

This commit is contained in:
2024-10-31 10:19:02 -04:00
parent 851ec4a772
commit 6d1e6d1132
238 changed files with 8705 additions and 4185 deletions

View File

@ -53,8 +53,6 @@
<child>
<object class="AdwActionRow" id="open_readme">
<property name="title" translatable="yes">Project site</property>
<!-- <property name="subtitle" translatable="yes">Activate colored icons</property> -->
<property name="tooltip-text">https://gitlab.com/marcosdalvarez/thinkpad-battery-threshold-extension/</property>
<property name="action-name">prefs.open-readme</property>
<property name="activatable">true</property>
<child>
@ -68,8 +66,6 @@
<child>
<object class="AdwActionRow" id="open_bug_report">
<property name="title" translatable="yes">Bug report</property>
<!-- <property name="subtitle" translatable="yes">Activate colored icons</property> -->
<property name="tooltip-text">https://gitlab.com/marcosdalvarez/thinkpad-battery-threshold-extension/-/issues</property>
<property name="action-name">prefs.open-bug-report</property>
<property name="activatable">true</property>
<child>
@ -83,8 +79,6 @@
<child>
<object class="AdwActionRow" id="open_license">
<property name="title" translatable="yes">License</property>
<!-- <property name="subtitle" translatable="yes">Activate colored icons</property> -->
<property name="tooltip-text">https://gitlab.com/marcosdalvarez/thinkpad-battery-threshold-extension/-/blob/main/LICENSE</property>
<property name="action-name">prefs.open-license</property>
<property name="activatable">true</property>
<child>
@ -95,6 +89,19 @@
</child>
</object>
</child>
<child>
<object class="AdwActionRow" id="open_translate">
<property name="title" translatable="yes">Translate</property>
<property name="action-name">prefs.open-translate</property>
<property name="activatable">true</property>
<child>
<object class="GtkImage">
<property name="valign">center</property>
<property name="icon-name">adw-external-link-symbolic</property>
</object>
</child>
</object>
</child>
</object>
</child>
</template>

View File

@ -29,16 +29,100 @@
<object class="AdwSpinRow" id="start_bat0">
<property name="title" translatable="yes">Charging start value</property>
<property name="subtitle" translatable="yes">Start charging when the level is below this value</property>
<property name="adjustment">bat0_start_adjustment</property>
<property name="snap-to-ticks">true</property>
<property name="update-policy">if-valid</property>
<property name="adjustment">
<object class="GtkAdjustment">
<property name="page-increment">5.0</property>
<property name="step-increment">1.0</property>
<property name="upper">99.0</property>
<property name="lower">0.0</property>
<property name="value">75.0</property>
</object>
</property>
</object>
</child>
<child>
<object class="AdwSpinRow" id="end_bat0">
<property name="title" translatable="yes">Charging stop value</property>
<property name="subtitle" translatable="yes">Stop charging when the level is above this value</property>
<property name="adjustment">bat0_end_adjustment</property>
<property name="snap-to-ticks">true</property>
<property name="update-policy">if-valid</property>
<property name="adjustment">
<object class="GtkAdjustment">
<property name="page-increment">5.0</property>
<property name="step-increment">1.0</property>
<property name="upper">100.0</property>
<property name="lower">1.0</property>
<property name="value">80.0</property>
</object>
</property>
</object>
</child>
<child>
<object class="AdwSpinRow" id="disabled_start_bat0">
<property name="title" translatable="yes">Start value considered disabled</property>
<property name="subtitle" translatable="yes">The start threshold value that is considered disabled is not the same on all laptops (usually 0 or 95). We will try to automatically detect this value, but if you can't turn off the thresholds, try changing it manually (use -1 to automatically detect it)</property>
<property name="snap-to-ticks">true</property>
<property name="update-policy">if-valid</property>
<property name="adjustment">
<object class="GtkAdjustment">
<property name="page-increment">5.0</property>
<property name="step-increment">1.0</property>
<property name="upper">99.0</property>
<property name="lower">-1.0</property>
<property name="value">-1.0</property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkRevealer" id="warn_bat0">
<property name="reveal-child">true</property>
<child>
<object class="GtkBox">
<property name="orientation">GTK_ORIENTATION_HORIZONTAL</property>
<property name="spacing">12</property>
<property name="margin-start">6</property>
<property name="margin-end">6</property>
<property name="margin-top">6</property>
<property name="margin-bottom">6</property>
<child>
<object class="GtkImage">
<property name="icon-name">dialog-warning</property>
<property name="css-classes">warning</property>
<property name="icon-size">GTK_ICON_SIZE_LARGE</property>
</object>
</child>
<child>
<object class="GtkBox">
<property name="orientation">GTK_ORIENTATION_VERTICAL</property>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">WARNING</property>
<property name="css-classes">warning</property>
<property name="wrap">true</property>
<property name="hexpand">true</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<attributes>
<attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
</attributes>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="wrap">true</property>
<property name="hexpand">true</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="label" translatable="yes">The configured threshold values are equal to the values considered "disabled"</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
@ -66,16 +150,100 @@
<object class="AdwSpinRow" id="start_bat1">
<property name="title" translatable="yes">Charging start value</property>
<property name="subtitle" translatable="yes">Start charging when the level is below this value</property>
<property name="adjustment">bat1_start_adjustment</property>
<property name="snap-to-ticks">true</property>
<property name="update-policy">if-valid</property>
<property name="adjustment">
<object class="GtkAdjustment">
<property name="page-increment">5.0</property>
<property name="step-increment">1.0</property>
<property name="upper">99.0</property>
<property name="lower">0.0</property>
<property name="value">75.0</property>
</object>
</property>
</object>
</child>
<child>
<object class="AdwSpinRow" id="end_bat1">
<property name="title" translatable="yes">Charging stop value</property>
<property name="subtitle" translatable="yes">Stop charging when the level is above this value</property>
<property name="adjustment">bat1_end_adjustment</property>
<property name="snap-to-ticks">true</property>
<property name="update-policy">if-valid</property>
<property name="adjustment">
<object class="GtkAdjustment">
<property name="page-increment">5.0</property>
<property name="step-increment">1.0</property>
<property name="upper">100.0</property>
<property name="lower">1.0</property>
<property name="value">80.0</property>
</object>
</property>
</object>
</child>
<child>
<object class="AdwSpinRow" id="disabled_start_bat1">
<property name="title" translatable="yes">Start value considered disabled</property>
<property name="subtitle" translatable="yes">The start threshold value that is considered disabled is not the same on all laptops (usually 0 or 95). We will try to automatically detect this value, but if you can't turn off the thresholds, try changing it manually (use -1 to automatically detect it)</property>
<property name="snap-to-ticks">true</property>
<property name="update-policy">if-valid</property>
<property name="adjustment">
<object class="GtkAdjustment">
<property name="page-increment">5.0</property>
<property name="step-increment">1.0</property>
<property name="upper">99.0</property>
<property name="lower">-1.0</property>
<property name="value">-1.0</property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkRevealer" id="warn_bat1">
<property name="reveal-child">true</property>
<child>
<object class="GtkBox">
<property name="orientation">GTK_ORIENTATION_HORIZONTAL</property>
<property name="spacing">12</property>
<property name="margin-start">6</property>
<property name="margin-end">6</property>
<property name="margin-top">6</property>
<property name="margin-bottom">6</property>
<child>
<object class="GtkImage">
<property name="icon-name">dialog-warning</property>
<property name="css-classes">warning</property>
<property name="icon-size">GTK_ICON_SIZE_LARGE</property>
</object>
</child>
<child>
<object class="GtkBox">
<property name="orientation">GTK_ORIENTATION_VERTICAL</property>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">WARNING</property>
<property name="css-classes">warning</property>
<property name="wrap">true</property>
<property name="hexpand">true</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<attributes>
<attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
</attributes>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="wrap">true</property>
<property name="hexpand">true</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="label" translatable="yes">The configured threshold values are equal to the values considered "disabled"</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
@ -116,33 +284,4 @@
<response id="reset" translatable="yes" appearance="destructive">Reset</response>
</responses>
</object>
<object class="GtkAdjustment" id="bat0_start_adjustment">
<property name="page-increment">5.0</property>
<property name="step-increment">1.0</property>
<property name="upper">99.0</property>
<property name="lower">0.0</property>
<property name="value">75.0</property>
</object>
<object class="GtkAdjustment" id="bat0_end_adjustment">
<property name="page-increment">5.0</property>
<property name="step-increment">1.0</property>
<property name="upper">100.0</property>
<property name="lower">1.0</property>
<property name="value">80.0</property>
</object>
<object class="GtkAdjustment" id="bat1_start_adjustment">
<property name="page-increment">5.0</property>
<property name="step-increment">1.0</property>
<property name="upper">99.0</property>
<property name="lower">0.0</property>
<property name="value">75.0</property>
</object>
<object class="GtkAdjustment" id="bat1_end_adjustment">
<property name="page-increment">5.0</property>
<property name="step-increment">1.0</property>
<property name="upper">100.0</property>
<property name="lower">1.0</property>
<property name="value">80.0</property>
</object>
</interface>