merge stable version #2

Merged
doryan merged 97 commits from experimental into main 2024-08-28 18:54:00 +03:00
Showing only changes of commit 5dde8ab20c - Show all commits

View File

@ -1,8 +1,6 @@
use adw::gdk::Display;
use gtk4 as gtk;
use std::path::Path;
use gtk::{
style_context_add_provider_for_display, CssProvider, STYLE_PROVIDER_PRIORITY_APPLICATION,
};
@ -10,7 +8,7 @@ use gtk::{
pub fn load_css() {
let style_provider = CssProvider::new();
style_provider.load_from_path(Path::new("./src/view/styles/base.css"));
style_provider.load_from_string(include_str!("base.css"));
style_context_add_provider_for_display(
&Display::default().expect("Could not connect to a display"),