[gtk+/gtk-3-16] GtkAboutDialog: Fix some focus issues



commit 2f91f31b1ae5a10ec0442edba70953ed39498c21
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat May 2 10:26:07 2015 -0400

    GtkAboutDialog: Fix some focus issues
    
    Making a container focusable is rarely the right thing to do.
    It typically breaks the focus chain, and makes the container
    contents unfocusable, as was the case here.

 gtk/ui/gtkaboutdialog.ui |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/gtk/ui/gtkaboutdialog.ui b/gtk/ui/gtkaboutdialog.ui
index cc75d77..8e27a44 100644
--- a/gtk/ui/gtkaboutdialog.ui
+++ b/gtk/ui/gtkaboutdialog.ui
@@ -68,7 +68,6 @@
                 <property name="width_request">400</property>
                 <property name="height_request">100</property>
                 <property name="visible">True</property>
-                <property name="can_focus">True</property>
                 <property name="homogeneous">True</property>
                 <property name="transition-type">over-up-down</property>
                 <property name="transition-duration">600</property>
@@ -186,7 +185,6 @@
                     <child>
                       <object class="GtkScrolledWindow" id="scrolledwindow1">
                         <property name="visible">True</property>
-                        <property name="can_focus">True</property>
                         <property name="hscrollbar_policy">never</property>
                         <property name="shadow_type">in</property>
                         <child>
@@ -260,13 +258,11 @@
                     <child>
                       <object class="GtkScrolledWindow" id="scrolledwindow2">
                         <property name="visible">True</property>
-                        <property name="can_focus">True</property>
                         <property name="hscrollbar_policy">never</property>
                         <property name="shadow_type">in</property>
                         <child>
                           <object class="GtkTextView" id="license_view">
                             <property name="visible">True</property>
-                            <property name="can_focus">True</property>
                             <property name="editable">False</property>
                             <property name="left_margin">8</property>
                             <property name="right_margin">8</property>


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