patches/nautilus-11-update-bookmarks.diff
author yippi
Mon, 27 Sep 2010 21:07:51 +0000
changeset 20108 51df67ca9307
parent 17505 ed8b5d260e6a
child 22005 bba4f2cf866f
permissions -rw-r--r--
I had these modules listed as being owned by me, but they are really owned by wangke, correcting.

--- /usr/tmp/clean/nautilus-2.22.2/src/nautilus-bookmark-list.c	2008-03-29 09:40:25.000000000 +0000
+++ nautilus-2.22.2/src/nautilus-bookmark-list.c	2008-05-02 10:12:24.904444000 +0100
@@ -182,12 +182,25 @@
 }
 
 static void
+appearance_changed_callback (NautilusBookmark     *bookmark,
+				   NautilusBookmarkList *bookmarks)
+{
+	g_assert (NAUTILUS_IS_BOOKMARK (bookmark));
+	g_assert (NAUTILUS_IS_BOOKMARK_LIST (bookmarks));
+
+	g_signal_emit (bookmarks, signals[CONTENTS_CHANGED], 0);
+}
+
+static void
 stop_monitoring_bookmark (NautilusBookmarkList *bookmarks,
 			  NautilusBookmark     *bookmark)
 {
 	g_signal_handlers_disconnect_by_func (bookmark,
 					      bookmark_in_list_changed_callback,
 					      bookmarks);
+	g_signal_handlers_disconnect_by_func (bookmark,
+					      appearance_changed_callback,
+					      bookmarks);
 }
 
 static void