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


Commits:
cfecc616 by Philipp Hörist at 2025-06-17T21:06:47+02:00
change: Menu: Add dedicated preference button

- - - - -


2 changed files:

- gajim/data/gui/main.ui
- gajim/gtk/menus.py


Changes:

=====================================
gajim/data/gui/main.ui
=====================================
@@ -130,6 +130,23 @@
                     </style>
                   </object>
                 </child>
+                <child>
+                  <object class="GtkButton">
+                    <property name="focusable">true</property>
+                    <property name="tooltip-text" 
translatable="yes">Preferences</property>
+                    <property name="halign">3</property>
+                    <property name="action-name">app.preferences</property>
+                    <child>
+                      <object class="GtkImage">
+                        <property 
name="icon-name">preferences-system-symbolic</property>
+                        <property name="pixel-size">28</property>
+                      </object>
+                    </child>
+                    <style>
+                      <class name="flat"/>
+                    </style>
+                  </object>
+                </child>
                 <child>
                   <object class="GtkBox" id="account_box">
                     <property name="valign">2</property>


=====================================
gajim/gtk/menus.py
=====================================
@@ -104,7 +104,6 @@ def get_main_menu() -> GajimMenu:
         (_("_Start / Join Chat…"), "app.start-chat", GLib.Variant("as", ["", 
""])),
         (_("Create _Group Chat…"), "app.create-groupchat", GLib.Variant("s", 
"")),
         (_("Pl_ugins"), "app.plugins", None),
-        (_("_Preferences"), "app.preferences", None),
         (_("_Quit"), "app.quit", None),
     ]
     main_menu.append_submenu("_Gajim", GajimMenu.from_list(gajim_menu_items))



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

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