diff options
author | rathnor <rathnor> | 2004-08-25 17:16:40 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2004-08-25 17:16:40 (GMT) |
commit | 5337fc6640efbe911682568b6281850fd322e4bb (patch) | |
tree | b2a722b45550cee7dc612b113ddebd9395841ab7 /src/ToolFactory.cc | |
parent | f32969d4e5a18bddd426b481824eb50902cba5de (diff) | |
download | fluxbox-5337fc6640efbe911682568b6281850fd322e4bb.zip fluxbox-5337fc6640efbe911682568b6281850fd322e4bb.tar.bz2 |
fix up theming of the toolbar
Diffstat (limited to 'src/ToolFactory.cc')
-rw-r--r-- | src/ToolFactory.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ToolFactory.cc b/src/ToolFactory.cc index f3c66eb..011eb39 100644 --- a/src/ToolFactory.cc +++ b/src/ToolFactory.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: ToolFactory.cc,v 1.4 2004/05/18 08:35:22 grubert Exp $ | 22 | // $Id: ToolFactory.cc,v 1.5 2004/08/25 17:16:40 rathnor Exp $ |
23 | 23 | ||
24 | #include "ToolFactory.hh" | 24 | #include "ToolFactory.hh" |
25 | 25 | ||
@@ -117,7 +117,7 @@ ToolbarItem *ToolFactory::create(const std::string &name, const FbTk::FbWindow & | |||
117 | 0, 0, | 117 | 0, 0, |
118 | button_size, button_size); | 118 | button_size, button_size); |
119 | win->setOnClick(cmd); | 119 | win->setOnClick(cmd); |
120 | return new ButtonTool(win, ToolbarItem::FIXED, | 120 | return new ButtonTool(win, ToolbarItem::SQUARE, |
121 | dynamic_cast<ButtonTheme &>(*m_button_theme), | 121 | dynamic_cast<ButtonTheme &>(*m_button_theme), |
122 | screen().imageControl()); | 122 | screen().imageControl()); |
123 | 123 | ||
@@ -136,7 +136,7 @@ ToolbarItem *ToolFactory::create(const std::string &name, const FbTk::FbWindow & | |||
136 | 0, 0, | 136 | 0, 0, |
137 | button_size, button_size); | 137 | button_size, button_size); |
138 | win->setOnClick(cmd); | 138 | win->setOnClick(cmd); |
139 | return new ButtonTool(win, ToolbarItem::FIXED, | 139 | return new ButtonTool(win, ToolbarItem::SQUARE, |
140 | dynamic_cast<ButtonTheme &>(*m_button_theme), | 140 | dynamic_cast<ButtonTheme &>(*m_button_theme), |
141 | screen().imageControl()); | 141 | screen().imageControl()); |
142 | 142 | ||