fixed mode NONE bug
fluxgen fluxgen
1 files changed,
2 insertions(+),
3 deletions(-)
jump to
M
src/IconbarTool.cc
→
src/IconbarTool.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: IconbarTool.cc,v 1.11 2003/09/10 11:17:53 fluxgen Exp $ +// $Id: IconbarTool.cc,v 1.12 2003/09/15 20:19:36 fluxgen Exp $ #include "IconbarTool.hh"@@ -194,7 +194,6 @@ screen.iconListSig().attach(this);
screen.currentWorkspaceSig().attach(this); update(0); - } IconbarTool::~IconbarTool() {@@ -287,7 +286,7 @@ if (m_screen.isShuttingdown())
return; if (mode() == NONE) { - if (typeid(*subj) == typeid(FbTk::Theme)) + if (subj != 0 && typeid(*subj) == typeid(IconbarTheme)) renderTheme(); return;