[gnome-control-center/gnome-3-26] network/wifi: don't set unnecessary focus



commit d3c8238f618065f9f517132d338fedc20acea3c1
Author: Xiang Fan <sfanxiang gmail com>
Date:   Fri Nov 3 20:24:45 2017 +0800

    network/wifi: don't set unnecessary focus
    
    When its parent is allowed focus, the actual control never gets the
    focus and is inaccessible from keyboard.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=789860

 panels/network/wifi.ui |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/panels/network/wifi.ui b/panels/network/wifi.ui
index 554bb6d..8bb01ed 100644
--- a/panels/network/wifi.ui
+++ b/panels/network/wifi.ui
@@ -7,7 +7,7 @@
     <child>
       <object class="GtkStack" id="main_stack">
         <property name="visible">True</property>
-        <property name="can-focus">True</property>
+        <property name="can-focus">False</property>
         <property name="homogeneous">False</property>
         <property name="transition_type">crossfade</property>
 
@@ -67,7 +67,7 @@
         <child>
           <object class="GtkScrolledWindow">
             <property name="visible">True</property>
-            <property name="can-focus">True</property>
+            <property name="can-focus">False</property>
             <property name="hscrollbar-policy">never</property>
             <child>
               <object class="GtkViewport">
@@ -115,7 +115,7 @@
                             <child>
                               <object class="GtkListBoxRow">
                                 <property name="visible">True</property>
-                                <property name="can-focus">True</property>
+                                <property name="can-focus">False</property>
                                 <property name="activatable">False</property>
                                 <child>
                                   <object class="GtkGrid">


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