[gnome-control-center/power-fix-blank-screen-selection-not-applying] power: Fix "Power Button Behavior" setting now applying
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/power-fix-blank-screen-selection-not-applying] power: Fix "Power Button Behavior" setting now applying
- Date: Tue, 23 Aug 2022 10:08:31 +0000 (UTC)
commit 62000f33afa4b157a998049e8ef8b57eea59b78f
Author: Felipe Borges <felipeborges gnome org>
Date: Tue Aug 23 12:07:50 2022 +0200
power: Fix "Power Button Behavior" setting now applying
The AdwComboRow widget has a selected-item property, while we were
connecting to selected-index (which doesn't exist.
It is likely that selected-index existed in the past in libhandy
or libadwaita and this is a regression during the port to GTK4.
Fixes #2025
panels/power/cc-power-panel.ui | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/panels/power/cc-power-panel.ui b/panels/power/cc-power-panel.ui
index d9d0193ce..44c515b95 100644
--- a/panels/power/cc-power-panel.ui
+++ b/panels/power/cc-power-panel.ui
@@ -199,7 +199,7 @@
<property name="visible">False</property>
<property name="title" translatable="yes">Po_wer Button Behavior</property>
<property name="use_underline">True</property>
- <signal name="notify::selected-index" handler="power_button_row_changed_cb"
object="CcPowerPanel" swapped="yes"/>
+ <signal name="notify::selected-item" handler="power_button_row_changed_cb"
object="CcPowerPanel" swapped="yes"/>
</object>
</child>
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]