[Gpe-list] possible bug in gpe-irc

D. Marlin damarlin at gmail.com
Fri Aug 29 19:44:58 CEST 2008


After looking at this a bit more, I think the appropriate path for these
icons is in:

    /usr/share/gpe/pixmaps/default/irc/

Attached is a patch to move them to that location.


d.marlin
=========


D Marlin wrote:
> I have built gpe-irc from a subversion checkout and encountered an
> error when I tried to run it.
> 
> When using the default theme I try to launch gpe-irc and see two error
> dialogs indicating that the globe.png and quote.png icons cannot be
> found.  The paths it displays are:
> 
>   /usr/share/pixmaps//irc/globe.png
>   /usr/share/pixmaps//irc/quote.png
> 
> Looking at the code it seems that the default icon location is
> /usr/share/pixmaps (on my system):
> 
>   #define DEFAULT_ICON_LOCATION   PREFIX "/share/pixmaps/"
> 
> but in the Makefile.am for gpe-irc, the icons are stored in
> /usr/share/pixmaps/default/:
> 
>   pixmapsextradir = $(datadir)/pixmaps/default/irc/
>   pixmapsextra_DATA = \
>                 pixmaps/globe.png \
>                 pixmaps/quote.png
> 
> I believe that either the Makefile.am is in error, or the icon
> location in gpe-irc/main.c should be changed:
> 
>   struct gpe_icon my_icons[] = {
>         :
>     {"globe", "irc/globe", NULL},
>     {"quote", "irc/quote", NULL},
> 
> so these will be consistent.
> 
> Note: If the location is changed in gpe-irc/main.c, this may break
> when a different theme is used, so changing the Makefile.am looks like
> the more likely choice to me.
> 
> Please let me know if you require additional information.
> 
> 
> Thank you,
> 
> d.marlin
> 




More information about the Gpe-list mailing list