From 2b63f32449efadf73e2c8200b56a9d1ee9d58c70 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Mon, 11 Aug 2003 20:39:05 +0000 Subject: minor fix --- src/WorkspaceNameTool.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/WorkspaceNameTool.cc b/src/WorkspaceNameTool.cc index bc493fa..369ac2d 100644 --- a/src/WorkspaceNameTool.cc +++ b/src/WorkspaceNameTool.cc @@ -20,7 +20,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: WorkspaceNameTool.cc,v 1.1 2003/08/11 14:32:39 fluxgen Exp $ +// $Id: WorkspaceNameTool.cc,v 1.2 2003/08/11 20:39:05 fluxgen Exp $ #include "WorkspaceNameTool.hh" @@ -38,10 +38,14 @@ WorkspaceNameTool::WorkspaceNameTool(const FbTk::FbWindow &parent, m_screen(screen), m_pixmap(0) { // set text + m_button.setGC(m_theme.textGC()); m_button.setText(m_screen.currentWorkspace()->name()); + // setup signals screen.currentWorkspaceSig().attach(this); theme.reconfigSig().attach(this); + + renderTheme(); } WorkspaceNameTool::~WorkspaceNameTool() { @@ -109,7 +113,6 @@ void WorkspaceNameTool::renderTheme() { if (tmp) m_screen.imageControl().removeImage(tmp); - m_button.setFont(m_theme.font()); m_button.setJustify(m_theme.justify()); m_button.clear(); } -- cgit v0.11.2