aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-06-14 01:31:11 +0800
committerChristian Persch <chpe@src.gnome.org>2003-06-14 01:31:11 +0800
commitbdd17f8ee9771a8d2db7df47690a041e690cea16 (patch)
tree13f4cdc979148b81449e35011542fa3814ae8cc3
parent25861b6a2a1234cc0acc1c10d8f2019912efd97c (diff)
downloadgsoc2013-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--ChangeLog6
-rw-r--r--src/ephy-tab.c11
2 files changed, 15 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2b8663e5b..418373033 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;