Daniel Brötzmann pushed to branch newcontrol at gajim / gajim
Commits: febccf9f by wurstsalat at 2022-07-12T18:00:49+02:00 ChatActionProcessor: Rename process_outgoing_message - - - - - 3 changed files: - gajim/gtk/chat_action_processor.py - gajim/gtk/controls/groupchat.py - gajim/gtk/message_input.py Changes: ===================================== gajim/gtk/chat_action_processor.py ===================================== @@ -327,9 +327,6 @@ def _item_has_focus(item: Gtk.ModelButton) -> bool: flags = item.get_state_flags() return 'GTK_STATE_FLAG_FOCUSED' in str(flags) - def process_outgoing_message(self, - contact_name: str, - highlight: bool - ) -> None: + def process_message(self, contact_name: str, highlight: bool) -> None: if isinstance(self._contact, GroupchatContact): self._nick_completion.process_message(contact_name, highlight) ===================================== gajim/gtk/controls/groupchat.py ===================================== @@ -350,7 +350,7 @@ def add_message(self, text, self.contact.nickname, self._client.get_own_jid().bare) # TODO - # self.msg_textview.process_outgoing_message(contact, highlight) + # self.msg_textview.process_message(contact, highlight) BaseControl.add_message(self, text, ===================================== gajim/gtk/message_input.py ===================================== @@ -336,12 +336,8 @@ def undo(self, *args: Any) -> None: buf.set_text(self._undo_list.pop()) self.undo_pressed = True - def process_outgoing_message(self, - contact_name: str, - highlight: bool - ) -> None: - self._chat_action_processor.process_outgoing_message( - contact_name, highlight) + def process_message(self, contact_name: str, highlight: bool) -> None: + self._chat_action_processor.process_message(contact_name, highlight) def _on_populate_popup(self, _textview: MessageInputTextView, View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/febccf9f8f813667a2062fc9b22eea4a3673fe11 -- View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/febccf9f8f813667a2062fc9b22eea4a3673fe11 You're receiving this email because of your account on dev.gajim.org.
_______________________________________________ Commits mailing list Commits@gajim.org https://lists.gajim.org/cgi-bin/listinfo/commits