diff options
author | Xan Lopez <xan@gnome.org> | 2010-05-18 22:15:56 +0800 |
---|---|---|
committer | Xan Lopez <xan@gnome.org> | 2010-05-19 00:08:47 +0800 |
commit | 1cda73c6a5be184e90cc998b1d51c30de4ec95bb (patch) | |
tree | 0144cd14804799894636a0e93b62a567213757e1 /src | |
parent | 50c36fdf1c4224c4b2e2a97d635fd9184af7519d (diff) | |
download | gsoc2013-epiphany-1cda73c6a5be184e90cc998b1d51c30de4ec95bb.tar.gz gsoc2013-epiphany-1cda73c6a5be184e90cc998b1d51c30de4ec95bb.tar.zst gsoc2013-epiphany-1cda73c6a5be184e90cc998b1d51c30de4ec95bb.zip |
Update the status message from within the EphyWebView
There's no need anymore for the EphyWindow to do this, we can get rid
of one extra roundtrip.
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-window.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index a627dc554..e4e9e34d1 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -1608,23 +1608,6 @@ sync_tab_load_progress (EphyWebView *view, GParamSpec *pspec, EphyWindow *window } static void -sync_tab_message (EphyWebView *view, GParamSpec *pspec, EphyWindow *window) -{ - const char *message; - - if (window->priv->closing) return; - - message = ephy_web_view_get_status_message (view); - - ephy_web_view_statusbar_pop (view, window->priv->tab_message_cid); - - if (message) - { - ephy_web_view_statusbar_push (view, window->priv->tab_message_cid, message); - } -} - -static void sync_tab_navigation (EphyWebView *view, GParamSpec *pspec, EphyWindow *window) @@ -2603,9 +2586,6 @@ ephy_window_set_active_tab (EphyWindow *window, EphyEmbed *new_embed) G_CALLBACK (sync_tab_icon), window); g_signal_handlers_disconnect_by_func (view, - G_CALLBACK (sync_tab_message), - window); - g_signal_handlers_disconnect_by_func (view, G_CALLBACK (ephy_window_visibility_cb), window); @@ -2632,7 +2612,6 @@ ephy_window_set_active_tab (EphyWindow *window, EphyEmbed *new_embed) sync_tab_title (view, NULL, window); sync_tab_address (view, NULL, window); sync_tab_icon (view, NULL, window); - sync_tab_message (view, NULL, window); sync_tab_popup_windows (view, NULL, window); sync_tab_popups_allowed (view, NULL, window); @@ -2678,9 +2657,6 @@ ephy_window_set_active_tab (EphyWindow *window, EphyEmbed *new_embed) g_signal_connect_object (view, "notify::icon", G_CALLBACK (sync_tab_icon), window, 0); - g_signal_connect_object (view, "notify::status-message", - G_CALLBACK (sync_tab_message), - window, 0); g_signal_connect_object (view, "notify::security-level", G_CALLBACK (sync_tab_security), window, 0); |