mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
use libadwaita HeaderBar
This commit is contained in:
parent
497d4b6854
commit
4ba2698cee
@ -6,8 +6,8 @@ use subject::Subject;
|
|||||||
use tray::Tray;
|
use tray::Tray;
|
||||||
use widget::Widget;
|
use widget::Widget;
|
||||||
|
|
||||||
use gtk::{gio::SimpleAction, glib::GString, HeaderBar};
|
use adw::HeaderBar;
|
||||||
|
use gtk::{gio::SimpleAction, glib::GString};
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
|
|
||||||
pub struct Header {
|
pub struct Header {
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
use gtk::{Box, HeaderBar};
|
use adw::HeaderBar;
|
||||||
|
use gtk::Box;
|
||||||
|
|
||||||
pub struct Widget {
|
pub struct Widget {
|
||||||
gobject: HeaderBar,
|
gobject: HeaderBar,
|
||||||
|
@ -2,7 +2,8 @@ mod database;
|
|||||||
|
|
||||||
use database::Database;
|
use database::Database;
|
||||||
|
|
||||||
use gtk::{prelude::GtkWindowExt, ApplicationWindow, Box, HeaderBar};
|
use adw::HeaderBar;
|
||||||
|
use gtk::{prelude::GtkWindowExt, ApplicationWindow, Box};
|
||||||
use sqlite::Transaction;
|
use sqlite::Transaction;
|
||||||
|
|
||||||
// Default options
|
// Default options
|
||||||
|
Loading…
x
Reference in New Issue
Block a user