From 173682f8dec2f2255b89c6412c634dcbe60a6b99 Mon Sep 17 00:00:00 2001 From: Jim Ramsay Date: Wed, 19 Mar 2008 15:27:12 -0400 Subject: The unfocused/pressed pixmaps for the 'stick' button were ignored. This fixes a bug in commit 1f01d84c080d607a91eb417efcaf5e500b5f1d7e (split WinButtonTheme into multiple themes), where every other theme except for m_stick_pm was changed. --- src/WinButtonTheme.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/WinButtonTheme.cc b/src/WinButtonTheme.cc index 3763176..c6e6ddf 100644 --- a/src/WinButtonTheme.cc +++ b/src/WinButtonTheme.cc @@ -48,7 +48,8 @@ WinButtonTheme::WinButtonTheme(int screen_num, : extra) + ".pixmap", "Window.Title" + (extra.empty() ? std::string(".Focus") : altextra) + ".Pixmap"), - m_stick_pm(*this, "window.stick.pixmap", "Window.Stick.Pixmap"), + m_stick_pm(*this, "window.stick" + extra + ".pixmap", + "Window.Stick" + altextra + ".Pixmap"), m_stuck_pm(*this, "window.stuck" + extra + ".pixmap", "Window.Stuck" + altextra + ".Pixmap"), m_frame_theme(frame_theme) { -- cgit v0.11.2