aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-tab.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-07-23 00:09:19 +0800
committerChristian Persch <chpe@src.gnome.org>2003-07-23 00:09:19 +0800
commitd55c3cc3045d0c3c0b9a6c59fdd315cda7510d98 (patch)
tree76d2e1dbf69bdae7b529f0bb1baf1776ec546223 /src/ephy-tab.c
parentbde9f595b1e33906f2128bb62e3468ca37981115 (diff)
downloadgsoc2013-epiphany-d55c3cc3045d0c3c0b9a6c59fdd315cda7510d98.tar.gz
gsoc2013-epiphany-d55c3cc3045d0c3c0b9a6c59fdd315cda7510d98.tar.zst
gsoc2013-epiphany-d55c3cc3045d0c3c0b9a6c59fdd315cda7510d98.zip
If the page is about:blank, set title to "Blank page", not "about:blank".
2003-07-22 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_set_title): If the page is about:blank, set title to "Blank page", not "about:blank". * src/bookmarks/ephy-topic-action.c: (append_bookmarks_menu), (build_topics_menu): If there are no uncategorised bookmarks, don't append insensitive "Empty" menu item after the topics.
Diffstat (limited to 'src/ephy-tab.c')
-rw-r--r--src/ephy-tab.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c
index 270fd6cb3..d4256ff89 100644
--- a/src/ephy-tab.c
+++ b/src/ephy-tab.c
@@ -1139,7 +1139,7 @@ ephy_tab_set_title (EphyTab *tab, const char *new_title)
GNOME_VFS_URI_HIDE_FRAGMENT_IDENTIFIER);
gnome_vfs_uri_unref (uri);
}
- else if (address != NULL)
+ else if (address != NULL && strncmp (address, "about:blank", 11) != 0)
{
title = g_strdup (address);
}
@@ -1150,7 +1150,6 @@ ephy_tab_set_title (EphyTab *tab, const char *new_title)
title = g_strdup (_("Blank page"));
}
-
g_free (address);
}
else