GNOME Bugzilla – Bug 419571
bacon-volume simplification
Last modified: 2007-05-11 09:47:52 UTC
IMHO there's no need to cache all 4 icons in BaconVolume, since there'll only be one displayed at each time, and it doesn't change often enough to warrant the caching anyway. Attached patch removes the icons caching.
Created attachment 84808 [details] [review] patch
This is what the new code in bug #415775. Wouldn't be better to wait and kill bacon-volume instead?
I just want to flush local changes to clean up my tree :) Also I don't see a great chance for BaconVolume being accepted in gtk.
2007-05-11 Bastien Nocera <hadess@hadess.net> * src/bacon-volume.c: (bacon_volume_button_class_init), (bacon_volume_button_init), (bacon_volume_button_dispose), (bacon_volume_button_new), (bacon_volume_button_update_icon): * src/bacon-volume.h: Merge Christian Persch <chpe@svn.gnome.org> 's simplifications, set the tooltip on startup, otherwise we wouldn't have any tooltip when the volume starts at 0 (Closes: #419571)