gnome-applets r10520 - in trunk: . gweather libgweather



Author: ryanl
Date: 2007-11-14 21:49:57 +0000 (Wed, 14 Nov 2007)
New Revision: 10520
ViewCVS link: http://svn.gnome.org/viewcvs/gnome-applets?rev=10520&view=rev

Modified:
   trunk/ChangeLog
   trunk/gweather/gweather-applet.c
   trunk/gweather/gweather-dialog.c
   trunk/gweather/gweather.h
   trunk/libgweather/weather.c
   trunk/libgweather/weather.h
Log:
2007-11-14  Ryan Lortie  <desrt desrt ca>

        Based on a patch by Matthias Clasen, closes #314177

        * libgweather/weather.c: remove arrays of static copies of pixmaps for
          all weather conditions (and remove enum used to index them).  Return
          icon names directly.
        * libgweather/weather.h: remove get_pixbuf() and add get_icon_name()
        * gweather/gweather-dialog.c: use icon name and 
          gtk_image_set_from_icon_name instead of pixbufs.
        * gweather/gweather.h: remove applet_pixbuf, applet_mask members.
        * gweather/gweather-applet.c: set image from icon theme name (GtkImage 
          will now automatically update the image on icon theme changes).






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]