diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-09-25 14:56:07 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-09-25 14:56:07 +0000 |
| commit | 8d74491f8ae2a175cf46ded1cca190e3c7ebb892 (patch) | |
| tree | 418f99420d67c56921cf6f9ab6ba55ead9a8dce3 | |
| parent | 978dbdb55531f8b1180906e58aca468631db0fdf (diff) | |
| download | enigma2-8d74491f8ae2a175cf46ded1cca190e3c7ebb892.tar.gz enigma2-8d74491f8ae2a175cf46ded1cca190e3c7ebb892.zip | |
fix typos (copy & paste is evil ;) )
| -rw-r--r-- | lib/gui/elistboxcontent.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gui/elistboxcontent.cpp b/lib/gui/elistboxcontent.cpp index d0e85198..7c192a03 100644 --- a/lib/gui/elistboxcontent.cpp +++ b/lib/gui/elistboxcontent.cpp @@ -153,7 +153,7 @@ void eListboxPythonStringContent::paint(gPainter &painter, eWindowStyle &style, /* same for foreground */ if (local_style && local_style->m_foreground_color_set) - painter.setBackgroundColor(local_style->m_foreground_color); + painter.setForegroundColor(local_style->m_foreground_color); /* if we have no transparent background */ if (!local_style || !local_style->m_transparent_background) @@ -272,7 +272,7 @@ void eListboxPythonConfigContent::paint(gPainter &painter, eWindowStyle &style, /* same for foreground */ if (local_style && local_style->m_foreground_color_set) - painter.setBackgroundColor(local_style->m_foreground_color); + painter.setForegroundColor(local_style->m_foreground_color); if (!local_style || !local_style->m_transparent_background) /* if we have no transparent background */ @@ -538,7 +538,7 @@ static void clearRegion(gPainter &painter, eWindowStyle &style, eListboxStyle *l painter.setForegroundColor(gRGB(color)); }/* if we have a local foreground color set, use that. */ else if (local_style && local_style->m_foreground_color_set) - painter.setBackgroundColor(local_style->m_foreground_color); + painter.setForegroundColor(local_style->m_foreground_color); } void eListboxPythonMultiContent::paint(gPainter &painter, eWindowStyle &style, const ePoint &offset, int selected) |
