diff options
Diffstat (limited to 'main/data/conversation_list_titlebar.ui')
-rw-r--r-- | main/data/conversation_list_titlebar.ui | 46 |
1 files changed, 18 insertions, 28 deletions
diff --git a/main/data/conversation_list_titlebar.ui b/main/data/conversation_list_titlebar.ui index 8fd8605b..afe10926 100644 --- a/main/data/conversation_list_titlebar.ui +++ b/main/data/conversation_list_titlebar.ui @@ -1,43 +1,33 @@ <?xml version="1.0" encoding="UTF-8"?> <interface> <requires lib="gtk" version="4.0"/> - <template class="DinoUiConversationListTitlebar" parent="GtkBox"> - <property name="hexpand">0</property> + <requires lib="adw" version="1.0"/> + <object class="AdwHeaderBar" id="header_bar"> + <property name="hexpand">False</property> <style> - <class name="dino-header-left"/> + <class name="dino-left"/> </style> <child> - <object class="GtkBox"> - <property name="margin-start">5</property> - <property name="margin-end">5</property> - <property name="margin-top">5</property> - <property name="margin-bottom">5</property> - <property name="hexpand">1</property> + <object class="GtkMenuButton" id="add_button"> + <property name="has-frame">False</property> <child> - <object class="GtkMenuButton" id="add_button"> - <property name="has-frame">False</property> - <child> - <object class="GtkImage"> - <property name="icon-name">list-add-symbolic</property> - <property name="icon-size">normal</property> - </object> - </child> + <object class="GtkImage"> + <property name="icon-name">list-add-symbolic</property> + <property name="icon-size">normal</property> </object> </child> + </object> + </child> + <child type="end"> + <object class="GtkMenuButton" id="menu_button"> + <property name="has-frame">False</property> <child> - <object class="GtkMenuButton" id="menu_button"> - <property name="halign">end</property> - <property name="hexpand">True</property> - <property name="has-frame">False</property> - <child> - <object class="GtkImage"> - <property name="icon-name">open-menu-symbolic</property> - <property name="icon-size">normal</property> - </object> - </child> + <object class="GtkImage"> + <property name="icon-name">open-menu-symbolic</property> + <property name="icon-size">normal</property> </object> </child> </object> </child> - </template> + </object> </interface> |