After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 697564 - Using GOA in Flickr plugin
Using GOA in Flickr plugin
Status: RESOLVED DUPLICATE of bug 697565
Product: grilo
Classification: Other
Component: plugins
0.2.x
Other Linux
: Normal normal
: ---
Assigned To: grilo-maint
grilo-maint
Depends on:
Blocks:
 
 
Reported: 2013-04-08 15:24 UTC by Marek Chalupa
Modified: 2013-04-08 15:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marek Chalupa 2013-04-08 15:24:50 UTC
Hey,

some support for GOA in flickr plugin would be nice, wouldn't be?
It definetily would, so here it is.

I added two optional features (during compilation): --enable-flickr-goa-forced and --enable-flickr-goa.
The forced thing means that plugin will take configuration only from GOA and any other configuration passed is ignored. (So with no GOA flickr account plugin initiation fails)
The --enable-flickr-goa option behaves the old way (takes programmer's configuration and goes through it) but if boolean "flickr-enable-goa" is found in configuration and it's TRUE, then it tries to take configuration from GOA either. So using this option the only thing needed to allow plugin search in GOA is write this line into configuration:
grl_config_set_boolean (config, "flickr-enable-goa", TRUE);
This option was marked default in configure.ac

When creating this patch I used source codes after patching to OAuth patch (https://bugzilla.gnome.org/show_bug.cgi?id=697175) because it searches for OAuth keys in GOA.
Comment 1 Marek Chalupa 2013-04-08 15:53:29 UTC
Sry, I had some troubles with connection and inserted this bug twice.

*** This bug has been marked as a duplicate of bug 697565 ***