Skip to content

Commit

Permalink
Rename columns of the torrent table.
Browse files Browse the repository at this point in the history
  • Loading branch information
arcusfelis committed Apr 10, 2013
1 parent 320a7c6 commit 93e5e89
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
4 changes: 3 additions & 1 deletion q_src/class/cascadae/BasicTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,10 @@ qx.Class.define("cascadae.BasicTable",

_applyActive : function(value, old, name) {
if (value && this.__dirty)
{
this.updateFilters();
this.__dirty = false;
this.__dirty = false;
}

this.info("Activate peer table " + value);
if (this.__virgin)
Expand Down
4 changes: 1 addition & 3 deletions q_src/class/cascadae/Container.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ qx.Class.define("cascadae.Container",
// If table.torrentId will changed, than __filesTree.torrentId will be
// changed too.
this.__table.bind("torrentId", this.__filesTree, "torrentId");
this.__filesTree.setTorrentId(this.__table.getTorrentId());

this.__wishesList = new cascadae.wishlist.List();
qx.event.Timer.once(this._initViews6, this, 300);
Expand Down Expand Up @@ -549,14 +550,11 @@ qx.Class.define("cascadae.Container",
this.__table.focus();
}

var f = function() {
this.__filesTree.setActive(isFileViewEnabled);
this.__wishesList.setActive(isWishViewEnabled);
this.__peersTable.setActive(isPeerViewEnabled);
this.__trackersTable.setActive(isTrackerViewEnabled);
this.__logTable.setActive(isLogViewEnabled);
}
qx.event.Timer.once(f, this, 30);
},

__focusedWidget: null,
Expand Down
6 changes: 3 additions & 3 deletions q_src/class/cascadae/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ qx.Class.define("cascadae.Header",
this.setLayout(new qx.ui.layout.HBox);
this.setAppearance("app-header");

var title = new qx.ui.basic.Label("Rhyacotriton");
var title = new qx.ui.basic.Label("ETorrent");
var version = new qx.ui.basic.Label("0.1");
version.setFont("default");
// version.setFont("default");

this.add(title);
this.add(new qx.ui.core.Spacer, { flex : 1 });
this.add(version);
}
});
});
4 changes: 2 additions & 2 deletions q_src/class/cascadae/Table.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ qx.Class.define("cascadae.Table",
"progress" : this.tr("Progress"),
"rating" : this.tr("Rating"),
"online" : this.tr("On-line"),
"seeders" : this.tr("Ss"),
"leechers" : this.tr("Ls"),
"seeders" : this.tr("Seeders"),
"leechers" : this.tr("Leechers"),
"state" : this.tr("State"),
"downloaded" : this.tr("In Now"),
"uploaded" : this.tr("Out Now"),
Expand Down
4 changes: 3 additions & 1 deletion q_src/class/cascadae/files/Tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,10 @@ qx.Class.define("cascadae.files.Tree",

_applyActive : function(value, old, name) {
if (value && this.__dirty)
{
this.updateData();
this.__dirty = false;
this.__dirty = false;
}
},


Expand Down

0 comments on commit 93e5e89

Please sign in to comment.