From 114e1dd6178305b02c95e68963f7978f38bdf533 Mon Sep 17 00:00:00 2001 From: Ryo Nakano Date: Sun, 26 Jul 2026 11:36:13 +0900 Subject: [PATCH 1/2] gschema: Use spaces instead of tabs --- data/power.gschema.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/data/power.gschema.xml b/data/power.gschema.xml index 7ff47307..d7166ee4 100644 --- a/data/power.gschema.xml +++ b/data/power.gschema.xml @@ -1,10 +1,10 @@ - - - false - Sets if the percentage of the primary battery is shown in the panel. - Enable this to see the percentage of the battery directly in the panel without having to click onto the power-indicator. - - + + + false + Sets if the percentage of the primary battery is shown in the panel. + Enable this to see the percentage of the battery directly in the panel without having to click onto the power-indicator. + + From eaebf0a54808a4f06e98de321418948bfcc8ee7f Mon Sep 17 00:00:00 2001 From: Ryo Nakano Date: Sun, 26 Jul 2026 11:41:27 +0900 Subject: [PATCH 2/2] Update RDNN to io.elementary.panel.power --- data/icons.gresource.xml | 2 +- src/Indicator.vala | 2 +- src/Widgets/DisplayWidget.vala | 2 +- src/Widgets/PopoverWidget.vala | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/icons.gresource.xml b/data/icons.gresource.xml index 4e55c81b..c518b009 100644 --- a/data/icons.gresource.xml +++ b/data/icons.gresource.xml @@ -1,6 +1,6 @@ - + icons/balanced.svg icons/performance.svg icons/powersaver.svg diff --git a/src/Indicator.vala b/src/Indicator.vala index 0ac55863..954d43a3 100644 --- a/src/Indicator.vala +++ b/src/Indicator.vala @@ -43,7 +43,7 @@ public class Power.Indicator : Wingpanel.Indicator { construct { GLib.Intl.bindtextdomain (Constants.GETTEXT_PACKAGE, Constants.LOCALEDIR); GLib.Intl.bind_textdomain_codeset (Constants.GETTEXT_PACKAGE, "UTF-8"); - Gtk.IconTheme.get_for_display (Gdk.Display.get_default ()).add_resource_path ("/io/elementary/desktop/wingpanel/power"); + Gtk.IconTheme.get_for_display (Gdk.Display.get_default ()).add_resource_path ("/io/elementary/panel/power"); dm = Power.Services.DeviceManager.get_default (); diff --git a/src/Widgets/DisplayWidget.vala b/src/Widgets/DisplayWidget.vala index 5cc2f063..f5128c46 100644 --- a/src/Widgets/DisplayWidget.vala +++ b/src/Widgets/DisplayWidget.vala @@ -18,7 +18,7 @@ */ public class Power.Widgets.DisplayWidget : Gtk.Box { - private static Settings settings = new GLib.Settings ("io.elementary.desktop.wingpanel.power"); + private static Settings settings = new GLib.Settings ("io.elementary.panel.power"); private Gtk.Revealer percent_revealer; public string icon_name { diff --git a/src/Widgets/PopoverWidget.vala b/src/Widgets/PopoverWidget.vala index 45df922b..587c11be 100644 --- a/src/Widgets/PopoverWidget.vala +++ b/src/Widgets/PopoverWidget.vala @@ -35,7 +35,7 @@ public class Power.Widgets.PopoverWidget : Gtk.Box { } construct { - var settings = new GLib.Settings ("io.elementary.desktop.wingpanel.power"); + var settings = new GLib.Settings ("io.elementary.panel.power"); var device_list = new DeviceList ();