Rename a few stragglers

(cherry picked from commit 90085d290f)
v3.5.13-sru
Timothy Pearson 13 years ago committed by Slávek Banko
parent c9aeaa2c7c
commit 3cddfb67a2

@ -1987,15 +1987,15 @@ void setRcProperties(GtkRcStyle* rc_style, int forceRecreate)
// Mouseover // Mouseover
setColour("fg[PRELIGHT]", tqApp->palette().active().text()); // menu items - change? setColour("fg[PRELIGHT]", tqApp->palette().active().text()); // menu items - change?
setColour("bg[PRELIGHT]", tqApp->tqpalette().active().highlight()); setColour("bg[PRELIGHT]", tqApp->palette().active().highlight());
setColour("text[PRELIGHT]", tqApp->palette().active().text()); setColour("text[PRELIGHT]", tqApp->palette().active().text());
setColour("base[PRELIGHT]", tqApp->palette().active().base()); setColour("base[PRELIGHT]", tqApp->palette().active().base());
// Selected // Selected
setColour("fg[SELECTED]", tqApp->tqpalette().active().highlightedText()); setColour("fg[SELECTED]", tqApp->palette().active().highlightedText());
setColour("bg[SELECTED]", tqApp->tqpalette().active().highlight()); setColour("bg[SELECTED]", tqApp->palette().active().highlight());
setColour("text[SELECTED]", tqApp->tqpalette().active().highlightedText()); setColour("text[SELECTED]", tqApp->palette().active().highlightedText());
setColour("base[SELECTED]", tqApp->tqpalette().active().highlight()); setColour("base[SELECTED]", tqApp->palette().active().highlight());
// Disabled // Disabled
setColour("fg[INSENSITIVE]", tqApp->palette().disabled().text()); setColour("fg[INSENSITIVE]", tqApp->palette().disabled().text());
@ -2346,7 +2346,7 @@ void getTextColor(GdkColor *color, GtkStateType state_type)
return; return;
if ((state_type == GTK_STATE_PRELIGHT) || (state_type == GTK_STATE_ACTIVE) || (state_type == GTK_STATE_SELECTED)) if ((state_type == GTK_STATE_PRELIGHT) || (state_type == GTK_STATE_ACTIVE) || (state_type == GTK_STATE_SELECTED))
setColour(color, tqApp->tqpalette().active().highlightedText()); setColour(color, tqApp->palette().active().highlightedText());
else if (state_type == GTK_STATE_NORMAL) else if (state_type == GTK_STATE_NORMAL)
setColour(color, tqApp->palette().active().text()); setColour(color, tqApp->palette().active().text());
else if (state_type == GTK_STATE_INSENSITIVE) else if (state_type == GTK_STATE_INSENSITIVE)

Loading…
Cancel
Save