diff options
author | Crispin Flowerday <gnome@flowerday.cx> | 2005-07-30 04:40:38 +0800 |
---|---|---|
committer | Crispin Flowerday <crispin@src.gnome.org> | 2005-07-30 04:40:38 +0800 |
commit | 2288a93ec9575af249f9c6aaa1667730d2c9950f (patch) | |
tree | 6293cd6691462759890f00c0a618d52b1940a942 /src/ephy-find-toolbar.c | |
parent | e2cbc7c8a624845a93289945243348762c1b2893 (diff) | |
download | gsoc2013-epiphany-2288a93ec9575af249f9c6aaa1667730d2c9950f.tar.gz gsoc2013-epiphany-2288a93ec9575af249f9c6aaa1667730d2c9950f.tar.zst gsoc2013-epiphany-2288a93ec9575af249f9c6aaa1667730d2c9950f.zip |
Replace ephy_embed_activate with gtk_widget_grab_focus
2005-07-29 Crispin Flowerday <gnome@flowerday.cx>
* src/ephy-find-toolbar.c: (ephy_find_toolbar_grab_focus),
(ephy_find_toolbar_open), (ephy_find_toolbar_close):
* src/ephy-shell.c: (ephy_shell_new_tab_full):
* src/ephy-tab.c: (ephy_tab_grab_focus):
* src/ephy-window.c: (ephy_window_key_press_event),
(ephy_window_open_link):
* src/window-commands.c: (window_cmd_go_back), (window_cmd_go_up),
(window_cmd_go_forward), (window_cmd_view_stop),
(window_cmd_view_reload):
Replace ephy_embed_activate with gtk_widget_grab_focus
Diffstat (limited to 'src/ephy-find-toolbar.c')
-rw-r--r-- | src/ephy-find-toolbar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ephy-find-toolbar.c b/src/ephy-find-toolbar.c index 851041fba..173deb095 100644 --- a/src/ephy-find-toolbar.c +++ b/src/ephy-find-toolbar.c @@ -376,7 +376,7 @@ ephy_find_toolbar_grab_focus (GtkWidget *widget) EphyFindToolbar *toolbar = EPHY_FIND_TOOLBAR (widget); EphyFindToolbarPrivate *priv = toolbar->priv; - gtk_widget_grab_focus (priv->entry); + gtk_widget_grab_focus (GTK_WIDGET (priv->entry)); g_return_if_fail (priv->explicit_focus); } @@ -673,7 +673,7 @@ ephy_find_toolbar_open (EphyFindToolbar *toolbar, gtk_widget_show (GTK_WIDGET (toolbar)); #ifdef HAVE_TYPEAHEADFIND - ephy_embed_activate (priv->embed); + gtk_widget_grab_focus (GTK_WIDGET (priv->embed)); send_focus_change (priv->entry, TRUE); #else @@ -693,6 +693,6 @@ ephy_find_toolbar_close (EphyFindToolbar *toolbar) /* first unset explicit_focus, else we get infinite recursion */ priv->explicit_focus = FALSE; #ifndef HAVE_TYPEAHEADFIND - ephy_embed_activate (priv->embed); + gtk_widget_grab_focus (GTK_WIDGET (priv->embed)); #endif } |