[totem] main: We can always remove bookmarks
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] main: We can always remove bookmarks
- Date: Fri, 14 Feb 2014 16:31:43 +0000 (UTC)
commit 36ff58e9d9e55e7f9a853943f40acc41d1b5b585
Author: Bastien Nocera <hadess hadess net>
Date: Fri Feb 14 17:16:55 2014 +0100
main: We can always remove bookmarks
src/totem-grilo.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/totem-grilo.c b/src/totem-grilo.c
index 7bf6917..8b8f185 100644
--- a/src/totem-grilo.c
+++ b/src/totem-grilo.c
@@ -306,6 +306,8 @@ can_remove (GrlSource *source,
if (!(grl_source_supported_operations (source) & GRL_OP_REMOVE))
return CAN_REMOVE_UNSUPPORTED;
+ if (g_strcmp0 (grl_source_get_id (source), "grl-bookmarks") == 0)
+ return CAN_REMOVE_TRUE;
if (!media)
return CAN_REMOVE_FALSE;
if (GRL_IS_MEDIA_BOX (media))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]