Commit d9d014bf authored by Adrien Plazas's avatar Adrien Plazas
Browse files

Replace GtkHeaderBar by HdyHeaderBar

This is needed to make the view switcher work well.
parent 5c80a12c
......@@ -2,7 +2,7 @@
<interface>
<!-- interface-requires gtk+ 3.12 -->
<template class="UsageHeaderBar" parent="GtkHeaderBar">
<template class="UsageHeaderBar" parent="HdyHeaderBar">
<property name="visible">False</property>
<property name="show-close-button">True</property>
......
......@@ -29,7 +29,7 @@ namespace Usage
}
[GtkTemplate (ui = "/org/gnome/Usage/ui/header-bar.ui")]
public class HeaderBar : Gtk.HeaderBar
public class HeaderBar : Hdy.HeaderBar
{
[GtkChild]
private Gtk.StackSwitcher stack_switcher;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment