fixed redraw workspace label bug. Thanks Jochem Kossen j.kossen-AT-home.nl
fluxgen fluxgen
1 files changed,
4 insertions(+),
6 deletions(-)
jump to
M
src/ToolbarHandler.cc
→
src/ToolbarHandler.cc
@@ -20,7 +20,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: ToolbarHandler.cc,v 1.18 2003/06/26 12:22:42 rathnor Exp $ +// $Id: ToolbarHandler.cc,v 1.19 2003/07/01 12:40:56 fluxgen Exp $ /** * The ToolbarHandler class acts as a rough interface to the toolbar.@@ -382,14 +382,12 @@
void ToolbarHandler::updateCurrentWorkspace(BScreen &screen) { if (&screen != &m_screen) return; - // if only displaying current workspace, update list - // otherwise ignore it - if (mode() != WORKSPACE && mode() != WORKSPACEICONS) - return; + + m_toolbar->redrawWorkspaceLabel(true); m_toolbar->disableUpdates(); m_toolbar->delAllIcons(true); initForScreen(m_screen); m_toolbar->enableUpdates(); - m_toolbar->redrawWorkspaceLabel(true); + }