The unfocused/pressed pixmaps for the 'stick' button were ignored.

This fixes a bug in commit 1f01d84c08 (split
WinButtonTheme into multiple themes), where every other theme except for
m_stick_pm was changed.
This commit is contained in:
Jim Ramsay 2008-03-19 15:27:12 -04:00 committed by Mathias Gumz
parent 1b1262e01b
commit 173682f8de

View file

@ -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) {