[totem] main: Add local bookmarks to the recent view
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] main: Add local bookmarks to the recent view
- Date: Fri, 14 Feb 2014 15:43:00 +0000 (UTC)
commit 64c2da8f132d1b89fa4c99dd5ca062e4eb4f9ea5
Author: Bastien Nocera <hadess hadess net>
Date: Fri Feb 14 12:06:33 2014 +0100
main: Add local bookmarks to the recent view
src/totem-grilo.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/totem-grilo.c b/src/totem-grilo.c
index d66538f..05c40df 100644
--- a/src/totem-grilo.c
+++ b/src/totem-grilo.c
@@ -174,7 +174,6 @@ source_is_blacklisted (GrlSource *source)
{
const char *id;
const char const *sources[] = {
- "grl-bookmarks",
"grl-shoutcast",
"grl-flickr",
"grl-podcasts",
@@ -226,6 +225,7 @@ source_is_recent (GrlSource *source)
const char const *sources[] = {
"grl-tracker-source",
"grl-optical-media",
+ "grl-bookmarks",
NULL
};
@@ -564,6 +564,8 @@ get_source_priority (GrlSource *source)
id = grl_source_get_id (source);
if (g_str_equal (id, "grl-optical-media"))
return 100;
+ if (g_str_equal (id, "grl-bookmarks"))
+ return 75;
if (g_str_equal (id, "grl-tracker-source"))
return 50;
if (g_str_has_prefix (id, "grl-upnp-") ||
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]