[gtkhtml/gnome-2-28] Bug 593570 - Text entry not focused when find dialog shown



commit 75fdf18742b260f78a3eb6c25d27d4580a7fd638
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sun Aug 30 18:26:37 2009 -0400

    Bug 593570 - Text entry not focused when find dialog shown

 components/editor/gtkhtml-editor-builder.ui |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/components/editor/gtkhtml-editor-builder.ui b/components/editor/gtkhtml-editor-builder.ui
index 32bae57..05afc91 100644
--- a/components/editor/gtkhtml-editor-builder.ui
+++ b/components/editor/gtkhtml-editor-builder.ui
@@ -768,6 +768,7 @@
     <property name="destroy_with_parent">True</property>
     <property name="icon_name">gtk-find</property>
     <signal handler="gtk_widget_hide_on_delete" name="delete_event"/>
+    <signal handler="gtk_widget_grab_focus" name="show" object="find-entry"/>
     <child>
       <object class="GtkVBox" id="find-vbox">
         <property name="visible">True</property>
@@ -900,6 +901,7 @@
     <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
     <property name="destroy_with_parent">True</property>
     <signal handler="gtk_widget_hide_on_delete" name="delete_event"/>
+    <signal handler="gtk_widget_grab_focus" name="show" object="replace-entry"/>
     <child>
       <object class="GtkVBox" id="replace-vbox">
         <property name="visible">True</property>



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