[Bug 119922] cursor color should change when foreground & background color do

bugzilla-daemon@bugzilla.gnome.org bugzilla-daemon@bugzilla.gnome.org
Wed, 15 Dec 2004 07:43:12 -0500 (EST)


http://bugzilla.gnome.org/show_bug.cgi?id=119922
gedit | general | Ver: CVS HEAD





------- Additional Comments From sshankar@novell.com  2004-12-15 07:43 -------
Paolo, the patch you have proposed does not change cursor color for first
document because: when gedit_view_modify_cursor_color() is called to modify the
cursor color, for first document its just picking the color that was previously
set. However, call to gtk_rc_parse_string sets curosr color, which is used by
subsequent documents. 
Base-line is: First document always lags behind with the current changes. 

I could not figure out why gtk_rc_parse_string is not changing the cursor color
for the first time itself.

I have a fix, though it looks quite nascent. I am looking at ways to improve
this fix. Even call to gtk_rc_parse_string() twice is not doing the job, thats
what is annoying me. I am looking if there is any gtk function which would make
all widgets use the recent changes in their properties, something like refresh
to reflect recent changes.

------- You are receiving this mail because: -------
You are on the CC list for the bug.