[gnome-control-center/power-fix-blank-screen-selection-not-applying: 52/53] power: Fix blank-screen settings not 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: 52/53] power: Fix blank-screen settings not applying
- Date: Tue, 23 Aug 2022 15:26:48 +0000 (UTC)
commit 37f5cbe6af5ea71221309669f8b02d5e423956e7
Author: Felipe Borges <felipeborges gnome org>
Date: Tue Aug 23 12:02:56 2022 +0200
power: Fix blank-screen settings not 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 d7836e671..d9d0193ce 100644
--- a/panels/power/cc-power-panel.ui
+++ b/panels/power/cc-power-panel.ui
@@ -151,7 +151,7 @@
<property name="title" translatable="yes">Screen _Blank</property>
<property name="subtitle" translatable="yes">Turns the screen off after a period of
inactivity.</property>
<property name="use_underline">True</property>
- <signal name="notify::selected-index" handler="blank_screen_row_changed_cb"
object="CcPowerPanel" swapped="yes"/>
+ <signal name="notify::selected-item" handler="blank_screen_row_changed_cb"
object="CcPowerPanel" swapped="yes"/>
</object>
</child>
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]