aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRael <rael.gc@gmail.com>2015-10-14 22:09:33 -0300
committerRael <rael.gc@gmail.com>2015-10-14 22:09:33 -0300
commitd84b83d54da5aa3f705e0093ea0f1d1692f52d46 (patch)
tree57863562511dc5c1accda0d695b5505224709297
parent9f11b54084983a2d7a6dc2dc90ec1eedbb534356 (diff)
downloadscudcloud-d84b83d54da5aa3f705e0093ea0f1d1692f52d46.zip
scudcloud-d84b83d54da5aa3f705e0093ea0f1d1692f52d46.tar.gz
scudcloud-d84b83d54da5aa3f705e0093ea0f1d1692f52d46.tar.bz2
Using team icons from smaller resolution
-rwxr-xr-xscudcloud-1.0/lib/scudcloud.py2
-rw-r--r--scudcloud-1.0/scudcloud-src.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/scudcloud-1.0/lib/scudcloud.py b/scudcloud-1.0/lib/scudcloud.py
index 888fb4e..c037afc 100755
--- a/scudcloud-1.0/lib/scudcloud.py
+++ b/scudcloud-1.0/lib/scudcloud.py
@@ -274,7 +274,7 @@ class ScudCloud(QtGui.QMainWindow):
for t in teams:
# If team_icon is not present, it's because team is already connected
if 'team_icon' in t:
- self.leftPane.addTeam(t['id'], t['team_name'], t['team_url'], t['team_icon']['image_88'], t == teams[0])
+ self.leftPane.addTeam(t['id'], t['team_name'], t['team_url'], t['team_icon']['image_44'], t == teams[0])
if len(teams) > 1:
self.leftPane.show()
diff --git a/scudcloud-1.0/scudcloud-src.js b/scudcloud-1.0/scudcloud-src.js
index faef081..3e3cd54 100644
--- a/scudcloud-1.0/scudcloud-src.js
+++ b/scudcloud-1.0/scudcloud-src.js
@@ -17,7 +17,7 @@ var ScudCloud = {
},
connect: function(b){
desktop.enableMenus(b);
- if(b) desktop.populate(JSON.stringify({'channels': ScudCloud.listChannels(), 'teams': ScudCloud.listTeams(), 'icon': TS.model.team.icon.image_88}));
+ if(b) desktop.populate(JSON.stringify({'channels': ScudCloud.listChannels(), 'teams': ScudCloud.listTeams(), 'icon': TS.model.team.icon.image_44}));
},
count: function(){
var total=0;
@@ -35,7 +35,7 @@ var ScudCloud = {
listTeams: function(){
var list = TS.getAllTeams();
// Fix for current team displaying no icon
- list[0].team_icon = {"image_88":TS.model.team.icon.image_88};
+ list[0].team_icon = {"image_44":TS.model.team.icon.image_44};
return list;
},
quicklist: function(){