Update the country flag properly.

This commit is contained in:
Andrew Resch 2008-04-16 02:55:45 +00:00
parent 1557679259
commit 770e0a0db6
1 changed files with 1 additions and 0 deletions

View File

@ -252,6 +252,7 @@ class PeersTab:
self.liststore.set_value(row, 4, peer["up_speed"]) self.liststore.set_value(row, 4, peer["up_speed"])
if peer["country"] != values[2]: if peer["country"] != values[2]:
self.liststore.set_value(row, 5, peer["country"]) self.liststore.set_value(row, 5, peer["country"])
self.liststore.set_value(row, 0, self.get_flag_pixbuf(peer["country"]))
if peer["seed"]: if peer["seed"]:
icon = self.seed_pixbuf icon = self.seed_pixbuf
else: else: