When compiling xfce4.2RC3 on gtk2.2 system, it seems that xfce4-panel can't use icon-themes (doens't find them?). Only error messages I get are this one in beginning: (xfce4-panel:17394): Gdk-CRITICAL **: file gdkdraw.c: line 411 (gdk_draw_rectangle): assertion `GDK_IS_GC (gc)' failed and this one once a while on ~/.xsession-errors: ** (xfce4-panel:17394): WARNING **: No theme selected I was using gtk 2.4 earlier than I think it worked on it (and tested on Suse 9.0 with gtk 2.4, it works as expected) Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: Doesn't give any other error messages, icon themes are visible (you can select them) but icons doesn't change on panel or in ~/.config/xfce4/ GTK 2.2.4 GLib 2.2.3 Suse 9.1
Brian, any ideas? This is not good and should be fixed. Ilkka, does it show the default icons?
(In reply to comment #0) > Doesn't give any other error messages, icon themes are visible (you can select > them) but icons doesn't change on panel or in ~/.config/xfce4/ what does that last part mean (about not changing in ~/.config/xfce4/)? are you saying that the setting isn't saved? if so, this may be a separate issue, unrelated to gtk.
Created attachment 141 ui-plugin-icon-theme-gtk2.2fix.diff reporter: could you please test this patch? apply in xfce4/xfce-mcs-plugins with 'patch -p0 < ui-plugin-icon-theme-gtk2.2fix.diff' and recompile and install the pacakge. let me know how it goes.
I tested that patch and it didn't work :/ still getting error: (xfce4-panel:28338): Gdk-CRITICAL **: file gdkdraw.c: line 411 (gdk_draw_rectangle): assertion `GDK_IS_GC (gc)' failed ** (xfce4-panel:28338): WARNING **: No theme selected And still ~/.config/xfce4/mcs_settings/panel.xml has wrong theme <option name="theme" type="string" value="Rodent"/> when ~/.config/xfce4/mcs_settings/gtk.xml has correct theme <option name="Net/IconThemeName" type="string" value="Industrial"/> I was away for couple of days, sorry for delay on testing
the theme config in the panel.xml file is old and not used. so it looks like the theme data is getting saved, but gtk isn't listening. which i guess makes sense, since it doesn't really know to listen. is there a way to tell gtk globally to reload its theme data? that might trigger an icon reload as well. maybe. though anything that uses XfceIconTheme should change properly. reporter: what happens when you change themes? do you get any output from xfce-mcs-manager? the panel output is pretty irrelevant at this point, and i don't think that error message you're seeing has anything to do with the icon theming problem. please kill and run xfce-mcs-manager from a terminal and look at the output. (do this with the patch applied.)
I killed xfce-mcs-manager on kill -9 and then panel theme changed to something different (on color,not icons, maybe default gtk-theme). when started xfce-mcs-manager on terminal it doesn't give any output, but I'll compile it on full-debug and see what it gives me then. Oh, and when I change icon-theme nothing happens, but when I change gtk-theme it changes instantly. even with enable-debug=full xfce-mcs-manager doesn't give any error messages, just messages on loading mcs-modules. Should I compile everything related (libxfce*,xfce-mcs-plugins etc.) with --enable-debug=full also ?
sorry for late answering, didn't notice that I replied from wrong account.
I don't think we are going to fix this. I'm afraid we have to set priorities. Thanks for the report.