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


Commits:
c1dbaa43 by Philipp Hörist at 2024-10-20T11:30:13+02:00
fix: Start chat: fix join page

- - - - -


2 changed files:

- gajim/data/gui/start_chat_dialog.ui
- gajim/gtk/start_chat.py


Changes:

=====================================
gajim/data/gui/start_chat_dialog.ui
=====================================
@@ -230,8 +230,19 @@
             </child>
             <child>
               <object class="GtkBox">
+                <child>
+                  <object class="GtkButton" id="info_back_button">
+                    <property name="label" translatable="1">_Back</property>
+                    <property name="focusable">1</property>
+                    <property name="receives-default">1</property>
+                    <property name="halign">start</property>
+                    <property name="use-underline">1</property>
+                  </object>
+                </child>
                 <child>
                   <object class="GtkBox" id="join_box">
+                    <property name="halign">end</property>
+                    <property name="hexpand">true</property>
                     <child>
                       <placeholder/>
                     </child>
@@ -252,15 +263,6 @@
                     </style>
                   </object>
                 </child>
-                <child>
-                  <object class="GtkButton" id="info_back_button">
-                    <property name="label" translatable="1">_Back</property>
-                    <property name="focusable">1</property>
-                    <property name="receives-default">1</property>
-                    <property name="halign">start</property>
-                    <property name="use-underline">1</property>
-                  </object>
-                </child>
               </object>
             </child>
             <style>


=====================================
gajim/gtk/start_chat.py
=====================================
@@ -92,7 +92,7 @@ def __init__(self,
         self.set_child(self._ui.stack)
 
         self._nick_chooser = NickChooser()
-        self._ui.join_box.append(self._nick_chooser)
+        self._ui.join_box.prepend(self._nick_chooser)
 
         self._search_is_valid_jid = False
 
@@ -144,7 +144,7 @@ def __init__(self,
         self._ui.global_scrolled.set_child(self._global_search_view)
 
         self._muc_info_box = GroupChatInfoScrolled()
-        self._ui.info_box.append(self._muc_info_box)
+        self._ui.info_box.prepend(self._muc_info_box)
 
         
self._ui.infobar.set_reveal_child(app.settings.get('show_help_start_chat'))
 



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

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