opening only one single instance of the application and adding the possibility to send messages to it
This commit is contained in:
parent
cbfe445ed6
commit
4ba0f38708
3 changed files with 136 additions and 14 deletions
|
@ -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
|
||||
|
|
Reference in a new issue