Look up images for user panes
This commit is contained in:
parent
0da52febeb
commit
8e6be490c6
|
@ -231,6 +231,7 @@ class GetUserInfo(ApiThread):
|
|||
except (HTTPError, URLError):
|
||||
verified = False
|
||||
|
||||
avcache.add_to_cache(user)
|
||||
|
||||
gtk.gdk.threads_enter()
|
||||
try:
|
||||
|
|
|
@ -259,6 +259,7 @@ class TweetBox(gtk.HBox):
|
|||
if not self.is_user:
|
||||
self.avatar = gtk.Image()
|
||||
self.avatar.set_alignment(0.0, 0.0)
|
||||
self.avatar.set_padding(5, 5)
|
||||
self.pack_start(self.avatar, expand=False, fill=False)
|
||||
self.avatar.hide()
|
||||
|
||||
|
@ -480,6 +481,7 @@ class UserBox(gtk.VBox):
|
|||
def init_widgets(self):
|
||||
self.name_label = gtk.Label()
|
||||
self.avatar = gtk.Image()
|
||||
self.avatar.set_padding(5, 5)
|
||||
self.follow_button = gtk.Button()
|
||||
at_button = gtk.Button('@')
|
||||
self.follow_label = gtk.Label('You are following this user')
|
||||
|
|
Reference in New Issue
Block a user