Philipp Hörist pushed to branch master at gajim / gajim


Commits:
c1dd6a04 by Daniel Brötzmann at 2019-05-22T19:48:40Z
StartChatDialog: Fix filter error and add dim-label for jid

- - - - -


1 changed file:

- gajim/gtk/start_chat.py


Changes:

=====================================
gajim/gtk/start_chat.py
=====================================
@@ -242,6 +242,9 @@ class StartChatDialog(Gtk.ApplicationWindow):
 
     def _select_new_match(self, entry, direction):
         selected_row = self.listbox.get_selected_row()
+        if selected_row is None:
+            return
+
         index = selected_row.get_index()
 
         if direction == 'next':
@@ -440,6 +443,7 @@ class ContactRow(Gtk.Grid):
         self.jid_label.set_xalign(0)
         self.jid_label.set_width_chars(25)
         self.jid_label.set_halign(Gtk.Align.START)
+        self.jid_label.get_style_context().add_class('dim-label')
         middle_box.add(self.jid_label)
 
         self.add(middle_box)



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/c1dd6a045d1417fd3d9fe581eedf7a2246f81dc9

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/c1dd6a045d1417fd3d9fe581eedf7a2246f81dc9
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