[fractal] room_settings: Remove manual viewport



commit 68adb31aeb70ed4ce583f3b133b216ae392a16e6
Author: Christopher Davis <brainblasted disroot org>
Date:   Sat Oct 31 18:08:00 2020 -0700

    room_settings: Remove manual viewport
    
    ScrolledWindow will add a viewport for us.
    Since we don't need to set any extra properties,
    this is fine.

 fractal-gtk/res/ui/room_settings.ui | 1055 +++++++++++++++++------------------
 1 file changed, 524 insertions(+), 531 deletions(-)
---
diff --git a/fractal-gtk/res/ui/room_settings.ui b/fractal-gtk/res/ui/room_settings.ui
index 7cf0e5f2..2c454c39 100644
--- a/fractal-gtk/res/ui/room_settings.ui
+++ b/fractal-gtk/res/ui/room_settings.ui
@@ -41,424 +41,417 @@
         <property name="can_focus">True</property>
         <property name="hscrollbar_policy">never</property>
         <child>
-          <object class="GtkViewport">
+          <object class="GtkStack" id="room_settings_stack">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
-            <property name="shadow_type">none</property>
+            <property name="margin">18</property>
             <child>
-              <object class="GtkStack" id="room_settings_stack">
+              <object class="HdyClamp">
                 <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="margin">18</property>
+                <property name="maximum_size">600</property>
+                <property name="tightening_threshold">600</property>
                 <child>
-                  <object class="HdyClamp">
+                  <object class="GtkBox">
                     <property name="visible">True</property>
-                    <property name="maximum_size">600</property>
-                    <property name="tightening_threshold">600</property>
+                    <property name="can_focus">False</property>
+                    <property name="expand">true</property>
+                    <property name="orientation">vertical</property>
                     <child>
-                      <object class="GtkBox">
+                      <object class="GtkBox" id="room_settings_avatar_box">
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
-                        <property name="expand">true</property>
-                        <property name="orientation">vertical</property>
+                        <property name="receives_default">False</property>
+                        <property name="halign">center</property>
+                        <property name="margin_bottom">18</property>
                         <child>
-                          <object class="GtkBox" id="room_settings_avatar_box">
+                          <object class="GtkButton" id="room_settings_avatar_button">
                             <property name="visible">True</property>
-                            <property name="can_focus">False</property>
+                            <property name="can_focus">True</property>
                             <property name="receives_default">False</property>
                             <property name="halign">center</property>
                             <property name="margin_bottom">18</property>
                             <child>
-                              <object class="GtkButton" id="room_settings_avatar_button">
+                              <object class="GtkOverlay" id="room_settings_avatar_overlay">
                                 <property name="visible">True</property>
                                 <property name="can_focus">True</property>
-                                <property name="receives_default">False</property>
-                                <property name="halign">center</property>
-                                <property name="margin_bottom">18</property>
                                 <child>
-                                  <object class="GtkOverlay" id="room_settings_avatar_overlay">
+                                  <object class="GtkBox" id="room_settings_avatar">
                                     <property name="visible">True</property>
                                     <property name="can_focus">True</property>
-                                    <child>
-                                      <object class="GtkBox" id="room_settings_avatar">
-                                        <property name="visible">True</property>
-                                        <property name="can_focus">True</property>
-                                      </object>
-                                      <packing>
-                                        <property name="index">-1</property>
-                                      </packing>
-                                    </child>
-                                    <child type="overlay">
-                                      <object class="GtkSpinner" id="room_settings_avatar_spinner">
-                                        <property name="visible">True</property>
-                                        <property name="can_focus">False</property>
-                                        <property name="active">True</property>
-                                        <style>
-                                          <class name="spinner-background"/>
-                                        </style>
-                                      </object>
-                                      <packing>
-                                        <property name="pass_through">True</property>
-                                        <property name="index">1</property>
-                                      </packing>
-                                    </child>
                                   </object>
+                                  <packing>
+                                    <property name="index">-1</property>
+                                  </packing>
+                                </child>
+                                <child type="overlay">
+                                  <object class="GtkSpinner" id="room_settings_avatar_spinner">
+                                    <property name="visible">True</property>
+                                    <property name="can_focus">False</property>
+                                    <property name="active">True</property>
+                                    <style>
+                                      <class name="spinner-background"/>
+                                    </style>
+                                  </object>
+                                  <packing>
+                                    <property name="pass_through">True</property>
+                                    <property name="index">1</property>
+                                  </packing>
                                 </child>
                               </object>
                             </child>
                           </object>
                         </child>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkLabel" id="room_settings_room_name">
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="halign">center</property>
+                        <property name="margin_bottom">6</property>
+                        <property name="label" translatable="yes">Unknown</property>
+                        <property name="selectable">True</property>
+                        <style>
+                          <class name="room-settings-name"/>
+                        </style>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkBox" id="room_settings_room_name_box">
+                        <property name="visible">True</property>
+                        <property name="can_focus">False</property>
+                        <property name="hexpand">True</property>
+                        <property name="margin_bottom">6</property>
+                        <style>
+                          <class name="linked"/>
+                        </style>
                         <child>
-                          <object class="GtkLabel" id="room_settings_room_name">
+                          <object class="GtkEntry" id="room_settings_room_name_entry">
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
-                            <property name="halign">center</property>
-                            <property name="margin_bottom">6</property>
-                            <property name="label" translatable="yes">Unknown</property>
-                            <property name="selectable">True</property>
-                            <style>
-                              <class name="room-settings-name"/>
-                            </style>
+                            <property name="hexpand">True</property>
+                            <property name="placeholder-text" translatable="yes">Add name</property>
                           </object>
                         </child>
                         <child>
-                          <object class="GtkBox" id="room_settings_room_name_box">
-                            <property name="visible">True</property>
-                            <property name="can_focus">False</property>
-                            <property name="hexpand">True</property>
-                            <property name="margin_bottom">6</property>
-                            <style>
-                              <class name="linked"/>
-                            </style>
+                          <object class="GtkButton" id="room_settings_room_name_button">
+                            <property name="visible">False</property>
+                            <property name="can_focus">True</property>
                             <child>
-                              <object class="GtkEntry" id="room_settings_room_name_entry">
+                              <object class="GtkImage">
                                 <property name="visible">True</property>
-                                <property name="can_focus">True</property>
-                                <property name="hexpand">True</property>
-                                <property name="placeholder-text" translatable="yes">Add name</property>
-                              </object>
-                            </child>
-                            <child>
-                              <object class="GtkButton" id="room_settings_room_name_button">
-                                <property name="visible">False</property>
-                                <property name="can_focus">True</property>
-                                <child>
-                                  <object class="GtkImage">
-                                    <property name="visible">True</property>
-                                    <property name="can_focus">False</property>
-                                    <property name="icon_name">emblem-ok-symbolic</property>
-                                  </object>
-                                </child>
+                                <property name="can_focus">False</property>
+                                <property name="icon_name">emblem-ok-symbolic</property>
                               </object>
                             </child>
                           </object>
                         </child>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkLabel" id="room_settings_room_topic">
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="selectable">True</property>
+                        <property name="wrap">True</property>
+                        <property name="max-width-chars">50</property>
+                        <property name="halign">center</property>
+                        <property name="justify">center</property>
+                        <property name="label" translatable="yes">Add topic</property>
+                        <property name="margin_bottom">6</property>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkBox" id="room_settings_room_topic_box">
+                        <property name="visible">True</property>
+                        <property name="can_focus">false</property>
+                        <property name="hexpand">True</property>
+                        <property name="margin_top">12</property>
+                        <property name="margin_bottom">12</property>
+                        <style>
+                          <class name="linked"/>
+                        </style>
                         <child>
-                          <object class="GtkLabel" id="room_settings_room_topic">
+                          <object class="GtkEntry" id="room_settings_room_topic_entry">
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
-                            <property name="selectable">True</property>
-                            <property name="wrap">True</property>
-                            <property name="max-width-chars">50</property>
-                            <property name="halign">center</property>
-                            <property name="justify">center</property>
-                            <property name="label" translatable="yes">Add topic</property>
-                            <property name="margin_bottom">6</property>
+                            <property name="hexpand">True</property>
+                            <property name="placeholder-text" translatable="yes">Type in your room 
topic</property>
                           </object>
                         </child>
                         <child>
-                          <object class="GtkBox" id="room_settings_room_topic_box">
-                            <property name="visible">True</property>
-                            <property name="can_focus">false</property>
-                            <property name="hexpand">True</property>
-                            <property name="margin_top">12</property>
-                            <property name="margin_bottom">12</property>
-                            <style>
-                              <class name="linked"/>
-                            </style>
+                          <object class="GtkButton" id="room_settings_room_topic_button">
+                            <property name="visible">False</property>
+                            <property name="can_focus">True</property>
                             <child>
-                              <object class="GtkEntry" id="room_settings_room_topic_entry">
+                              <object class="GtkImage">
                                 <property name="visible">True</property>
-                                <property name="can_focus">True</property>
-                                <property name="hexpand">True</property>
-                                <property name="placeholder-text" translatable="yes">Type in your room 
topic</property>
+                                <property name="can_focus">False</property>
+                                <property name="icon_name">emblem-ok-symbolic</property>
                               </object>
                             </child>
+                          </object>
+                        </child>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkLabel" id="room_settings_room_description">
+                        <property name="visible">True</property>
+                        <property name="can_focus">False</property>
+                        <property name="halign">center</property>
+                        <property name="label" translatable="yes">No room description</property>
+                        <property name="margin_bottom">24</property>
+                        <style>
+                          <class name="dim-label"/>
+                        </style>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkListBox">
+                        <property name="visible">True</property>
+                        <property name="can_focus">False</property>
+                        <property name="margin_bottom">24</property>
+                        <child>
+                          <object class="GtkListBoxRow">
+                            <property name="visible">True</property>
+                            <property name="can_focus">False</property>
+                            <property name="activatable">False</property>
+                            <property name="selectable">False</property>
                             <child>
-                              <object class="GtkButton" id="room_settings_room_topic_button">
-                                <property name="visible">False</property>
-                                <property name="can_focus">True</property>
+                              <object class="GtkBox">
+                                <property name="visible">True</property>
+                                <property name="can_focus">False</property>
+                                <property name="orientation">horizontal</property>
+                                <property name="margin">20</property>
+                                <child>
+                                  <object class="GtkLabel">
+                                    <property name="visible">True</property>
+                                    <property name="can_focus">False</property>
+                                    <property name="label" translatable="yes">Notifications</property>
+                                  </object>
+                                </child>
                                 <child>
-                                  <object class="GtkImage">
+                                  <object class="GtkSwitch" id="room_settings_notification_switch">
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
-                                    <property name="icon_name">emblem-ok-symbolic</property>
+                                    <property name="hexpand">True</property>
+                                    <property name="halign">end</property>
                                   </object>
                                 </child>
                               </object>
                             </child>
                           </object>
                         </child>
-                        <child>
-                          <object class="GtkLabel" id="room_settings_room_description">
-                            <property name="visible">True</property>
-                            <property name="can_focus">False</property>
-                            <property name="halign">center</property>
-                            <property name="label" translatable="yes">No room description</property>
-                            <property name="margin_bottom">24</property>
-                            <style>
-                              <class name="dim-label"/>
-                            </style>
+                        <style>
+                          <class name="content"/>
+                        </style>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkFrame" id="room_settings_notification_sounds">
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="shadow_type">none</property>
+                        <property name="margin_bottom">24</property>
+                        <child type="label">
+                          <object class="GtkLabel">
+                            <property name="label" translatable="yes">Notification sounds</property>
+                            <property name="margin-bottom">12</property>
                           </object>
                         </child>
                         <child>
-                          <object class="GtkListBox">
+                          <object class="GtkFrame">
                             <property name="visible">True</property>
-                            <property name="can_focus">False</property>
-                            <property name="margin_bottom">24</property>
+                            <property name="can_focus">True</property>
+                            <property name="shadow_type">in</property>
                             <child>
-                              <object class="GtkListBoxRow">
+                              <object class="GtkListBox">
                                 <property name="visible">True</property>
                                 <property name="can_focus">False</property>
-                                <property name="activatable">False</property>
-                                <property name="selectable">False</property>
+                                <style>
+                                  <class name="list-with-separator"/>
+                                </style>
                                 <child>
-                                  <object class="GtkBox">
+                                  <object class="GtkListBoxRow">
                                     <property name="visible">True</property>
-                                    <property name="can_focus">False</property>
-                                    <property name="orientation">horizontal</property>
-                                    <property name="margin">20</property>
+                                    <property name="can_focus">True</property>
+                                    <property name="selectable">False</property>
                                     <child>
-                                      <object class="GtkLabel">
+                                      <object class="GtkBox">
                                         <property name="visible">True</property>
                                         <property name="can_focus">False</property>
-                                        <property name="label" translatable="yes">Notifications</property>
+                                        <property name="orientation">horizontal</property>
+                                        <property name="margin">20</property>
+                                        <property name="spacing">12</property>
+                                        <child>
+                                          <object class="GtkLabel">
+                                            <property name="visible">True</property>
+                                            <property name="can_focus">False</property>
+                                            <property name="label" translatable="yes">For all 
messages</property>
+                                          </object>
+                                        </child>
+                                        <child>
+                                          <object class="GtkImage">
+                                            <property name="visible">True</property>
+                                            <property name="can_focus">False</property>
+                                            <property name="hexpand">True</property>
+                                            <property name="icon_name">emblem-ok-symbolic</property>
+                                            <property name="halign">end</property>
+                                          </object>
+                                        </child>
                                       </object>
                                     </child>
+                                  </object>
+                                </child>
+                                <child>
+                                  <object class="GtkListBoxRow">
+                                    <property name="visible">True</property>
+                                    <property name="can_focus">True</property>
+                                    <property name="selectable">false</property>
                                     <child>
-                                      <object class="GtkSwitch" id="room_settings_notification_switch">
+                                      <object class="GtkBox">
                                         <property name="visible">True</property>
                                         <property name="can_focus">False</property>
-                                        <property name="hexpand">True</property>
-                                        <property name="halign">end</property>
+                                        <property name="orientation">horizontal</property>
+                                        <property name="margin">20</property>
+                                        <property name="spacing">12</property>
+                                        <child>
+                                          <object class="GtkLabel">
+                                            <property name="visible">True</property>
+                                            <property name="can_focus">False</property>
+                                            <property name="label" translatable="yes">Only for 
mentions</property>
+                                          </object>
+                                        </child>
+                                        <child>
+                                          <object class="GtkImage">
+                                            <property name="visible">True</property>
+                                            <property name="can_focus">False</property>
+                                            <property name="hexpand">True</property>
+                                            <property name="icon_name">emblem-ok-symbolic</property>
+                                            <property name="halign">end</property>
+                                          </object>
+                                        </child>
                                       </object>
                                     </child>
                                   </object>
                                 </child>
                               </object>
                             </child>
-                            <style>
-                              <class name="content"/>
-                            </style>
+                          </object>
+                        </child>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkFrame" id="room_settings_media">
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="shadow_type">none</property>
+                        <property name="margin_bottom">24</property>
+                        <child type="label">
+                          <object class="GtkLabel">
+                            <property name="label" translatable="yes">Shared Media</property>
+                            <property name="margin-bottom">12</property>
+                            <attributes>
+                              <attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
+                            </attributes>
                           </object>
                         </child>
                         <child>
-                          <object class="GtkFrame" id="room_settings_notification_sounds">
+                          <object class="GtkFrame">
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
-                            <property name="shadow_type">none</property>
-                            <property name="margin_bottom">24</property>
-                            <child type="label">
-                              <object class="GtkLabel">
-                                <property name="label" translatable="yes">Notification sounds</property>
-                                <property name="margin-bottom">12</property>
-                              </object>
-                            </child>
+                            <property name="shadow_type">in</property>
                             <child>
-                              <object class="GtkFrame">
+                              <object class="GtkListBox">
                                 <property name="visible">True</property>
-                                <property name="can_focus">True</property>
-                                <property name="shadow_type">in</property>
+                                <property name="can_focus">False</property>
+                                <style>
+                                  <class name="list-with-separator"/>
+                                </style>
                                 <child>
-                                  <object class="GtkListBox">
+                                  <object class="GtkListBoxRow">
                                     <property name="visible">True</property>
-                                    <property name="can_focus">False</property>
-                                    <style>
-                                      <class name="list-with-separator"/>
-                                    </style>
+                                    <property name="can_focus">True</property>
+                                    <property name="selectable">False</property>
                                     <child>
-                                      <object class="GtkListBoxRow">
+                                      <object class="GtkBox">
                                         <property name="visible">True</property>
-                                        <property name="can_focus">True</property>
-                                        <property name="selectable">False</property>
+                                        <property name="can_focus">False</property>
+                                        <property name="orientation">horizontal</property>
+                                        <property name="margin">20</property>
+                                        <property name="spacing">12</property>
                                         <child>
-                                          <object class="GtkBox">
+                                          <object class="GtkImage">
                                             <property name="visible">True</property>
                                             <property name="can_focus">False</property>
-                                            <property name="orientation">horizontal</property>
-                                            <property name="margin">20</property>
-                                            <property name="spacing">12</property>
-                                            <child>
-                                              <object class="GtkLabel">
-                                                <property name="visible">True</property>
-                                                <property name="can_focus">False</property>
-                                                <property name="label" translatable="yes">For all 
messages</property>
-                                              </object>
-                                            </child>
-                                            <child>
-                                              <object class="GtkImage">
-                                                <property name="visible">True</property>
-                                                <property name="can_focus">False</property>
-                                                <property name="hexpand">True</property>
-                                                <property name="icon_name">emblem-ok-symbolic</property>
-                                                <property name="halign">end</property>
-                                              </object>
-                                            </child>
+                                            <property name="icon_name">emblem-photos-symbolic</property>
                                           </object>
                                         </child>
-                                      </object>
-                                    </child>
-                                    <child>
-                                      <object class="GtkListBoxRow">
-                                        <property name="visible">True</property>
-                                        <property name="can_focus">True</property>
-                                        <property name="selectable">false</property>
                                         <child>
-                                          <object class="GtkBox">
+                                          <object class="GtkLabel">
                                             <property name="visible">True</property>
                                             <property name="can_focus">False</property>
-                                            <property name="orientation">horizontal</property>
-                                            <property name="margin">20</property>
-                                            <property name="spacing">12</property>
-                                            <child>
-                                              <object class="GtkLabel">
-                                                <property name="visible">True</property>
-                                                <property name="can_focus">False</property>
-                                                <property name="label" translatable="yes">Only for 
mentions</property>
-                                              </object>
-                                            </child>
-                                            <child>
-                                              <object class="GtkImage">
-                                                <property name="visible">True</property>
-                                                <property name="can_focus">False</property>
-                                                <property name="hexpand">True</property>
-                                                <property name="icon_name">emblem-ok-symbolic</property>
-                                                <property name="halign">end</property>
-                                              </object>
-                                            </child>
+                                            <property name="label" translatable="yes">photos</property>
                                           </object>
                                         </child>
                                       </object>
                                     </child>
                                   </object>
                                 </child>
-                              </object>
-                            </child>
-                          </object>
-                        </child>
-                        <child>
-                          <object class="GtkFrame" id="room_settings_media">
-                            <property name="visible">True</property>
-                            <property name="can_focus">True</property>
-                            <property name="shadow_type">none</property>
-                            <property name="margin_bottom">24</property>
-                            <child type="label">
-                              <object class="GtkLabel">
-                                <property name="label" translatable="yes">Shared Media</property>
-                                <property name="margin-bottom">12</property>
-                                <attributes>
-                                  <attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
-                                </attributes>
-                              </object>
-                            </child>
-                            <child>
-                              <object class="GtkFrame">
-                                <property name="visible">True</property>
-                                <property name="can_focus">True</property>
-                                <property name="shadow_type">in</property>
                                 <child>
-                                  <object class="GtkListBox">
+                                  <object class="GtkListBoxRow">
                                     <property name="visible">True</property>
-                                    <property name="can_focus">False</property>
-                                    <style>
-                                      <class name="list-with-separator"/>
-                                    </style>
+                                    <property name="can_focus">True</property>
+                                    <property name="selectable">False</property>
                                     <child>
-                                      <object class="GtkListBoxRow">
+                                      <object class="GtkBox">
                                         <property name="visible">True</property>
-                                        <property name="can_focus">True</property>
-                                        <property name="selectable">False</property>
+                                        <property name="can_focus">False</property>
+                                        <property name="orientation">horizontal</property>
+                                        <property name="margin">20</property>
+                                        <property name="spacing">12</property>
                                         <child>
-                                          <object class="GtkBox">
+                                          <object class="GtkImage">
                                             <property name="visible">True</property>
                                             <property name="can_focus">False</property>
-                                            <property name="orientation">horizontal</property>
-                                            <property name="margin">20</property>
-                                            <property name="spacing">12</property>
-                                            <child>
-                                              <object class="GtkImage">
-                                                <property name="visible">True</property>
-                                                <property name="can_focus">False</property>
-                                                <property name="icon_name">emblem-photos-symbolic</property>
-                                              </object>
-                                            </child>
-                                            <child>
-                                              <object class="GtkLabel">
-                                                <property name="visible">True</property>
-                                                <property name="can_focus">False</property>
-                                                <property name="label" translatable="yes">photos</property>
-                                              </object>
-                                            </child>
+                                            <property name="icon_name">folder-videos-symbolic</property>
                                           </object>
                                         </child>
-                                      </object>
-                                    </child>
-                                    <child>
-                                      <object class="GtkListBoxRow">
-                                        <property name="visible">True</property>
-                                        <property name="can_focus">True</property>
-                                        <property name="selectable">False</property>
                                         <child>
-                                          <object class="GtkBox">
+                                          <object class="GtkLabel">
                                             <property name="visible">True</property>
                                             <property name="can_focus">False</property>
-                                            <property name="orientation">horizontal</property>
-                                            <property name="margin">20</property>
-                                            <property name="spacing">12</property>
-                                            <child>
-                                              <object class="GtkImage">
-                                                <property name="visible">True</property>
-                                                <property name="can_focus">False</property>
-                                                <property name="icon_name">folder-videos-symbolic</property>
-                                              </object>
-                                            </child>
-                                            <child>
-                                              <object class="GtkLabel">
-                                                <property name="visible">True</property>
-                                                <property name="can_focus">False</property>
-                                                <property name="label" translatable="yes">videos</property>
-                                              </object>
-                                            </child>
+                                            <property name="label" translatable="yes">videos</property>
                                           </object>
                                         </child>
                                       </object>
                                     </child>
+                                  </object>
+                                </child>
+                                <child>
+                                  <object class="GtkListBoxRow">
+                                    <property name="visible">True</property>
+                                    <property name="can_focus">True</property>
+                                    <property name="selectable">false</property>
                                     <child>
-                                      <object class="GtkListBoxRow">
+                                      <object class="GtkBox">
                                         <property name="visible">True</property>
-                                        <property name="can_focus">True</property>
-                                        <property name="selectable">false</property>
+                                        <property name="can_focus">False</property>
+                                        <property name="orientation">horizontal</property>
+                                        <property name="margin">20</property>
+                                        <property name="spacing">12</property>
                                         <child>
-                                          <object class="GtkBox">
+                                          <object class="GtkImage">
                                             <property name="visible">True</property>
                                             <property name="can_focus">False</property>
-                                            <property name="orientation">horizontal</property>
-                                            <property name="margin">20</property>
-                                            <property name="spacing">12</property>
-                                            <child>
-                                              <object class="GtkImage">
-                                                <property name="visible">True</property>
-                                                <property name="can_focus">False</property>
-                                                <property 
name="icon_name">folder-documents-symbolic</property>
-                                              </object>
-                                            </child>
-                                            <child>
-                                              <object class="GtkLabel">
-                                                <property name="visible">True</property>
-                                                <property name="can_focus">False</property>
-                                                <property name="label" 
translatable="yes">documents</property>
-                                              </object>
-                                            </child>
+                                            <property name="icon_name">folder-documents-symbolic</property>
+                                          </object>
+                                        </child>
+                                        <child>
+                                          <object class="GtkLabel">
+                                            <property name="visible">True</property>
+                                            <property name="can_focus">False</property>
+                                            <property name="label" translatable="yes">documents</property>
                                           </object>
                                         </child>
                                       </object>
@@ -469,90 +462,90 @@
                             </child>
                           </object>
                         </child>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkFrame" id="room_settings_history_visibility">
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="shadow_type">none</property>
+                        <property name="margin_bottom">24</property>
+                        <child type="label">
+                          <object class="GtkLabel">
+                            <property name="label" translatable="yes">New members can see</property>
+                            <property name="margin-bottom">12</property>
+                          </object>
+                        </child>
                         <child>
-                          <object class="GtkFrame" id="room_settings_history_visibility">
+                          <object class="GtkFrame">
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
-                            <property name="shadow_type">none</property>
-                            <property name="margin_bottom">24</property>
-                            <child type="label">
-                              <object class="GtkLabel">
-                                <property name="label" translatable="yes">New members can see</property>
-                                <property name="margin-bottom">12</property>
-                              </object>
-                            </child>
+                            <property name="shadow_type">in</property>
                             <child>
-                              <object class="GtkFrame">
+                              <object class="GtkListBox">
                                 <property name="visible">True</property>
-                                <property name="can_focus">True</property>
-                                <property name="shadow_type">in</property>
+                                <property name="can_focus">False</property>
+                                <style>
+                                  <class name="list-with-separator"/>
+                                </style>
                                 <child>
-                                  <object class="GtkListBox">
+                                  <object class="GtkListBoxRow">
                                     <property name="visible">True</property>
-                                    <property name="can_focus">False</property>
-                                    <style>
-                                      <class name="list-with-separator"/>
-                                    </style>
+                                    <property name="can_focus">True</property>
+                                    <property name="selectable">false</property>
                                     <child>
-                                      <object class="GtkListBoxRow">
+                                      <object class="GtkBox">
                                         <property name="visible">True</property>
-                                        <property name="can_focus">True</property>
-                                        <property name="selectable">false</property>
+                                        <property name="can_focus">False</property>
+                                        <property name="orientation">horizontal</property>
+                                        <property name="margin">20</property>
+                                        <property name="spacing">12</property>
                                         <child>
-                                          <object class="GtkBox">
+                                          <object class="GtkLabel">
                                             <property name="visible">True</property>
                                             <property name="can_focus">False</property>
-                                            <property name="orientation">horizontal</property>
-                                            <property name="margin">20</property>
-                                            <property name="spacing">12</property>
-                                            <child>
-                                              <object class="GtkLabel">
-                                                <property name="visible">True</property>
-                                                <property name="can_focus">False</property>
-                                                <property name="label" translatable="yes">All room 
history</property>
-                                              </object>
-                                            </child>
-                                            <child>
-                                              <object class="GtkImage">
-                                                <property name="visible">True</property>
-                                                <property name="can_focus">False</property>
-                                                <property name="hexpand">True</property>
-                                                <property name="icon_name">emblem-ok-symbolic</property>
-                                                <property name="halign">end</property>
-                                              </object>
-                                            </child>
+                                            <property name="label" translatable="yes">All room 
history</property>
+                                          </object>
+                                        </child>
+                                        <child>
+                                          <object class="GtkImage">
+                                            <property name="visible">True</property>
+                                            <property name="can_focus">False</property>
+                                            <property name="hexpand">True</property>
+                                            <property name="icon_name">emblem-ok-symbolic</property>
+                                            <property name="halign">end</property>
                                           </object>
                                         </child>
                                       </object>
                                     </child>
+                                  </object>
+                                </child>
+                                <child>
+                                  <object class="GtkListBoxRow">
+                                    <property name="visible">True</property>
+                                    <property name="can_focus">True</property>
+                                    <property name="selectable">false</property>
                                     <child>
-                                      <object class="GtkListBoxRow">
+                                      <object class="GtkBox">
                                         <property name="visible">True</property>
-                                        <property name="can_focus">True</property>
-                                        <property name="selectable">false</property>
+                                        <property name="can_focus">False</property>
+                                        <property name="orientation">horizontal</property>
+                                        <property name="margin">20</property>
+                                        <property name="spacing">12</property>
+                                        <child>
+                                          <object class="GtkLabel">
+                                            <property name="visible">True</property>
+                                            <property name="can_focus">False</property>
+                                            <property name="label" translatable="yes">History after they 
were invited</property>
+                                          </object>
+                                        </child>
                                         <child>
-                                          <object class="GtkBox">
+                                          <object class="GtkImage">
                                             <property name="visible">True</property>
                                             <property name="can_focus">False</property>
-                                            <property name="orientation">horizontal</property>
-                                            <property name="margin">20</property>
-                                            <property name="spacing">12</property>
-                                            <child>
-                                              <object class="GtkLabel">
-                                                <property name="visible">True</property>
-                                                <property name="can_focus">False</property>
-                                                <property name="label" translatable="yes">History after they 
were invited</property>
-                                              </object>
-                                            </child>
-                                            <child>
-                                              <object class="GtkImage">
-                                                <property name="visible">True</property>
-                                                <property name="can_focus">False</property>
-                                                <property name="hexpand">True</property>
-                                                <property name="icon_name">emblem-ok-symbolic</property>
-                                                <property name="halign">end</property>
-                                              </object>
-                                            </child>
+                                            <property name="hexpand">True</property>
+                                            <property name="icon_name">emblem-ok-symbolic</property>
+                                            <property name="halign">end</property>
                                           </object>
                                         </child>
                                       </object>
@@ -563,122 +556,122 @@
                             </child>
                           </object>
                         </child>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkFrame" id="room_settings_room_visibility">
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="shadow_type">none</property>
+                        <property name="margin_bottom">24</property>
+                        <child type="label">
+                          <object class="GtkLabel">
+                            <property name="label" translatable="yes">Room Visibility</property>
+                            <property name="margin-bottom">12</property>
+                            <attributes>
+                              <attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
+                            </attributes>
+                          </object>
+                        </child>
                         <child>
-                          <object class="GtkFrame" id="room_settings_room_visibility">
+                          <object class="GtkFrame">
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
-                            <property name="shadow_type">none</property>
-                            <property name="margin_bottom">24</property>
-                            <child type="label">
-                              <object class="GtkLabel">
-                                <property name="label" translatable="yes">Room Visibility</property>
-                                <property name="margin-bottom">12</property>
-                                <attributes>
-                                  <attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
-                                </attributes>
-                              </object>
-                            </child>
+                            <property name="shadow_type">in</property>
                             <child>
-                              <object class="GtkFrame">
+                              <object class="GtkListBox">
                                 <property name="visible">True</property>
-                                <property name="can_focus">True</property>
-                                <property name="shadow_type">in</property>
+                                <property name="can_focus">False</property>
+                                <style>
+                                  <class name="list-with-separator"/>
+                                </style>
                                 <child>
-                                  <object class="GtkListBox">
+                                  <object class="GtkListBoxRow">
                                     <property name="visible">True</property>
-                                    <property name="can_focus">False</property>
-                                    <style>
-                                      <class name="list-with-separator"/>
-                                    </style>
+                                    <property name="can_focus">True</property>
+                                    <property name="selectable">False</property>
                                     <child>
-                                      <object class="GtkListBoxRow">
+                                      <object class="GtkBox">
                                         <property name="visible">True</property>
-                                        <property name="can_focus">True</property>
-                                        <property name="selectable">False</property>
+                                        <property name="can_focus">False</property>
+                                        <property name="orientation">horizontal</property>
+                                        <property name="margin">20</property>
+                                        <property name="spacing">12</property>
                                         <child>
-                                          <object class="GtkBox">
+                                          <object class="GtkLabel">
                                             <property name="visible">True</property>
                                             <property name="can_focus">False</property>
-                                            <property name="orientation">horizontal</property>
-                                            <property name="margin">20</property>
-                                            <property name="spacing">12</property>
-                                            <child>
-                                              <object class="GtkLabel">
-                                                <property name="visible">True</property>
-                                                <property name="can_focus">False</property>
-                                                <property name="label" translatable="yes">Allow 
guests</property>
-                                              </object>
-                                            </child>
-                                            <child>
-                                              <object class="GtkSwitch">
-                                                <property name="visible">True</property>
-                                                <property name="can_focus">True</property>
-                                                <property name="hexpand">True</property>
-                                                <property name="halign">end</property>
-                                              </object>
-                                            </child>
+                                            <property name="label" translatable="yes">Allow guests</property>
+                                          </object>
+                                        </child>
+                                        <child>
+                                          <object class="GtkSwitch">
+                                            <property name="visible">True</property>
+                                            <property name="can_focus">True</property>
+                                            <property name="hexpand">True</property>
+                                            <property name="halign">end</property>
                                           </object>
                                         </child>
                                       </object>
                                     </child>
+                                  </object>
+                                </child>
+                                <child>
+                                  <object class="GtkListBoxRow">
+                                    <property name="visible">True</property>
+                                    <property name="can_focus">True</property>
+                                    <property name="selectable">False</property>
                                     <child>
-                                      <object class="GtkListBoxRow">
+                                      <object class="GtkBox">
                                         <property name="visible">True</property>
-                                        <property name="can_focus">True</property>
-                                        <property name="selectable">False</property>
+                                        <property name="can_focus">False</property>
+                                        <property name="orientation">horizontal</property>
+                                        <property name="margin">20</property>
+                                        <property name="spacing">12</property>
                                         <child>
-                                          <object class="GtkBox">
+                                          <object class="GtkLabel">
                                             <property name="visible">True</property>
                                             <property name="can_focus">False</property>
-                                            <property name="orientation">horizontal</property>
-                                            <property name="margin">20</property>
-                                            <property name="spacing">12</property>
-                                            <child>
-                                              <object class="GtkLabel">
-                                                <property name="visible">True</property>
-                                                <property name="can_focus">False</property>
-                                                <property name="label" translatable="yes">Allow joining 
without invite</property>
-                                              </object>
-                                            </child>
-                                            <child>
-                                              <object class="GtkSwitch">
-                                                <property name="visible">True</property>
-                                                <property name="can_focus">True</property>
-                                                <property name="hexpand">True</property>
-                                                <property name="halign">end</property>
-                                              </object>
-                                            </child>
+                                            <property name="label" translatable="yes">Allow joining without 
invite</property>
+                                          </object>
+                                        </child>
+                                        <child>
+                                          <object class="GtkSwitch">
+                                            <property name="visible">True</property>
+                                            <property name="can_focus">True</property>
+                                            <property name="hexpand">True</property>
+                                            <property name="halign">end</property>
                                           </object>
                                         </child>
                                       </object>
                                     </child>
+                                  </object>
+                                </child>
+                                <child>
+                                  <object class="GtkListBoxRow">
+                                    <property name="visible">True</property>
+                                    <property name="can_focus">True</property>
+                                    <property name="selectable">False</property>
                                     <child>
-                                      <object class="GtkListBoxRow">
+                                      <object class="GtkBox">
                                         <property name="visible">True</property>
-                                        <property name="can_focus">True</property>
-                                        <property name="selectable">False</property>
+                                        <property name="can_focus">False</property>
+                                        <property name="orientation">horizontal</property>
+                                        <property name="margin">20</property>
+                                        <property name="spacing">12</property>
                                         <child>
-                                          <object class="GtkBox">
+                                          <object class="GtkLabel">
                                             <property name="visible">True</property>
                                             <property name="can_focus">False</property>
-                                            <property name="orientation">horizontal</property>
-                                            <property name="margin">20</property>
-                                            <property name="spacing">12</property>
-                                            <child>
-                                              <object class="GtkLabel">
-                                                <property name="visible">True</property>
-                                                <property name="can_focus">False</property>
-                                                <property name="label" translatable="yes">Publish in room 
directory</property>
-                                              </object>
-                                            </child>
-                                            <child>
-                                              <object class="GtkSwitch">
-                                                <property name="visible">True</property>
-                                                <property name="can_focus">True</property>
-                                                <property name="hexpand">True</property>
-                                                <property name="halign">end</property>
-                                              </object>
-                                            </child>
+                                            <property name="label" translatable="yes">Publish in room 
directory</property>
+                                          </object>
+                                        </child>
+                                        <child>
+                                          <object class="GtkSwitch">
+                                            <property name="visible">True</property>
+                                            <property name="can_focus">True</property>
+                                            <property name="hexpand">True</property>
+                                            <property name="halign">end</property>
                                           </object>
                                         </child>
                                       </object>
@@ -689,50 +682,50 @@
                             </child>
                           </object>
                         </child>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkFrame" id="room_settings_join">
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="shadow_type">none</property>
+                        <property name="margin_bottom">24</property>
+                        <child type="label">
+                          <object class="GtkLabel">
+                            <property name="label" translatable="yes">Join addresses</property>
+                            <property name="margin-bottom">12</property>
+                          </object>
+                        </child>
                         <child>
-                          <object class="GtkFrame" id="room_settings_join">
+                          <object class="GtkFrame">
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
-                            <property name="shadow_type">none</property>
-                            <property name="margin_bottom">24</property>
-                            <child type="label">
-                              <object class="GtkLabel">
-                                <property name="label" translatable="yes">Join addresses</property>
-                                <property name="margin-bottom">12</property>
-                              </object>
-                            </child>
+                            <property name="shadow_type">in</property>
                             <child>
-                              <object class="GtkFrame">
+                              <object class="GtkListBox">
                                 <property name="visible">True</property>
-                                <property name="can_focus">True</property>
-                                <property name="shadow_type">in</property>
+                                <property name="can_focus">False</property>
+                                <style>
+                                  <class name="list-with-separator"/>
+                                </style>
                                 <child>
-                                  <object class="GtkListBox">
+                                  <object class="GtkListBoxRow">
                                     <property name="visible">True</property>
-                                    <property name="can_focus">False</property>
-                                    <style>
-                                      <class name="list-with-separator"/>
-                                    </style>
+                                    <property name="can_focus">True</property>
+                                    <property name="selectable">false</property>
                                     <child>
-                                      <object class="GtkListBoxRow">
+                                      <object class="GtkBox" id="room_settings_addresses">
                                         <property name="visible">True</property>
-                                        <property name="can_focus">True</property>
-                                        <property name="selectable">false</property>
+                                        <property name="can_focus">False</property>
+                                        <property name="orientation">horizontal</property>
+                                        <property name="margin">20</property>
+                                        <property name="spacing">12</property>
                                         <child>
-                                          <object class="GtkBox" id="room_settings_addresses">
+                                          <!--REMOVE ME-->
+                                          <object class="GtkEntry">
                                             <property name="visible">True</property>
-                                            <property name="can_focus">False</property>
-                                            <property name="orientation">horizontal</property>
-                                            <property name="margin">20</property>
-                                            <property name="spacing">12</property>
-                                            <child>
-                                              <!--REMOVE ME-->
-                                              <object class="GtkEntry">
-                                                <property name="visible">True</property>
-                                                <property name="can_focus">True</property>
-                                                <property name="hexpand">True</property>
-                                              </object>
-                                            </child>
+                                            <property name="can_focus">True</property>
+                                            <property name="hexpand">True</property>
                                           </object>
                                         </child>
                                       </object>
@@ -743,60 +736,60 @@
                             </child>
                           </object>
                         </child>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkBox">
+                        <property name="visible">True</property>
+                        <property name="can_focus">False</property>
+                        <property name="margin-bottom">12</property>
+                        <child>
+                          <object class="GtkLabel" id="room_settings_member_list_title">
+                            <property name="visible">True</property>
+                            <property name="label" translatable="yes">members</property>
+                            <attributes>
+                              <attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
+                            </attributes>
+                          </object>
+                        </child>
+                        <child>
+                          <object class="GtkButton" id="room_settings_invite">
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="hexpand">True</property>
+                            <property name="action_name">app.room_invite</property>
+                            <property name="label" translatable="yes">Invite New Member</property>
+                            <property name="halign">end</property>
+                          </object>
+                        </child>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="GtkFrame">
+                        <property name="visible">True</property>
+                        <property name="can_focus">False</property>
+                        <property name="shadow_type">none</property>
+                        <property name="margin_bottom">24</property>
                         <child>
                           <object class="GtkBox">
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
-                            <property name="margin-bottom">12</property>
-                            <child>
-                              <object class="GtkLabel" id="room_settings_member_list_title">
-                                <property name="visible">True</property>
-                                <property name="label" translatable="yes">members</property>
-                                <attributes>
-                                  <attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
-                                </attributes>
-                              </object>
-                            </child>
+                            <property name="orientation">vertical</property>
+                            <property name="spacing">12</property>
                             <child>
-                              <object class="GtkButton" id="room_settings_invite">
+                              <object class="GtkSearchEntry" id="room_settings_members_search">
                                 <property name="visible">True</property>
                                 <property name="can_focus">True</property>
-                                <property name="hexpand">True</property>
-                                <property name="action_name">app.room_invite</property>
-                                <property name="label" translatable="yes">Invite New Member</property>
-                                <property name="halign">end</property>
+                                <property name="primary_icon_name">edit-find-symbolic</property>
+                                <property name="primary_icon_activatable">False</property>
+                                <property name="primary_icon_sensitive">False</property>
+                                <property name="placeholder_text" translatable="yes">Search for room 
members</property>
                               </object>
                             </child>
-                          </object>
-                        </child>
-                        <child>
-                          <object class="GtkFrame">
-                            <property name="visible">True</property>
-                            <property name="can_focus">False</property>
-                            <property name="shadow_type">none</property>
-                            <property name="margin_bottom">24</property>
                             <child>
-                              <object class="GtkBox">
+                              <object class="GtkBox" id="room_settings_members_list">
                                 <property name="visible">True</property>
-                                <property name="can_focus">False</property>
-                                <property name="orientation">vertical</property>
-                                <property name="spacing">12</property>
-                                <child>
-                                  <object class="GtkSearchEntry" id="room_settings_members_search">
-                                    <property name="visible">True</property>
-                                    <property name="can_focus">True</property>
-                                    <property name="primary_icon_name">edit-find-symbolic</property>
-                                    <property name="primary_icon_activatable">False</property>
-                                    <property name="primary_icon_sensitive">False</property>
-                                    <property name="placeholder_text" translatable="yes">Search for room 
members</property>
-                                  </object>
-                                </child>
-                                <child>
-                                  <object class="GtkBox" id="room_settings_members_list">
-                                    <property name="visible">True</property>
-                                    <property name="can_focus">True</property>
-                                  </object>
-                                </child>
+                                <property name="can_focus">True</property>
                               </object>
                             </child>
                           </object>
@@ -804,28 +797,28 @@
                       </object>
                     </child>
                   </object>
-                  <packing>
-                    <property name="name">info</property>
-                  </packing>
                 </child>
+              </object>
+              <packing>
+                <property name="name">info</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkBox" id="room_settings_spinner">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
                 <child>
-                  <object class="GtkBox" id="room_settings_spinner">
+                  <object class="GtkSpinner">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
-                    <child>
-                      <object class="GtkSpinner">
-                        <property name="visible">True</property>
-                        <property name="can_focus">False</property>
-                        <property name="active">True</property>
-                      </object>
-                    </child>
+                    <property name="active">True</property>
                   </object>
-                  <packing>
-                    <property name="name">loading</property>
-                    <property name="position">1</property>
-                  </packing>
                 </child>
               </object>
+              <packing>
+                <property name="name">loading</property>
+                <property name="position">1</property>
+              </packing>
             </child>
           </object>
         </child>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]