diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-06-14 01:31:11 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-06-14 01:31:11 +0800 |
commit | bdd17f8ee9771a8d2db7df47690a041e690cea16 (patch) | |
tree | 13f4cdc979148b81449e35011542fa3814ae8cc3 | |
parent | 25861b6a2a1234cc0acc1c10d8f2019912efd97c (diff) | |
download | gsoc2013-epiphany-bdd17f8ee9771a8d2db7df47690a041e690cea16.tar.gz gsoc2013-epiphany-bdd17f8ee9771a8d2db7df47690a041e690cea16.tar.zst gsoc2013-epiphany-bdd17f8ee9771a8d2db7df47690a041e690cea16.zip |
Fix statusbar message and tab label.
2003-06-13 Christian Persch <chpe@cvs.gnome.org>
* src/ephy-tab.c: (ephy_tab_init), (ephy_tab_net_state_cb):
Fix statusbar message and tab label.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/ephy-tab.c | 11 |
2 files changed, 15 insertions, 2 deletions
@@ -1,5 +1,11 @@ 2003-06-13 Christian Persch <chpe@cvs.gnome.org> + * src/ephy-tab.c: (ephy_tab_init), (ephy_tab_net_state_cb): + + Fix statusbar message and tab label. + +2003-06-13 Christian Persch <chpe@cvs.gnome.org> + * data/epiphany.schemas.in: Fix typo. diff --git a/src/ephy-tab.c b/src/ephy-tab.c index 456e7f8b8..5bb0a5e25 100644 --- a/src/ephy-tab.c +++ b/src/ephy-tab.c @@ -719,8 +719,14 @@ static void ephy_tab_net_state_cb (EphyEmbed *embed, const char *uri, EmbedState state, EphyTab *tab) { - g_free (tab->priv->status_message); - tab->priv->status_message = build_net_state_message (uri, state); + char *new_msg; + + new_msg = build_net_state_message (uri, state); + if (new_msg) + { + g_free (tab->priv->status_message); + tab->priv->status_message = new_msg; + } g_object_notify (G_OBJECT (tab), "message"); @@ -1019,6 +1025,7 @@ ephy_tab_init (EphyTab *tab) tab->priv->cur_requests = 0; tab->priv->width = -1; tab->priv->height = -1; + tab->priv->title = g_strdup (_("Loading...")); tab->priv->address = NULL; tab->priv->icon_address = NULL; tab->priv->load_percent = 0; |