Fixed up status class, allow urls to partially work
This commit is contained in:
parent
66fb5b3dc6
commit
d4fc2faf78
|
@ -340,11 +340,10 @@ class TweetBox(gtk.VBox):
|
||||||
# Apparently, this must wait until pygtk 2.18
|
# Apparently, this must wait until pygtk 2.18
|
||||||
|
|
||||||
|
|
||||||
def on_url_clicked(self, widget):
|
def on_url_clicked(self, widget, event):
|
||||||
# fixme: we're catching this signal just to debug why it doesn't get emitted
|
# fixme: we're catching this signal just to debug why it doesn't get emitted
|
||||||
# seems to be related to EventBox?
|
# seems to be related to EventBox?
|
||||||
print 'debug: on_url_clicked()'
|
print 'debug: on_url_clicked()'
|
||||||
return True
|
|
||||||
|
|
||||||
|
|
||||||
# end class TweetBox
|
# end class TweetBox
|
||||||
|
@ -437,6 +436,8 @@ class Status():
|
||||||
self.user = User()
|
self.user = User()
|
||||||
self.id = None
|
self.id = None
|
||||||
self.created_at = None
|
self.created_at = None
|
||||||
|
self.in_reply_to_screen_name = None
|
||||||
|
self.in_reply_to_status_id = None
|
||||||
|
|
||||||
class User():
|
class User():
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|
Reference in New Issue
Block a user