toolbar: Use HdyHeaderBar

This was forgotten when porting to HdyWindow,
but is needed for making the window draggable.
This commit is contained in:
Christopher Davis 2021-02-06 04:07:28 -08:00
parent e0f969d0c8
commit 44bc5c5cda
4 changed files with 6 additions and 6 deletions

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk+" version="3.20"/>
<template class="ComponentsConversationHeaderBar" parent="GtkHeaderBar">
<template class="ComponentsConversationHeaderBar" parent="HdyHeaderBar">
<property name="visible">True</property>
<property name="hexpand">True</property>
<signal name="notify::parent" handler="update_action_bar" swapped="no"/>

View file

@ -17,7 +17,7 @@
<property name="transition_type">over</property>
<property name="hexpand_set">True</property>
<child>
<object class="GtkHeaderBar" id="folder_header">
<object class="HdyHeaderBar" id="folder_header">
<property name="visible">True</property>
<property name="show_close_button" bind-source="MainToolbar" bind-property="show_close_button" bind-flags="sync-create"/>
<property name="title">Mail</property>
@ -57,7 +57,7 @@
</packing>
</child>
<child>
<object class="GtkHeaderBar" id="conversations_header">
<object class="HdyHeaderBar" id="conversations_header">
<property name="visible">True</property>
<property name="hexpand">True</property>
<property name="show_close_button" bind-source="MainToolbar" bind-property="show_close_button" bind-flags="sync-create"/>