Daniel Brötzmann pushed to branch mainwindow at gajim / gajim


Commits:
a8033bcb by wurstsalat at 2021-05-01T15:51:13+02:00
GroupchatState: Improve layout

- - - - -
4fe81319 by wurstsalat at 2021-05-01T16:34:30+02:00
ChatRow: Fix newlines in last message

- - - - -


2 changed files:

- gajim/data/gui/groupchat_state.ui
- gajim/gtk/chat_list.py


Changes:

=====================================
gajim/data/gui/groupchat_state.ui
=====================================
@@ -40,6 +40,7 @@
           <packing>
             <property name="expand">False</property>
             <property name="fill">True</property>
+            <property name="pack-type">end</property>
             <property name="position">2</property>
           </packing>
         </child>
@@ -89,6 +90,7 @@
           <packing>
             <property name="expand">False</property>
             <property name="fill">True</property>
+            <property name="pack-type">end</property>
             <property name="position">2</property>
           </packing>
         </child>


=====================================
gajim/gtk/chat_list.py
=====================================
@@ -484,7 +484,7 @@ def reset_unread(self):
         self.unread_count = 0
 
     def set_last_message_text(self, nickname, text):
-        self._ui.message_label.set_text(text)
+        self._ui.message_label.set_text(text.replace('\n', ' '))
         self._ui.nick_label.set_visible(bool(nickname))
         self._ui.nick_label.set_text(nickname)
 



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/compare/a01126c2b2345d1bd99519d7ca8b55053cc231ef...4fe813197620acea18b8a70ad4f3a493c51d81ab

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/compare/a01126c2b2345d1bd99519d7ca8b55053cc231ef...4fe813197620acea18b8a70ad4f3a493c51d81ab
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to