use libadwaita HeaderBar

This commit is contained in:
yggverse 2024-10-09 09:50:10 +03:00
parent 497d4b6854
commit 4ba2698cee
3 changed files with 6 additions and 4 deletions

View File

@ -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 {

View File

@ -1,4 +1,5 @@
use gtk::{Box, HeaderBar};
use adw::HeaderBar;
use gtk::Box;
pub struct Widget {
gobject: HeaderBar,

View File

@ -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