aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-09-24 15:33:09 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-09-24 15:33:09 +0800
commit0836e677ab69560cd285b99a062d4386c24d12fa (patch)
tree49bb10f8aaaae17594c1737f5d3b82421964a037 /src
parent9ff9d3ca3f48ca645971aaaaeab1dd5afbbbf7cd (diff)
downloadgsoc2013-epiphany-0836e677ab69560cd285b99a062d4386c24d12fa.tar
gsoc2013-epiphany-0836e677ab69560cd285b99a062d4386c24d12fa.tar.gz
gsoc2013-epiphany-0836e677ab69560cd285b99a062d4386c24d12fa.tar.bz2
gsoc2013-epiphany-0836e677ab69560cd285b99a062d4386c24d12fa.tar.lz
gsoc2013-epiphany-0836e677ab69560cd285b99a062d4386c24d12fa.tar.xz
gsoc2013-epiphany-0836e677ab69560cd285b99a062d4386c24d12fa.tar.zst
gsoc2013-epiphany-0836e677ab69560cd285b99a062d4386c24d12fa.zip
Use Bookmarks instead of All as label
2003-09-24 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-topic-action.c: (sync_topic_properties): Use Bookmarks instead of All as label
Diffstat (limited to 'src')
-rw-r--r--src/bookmarks/ephy-topic-action.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/bookmarks/ephy-topic-action.c b/src/bookmarks/ephy-topic-action.c
index f302144f7..125497764 100644
--- a/src/bookmarks/ephy-topic-action.c
+++ b/src/bookmarks/ephy-topic-action.c
@@ -609,9 +609,20 @@ static void
sync_topic_properties (GtkAction *action, EphyNode *bmk)
{
const char *title;
+ int priority;
- title = ephy_node_get_property_string
- (bmk, EPHY_NODE_KEYWORD_PROP_NAME);
+ priority = ephy_node_get_property_int
+ (bmk, EPHY_NODE_KEYWORD_PROP_PRIORITY);
+
+ if (priority == EPHY_NODE_ALL_PRIORITY)
+ {
+ title = _("Bookmarks");
+ }
+ else
+ {
+ title = ephy_node_get_property_string
+ (bmk, EPHY_NODE_BMK_PROP_LOCATION);
+ }
g_object_set (action, "label", title, NULL);
}