diff options
-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; |