Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GuiDBTuples credit mining removal #2398

Merged
merged 4 commits into from
Oct 19, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Refactor GUI to cope with GUIDBTuples removal
  • Loading branch information
ardhipoetra committed Oct 18, 2016
commit 1e20d3747f02de8c5099e817931b97da1459fe67
6 changes: 3 additions & 3 deletions Tribler/Main/vwxGUI/CreditMiningPanel.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,9 +382,9 @@ def show_source_info(self, data):

self.source_label.SetLabel("Source : Channel (stored)")
self.source_name.SetLabel("Name : " + data.get_source_text())
self.torrent_num.SetLabel("# Torrents : " + str(data.channel.nr_torrents))
self.last_updt.SetLabel("Latest update : " + format_time(data.channel.modified))
self.votes_num.SetLabel('Favorite votes : ' + str(data.channel.nr_favorites))
self.torrent_num.SetLabel("# Torrents : " + str(data.channel_dict[4]))
self.last_updt.SetLabel("Latest update : " + format_time(data.channel_dict[8]))
self.votes_num.SetLabel('Favorite votes : ' + str(data.channel_dict[5]))
self.status_cm.SetLabel("Active" if data.enabled else "Inactive")

debug_str = hexlify(data.source)
Expand Down