GNOME Bugzilla – Bug 107401
Wrong sense of test for panel_background_color
Last modified: 2004-12-22 21:47:04 UTC
Lines 2270-2272 of panel.c currently read: tmp_str = panel_get_string (profile, panel_id, "panel_background_color", NULL); if (!tmp_str || !tmp_str [0]) { gdk_color_parse (tmp_str, &gdkcolor); This test is backwards. If panel_background_color is present, it will be ignored, and if it is absent, gdk_color_parse will be called with an invalid argument, yielding a critical error message from pango.
*** Bug 104808 has been marked as a duplicate of this bug. ***
Thanks much for pinning this down Greg. 2003-03-03 Mark McLoughlin <mark@skynet.ie> * panel.c: (panel_load_panel_from_gconf): load the background color when there is one set. Doh. Patch from Greg Hudson, ghudson@mit.edu - #107401.
*** Bug 110122 has been marked as a duplicate of this bug. ***
I'm not a programmer - how exactly do I correct this? :) Should I add that line: * panel.c: (panel_load_panel_from_gconf): load the background color when there is one set. somewhere in panel.c? Thanks!
Upgrade preferably ... Or change: if (!tmp_str || !tmp_str [0]) { to if (tmp_str && tmp_str [0]) {
*** Bug 110781 has been marked as a duplicate of this bug. ***