diff options
Diffstat (limited to 'src/CommandDialog.cc')
-rw-r--r-- | src/CommandDialog.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/CommandDialog.cc b/src/CommandDialog.cc index d88d755..17bd771 100644 --- a/src/CommandDialog.cc +++ b/src/CommandDialog.cc | |||
@@ -190,12 +190,12 @@ void CommandDialog::tabComplete() { | |||
190 | 190 | ||
191 | void CommandDialog::render() { | 191 | void CommandDialog::render() { |
192 | Pixmap tmp = m_pixmap; | 192 | Pixmap tmp = m_pixmap; |
193 | if (!m_screen.winFrameTheme()->iconbarTheme().focusedTexture().usePixmap()) { | 193 | if (!m_screen.winFrameTheme()->focusedIconbarTheme().texture().usePixmap()) { |
194 | m_label.setBackgroundColor(m_screen.winFrameTheme()->iconbarTheme().focusedTexture().color()); | 194 | m_label.setBackgroundColor(m_screen.winFrameTheme()->focusedIconbarTheme().texture().color()); |
195 | m_pixmap = 0; | 195 | m_pixmap = 0; |
196 | } else { | 196 | } else { |
197 | m_pixmap = m_screen.imageControl().renderImage(m_label.width(), m_label.height(), | 197 | m_pixmap = m_screen.imageControl().renderImage(m_label.width(), m_label.height(), |
198 | m_screen.winFrameTheme()->iconbarTheme().focusedTexture()); | 198 | m_screen.winFrameTheme()->focusedIconbarTheme().texture()); |
199 | m_label.setBackgroundPixmap(m_pixmap); | 199 | m_label.setBackgroundPixmap(m_pixmap); |
200 | } | 200 | } |
201 | 201 | ||
@@ -210,7 +210,7 @@ void CommandDialog::init() { | |||
210 | // setup label | 210 | // setup label |
211 | // we listen to motion notify too | 211 | // we listen to motion notify too |
212 | m_label.setEventMask(m_label.eventMask() | ButtonPressMask | ButtonMotionMask); | 212 | m_label.setEventMask(m_label.eventMask() | ButtonPressMask | ButtonMotionMask); |
213 | m_label.setGC(m_screen.winFrameTheme()->iconbarTheme().focusedText().textGC()); | 213 | m_label.setGC(m_screen.winFrameTheme()->focusedIconbarTheme().text().textGC()); |
214 | m_label.show(); | 214 | m_label.show(); |
215 | 215 | ||
216 | // setup text box | 216 | // setup text box |