GNOME Bugzilla – Bug 685861
Add GRL_METADATA_KEY_FAVOURITE
Last modified: 2012-11-06 17:21:28 UTC
This key would indicate if the user has marked an item as favourite or not. It would be supported only in some plugins, like the metadata-store.
Created attachment 226162 [details] [review] Add support for boolean data in GrlData
Created attachment 226163 [details] [review] Add the 'favourite' metadata property
Created attachment 226628 [details] [review] Add the 'favourite' metadata property v2
Review of attachment 226162 [details] [review]: ::: src/data/grl-data.c @@ +360,3 @@ + * grl_data_set_boolean: + * @data: data to change + * @key: (type GObject.ParamSpec): key to change or add type is GrlKeyID @@ +379,3 @@ + * grl_data_get_boolean: + * @data: data to inspect + * @key (type GObject.ParamSpec): key to use type is GrlKeyID
Created attachment 226800 [details] [review] Add support for boolean data in GrlData v2 Address the issues commented
commit 47dc2a401577edf80b3521dff478c2aa687c38ba Author: Ant<C3><AD>a Puentes <apuentes@igalia.com> Date: Wed Oct 10 12:17:35 2012 +0200 core: Add the 'favourite' metadata property The new property indicates if an item was marked as favourite or not. https://bugzilla.gnome.org/show_bug.cgi?id=685861 src/data/grl-media.c | 29 +++++++++++++++++++++++++++++ src/data/grl-media.h | 4 ++++ src/grl-metadata-key.c | 9 +++++++++ src/grl-metadata-key.h | 1 + 4 files changed, 43 insertions(+) commit 6269a37296d3021bc4b8f602130e6e1c37d8ab3f Author: Ant<C3><AD>a Puentes <apuentes@igalia.com> Date: Wed Oct 10 12:17:23 2012 +0200 core: Add support for boolean data in GrlData https://bugzilla.gnome.org/show_bug.cgi?id=685861 Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> src/data/grl-data.c | 41 +++++++++++++++++++++++++++++++++++++++++ src/data/grl-data.h | 4 ++++ 2 files changed, 45 insertions(+)