aboutsummaryrefslogtreecommitdiff
path: root/src/Slit.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-07-23 18:38:31 (GMT)
committerfluxgen <fluxgen>2002-07-23 18:38:31 (GMT)
commit7f6880bbac9ffec3b6221eb04e0977b9a9c669b7 (patch)
tree78b170c869d5aa21df2751b1a5d49fb987cbd444 /src/Slit.cc
parent47d27a0bab8d6585d3031b7945c7ee6718f8d228 (diff)
downloadfluxbox_pavel-7f6880bbac9ffec3b6221eb04e0977b9a9c669b7.zip
fluxbox_pavel-7f6880bbac9ffec3b6221eb04e0977b9a9c669b7.tar.bz2
slit theme, which falls back on toolbar theme if it does not exist
Diffstat (limited to 'src/Slit.cc')
-rw-r--r--src/Slit.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Slit.cc b/src/Slit.cc
index 0dded4f..6eea94b 100644
--- a/src/Slit.cc
+++ b/src/Slit.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Slit.cc,v 1.18 2002/07/23 17:11:59 fluxgen Exp $ 22// $Id: Slit.cc,v 1.19 2002/07/23 18:38:31 fluxgen Exp $
23 23
24//use GNU extensions 24//use GNU extensions
25#ifndef _GNU_SOURCE 25#ifndef _GNU_SOURCE
@@ -408,7 +408,7 @@ void Slit::reconfigure(void) {
408 408
409 Pixmap tmp = frame.pixmap; 409 Pixmap tmp = frame.pixmap;
410 BImageControl *image_ctrl = screen->getImageControl(); 410 BImageControl *image_ctrl = screen->getImageControl();
411 FbTk::Texture *texture = &(screen->getToolbarStyle()->toolbar); 411 const FbTk::Texture *texture = &(screen->getTheme()->getSlitTexture());
412 if (texture->type() == (FbTk::Texture::FLAT | FbTk::Texture::SOLID)) { 412 if (texture->type() == (FbTk::Texture::FLAT | FbTk::Texture::SOLID)) {
413 frame.pixmap = None; 413 frame.pixmap = None;
414 XSetWindowBackground(display, frame.window, 414 XSetWindowBackground(display, frame.window,