snapshot
This commit is contained in:
parent
0b15737950
commit
3535fb2f3a
1
Makefile
1
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
|
||||
|
@ -1,3 +0,0 @@
|
||||
#! /bin/bash
|
||||
|
||||
zenity --error --text "There was a problem installing the following driver: "$1""
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user