Ensure that the address entry is focussed with speed dial
This commit is contained in:
parent
0717e42458
commit
e3fea6c2eb
1 changed files with 7 additions and 0 deletions
|
@ -487,6 +487,13 @@ midori_view_notify_load_status_cb (GtkWidget* view,
|
|||
|
||||
_midori_browser_update_interface (browser);
|
||||
_midori_browser_set_statusbar_text (browser, NULL);
|
||||
|
||||
/* This is a hack to ensure that the address entry is focussed
|
||||
with speed dial open. */
|
||||
if (midori_view_get_load_status (MIDORI_VIEW (view))
|
||||
== MIDORI_LOAD_FINISHED)
|
||||
if (midori_view_is_blank (view))
|
||||
gtk_action_activate (_action_by_name (browser, "Location"));
|
||||
}
|
||||
|
||||
g_object_notify (G_OBJECT (browser), "load-status");
|
||||
|
|
Loading…
Reference in a new issue