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


Commits:
a8cca20c by cal0pteryx at 2026-04-04T18:36:38+02:00
imprv: Chat list: Make close button circular

- - - - -
3ae5ead8 by cal0pteryx at 2026-04-04T18:44:42+02:00
fix: Activity feed: Hide workspace settings button

- - - - -


4 changed files:

- gajim/data/gui/chat_list_header.ui
- gajim/data/gui/chat_list_row.ui
- gajim/gtk/builder.pyi
- gajim/gtk/chat_list_header.py


Changes:

=====================================
gajim/data/gui/chat_list_header.ui
=====================================
@@ -19,7 +19,7 @@
           </object>
         </child>
         <child>
-          <object class="GtkButton">
+          <object class="GtkButton" id="_workspace_settings_button">
             <property name="tooltip-text" translatable="yes">Workspace 
settings…</property>
             <property name="valign">center</property>
             <property name="action-name">win.edit-workspace</property>


=====================================
gajim/data/gui/chat_list_row.ui
=====================================
@@ -136,6 +136,9 @@
                 <property name="visible">1</property>
                 <property name="valign">center</property>
                 <property name="margin-end">6</property>
+                <style>
+                  <class name="circular" />
+                </style>
                 <child>
                   <object class="GtkImage">
                     <property name="icon-name">lucide-x-symbolic</property>


=====================================
gajim/gtk/builder.pyi
=====================================
@@ -22,9 +22,8 @@ class ActivityChangeTimezoneBuilder(Builder):
     change_timezone_page: Gtk.Box
     old_timezone_label: Gtk.Label
     new_timezone_label: Gtk.Label
-    update_button: Gtk.Button
     ignore_button: Gtk.Button
-    ask_button: Gtk.CheckButton
+    update_button: Gtk.Button
 
 class ActivityDefaultBuilder(Builder):
     default_page: Gtk.Box


=====================================
gajim/gtk/chat_list_header.py
=====================================
@@ -18,6 +18,7 @@ class ChatListHeader(Gtk.Grid):
     __gtype_name__ = "ChatListHeader"
 
     _header_bar_label: Gtk.Label = Gtk.Template.Child()
+    _workspace_settings_button: Gtk.Button = Gtk.Template.Child()
     _chat_page_header: Gtk.Box = Gtk.Template.Child()
     _search_entry: Gtk.SearchEntry = Gtk.Template.Child()
     _chat_filter: ChatFilter = Gtk.Template.Child()
@@ -41,6 +42,7 @@ def set_header_mode(self, mode: Literal["chat", "activity"]) 
-> None:
         is_chat = mode == "chat"
         self._start_chat_menu_button.set_visible(is_chat)
         self._chat_filter.set_visible(is_chat)
+        self._workspace_settings_button.set_visible(is_chat)
 
         if is_chat:
             self._search_entry.set_text("")



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/compare/f158d84089aebcedfde7e77ac8cff1833c5585e1...3ae5ead876cde23c9b5d6cb87e866c267325d5c7

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/compare/f158d84089aebcedfde7e77ac8cff1833c5585e1...3ae5ead876cde23c9b5d6cb87e866c267325d5c7
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