[Pidgin] #4988: pidgin-2.3.1 not paying attention to gtkrc pixmap_path
Pidgin
trac at pidgin.im
Tue Mar 4 09:10:37 EST 2008
#4988: pidgin-2.3.1 not paying attention to gtkrc pixmap_path
---------------------------+------------------------------------------------
Reporter: reiffert | Owner: resiak
Type: defect | Status: new
Priority: minor | Milestone:
Component: pidgin (gtk) | Version: 2.3.1
Resolution: | Keywords: pidgin gtk gtkrc
Pending: 0 |
---------------------------+------------------------------------------------
Comment (by resiak):
The [http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-
latest.html#directory_layout freedesktop.org icon theme spec states]:
> By default, apps should look in `$HOME/.icons` (for backwards
compatibility), in `$XDG_DATA_DIRS/icons` and in `/usr/share/pixmaps` (in
that order).
I suggest we should add looking in `$XDG_DATA_HOME/icons` to that list
(which usually means `$HOME/.local/share/icons`) and stick looking in
`DATADIR` at the end, as is currently the case. So, the course of action
probably looks something like:
* Move all the pixmap-lookup code into a single function.
* Add logic to search through the above sets of paths in order, using
`g_get_user_data_dir ()` and `g_get_system_data_dirs ()`.
* `#ifdef` as necessary to make it compile on old Gtks.
I think this is probably better than obeying the gtkrc pixmap_path, which
predates the freedesktop.org icon spec, since this brings us closer
towards using proper icon themes.
--
Ticket URL: <http://developer.pidgin.im/ticket/4988#comment:2>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list