about: Fix background image
This commit is contained in:
parent
0c0d440a34
commit
7369405dd9
|
@ -86,10 +86,10 @@ namespace SparkleShare {
|
||||||
font.Size = 9 * 1024;
|
font.Size = 9 * 1024;
|
||||||
|
|
||||||
CssProvider css_provider = new CssProvider ();
|
CssProvider css_provider = new CssProvider ();
|
||||||
string image_path = new string [] { SparkleUI.AssetsPath, "pixmaps", "about.png" }.Combine ();
|
Image image = SparkleUIHelpers.GetImage("about.png");
|
||||||
|
|
||||||
css_provider.LoadFromData ("GtkWindow {" +
|
css_provider.LoadFromData ("GtkWindow {" +
|
||||||
"background-image: url('" + image_path + "');" +
|
"background-image: url('" + image.File + "');" +
|
||||||
"background-repeat: no-repeat;" +
|
"background-repeat: no-repeat;" +
|
||||||
"background-position: left bottom;" +
|
"background-position: left bottom;" +
|
||||||
"}");
|
"}");
|
||||||
|
|
Loading…
Reference in a new issue