Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
f4f1aa7d by wurstsalat at 2023-03-30T15:02:28+02:00
fix: Message input: Fix height for single line messages
- - - - -
1 changed file:
- gajim/data/gui/message_actions_box.ui
Changes:
=====================================
gajim/data/gui/message_actions_box.ui
=====================================
@@ -229,6 +229,7 @@
<property name="overlay-scrolling">False</property>
<property name="max-content-height">100</property>
<property name="propagate-natural-height">True</property>
+ <property name="hscrollbar-policy">GTK_POLICY_EXTERNAL</property>
<child>
<placeholder/>
</child>
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/f4f1aa7db3d01c3e86711823753c1bae…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/f4f1aa7db3d01c3e86711823753c1bae…
You're receiving this email because of your account on dev.gajim.org.
Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
2a1bad9b by wurstsalat at 2023-03-29T23:03:58+02:00
fix: Update message merged state after deleting a message
Fixes #11438
- - - - -
1 changed file:
- gajim/gtk/conversation/view.py
Changes:
=====================================
gajim/gtk/conversation/view.py
=====================================
@@ -666,8 +666,17 @@ def _reduce_messages_after(self) -> None:
def remove_message(self, log_line_id: int) -> None:
row = self.get_row_by_log_line_id(log_line_id)
- if row is not None:
- row.destroy()
+ if row is None:
+ return
+
+ index = row.get_index()
+ row.destroy()
+ decendant_row = self._list_box.get_row_at_index(index)
+ if isinstance(decendant_row, MessageRow):
+ # Unset possible merged state if we delete a 'top level' message.
+ # Checks for same sender etc. are not necessary, since we simply
+ # unset merged state.
+ decendant_row.set_merged(False)
def scroll_to_message_and_highlight(self, log_line_id: int) -> None:
highlight_row = None
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/2a1bad9b5162ae40fa18913151206b28…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/2a1bad9b5162ae40fa18913151206b28…
You're receiving this email because of your account on dev.gajim.org.