aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-topic-action.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-06-15 05:25:53 +0800
committerChristian Persch <chpe@src.gnome.org>2004-06-15 05:25:53 +0800
commitb88d5cc70e93567ffc8aa10f470abe92928b395e (patch)
treed291fbb959bf5b5a3662cf04239a66ec70eb1138 /src/bookmarks/ephy-topic-action.c
parent6a6db353ca01d693c363c249903e63546f48e837 (diff)
downloadgsoc2013-epiphany-b88d5cc70e93567ffc8aa10f470abe92928b395e.tar
gsoc2013-epiphany-b88d5cc70e93567ffc8aa10f470abe92928b395e.tar.gz
gsoc2013-epiphany-b88d5cc70e93567ffc8aa10f470abe92928b395e.tar.bz2
gsoc2013-epiphany-b88d5cc70e93567ffc8aa10f470abe92928b395e.tar.lz
gsoc2013-epiphany-b88d5cc70e93567ffc8aa10f470abe92928b395e.tar.xz
gsoc2013-epiphany-b88d5cc70e93567ffc8aa10f470abe92928b395e.tar.zst
gsoc2013-epiphany-b88d5cc70e93567ffc8aa10f470abe92928b395e.zip
Escape strings before using them with markup in labels.
2004-06-14 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-new-bookmark.c: (duplicate_dialog_construct): * src/bookmarks/ephy-topic-action.c: (build_topics_menu): Escape strings before using them with markup in labels.
Diffstat (limited to 'src/bookmarks/ephy-topic-action.c')
-rw-r--r--src/bookmarks/ephy-topic-action.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/bookmarks/ephy-topic-action.c b/src/bookmarks/ephy-topic-action.c
index dad2e73d9..f0b40d5da 100644
--- a/src/bookmarks/ephy-topic-action.c
+++ b/src/bookmarks/ephy-topic-action.c
@@ -343,7 +343,7 @@ sort_topics (gconstpointer a, gconstpointer b)
static GtkWidget *
build_topics_menu (EphyTopicAction *action, EphyNode *node)
{
- GtkWidget *menu, *item, *label;
+ GtkWidget *menu, *item;
GPtrArray *children;
int i;
EphyBookmarks *bookmarks;
@@ -388,9 +388,6 @@ build_topics_menu (EphyTopicAction *action, EphyNode *node)
item = gtk_image_menu_item_new_with_label (title);
- label = gtk_bin_get_child (GTK_BIN (item));
- gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
-
gtk_widget_show (item);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);