Update main.rs
This commit is contained in:
parent
a3424dc0dd
commit
884978e7cb
@ -12,7 +12,7 @@ fn main() {
|
|||||||
application.connect_startup(|app| {
|
application.connect_startup(|app| {
|
||||||
// The CSS "magic" happens here.
|
// The CSS "magic" happens here.
|
||||||
let provider = CssProvider::new();
|
let provider = CssProvider::new();
|
||||||
provider.load_from_data(include_str!("/usr/lib/pika/drivers/style.css"));
|
provider.load_from_data(include_str!("style.css"));
|
||||||
// We give the CssProvided to the default screen so the CSS rules we added
|
// We give the CssProvided to the default screen so the CSS rules we added
|
||||||
// can be applied to our window.
|
// can be applied to our window.
|
||||||
gtk::style_context_add_provider_for_display(
|
gtk::style_context_add_provider_for_display(
|
||||||
|
Loading…
Reference in New Issue
Block a user