[gtksourceview/gnome-3-10] Completion: fix a bug with the select-on-show property



commit ca6ab0752ab43b1741b78d8e0393196e9f9eb601
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sun Jan 5 16:39:14 2014 +0100

    Completion: fix a bug with the select-on-show property
    
    When the GtkTreeView can take the focus, the first row is selected when
    the widget is shown, even if the select-on-show property is FALSE.
    
    With can_focus to False, we have all the control.

 gtksourceview/gtksourcecompletion.ui |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtksourceview/gtksourcecompletion.ui b/gtksourceview/gtksourcecompletion.ui
index 2135cf2..8df3b91 100644
--- a/gtksourceview/gtksourcecompletion.ui
+++ b/gtksourceview/gtksourcecompletion.ui
@@ -50,6 +50,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
             <child>
               <object class="GtkTreeView" id="tree_view_proposals">
                 <property name="visible">True</property>
+                <property name="can_focus">False</property>
                 <property name="headers_visible">False</property>
                 <property name="enable_search">False</property>
                 <property name="show_expanders">False</property>


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