Merge branch 'master' of github.com:pwiggi/mytwitter
This commit is contained in:
commit
38f27fff96
|
@ -409,35 +409,42 @@ class TweetBox(gtk.HBox):
|
||||||
def on_reply_clicked(self, widget):
|
def on_reply_clicked(self, widget):
|
||||||
self.set_read()
|
self.set_read()
|
||||||
self.emit('reply')
|
self.emit('reply')
|
||||||
|
self.emit('tweet-read')
|
||||||
|
|
||||||
|
|
||||||
def on_retweet_clicked(self, widget):
|
def on_retweet_clicked(self, widget):
|
||||||
self.set_read()
|
self.set_read()
|
||||||
self.emit('retweet')
|
self.emit('retweet')
|
||||||
|
self.emit('tweet-read')
|
||||||
|
|
||||||
|
|
||||||
def on_in_reply_to_clicked(self, widget):
|
def on_in_reply_to_clicked(self, widget):
|
||||||
self.set_read()
|
self.set_read()
|
||||||
self.emit('in-reply-to', {'id': self.in_reply_to_id, 'name': self.in_reply_to_screen_name})
|
self.emit('in-reply-to', {'id': self.in_reply_to_id, 'name': self.in_reply_to_screen_name})
|
||||||
|
self.emit('tweet-read')
|
||||||
|
|
||||||
|
|
||||||
def on_conversation_clicked(self, widget):
|
def on_conversation_clicked(self, widget):
|
||||||
self.set_read()
|
self.set_read()
|
||||||
self.emit('conversation', {'id': self.id, 'name': 'conversation'})
|
self.emit('conversation', {'id': self.id, 'name': 'conversation'})
|
||||||
|
self.emit('tweet-read')
|
||||||
|
|
||||||
|
|
||||||
def on_user_clicked(self, widget):
|
def on_user_clicked(self, widget):
|
||||||
self.set_read()
|
self.set_read()
|
||||||
self.emit('show-user', self.screen_name)
|
self.emit('show-user', self.screen_name)
|
||||||
|
self.emit('tweet-read')
|
||||||
|
|
||||||
|
|
||||||
def on_mouse_clicked(self, widget, event):
|
def on_mouse_clicked(self, widget, event):
|
||||||
if event.button == 1:
|
if event.button == 1:
|
||||||
self.set_read(True)
|
self.set_read(True)
|
||||||
|
self.emit('tweet-read')
|
||||||
|
|
||||||
|
|
||||||
def on_url_clicked(self, widget, uri):
|
def on_url_clicked(self, widget, uri):
|
||||||
self.set_read()
|
self.set_read()
|
||||||
|
self.emit('tweet-read')
|
||||||
if re.match(r'@', uri):
|
if re.match(r'@', uri):
|
||||||
self.emit('show-user', re.sub(r'@', '', uri))
|
self.emit('show-user', re.sub(r'@', '', uri))
|
||||||
return True
|
return True
|
||||||
|
|
Reference in New Issue
Block a user