aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--src/bookmarks/ephy-topic-action.c15
2 files changed, 19 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index dbdac2e42..ca13af6b7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
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
+
+2003-09-24 Marco Pesenti Gritti <marco@gnome.org>
+
* src/session.c: (session_remove_window):
Save session when windows are removed
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);
}