[Kde-imaging] [Bug 193685] New: Set permissions on a per-photo base
Pieter Edelman
p.edelman at gmx.net
Fri May 22 22:00:42 CEST 2009
https://bugs.kde.org/show_bug.cgi?id=193685
Summary: Set permissions on a per-photo base
Product: kipiplugins
Version: 0.2.0
Platform: Unlisted Binaries
OS/Version: Linux
Status: UNCONFIRMED
Severity: wishlist
Priority: NOR
Component: flickrexport
AssignedTo: kde-imaging at kde.org
ReportedBy: p.edelman at gmx.net
Version: 0.2.0 (using KDE 4.2.3)
OS: Linux
Installed from: Unspecified Linux
Currently it is possible to set the Public, Family and Friends flags of photos
in the Flickr uploader (or just the Public flag for 23) for all the images
selected for uploading. However, I usually have different levels of permissions
for different photos in the same run (the photo of the nicely coloured bridge
arches should be public, but the next photo in line where a friend of mine
makes a funny face should only be accessible to my friends, for example).
I hereby send in a patch proposal which implements this functionality. It
provides three checkboxes (or just one for 23) in the list view of the images:
Public, Family and Friends. The Public, Family and Friends checkboxes on the
Upload options tab act as "main switches": when they are toggled, the
corresponding boxes for each individual picture is toggled to the indicated
state. When the individual photo options don't all agree, the corresponding
checkboxes on the Upload options tab are set to the intermediate state.
When the Public checkbox next to an image is clicked, the Family and Friends
checkboxes disappear to make the difference more clear. I actually would have
prepared to disable them, but I couldn't figure out how to do that.
This patch adds the extra flickrlist.h/.cpp files, which subclasses Kipi's
ImagesList and ImagesListViewItem classes:
- The derived FlickrListViewItem specifies is an ImagesListViewItem object for
showing in the list, with the extra three checkboxes and methods to get and set
the public, family and friends states.
- The derived FlickrList class holds these items and has methods and signals to
get and set the global permission states.
Other than that, the patch adds some housekeeping functions to FlickrWindow and
FlickrWidget for when the various checkboxes are clicked.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kde-imaging
mailing list