opening only one single instance of the application and adding the possibility to send messages to it

This commit is contained in:
jeena 2013-04-28 00:28:50 +02:00
parent cbfe445ed6
commit 4ba0f38708
3 changed files with 136 additions and 14 deletions

View file

@ -442,6 +442,9 @@ class NewPost(Helper.RestorableWindow):
def toggleIsPrivate(self):
self.setIsPrivate(not self.isPrivate)
def setString(self, string):
self.inReplyToStatusIdWithString(None, None, string)
def inReplyToStatusIdWithString(self, reply_to, status_id, string):
self.reply_to_entity = reply_to
self.status_id = status_id