From 0f11642b7c302d49e8831dc723f563b28a109ab7 Mon Sep 17 00:00:00 2001 From: BreezeDelegate <271538431+BreezeDelegate@users.noreply.github.com> Date: Sat, 22 Aug 2026 17:11:54 +0000 Subject: [PATCH] Prevent duplicate bookmarks for the same location --- src/nemo-bookmark-list.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nemo-bookmark-list.c b/src/nemo-bookmark-list.c index f515a0609..94a7693dd 100644 --- a/src/nemo-bookmark-list.c +++ b/src/nemo-bookmark-list.c @@ -405,7 +405,7 @@ nemo_bookmark_list_append (NemoBookmarkList *bookmarks, /** * nemo_bookmark_list_contains: * - * Check whether a bookmark with matching name and url is already in the list. + * Check whether a bookmark for the same location is already in the list. * @bookmarks: NemoBookmarkList to check contents of. * @bookmark: NemoBookmark to match against. * @@ -420,7 +420,7 @@ nemo_bookmark_list_contains (NemoBookmarkList *bookmarks, return g_list_find_custom (bookmarks->list, (gpointer)bookmark, - nemo_bookmark_compare_with) + nemo_bookmark_compare_uris) != NULL; }