Make use of the Contractor API

Bug #1066128 reported by Camilo Higuita
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Foto
Fix Committed
Low
Erasmo Marín

Bug Description

Changed in foto:
importance: Undecided → Low
status: New → Confirmed
assignee: nobody → Erasmo Marín (erasmo-marin)
Changed in foto:
status: Confirmed → Fix Committed
Revision history for this message
Erasmo Marín (erasmo-marin) wrote :

Added a constractor menu. It is inside of a PopOver. Interface can be improved, but for now, it's enough.

There are only 2 contractors that works with "image" MimeType: "compress" and "set as wallpaper".

Because that, it's a good idea to consider to write some new contractors, like facebook or flickr.

Revision history for this message
swizzle (el-ferreira-deactivatedaccount) wrote :

When Granite becomes stable, Foto should use it instead of a custom popover for photo sharing to Facebook and Flickr.
Using Dropoff (when it's finished) as a Contractor app for photo sharing would be perfect.

Furthermore effects should be handled in a separate application for avoiding a cluttered GUI.
See my bug report : https://bugs.launchpad.net/foto/+bug/1058714
Another case for Granite in Foto would be sending the picture to a image editing app.
So Gimp, Pinta, ... could be used as contractor apps.

Dropoff :
http://bassultra.deviantart.com/gallery/29132360#/d4phrhe

Revision history for this message
Erasmo Marín (erasmo-marin) wrote :

Foto is already using the Contractor API, and also, ContractorMenu from Granite API, because I have been thinking about it, and it's not a problem if this not stable. By the time Foto is released, Granite will be stable I think. Compile last version in branch and you will see.

About contracts, we are not responsible of the available contractors installed in the system, but we can provide some (only if they are related to Foto). So, is not our responsible to provide contracts for Pinta, Gimp or any editing app.

Revision history for this message
Camilo Higuita (kxmylo) wrote :

Yet you could make use of Open with: Gimp (pinta... etc) in the contextual menu, it's pretty nice to have the option.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.