diff --git a/Makefile b/Makefile index e84b6fe..772c59b 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,7 @@ install: chmod 755 $(DESTDIR)/usr/bin/pika-drivers mkdir -p $(DESTDIR)/usr/lib/pika/drivers/ cp data/*.sh $(DESTDIR)/usr/lib/pika/drivers/ + cp data/*.css $(DESTDIR)/usr/lib/pika/drivers/ chmod 755 $(DESTDIR)/usr/lib/pika/drivers/*.sh mkdir -p $(DESTDIR)/usr/share/applications mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps diff --git a/data/dialog-error.sh b/data/dialog-error.sh deleted file mode 100755 index d679172..0000000 --- a/data/dialog-error.sh +++ /dev/null @@ -1,3 +0,0 @@ -#! /bin/bash - -zenity --error --text "There was a problem installing the following driver: "$1"" diff --git a/src/main.rs b/src/main.rs index 9f99d72..f5e79db 100644 --- a/src/main.rs +++ b/src/main.rs @@ -8,7 +8,7 @@ fn main() { application.connect_startup(|app| { // The CSS "magic" happens here. let provider = CssProvider::new(); - provider.load_from_data(include_str!("style.css")); + provider.load_from_data(include_str!("/usr/lib/pika/drivers/style.css")); // We give the CssProvided to the default screen so the CSS rules we added // can be applied to our window. gtk::style_context_add_provider_for_display( @@ -182,6 +182,7 @@ fn build_ui(app: &Application) { .margin_bottom(12) .margin_start(12) .margin_end(12) + .has_frame(false) .child(&driver_button_icon) .build();