Skip to content

Commit

Permalink
need to destroy the window box on disable. Fixes #8.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathematicalcoffee committed Nov 11, 2012
1 parent e299eb1 commit 890ae4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions window_buttons@biox.github.com/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -701,8 +701,8 @@ WindowButtons.prototype = {
},

disable: function () {
this._leftContainer.remove_actor(this.leftActor);
this._rightContainer.remove_actor(this.rightActor);
this.leftActor.destroy();
this.rightActor.destroy();

/* disconnect all signals */
this._settings = null;
Expand Down

0 comments on commit 890ae4f

Please sign in to comment.