diff options
author | rathnor <rathnor> | 2003-07-25 08:46:51 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-07-25 08:46:51 (GMT) |
commit | 9ca1f367cb9eef78ee1871fe5b96298f8325d987 (patch) | |
tree | f1483255ccde33eb1c2ea005bd48d4ecd1b8ef4a /src | |
parent | e2f24826155bc756932836ccaa536ac3d41580b9 (diff) | |
download | fluxbox_lack-9ca1f367cb9eef78ee1871fe5b96298f8325d987.zip fluxbox_lack-9ca1f367cb9eef78ee1871fe5b96298f8325d987.tar.bz2 |
fix bug that gave inconsistent icons, plus caused crashes
Diffstat (limited to 'src')
-rw-r--r-- | src/ToolbarHandler.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ToolbarHandler.cc b/src/ToolbarHandler.cc index 5db8f44..d5682e9 100644 --- a/src/ToolbarHandler.cc +++ b/src/ToolbarHandler.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: ToolbarHandler.cc,v 1.24 2003/07/20 02:45:57 rathnor Exp $ | 23 | // $Id: ToolbarHandler.cc,v 1.25 2003/07/25 08:46:51 rathnor Exp $ |
24 | 24 | ||
25 | /** | 25 | /** |
26 | * The ToolbarHandler class acts as a rough interface to the toolbar. | 26 | * The ToolbarHandler class acts as a rough interface to the toolbar. |
@@ -159,6 +159,7 @@ ToolbarHandler::ToolbarHandler(BScreen &screen) | |||
159 | // (we only want it done once, so it can't go in initforscreen) | 159 | // (we only want it done once, so it can't go in initforscreen) |
160 | 160 | ||
161 | screen.addConfigMenu("Toolbar", m_toolbarmenu); | 161 | screen.addConfigMenu("Toolbar", m_toolbarmenu); |
162 | enableUpdate(); | ||
162 | } | 163 | } |
163 | 164 | ||
164 | void ToolbarHandler::setMode(ToolbarMode newmode, bool initialise) { | 165 | void ToolbarHandler::setMode(ToolbarMode newmode, bool initialise) { |
@@ -284,7 +285,7 @@ void ToolbarHandler::setupFrame(FluxboxWindow &win) { | |||
284 | case NONE: | 285 | case NONE: |
285 | break; | 286 | break; |
286 | case WORKSPACE: | 287 | case WORKSPACE: |
287 | if (win.workspaceNumber() == m_current_workspace) | 288 | if (win.workspaceNumber() == m_current_workspace) |
288 | m_toolbar->addIcon(&win); | 289 | m_toolbar->addIcon(&win); |
289 | break; | 290 | break; |
290 | case WORKSPACEICONS: | 291 | case WORKSPACEICONS: |