GNOME Bugzilla – Bug 387152
muine ditch ColorCellRendererPixbuf and CellRendererText
Last modified: 2008-11-10 00:46:29 UTC
Please describe the problem: Now that we should move to gtk 2.8 here's a patch that replaces ColorCellRendererPixbux and CellRendererText and uses the new ones on gtk2.8 This is a good way to switch to gtk2.8. Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
Created attachment 78564 [details] [review] move some code to gtk 2.8 Please take a look if you want you can give me a ok and i'll commit.
I've commited stuff to remove the CellRendererText hack (and bumped the dep up to gtk# 2.6 in the process). Unfortunately, the move to regular CellRendererPixbuf isn't as clear cut. You're missing the 'colored' part in the switch over. Notice how the color of the little icon in the playlist changes color based on the row being selected or not? We need to keep that behaviour around when we switch. Unfortunately, the gtk+ 2.8 "follow-state" property is behaving differently than our own ColorCellRendererPixbuf, so it's not a simple switch. Will keep this open to track the status of finishing that piece of this.
To be honest i don't see any difference between the current ColoredCellRenderPixbuf and the Gtk one.
Created attachment 122228 [details] [review] drop-custom-ColoredCellRendererPixbuf.patch Updated patch, not sure about the Gtk# requirements bump because I couldn't find any 'Since 2.x' tags in the API docs.
I'd say: go for it. Bump the GTK dep as well, we're living in 2008 and it's about time to modernize Muine.
I'll commit this patch i think this is a must go too.
2008-11-10 Luis Medinas <lmedinas@gnome.org> * TODO: * configure.in:2008-11-10 Luis Medinas <lmedinas@gnome.org> * TODO: * configure.in: * libmuine/Makefile.am: * src/Makefile.am: * src/PlaylistWindow.cs: Ditch ColorCellRendererPixbuf and CellRendererText. Closes bgo #387152. * libmuine/Makefile.am: * src/Makefile.am: * src/PlaylistWindow.cs: Ditch ColorCellRendererPixbuf and CellRendererText. Closes bgo #387152.