summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-09-15 20:19:36 (GMT)
committerfluxgen <fluxgen>2003-09-15 20:19:36 (GMT)
commit3e615b15deeaa453b00f5c734eef04a0e4e94361 (patch)
tree10a0385be4e9d96c1d8d6f023a12da2083267b9d /src
parent4ca7cc7b94379faa73bc2cbb70794fa2a86d248f (diff)
downloadfluxbox_lack-3e615b15deeaa453b00f5c734eef04a0e4e94361.zip
fluxbox_lack-3e615b15deeaa453b00f5c734eef04a0e4e94361.tar.bz2
fixed mode NONE bug
Diffstat (limited to 'src')
-rw-r--r--src/IconbarTool.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc
index 7cd7b8e..a5cd936 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.11 2003/09/10 11:17:53 fluxgen Exp $ 23// $Id: IconbarTool.cc,v 1.12 2003/09/15 20:19:36 fluxgen Exp $
24 24
25#include "IconbarTool.hh" 25#include "IconbarTool.hh"
26 26
@@ -194,7 +194,6 @@ IconbarTool::IconbarTool(const FbTk::FbWindow &parent, IconbarTheme &theme, BScr
194 screen.currentWorkspaceSig().attach(this); 194 screen.currentWorkspaceSig().attach(this);
195 195
196 update(0); 196 update(0);
197
198} 197}
199 198
200IconbarTool::~IconbarTool() { 199IconbarTool::~IconbarTool() {
@@ -287,7 +286,7 @@ void IconbarTool::update(FbTk::Subject *subj) {
287 return; 286 return;
288 287
289 if (mode() == NONE) { 288 if (mode() == NONE) {
290 if (typeid(*subj) == typeid(FbTk::Theme)) 289 if (subj != 0 && typeid(*subj) == typeid(IconbarTheme))
291 renderTheme(); 290 renderTheme();
292 291
293 return; 292 return;