window: Use a HdyTitleBar
This will be needed for sliding animations to work well as we are going to use HdyLeaflet in the titlebar.
This commit is contained in:
parent
77aece9920
commit
63dda56329
1 changed files with 87 additions and 90 deletions
|
@ -111,6 +111,10 @@
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child type="titlebar">
|
<child type="titlebar">
|
||||||
|
<object class="HdyTitleBar">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<child>
|
||||||
<object class="GtkBox" id="header_box">
|
<object class="GtkBox" id="header_box">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
|
@ -219,6 +223,8 @@
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<object class="HdyHeaderGroup" id="header_group">
|
<object class="HdyHeaderGroup" id="header_group">
|
||||||
|
@ -245,15 +251,6 @@
|
||||||
</widgets>
|
</widgets>
|
||||||
</object>
|
</object>
|
||||||
|
|
||||||
<!-- Synchronize separators -->
|
|
||||||
<object class="GtkSizeGroup">
|
|
||||||
<property name="mode">horizontal</property>
|
|
||||||
<widgets>
|
|
||||||
<widget name="header_separator"/>
|
|
||||||
<widget name="panel_separator"/>
|
|
||||||
</widgets>
|
|
||||||
</object>
|
|
||||||
|
|
||||||
<!-- Synchronize right header and panel -->
|
<!-- Synchronize right header and panel -->
|
||||||
<object class="GtkSizeGroup">
|
<object class="GtkSizeGroup">
|
||||||
<property name="mode">horizontal</property>
|
<property name="mode">horizontal</property>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue