now featuring css
This commit is contained in:
parent
31027131ef
commit
1d768e8d74
4 changed files with 13 additions and 0 deletions
6
src/wavelet.css
Normal file
6
src/wavelet.css
Normal file
|
@ -0,0 +1,6 @@
|
|||
#seek-scale slider {
|
||||
margin: 0px;
|
||||
opacity: 0%;
|
||||
min-width: 10px;
|
||||
min-height: 10px;
|
||||
}
|
|
@ -1,6 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<gresources>
|
||||
<gresource prefix="/eu/callcc/Wavelet">
|
||||
<file>wavelet.css</file>
|
||||
<file preprocess="xml-stripblanks">gtk/help-overlay.ui</file>
|
||||
<file preprocess="xml-stripblanks">play_queue.ui</file>
|
||||
<file preprocess="xml-stripblanks">setup.ui</file>
|
||||
|
|
|
@ -162,6 +162,7 @@ paintable: bind template.playing_cover_art;
|
|||
}
|
||||
|
||||
Scale play_position {
|
||||
name: "seek-scale";
|
||||
orientation: horizontal;
|
||||
width-request: 200;
|
||||
|
||||
|
|
|
@ -55,6 +55,11 @@ class Wavelet.Window : Adw.ApplicationWindow {
|
|||
public Window (Gtk.Application app) {
|
||||
Object (application: app);
|
||||
|
||||
var provider = new Gtk.CssProvider ();
|
||||
provider.load_from_resource("/eu/callcc/Wavelet/wavelet.css");
|
||||
|
||||
Gtk.StyleContext.add_provider_for_display (Gdk.Display.get_default (), provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
|
||||
|
||||
this.close_request.connect (() => {
|
||||
app.quit ();
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue