Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Desktop (http://www.linux-archive.org/fedora-desktop/)
-   -   Showing CC-BY attribution in background chooser (http://www.linux-archive.org/fedora-desktop/427763-showing-cc-attribution-background-chooser.html)

Martin Sourada 09-16-2010 09:50 AM

Showing CC-BY attribution in background chooser
 
Hi,

we, at the design team, are searching for a way to add attribution to
wallpapers. We'd like to display it in the tooltip that appears in when
you hoover over an wallpaper in backgrounds chooser in a similar format
that KDE does it, e.g.

<b><wallpaper name></b>
Author: <author name>
<basic image info>
Folder: <path to where the image is>

As you see, it only adds the 'Author:' line to what already is there. Is
there some way to do it currently, or would we need to write a patch to
background chooser?

Plus, is there any place where I can get the DTD file that's used as
DOCTYPE in all XMLs in /usr/share/gnome-background-properties:
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">

I cannot find it anywhere (hence the reason why I ask if there already
IS a way)...

Thanks,
Martin
--
desktop mailing list
desktop@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/desktop

Nicu Buculei 09-16-2010 09:55 AM

Showing CC-BY attribution in background chooser
 
On 09/16/2010 12:50 PM, Martin Sourada wrote:
> we, at the design team, are searching for a way to add attribution to
> wallpapers. We'd like to display it in the tooltip that appears in when
> you hoover over an wallpaper in backgrounds chooser in a similar format
> that KDE does it, e.g.
>
> <b><wallpaper name></b>
> Author:<author name>
> <basic image info>
> Folder:<path to where the image is>
>
> As you see, it only adds the 'Author:' line to what already is there. Is
> there some way to do it currently, or would we need to write a patch to
> background chooser?

I think we may need also an URL for proper credit (for example when we
are using a Free image taken from flickr) - or can we abuse the <basic
image info> for that?

> Plus, is there any place where I can get the DTD file that's used as
> DOCTYPE in all XMLs in /usr/share/gnome-background-properties:
> <!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
>
> I cannot find it anywhere (hence the reason why I ask if there already
> IS a way)...

--
nicu :: http://nicubunu.ro :: http://nicubunu.blogspot.com/
--
desktop mailing list
desktop@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/desktop

Martin Sourada 09-16-2010 08:01 PM

Showing CC-BY attribution in background chooser
 
On Thu, 2010-09-16 at 12:55 +0300, Nicu Buculei wrote:
> I think we may need also an URL for proper credit (for example when we
> are using a Free image taken from flickr) - or can we abuse the <basic
> image info> for that?
>
<basic image info> is AFAIK autogenerated and contains things like if
it's JPEG or PNG or slideshow, what's its resolution etc. It would
really be quite abusive to put it in there. Actually, isn't putting the
URL in there as well a bit of an overkill? I'm not that much acquaninted
with CC-BY(-SA) licenses, but in software we also don't have these
things lying everywhere... The detailed attributions are present in the
usual place (/usr/share/docs/<package n-v-r>/Attribution) and installed
by the very same package that installs the images.

Martin
--
desktop mailing list
desktop@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/desktop

Martin Sourada 09-23-2010 11:44 AM

Showing CC-BY attribution in background chooser
 
On Thu, 2010-09-16 at 11:50 +0200, Martin Sourada wrote:
> Hi,
>
> we, at the design team, are searching for a way to add attribution to
> wallpapers. We'd like to display it in the tooltip that appears in when
> you hoover over an wallpaper in backgrounds chooser in a similar format
> that KDE does it, e.g.
>
> <b><wallpaper name></b>
> Author: <author name>
> <basic image info>
> Folder: <path to where the image is>
>
> As you see, it only adds the 'Author:' line to what already is there. Is
> there some way to do it currently, or would we need to write a patch to
> background chooser?
>
> Plus, is there any place where I can get the DTD file that's used as
> DOCTYPE in all XMLs in /usr/share/gnome-background-properties:
> <!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
>
> I cannot find it anywhere (hence the reason why I ask if there already
> IS a way)...

Just FYI, I attach a (quick) patch that does this.

Martin
--
desktop mailing list
desktop@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/desktop

Ray Strode 09-23-2010 06:42 PM

Showing CC-BY attribution in background chooser
 
Hey,
----- "Martin Sourada" <martin.sourada@gmail.com> wrote:

> > I cannot find it anywhere (hence the reason why I ask if there
> already
> > IS a way)...
>
> Just FYI, I attach a (quick) patch that does this.
Great, can you post that upstream?

--Ray
--
desktop mailing list
desktop@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/desktop

Martin Sourada 09-23-2010 08:41 PM

Showing CC-BY attribution in background chooser
 
Hi,
On Thu, 2010-09-23 at 14:42 -0400, Ray Strode wrote:
> Hey,
> ----- "Martin Sourada" <martin.sourada@gmail.com> wrote:
>
> > > I cannot find it anywhere (hence the reason why I ask if there
> > already
> > > IS a way)...
> >
> > Just FYI, I attach a (quick) patch that does this.
> Great, can you post that upstream?
Sure:
https://bugzilla.gnome.org/show_bug.cgi?id=630468

Martin
--
desktop mailing list
desktop@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/desktop


All times are GMT. The time now is 06:44 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.