[gnome-control-center/power-fix-blank-screen-selection-not-applying] power: Fix blank-screen settings not applying




commit 8414ba1fa8a98bb815449f6111737d21db312013
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]