diff --git a/src/app/browser/header.rs b/src/app/browser/header.rs index 6300147a..952f1d22 100644 --- a/src/app/browser/header.rs +++ b/src/app/browser/header.rs @@ -6,8 +6,8 @@ use subject::Subject; use tray::Tray; use widget::Widget; -use gtk::{gio::SimpleAction, glib::GString, HeaderBar}; - +use adw::HeaderBar; +use gtk::{gio::SimpleAction, glib::GString}; use std::sync::Arc; pub struct Header { diff --git a/src/app/browser/header/widget.rs b/src/app/browser/header/widget.rs index 6017062f..7459e3bd 100644 --- a/src/app/browser/header/widget.rs +++ b/src/app/browser/header/widget.rs @@ -1,4 +1,5 @@ -use gtk::{Box, HeaderBar}; +use adw::HeaderBar; +use gtk::Box; pub struct Widget { gobject: HeaderBar, diff --git a/src/app/browser/widget.rs b/src/app/browser/widget.rs index 21b8cd66..d79e6208 100644 --- a/src/app/browser/widget.rs +++ b/src/app/browser/widget.rs @@ -2,7 +2,8 @@ mod database; use database::Database; -use gtk::{prelude::GtkWindowExt, ApplicationWindow, Box, HeaderBar}; +use adw::HeaderBar; +use gtk::{prelude::GtkWindowExt, ApplicationWindow, Box}; use sqlite::Transaction; // Default options