diff options
author | akir <akir> | 2004-10-10 16:11:25 (GMT) |
---|---|---|
committer | akir <akir> | 2004-10-10 16:11:25 (GMT) |
commit | df9ddbbae8a6f535b8c0c4b0d2756a5a99622995 (patch) | |
tree | 07d89d1b06a963e661b1671b8816db2ade8c6d67 /src/IconbarTool.cc | |
parent | d30e16f159efa7bde19dd01e560794b43dea6620 (diff) | |
download | fluxbox-df9ddbbae8a6f535b8c0c4b0d2756a5a99622995.zip fluxbox-df9ddbbae8a6f535b8c0c4b0d2756a5a99622995.tar.bz2 |
added iconbar.iconTextPadding
Diffstat (limited to 'src/IconbarTool.cc')
-rw-r--r-- | src/IconbarTool.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc index ac974c5..066b87d 100644 --- a/src/IconbarTool.cc +++ b/src/IconbarTool.cc | |||
@@ -20,7 +20,7 @@ | |||
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
21 | // DEALINGS IN THE SOFTWARE. | 21 | // DEALINGS IN THE SOFTWARE. |
22 | 22 | ||
23 | // $Id: IconbarTool.cc,v 1.47 2004/10/10 12:00:37 rathnor Exp $ | 23 | // $Id: IconbarTool.cc,v 1.48 2004/10/10 16:11:25 akir Exp $ |
24 | 24 | ||
25 | #include "IconbarTool.hh" | 25 | #include "IconbarTool.hh" |
26 | 26 | ||
@@ -279,6 +279,8 @@ IconbarTool::IconbarTool(const FbTk::FbWindow &parent, IconbarTheme &theme, BScr | |||
279 | screen.name() + ".iconbar.alignment", screen.altName() + ".Iconbar.Alignment"), | 279 | screen.name() + ".iconbar.alignment", screen.altName() + ".Iconbar.Alignment"), |
280 | m_rc_client_width(screen.resourceManager(), 70, | 280 | m_rc_client_width(screen.resourceManager(), 70, |
281 | screen.name() + ".iconbar.iconWidth", screen.altName() + ".Iconbar.IconWidth"), | 281 | screen.name() + ".iconbar.iconWidth", screen.altName() + ".Iconbar.IconWidth"), |
282 | m_rc_client_padding(screen.resourceManager(), 10, | ||
283 | screen.name() + ".iconbar.iconTextPadding", screen.altName() + ".Iconbar.IconTextPadding"), | ||
282 | m_rc_use_pixmap(screen.resourceManager(), true, | 284 | m_rc_use_pixmap(screen.resourceManager(), true, |
283 | screen.name() + ".iconbar.usePixmap", screen.altName() + ".Iconbar.UsePixmap"), | 285 | screen.name() + ".iconbar.usePixmap", screen.altName() + ".Iconbar.UsePixmap"), |
284 | m_menu(screen.menuTheme(), screen.imageControl(), | 286 | m_menu(screen.menuTheme(), screen.imageControl(), |
@@ -734,6 +736,7 @@ void IconbarTool::addWindow(FluxboxWindow &win) { | |||
734 | cerr<<"IconbarTool::addWindow(0x"<<&win<<" title = "<<win.title()<<")"<<endl; | 736 | cerr<<"IconbarTool::addWindow(0x"<<&win<<" title = "<<win.title()<<")"<<endl; |
735 | #endif // DEBUG | 737 | #endif // DEBUG |
736 | IconButton *button = new IconButton(m_icon_container, m_theme.focusedText().font(), win); | 738 | IconButton *button = new IconButton(m_icon_container, m_theme.focusedText().font(), win); |
739 | button->setTextPadding(*m_rc_client_padding); | ||
737 | 740 | ||
738 | renderButton(*button, false); // update the attributes, but don't clear it | 741 | renderButton(*button, false); // update the attributes, but don't clear it |
739 | m_icon_container.insertItem(button); | 742 | m_icon_container.insertItem(button); |