aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-favorites-menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-favorites-menu.c')
-rw-r--r--src/ephy-favorites-menu.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/ephy-favorites-menu.c b/src/ephy-favorites-menu.c
index d8f44f852..b463663c2 100644
--- a/src/ephy-favorites-menu.c
+++ b/src/ephy-favorites-menu.c
@@ -26,15 +26,12 @@
#include "ephy-bonobo-extensions.h"
#include "ephy-marshal.h"
#include "ephy-shell.h"
+#include "ephy-debug.h"
#include <string.h>
#include <stdlib.h>
#include <libxml/entities.h>
-#define NOT_IMPLEMENTED g_warning ("not implemented: " G_STRLOC);
-//#define DEBUG_MSG(x) g_print x
-#define DEBUG_MSG(x)
-
#define MAX_LABEL_LENGTH 30
/**
@@ -213,7 +210,7 @@ ephy_favorites_menu_rebuild (EphyFavoritesMenu *wrhm)
ephy_bonobo_clear_path (uic, p->path);
- DEBUG_MSG (("Rebuilding recent history menu\n"));
+ LOG ("Rebuilding recent history menu")
fav = ephy_bookmarks_get_favorites (p->bookmarks);
children = ephy_node_get_children (fav);
@@ -260,7 +257,7 @@ ephy_favorites_menu_rebuild (EphyFavoritesMenu *wrhm)
ephy_node_thaw (fav);
g_string_append (xml, "</placeholder>\n");
- DEBUG_MSG (("\n%s\n", xml->str));
+
if (children->len > 0)
{
bonobo_ui_component_set (uic, p->path,