[gnome-control-center] user-accounts: Make autologin_switch a activatable_widget



commit 3b6acb1867cd48cb37f7092c0e6ad95b7e5fda62
Author: Chingkai Chu <3013329+chuchingkai users noreply github com>
Date:   Wed Oct 27 16:52:41 2021 +0800

    user-accounts: Make autologin_switch a activatable_widget
    
    If we don't add this property for autologin_row, the shortcut to
    toggle the GtkSwitch won't work.
    
    See: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1501

 panels/user-accounts/cc-user-panel.ui | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/panels/user-accounts/cc-user-panel.ui b/panels/user-accounts/cc-user-panel.ui
index 134a9a39a..060bbaf5d 100644
--- a/panels/user-accounts/cc-user-panel.ui
+++ b/panels/user-accounts/cc-user-panel.ui
@@ -414,6 +414,7 @@
                                         <property name="visible">True</property>
                                         <property name="title" translatable="yes">A_utomatic Login</property>
                                         <property name="use_underline">True</property>
+                                        <property name="activatable_widget">autologin_switch</property>
                                         <child>
                                           <object class="GtkSwitch" id="autologin_switch">
                                             <property name="visible">True</property>


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