Only update statusbar text if the view is the current tab
This commit is contained in:
parent
cf9538dd67
commit
f0d6af642e
1 changed files with 6 additions and 3 deletions
|
@ -589,9 +589,12 @@ midori_view_notify_statusbar_text_cb (MidoriView* view,
|
|||
{
|
||||
gchar* text;
|
||||
|
||||
if ((GtkWidget*)view == midori_browser_get_current_tab (browser))
|
||||
{
|
||||
g_object_get (view, "statusbar-text", &text, NULL);
|
||||
_midori_browser_set_statusbar_text (browser, text);
|
||||
g_free (text);
|
||||
}
|
||||
}
|
||||
|
||||
/* Private function, used by MidoriBookmarks and MidoriHistory */
|
||||
|
|
Loading…
Reference in a new issue