[gnome-games] ui: Make no child of DisplayBox grab focus



commit 587a2cc99974a442f01c1a7d9c65fa2490e91096
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Wed Aug 17 17:08:49 2016 +0200

    ui: Make no child of DisplayBox grab focus
    
    Fix and error made in a recent accepted patch set.
    
    This is needed for the runner's display to be able to grab the focus and
    hence to control the game with a keyboard.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=769801

 data/ui/display-box.ui |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/ui/display-box.ui b/data/ui/display-box.ui
index 04161bf..341447f 100644
--- a/data/ui/display-box.ui
+++ b/data/ui/display-box.ui
@@ -39,7 +39,7 @@
             <child>
               <object class="GamesErrorDisplay" id="error_display">
                 <property name="visible">True</property>
-                <property name="can-focus">True</property>
+                <property name="can-focus">False</property>
               </object>
               <packing>
                 <property name="name">error</property>
@@ -48,7 +48,7 @@
             <child>
               <object class="GtkEventBox" id="display_bin">
                 <property name="visible">True</property>
-                <property name="can-focus">True</property>
+                <property name="can-focus">False</property>
               </object>
               <packing>
                 <property name="name">display</property>


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