File gnome-main-menu-bnc187879-clear-recent-files.diff of Package gnome-main-menu

diff -Npur gnome-main-menu-old/main-menu/src/main-menu-ui.c gnome-main-menu-new/main-menu/src/main-menu-ui.c
--- gnome-main-menu-old/main-menu/src/main-menu-ui.c	2009-02-26 15:34:37.000000000 +0800
+++ gnome-main-menu-new/main-menu/src/main-menu-ui.c	2009-02-26 15:31:48.000000000 +0800
@@ -1069,7 +1069,7 @@ item_to_user_doc_tile (BookmarkItem *ite
 			return TILE (document_tile_new_force_icon (item->uri, item->mime_type,
 				item->mtime, "gnome-mime-application-vnd.oasis.opendocument.text-template"));
 	}
-	return TILE (document_tile_new (item->uri, item->mime_type, item->mtime));
+	return TILE (document_tile_new (BOOKMARK_STORE_USER_DOCS, item->uri, item->mime_type, item->mtime));
 }
 
 static Tile *
@@ -1116,7 +1116,7 @@ item_to_recent_doc_tile (BookmarkItem *i
 	if (bookmark_agent_has_item (priv->bm_agents [BOOKMARK_STORE_USER_DOCS], item->uri))
 		return NULL;
 
-	return TILE (document_tile_new (item->uri, item->mime_type, item->mtime));
+	return TILE (document_tile_new (BOOKMARK_STORE_RECENT_DOCS, item->uri, item->mime_type, item->mtime));
 }
 
 static Tile *
openSUSE Build Service is sponsored by