[gtkhtml] Bug 593570 - Text entry not focused when find dialog shown
- From: Matthew Barnes <mbarnes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtkhtml] Bug 593570 - Text entry not focused when find dialog shown
- Date: Sun, 30 Aug 2009 22:27:08 +0000 (UTC)
commit e4bc8e6d6d5f66b76fe2a3636fc6d954c4c0ee32
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]