diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-07-23 00:09:19 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-07-23 00:09:19 +0800 |
commit | d55c3cc3045d0c3c0b9a6c59fdd315cda7510d98 (patch) | |
tree | 76d2e1dbf69bdae7b529f0bb1baf1776ec546223 /src/bookmarks | |
parent | bde9f595b1e33906f2128bb62e3468ca37981115 (diff) | |
download | gsoc2013-epiphany-d55c3cc3045d0c3c0b9a6c59fdd315cda7510d98.tar gsoc2013-epiphany-d55c3cc3045d0c3c0b9a6c59fdd315cda7510d98.tar.gz gsoc2013-epiphany-d55c3cc3045d0c3c0b9a6c59fdd315cda7510d98.tar.bz2 gsoc2013-epiphany-d55c3cc3045d0c3c0b9a6c59fdd315cda7510d98.tar.lz gsoc2013-epiphany-d55c3cc3045d0c3c0b9a6c59fdd315cda7510d98.tar.xz gsoc2013-epiphany-d55c3cc3045d0c3c0b9a6c59fdd315cda7510d98.tar.zst gsoc2013-epiphany-d55c3cc3045d0c3c0b9a6c59fdd315cda7510d98.zip |
If the page is about:blank, set title to "Blank page", not "about:blank".
2003-07-22 Christian Persch <chpe@cvs.gnome.org>
* src/ephy-tab.c: (ephy_tab_set_title):
If the page is about:blank, set title to "Blank page", not "about:blank".
* src/bookmarks/ephy-topic-action.c: (append_bookmarks_menu),
(build_topics_menu):
If there are no uncategorised bookmarks, don't append insensitive
"Empty" menu item after the topics.
Diffstat (limited to 'src/bookmarks')
-rw-r--r-- | src/bookmarks/ephy-topic-action.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bookmarks/ephy-topic-action.c b/src/bookmarks/ephy-topic-action.c index cc522b967..bd77c1a65 100644 --- a/src/bookmarks/ephy-topic-action.c +++ b/src/bookmarks/ephy-topic-action.c @@ -192,7 +192,7 @@ sort_bookmarks (gconstpointer a, gconstpointer b) #define MAX_LENGTH 32 static void -append_bookmarks_menu (EphyTopicAction *action, GtkWidget *menu, EphyNode *node) +append_bookmarks_menu (EphyTopicAction *action, GtkWidget *menu, EphyNode *node, gboolean show_empty) { EphyFaviconCache *cache; GtkWidget *item; @@ -203,7 +203,7 @@ append_bookmarks_menu (EphyTopicAction *action, GtkWidget *menu, EphyNode *node) children = ephy_node_get_children (node); - if (children->len < 1) + if (children->len < 1 && show_empty) { item = gtk_menu_item_new_with_label (_("Empty")); gtk_widget_set_sensitive (item, FALSE); @@ -279,7 +279,7 @@ build_bookmarks_menu (EphyTopicAction *action, EphyNode *node) menu = gtk_menu_new (); - append_bookmarks_menu (action, menu, node); + append_bookmarks_menu (action, menu, node, TRUE); return menu; } @@ -369,7 +369,7 @@ build_topics_menu (EphyTopicAction *action, EphyNode *node) g_list_free (node_list); uncategorized = ephy_bookmarks_get_not_categorized (bookmarks); - append_bookmarks_menu (action, menu, uncategorized); + append_bookmarks_menu (action, menu, uncategorized, FALSE); return menu; } |