aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
Diffstat (limited to 'embed')
-rwxr-xr-xembed/find-dialog.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/embed/find-dialog.c b/embed/find-dialog.c
index 5e6c844a8..7dad18ddf 100755
--- a/embed/find-dialog.c
+++ b/embed/find-dialog.c
@@ -353,12 +353,6 @@ impl_show (EphyDialog *dialog)
find_dialog->priv->window = ephy_dialog_get_control (dialog, WINDOW_PROP);
find_get_info (dialog);
- /* Focus the text entry. This will correctly select or leave
- * unselected the existing text in the entry depending on the
- * 'gtk-entry-select-on-focus = 0 / 1' setting in user's gtkrc.
- */
- gtk_widget_grab_focus (ephy_dialog_get_control (dialog, WORD_PROP));
-
icon = gtk_widget_render_icon (find_dialog->priv->window,
GTK_STOCK_FIND,
GTK_ICON_SIZE_MENU,
@@ -367,6 +361,12 @@ impl_show (EphyDialog *dialog)
g_object_unref (icon);
EPHY_DIALOG_CLASS (parent_class)->show (dialog);
+
+ /* Focus the text entry. This will correctly select or leave
+ * unselected the existing text in the entry depending on the
+ * 'gtk-entry-select-on-focus = 0 / 1' setting in user's gtkrc.
+ */
+ gtk_widget_grab_focus (ephy_dialog_get_control (dialog, WORD_PROP));
}
static void