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/window-commands.c | |
parent | e2cbc7c8a624845a93289945243348762c1b2893 (diff) | |
download | gsoc2013-epiphany-2288a93ec9575af249f9c6aaa1667730d2c9950f.tar gsoc2013-epiphany-2288a93ec9575af249f9c6aaa1667730d2c9950f.tar.gz gsoc2013-epiphany-2288a93ec9575af249f9c6aaa1667730d2c9950f.tar.bz2 gsoc2013-epiphany-2288a93ec9575af249f9c6aaa1667730d2c9950f.tar.lz gsoc2013-epiphany-2288a93ec9575af249f9c6aaa1667730d2c9950f.tar.xz 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/window-commands.c')
-rw-r--r-- | src/window-commands.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/window-commands.c b/src/window-commands.c index 7b197f9d8..1203e536a 100644 --- a/src/window-commands.c +++ b/src/window-commands.c @@ -104,7 +104,7 @@ window_cmd_go_back (GtkAction *action, embed = ephy_window_get_active_embed (window); g_return_if_fail (embed != NULL); - ephy_embed_activate (embed); + gtk_widget_grab_focus (GTK_WIDGET (embed)); ephy_embed_go_back (embed); } @@ -118,7 +118,7 @@ window_cmd_go_up (GtkAction *action, embed = ephy_window_get_active_embed (window); g_return_if_fail (embed != NULL); - ephy_embed_activate (embed); + gtk_widget_grab_focus (GTK_WIDGET (embed)); ephy_embed_go_up (embed); } @@ -176,7 +176,7 @@ window_cmd_go_forward (GtkAction *action, embed = ephy_window_get_active_embed (window); g_return_if_fail (embed != NULL); - ephy_embed_activate (embed); + gtk_widget_grab_focus (GTK_WIDGET (embed)); ephy_embed_go_forward (embed); } @@ -197,7 +197,7 @@ window_cmd_view_stop (GtkAction *action, embed = ephy_window_get_active_embed (window); g_return_if_fail (embed != NULL); - ephy_embed_activate (embed); + gtk_widget_grab_focus (GTK_WIDGET (embed)); ephy_embed_stop_load (embed); } @@ -237,7 +237,7 @@ window_cmd_view_reload (GtkAction *action, force = TRUE; } - ephy_embed_activate (embed); + gtk_widget_grab_focus (GTK_WIDGET (embed)); ephy_embed_reload (embed, force); } |