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


Commits:
266ac36c by Philipp Hörist at 2024-10-29T18:01:08+01:00
refactor: Fix closing chats

- - - - -


2 changed files:

- gajim/data/gui/chat_list_row.ui
- gajim/gtk/chat_list_row.py


Changes:

=====================================
gajim/data/gui/chat_list_row.ui
=====================================
@@ -143,8 +143,6 @@
             <property name="child">
               <object class="GtkButton" id="close_button">
                 <property name="visible">0</property>
-                <property name="focusable">1</property>
-                <property name="receives-default">1</property>
                 <property name="valign">center</property>
                 <property name="margin-end">6</property>
                 <child>


=====================================
gajim/gtk/chat_list_row.py
=====================================
@@ -441,10 +441,10 @@ def _on_state_flags_changed(self,
         state = self.get_state_flags()
         if (state & Gtk.StateFlags.PRELIGHT) != 0:
             self._ui.revealer.set_reveal_child(True)
-            self._ui.close_button.show()
+            # self._ui.close_button.show()
         else:
             self._ui.revealer.set_reveal_child(False)
-            self._ui.close_button.hide()
+            # self._ui.close_button.hide()
 
     def do_unroot(self) -> None:
         Gtk.ListBoxRow.do_unroot(self)



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/266ac36c6e42ece160bb9185c2ebbd82f110ba38

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/266ac36c6e42ece160bb9185c2ebbd82f110ba38
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to