Skip to content

Commit

Permalink
Reading from css file
Browse files Browse the repository at this point in the history
  • Loading branch information
mtxr committed Jun 25, 2018
1 parent 15c4884 commit 7a0e1e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ func SetupUi(dry bool) {
provider := gtk.NewCssProvider()
screen := gdk.GetDefaultDisplay().GetDefaultScreen()
gtk.StyleContextAddProviderForScreen(screen, provider, gtk.STYLE_PROVIDER_PRIORITY_APPLICATION)
err := provider.LoadFromData(CSS_CODE)
err := provider.LoadFromData(AppStyle())
if err != nil {
errduring("CSS loading", err, "")
}
Expand Down

0 comments on commit 7a0e1e6

Please sign in to comment.