[gnome-main-menu] bnc#187879 - Let one clear the recent-documents list
- From: Federico Mena Quintero <federico src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-main-menu] bnc#187879 - Let one clear the recent-documents list
- Date: Fri, 28 Aug 2009 00:09:54 +0000 (UTC)
commit d574d5429e797838cc805e10acd20cccc14a89f5
Author: David Liang <dliang novell com>
Date: Thu Aug 27 18:38:44 2009 -0500
bnc#187879 - Let one clear the recent-documents list
We also depend on libslab 2.29.0 now, as that's where document_tile_new() changed its API.
Signed-off-by: Federico Mena Quintero <federico novell com>
configure.in | 2 +-
main-menu/src/main-menu-ui.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.in b/configure.in
index 6806234..9528f30 100644
--- a/configure.in
+++ b/configure.in
@@ -43,7 +43,7 @@ dnl ==============================================
GLIB_REQUIRED=2.16.0
GTK_REQUIRED=2.14
-SLAB_REQUIRED=2.27.1
+SLAB_REQUIRED=2.29.0
AM_PATH_GLIB_2_0($GLIB_REQUIRED,,,gobject)
diff --git a/main-menu/src/main-menu-ui.c b/main-menu/src/main-menu-ui.c
index 2006cf3..cd1da32 100644
--- a/main-menu/src/main-menu-ui.c
+++ b/main-menu/src/main-menu-ui.c
@@ -1064,7 +1064,7 @@ item_to_user_doc_tile (BookmarkItem *item, gpointer data)
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 *
@@ -1111,7 +1111,7 @@ item_to_recent_doc_tile (BookmarkItem *item, gpointer data)
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 *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]