[the-board] [ui] Always update active toolbar when active thing changes
- From: Lucas Almeida Rocha <lucasr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [the-board] [ui] Always update active toolbar when active thing changes
- Date: Mon, 8 Nov 2010 22:27:49 +0000 (UTC)
commit 39e27580f7bd088925140e4b2e5997b5758c33ff
Author: Lucas Rocha <lucasr gnome org>
Date: Mon Nov 8 22:27:20 2010 +0000
[ui] Always update active toolbar when active thing changes
src/js/ui/mainWindow.js | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/src/js/ui/mainWindow.js b/src/js/ui/mainWindow.js
index d0abb8b..7878dd2 100644
--- a/src/js/ui/mainWindow.js
+++ b/src/js/ui/mainWindow.js
@@ -407,12 +407,7 @@ MainWindow.prototype = {
},
_updateThingToolbar : function() {
- let newThingToolbar =
- this._createThingToolbar();
-
- if (this._thingToolbar == newThingToolbar) {
- return;
- }
+ let newThingToolbar = this._createThingToolbar();
this._thingToolbar = newThingToolbar;
this._updateActiveToolbar();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]