Focus the web view when loading bookmarks.

This commit is contained in:
Christian Dywan 2008-05-03 23:32:05 +02:00
parent 7039d48e48
commit e45fe65278

View file

@ -1637,6 +1637,7 @@ midori_browser_menu_bookmarks_item_activate_cb (GtkWidget* widget,
"KatzeXbelItem");
GtkWidget* web_view = midori_browser_get_current_web_view (browser);
g_object_set (web_view, "uri", katze_xbel_bookmark_get_href (item), NULL);
gtk_widget_grab_focus (web_view);
}
static void