Home | Poem | Jokes | Games | Science | Biography | Celibrity Video | বাংলা


gnome-themes-list Digest, Vol 84, Issue 3

Send gnome-themes-list mailing list submissions to
gnome-themes-list@gnome.org

To subscribe or unsubscribe via the World Wide Web, visit
http://mail.gnome.org/mailman/listinfo/gnome-themes-list
or, via email, send a message with subject or body 'help' to
gnome-themes-list-request@gnome.org

You can reach the person managing the list at
gnome-themes-list-owner@gnome.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gnome-themes-list digest..."


Today's Topics:

1. Provide a default icon (Tim Cuthbertson)


----------------------------------------------------------------------

Message: 1
Date: Mon, 1 Aug 2011 19:04:59 +1000
From: Tim Cuthbertson <tim@gfxmonk.net>
To: gnome-themes-list@gnome.org
Subject: Provide a default icon
Message-ID:
<CAC-LLDittpB1Gn6X63t4Zzdm=2EAWPUrJ=r2FgL+x-pHmYHSUA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

I'm currently writing a gnome-shell extension that I want to add panel
icons to. None of the default icons are appropriate, so I have created
my own.

Now, I could (presumably) hard-code the path to my default icons, but
that's bad form because then no theme can possibly override them. So I
believe I should instead use an icon name, one that doesn't already
exist. I'm thinking "tiling-window-layout-horizontal" as an example.

What files to I have to put in what path (I'm thinking $XDG_DATA_DIRS
will come into it) so that:
- my icon will *always* be available, regardless of the user's preferred theme
- the user's preferred theme can provide their own implementation of
"tiling-window-layout-horizontal"

Note: I can't change files in system directories, I'm looking for
something I can make happen via an environment variable.

Making an icon set doesn't sound right, because then the user would
have to select it. And adding files to a default theme also sounds
brittle, because they would then presmably not be used if the user
picks a different theme. Unless there is a hard-coded default
fallback, but even then can you add a single file to a default without
modifying system directories?

Thanks,
- Tim Cuthbertson


------------------------------

_______________________________________________
gnome-themes-list mailing list
gnome-themes-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-themes-list


End of gnome-themes-list Digest, Vol 84, Issue 3
************************************************

No comments: