[epiphany] Revert "Update POTFILES.in"
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Revert "Update POTFILES.in"
- Date: Tue, 17 Jan 2017 03:00:51 +0000 (UTC)
commit 8b1e262e3ce6111c8e59ef4b13731c0021a327e5
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Mon Jan 16 20:59:50 2017 -0600
Revert "Update POTFILES.in"
This reverts commit d7fe992423337fc842080520f9f14fc6212276a6.
Committed careless debugging
po/POTFILES.in | 20 ++++++++++----------
src/bookmarks/ephy-bookmarks-list-model.c | 9 ++-------
2 files changed, 12 insertions(+), 17 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index c2fc169..fa05ed5 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -34,7 +34,7 @@ src/clear-data-dialog.c
src/cookies-dialog.c
src/ephy-encoding-dialog.c
src/ephy-header-bar.c
-src/ephy-history-dialog.c
+src/ephy-history-window.c
src/ephy-main.c
src/ephy-notebook.c
src/ephy-session.c
@@ -44,19 +44,19 @@ src/passwords-dialog.c
src/popup-commands.c
src/prefs-dialog.c
src/profile-migrator/ephy-profile-migrator.c
-src/resources/gtk/application-menu.ui
+src/resources/clear-data-dialog.ui
+src/resources/cookies-dialog.ui
+src/resources/encoding-dialog.ui
+src/resources/epiphany-application-menu.ui
src/resources/gtk/bookmark-properties-grid.ui
src/resources/gtk/bookmarks-popover.ui
-src/resources/gtk/clear-data-dialog.ui
-src/resources/gtk/cookies-dialog.ui
-src/resources/gtk/encoding-dialog.ui
-src/resources/gtk/history-dialog.ui
src/resources/gtk/menus.ui
src/resources/gtk/page-menu-popover.ui
-src/resources/gtk/passwords-dialog.ui
-src/resources/gtk/prefs-dialog.ui
-src/resources/gtk/prefs-lang-dialog.ui
-src/resources/gtk/shortcuts-dialog.ui
+src/resources/history-dialog.ui
+src/resources/passwords-dialog.ui
+src/resources/prefs-dialog.ui
+src/resources/prefs-lang-dialog.ui
+src/resources/shortcuts-dialog.ui
src/search-provider/ephy-search-provider.c
src/sync/ephy-sync-secret.c
src/sync/ephy-sync-service.c
diff --git a/src/bookmarks/ephy-bookmarks-list-model.c b/src/bookmarks/ephy-bookmarks-list-model.c
index 2cddba6..d3145dc 100644
--- a/src/bookmarks/ephy-bookmarks-list-model.c
+++ b/src/bookmarks/ephy-bookmarks-list-model.c
@@ -41,16 +41,13 @@ enum {
};
static GParamSpec *obj_properties[LAST_PROP];
-#include <glib/gstdio.h>
+
static void
maybe_add_bookmark (EphyBookmark *bookmark,
EphyBookmarksListModel *self)
{
if (!ephy_bookmark_is_smart (bookmark))
-{
self->dumb_bookmarks = g_list_append (self->dumb_bookmarks, g_object_ref (bookmark));
-g_printf ("Appending bookmark %s (%p) to model\n", ephy_bookmark_get_title (bookmark), bookmark);
-}
}
static void
@@ -59,8 +56,6 @@ refresh_bookmarks_list (EphyBookmarksListModel *self)
GSequence *bookmarks;
guint previous_length = 0;
-g_printf ("Refreshing bookmark model\n");
-
if (self->dumb_bookmarks != NULL) {
previous_length = g_list_length (self->dumb_bookmarks);
g_list_free_full (self->dumb_bookmarks, g_object_unref);
@@ -69,7 +64,7 @@ g_printf ("Refreshing bookmark model\n");
bookmarks = ephy_bookmarks_manager_get_bookmarks (self->bookmarks_manager);
g_sequence_foreach (bookmarks, (GFunc)maybe_add_bookmark, self);
-g_printf ("Reporting %u items removed and %u items added to model\n", previous_length, g_list_length
(self->dumb_bookmarks));
+
g_list_model_items_changed (G_LIST_MODEL (self),
0,
previous_length,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]