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-window.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-window.c')
-rw-r--r-- | src/ephy-window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index f2c374d60..67f017617 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -727,7 +727,7 @@ ephy_window_key_press_event (GtkWidget *widget, embed = ephy_window_get_active_embed (window); if (handled == FALSE && embed != NULL) { - ephy_embed_activate (embed); + gtk_widget_grab_focus (GTK_WIDGET (embed)); ephy_embed_stop_load (embed); handled = TRUE; @@ -2705,7 +2705,7 @@ ephy_window_open_link (EphyLink *link, } else { - ephy_embed_activate (embed); + gtk_widget_grab_focus (GTK_WIDGET (embed)); } new_tab = tab; |