[gnome-control-center/power-fix-blank-screen-selection-not-applying: 53/53] power: Fix "Power Button Behavior" setting now applying




commit 3a31e34514e77aeca2b6290be2d77b17ea25d0e6
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]