Add back noise texture
Add back the noise texture background by embedding the image file and setting it as base64-encoded data as CSS background image.
This commit is contained in:
parent
b7c0307f6b
commit
690f0f8e9a
3 changed files with 13 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ func (a *Application) setDefaultSettings() {
|
|||
|
||||
func (a *Application) loadCSS() {
|
||||
styleProvider := gtk.NewCSSProvider()
|
||||
styleProvider.LoadFromString(data.MainCSS)
|
||||
styleProvider.LoadFromString(data.BuildMainCSS())
|
||||
|
||||
gtk.StyleContextAddProviderForDisplay(
|
||||
gdk.DisplayGetDefault(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue