Eclipse content-assist popup is unreadable on Ambiance/Radiance theme

I use ubuntu 10.10 and installed the Eclipse indigo from the official eclipse website. It's a java editor (not CDT) and characters on the content assist popup are not readable.

enter image description here

Is there any solution?


Solution 1:

After little research:

gedit ~/.gtkrc-2.0

paste and save:

style "eclipse_fix"
{
    base[ACTIVE] = shade(0.7, "#F2F1F0")
}

class "GtkTreeView" style "eclipse_fix"

Then you must logout or change your style in order to reload new settings.

Solution 2:

Let me to cite answer for 12.04

Simply edit the file /usr/share/themes/Ambiance/gtk-2.0/gtkrc search for

base[ACTIVE]      = shade (0.94, @bg_color)

change the shade percentage from 0.94 to whatever visible like 0.54

base[ACTIVE]      = shade (0.54, @bg_color)

then it works.