aboutsummaryrefslogtreecommitdiff
path: root/src/ClockTool.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ClockTool.cc')
-rw-r--r--src/ClockTool.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ClockTool.cc b/src/ClockTool.cc
index c23028f..10b9ad5 100644
--- a/src/ClockTool.cc
+++ b/src/ClockTool.cc
@@ -20,7 +20,7 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: ClockTool.cc,v 1.7 2003/12/06 16:49:06 fluxgen Exp $ 23// $Id: ClockTool.cc,v 1.8 2003/12/07 16:39:43 fluxgen Exp $
24 24
25#include "ClockTool.hh" 25#include "ClockTool.hh"
26 26
@@ -216,7 +216,7 @@ void ClockTool::updateTime() {
216 216
217void ClockTool::renderTheme() { 217void ClockTool::renderTheme() {
218 Pixmap old_pm = m_pixmap; 218 Pixmap old_pm = m_pixmap;
219 if (m_theme.texture().type() == (FbTk::Texture::FLAT | FbTk::Texture::SOLID)) { 219 if (!m_theme.texture().usePixmap()) {
220 m_pixmap = 0; 220 m_pixmap = 0;
221 m_button.setBackgroundColor(m_theme.texture().color()); 221 m_button.setBackgroundColor(m_theme.texture().color());
222 } else { 222 } else {