[gnome-control-center/panels-display-fix-primary-monitor-selection] display: Fix primary monitor selection issue with AdwComboRow




commit ee89403e4e26cba99c56364601baec48eed59d32
Author: Felipe Borges <felipeborges gnome org>
Date:   Tue Aug 23 17:31:31 2022 +0200

    display: Fix primary monitor selection issue with AdwComboRow
    
    We were connecting to the selected-index property when AdwComboRow
    actually has a selected-item property. This is the same as
    issue #2025
    
    Fixes #2028

 panels/display/cc-display-panel.ui | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/panels/display/cc-display-panel.ui b/panels/display/cc-display-panel.ui
index 00197bd62..736ae7b94 100644
--- a/panels/display/cc-display-panel.ui
+++ b/panels/display/cc-display-panel.ui
@@ -154,7 +154,7 @@
                               <object class="AdwComboRow" id="primary_display_row">
                                 <property name="subtitle" translatable="yes">Contains top bar and 
Activities</property>
                                 <property name="title" translatable="yes">Primary Display</property>
-                                <signal name="notify::selected-index" 
handler="on_primary_display_selected_index_changed_cb" swapped="yes"/>
+                                <signal name="notify::selected-item" 
handler="on_primary_display_selected_index_changed_cb" swapped="yes"/>
                               </object>
                             </child>
                           </object>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]