diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-10-27 21:00:49 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-10-27 21:00:49 +0800 |
commit | a4feb18c20c79c1929fe2fe6d7c0828077dc18f8 (patch) | |
tree | bb82c688e449de9fcf4b49f195ae3e0ec4017bc5 /src | |
parent | 6e074fb3eb0f51be6ca04c440d7435b965312d89 (diff) | |
download | gsoc2013-epiphany-a4feb18c20c79c1929fe2fe6d7c0828077dc18f8.tar gsoc2013-epiphany-a4feb18c20c79c1929fe2fe6d7c0828077dc18f8.tar.gz gsoc2013-epiphany-a4feb18c20c79c1929fe2fe6d7c0828077dc18f8.tar.bz2 gsoc2013-epiphany-a4feb18c20c79c1929fe2fe6d7c0828077dc18f8.tar.lz gsoc2013-epiphany-a4feb18c20c79c1929fe2fe6d7c0828077dc18f8.tar.xz gsoc2013-epiphany-a4feb18c20c79c1929fe2fe6d7c0828077dc18f8.tar.zst gsoc2013-epiphany-a4feb18c20c79c1929fe2fe6d7c0828077dc18f8.zip |
Fix label of "All" topic on bookmarksbar.
2004-10-27 Christian Persch <chpe@cvs.gnome.org>
* src/bookmarks/ephy-topic-action.c:
(ephy_topic_action_sync_label), (connect_proxy):
Fix label of "All" topic on bookmarksbar.
Diffstat (limited to 'src')
-rw-r--r-- | src/bookmarks/ephy-topic-action.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/bookmarks/ephy-topic-action.c b/src/bookmarks/ephy-topic-action.c index 629d08b65..e0c52f9cc 100644 --- a/src/bookmarks/ephy-topic-action.c +++ b/src/bookmarks/ephy-topic-action.c @@ -193,19 +193,19 @@ ephy_topic_action_sync_label (GtkAction *gaction, if (GTK_IS_TOOL_ITEM (proxy)) { GtkWidget *label = NULL; - const char *title; + char *title; char *title_short; label = g_object_get_data (G_OBJECT (proxy), "label"); g_return_if_fail (label != NULL); - title = ephy_node_get_property_string - (action->priv->topic_node, EPHY_NODE_KEYWORD_PROP_NAME); + g_object_get (G_OBJECT (action), "label", &title, NULL); title_short = ephy_string_shorten (title, MAX_LABEL_LENGTH); gtk_label_set_label (GTK_LABEL (label), title_short); g_free (title_short); + g_free (title); } } @@ -860,7 +860,6 @@ connect_proxy (GtkAction *action, GtkWidget *proxy) } } - static void topic_changed_cb (EphyNode *node, guint property_id, |