aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-tab.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-12-14 02:58:58 +0800
committerChristian Persch <chpe@src.gnome.org>2004-12-14 02:58:58 +0800
commit39dad59354eb6d7093c9f95817b5278de9f19982 (patch)
tree50b5ee15fcc46459a98c2267cdfef3712d32c369 /src/ephy-tab.c
parent43955b584199f99428660d47bc2a7297ffdf763f (diff)
downloadgsoc2013-epiphany-39dad59354eb6d7093c9f95817b5278de9f19982.tar
gsoc2013-epiphany-39dad59354eb6d7093c9f95817b5278de9f19982.tar.gz
gsoc2013-epiphany-39dad59354eb6d7093c9f95817b5278de9f19982.tar.bz2
gsoc2013-epiphany-39dad59354eb6d7093c9f95817b5278de9f19982.tar.lz
gsoc2013-epiphany-39dad59354eb6d7093c9f95817b5278de9f19982.tar.xz
gsoc2013-epiphany-39dad59354eb6d7093c9f95817b5278de9f19982.tar.zst
gsoc2013-epiphany-39dad59354eb6d7093c9f95817b5278de9f19982.zip
Get rid of ephy_string_[elide|double]_underscores(). Remove unnecessary
2004-12-13 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-encodings.c: (elide_underscores), (add_encoding): * embed/mozilla/FilePicker.cpp: * lib/ephy-dnd.c: * lib/ephy-node.c: * lib/ephy-string.c: (ephy_string_blank_chr): * lib/ephy-string.h: * lib/widgets/ephy-node-view.c: * src/ephy-encoding-menu.c: * src/ephy-notebook.c: * src/ephy-session.c: * src/ephy-statusbar.c: * src/ephy-tab.c: (ephy_tab_set_title): * src/ephy-tabs-menu.c: (connect_proxy_cb): * src/ppview-toolbar.c: Get rid of ephy_string_[elide|double]_underscores(). Remove unnecessary ephy-string.h includes.
Diffstat (limited to 'src/ephy-tab.c')
-rw-r--r--src/ephy-tab.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c
index f9314f4c2..f6e20e6d4 100644
--- a/src/ephy-tab.c
+++ b/src/ephy-tab.c
@@ -1748,7 +1748,7 @@ ephy_tab_get_status_message (EphyTab *tab)
static void
ephy_tab_set_title (EphyTab *tab, EphyEmbed *embed, const char *new_title)
{
- char *title_tmp, *title = NULL;
+ char *title = NULL;
g_return_if_fail (EPHY_IS_TAB (tab));
@@ -1796,14 +1796,10 @@ ephy_tab_set_title (EphyTab *tab, EphyEmbed *embed, const char *new_title)
tab->priv->title = title;
- title_tmp = ephy_string_double_underscores (title);
-
g_object_set (G_OBJECT (tab->priv->action),
- "label", title_tmp,
+ "label", title,
NULL);
- g_free (title_tmp);
-
g_object_notify (G_OBJECT (tab), "title");
}