diff --git a/src/Conf.defaults b/src/Conf.defaults index 41d3fb5d..4d0e65da 100644 --- a/src/Conf.defaults +++ b/src/Conf.defaults @@ -39,3 +39,4 @@ spelling_language = string(default="") save_followers_in_autocompletion_db = boolean(default=False) save_friends_in_autocompletion_db = boolean(default=False) twishort_enabled = boolean(default=False) +mention_all = boolean(default=True) \ No newline at end of file diff --git a/src/controller/buffersController.py b/src/controller/buffersController.py index 72b17e61..f73b5f88 100644 --- a/src/controller/buffersController.py +++ b/src/controller/buffersController.py @@ -483,6 +483,7 @@ class baseBufferController(bufferController): message = messages.reply(self.session, _(u"Reply"), _(u"Reply to %s") % (screen_name,), "", twishort_enabled=self.session.settings["mysc"]["twishort_enabled"], users=users) if message.message.get_response() == widgetUtils.OK: self.session.settings["mysc"]["twishort_enabled"] = message.message.long_tweet.GetValue() + self.session.settings["mysc"]["mention_all"] = message.message.mentionAll.GetValue() text = message.message.get_text() if message.message.mentionAll.GetValue() == False: text = u"@{0} {1}".format(screen_name, text) diff --git a/src/controller/messages.py b/src/controller/messages.py index 7c2182a8..9c79a4b7 100644 --- a/src/controller/messages.py +++ b/src/controller/messages.py @@ -151,7 +151,7 @@ class reply(tweet): if len(users) > 1: # widgetUtils.connect_event(self.message.mentionAll, widgetUtils.CHECKBOX, self.mention_all) self.message.enable_button("mentionAll") - self.message.mentionAll.SetValue(False) + self.message.mentionAll.SetValue(self.session.settings["mysc"]["mention_all"]) self.message.set_cursor_at_end() self.text_processor()