From 8e6be490c6d88c07dd8f43cfa632613e707207e2 Mon Sep 17 00:00:00 2001 From: Anna Date: Thu, 20 May 2010 00:39:53 -0400 Subject: [PATCH] Look up images for user panes --- apithreads.py | 1 + twitterwidgets.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/apithreads.py b/apithreads.py index 188fdfe..13e0bc5 100644 --- a/apithreads.py +++ b/apithreads.py @@ -231,6 +231,7 @@ class GetUserInfo(ApiThread): except (HTTPError, URLError): verified = False + avcache.add_to_cache(user) gtk.gdk.threads_enter() try: diff --git a/twitterwidgets.py b/twitterwidgets.py index 68cd436..492846e 100644 --- a/twitterwidgets.py +++ b/twitterwidgets.py @@ -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')