Skip to content

Commit

Permalink
Refactor GUI to cope with GUIDBTuples removal
Browse files Browse the repository at this point in the history
  • Loading branch information
ardhipoetra committed Jul 2, 2016
1 parent 51c4377 commit a30122d
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit a30122d

Please sign in to comment.