summaryrefslogtreecommitdiff
path: root/src/themes
diff options
context:
space:
mode:
authorAlessandro Ghedini <al3xbio@gmail.com>2012-01-21 19:14:06 +0100
committerAlessandro Ghedini <al3xbio@gmail.com>2012-01-21 19:19:46 +0100
commitc05883f47c498be4e11893e5178c5bc37ffd9f4a (patch)
treedbd3cd7ad3d7771405ad63af2f1e9d14d4ae5a35 /src/themes
parent31539042f11bc210a29e923f45586779c3ad46b2 (diff)
parent60560a030fda3c539ff9dc1563b9926414a193da (diff)
Merge commit 'upstream/0.4.0'
Diffstat (limited to 'src/themes')
-rw-r--r--src/themes/theme.vala3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/themes/theme.vala b/src/themes/theme.vala
index 284e1ef..269a574 100644
--- a/src/themes/theme.vala
+++ b/src/themes/theme.vala
@@ -55,6 +55,7 @@ public class Theme : GLib.Object {
public int caption_height {get; private set; default=100;}
public double caption_position {get; private set; default=0.0;}
public Color caption_color {get; private set; default=new Color();}
+ public Icon preview_icon {get; private set; default=new Icon("gnome-pie", 36);}
public Gee.ArrayList<CenterLayer?> center_layers {get; private set;}
public Gee.ArrayList<SliceLayer?> active_slice_layers {get; private set;}
@@ -82,6 +83,8 @@ public class Theme : GLib.Object {
this.center_layers.clear();
this.active_slice_layers.clear();
this.inactive_slice_layers.clear();
+
+ this.preview_icon = new Icon(this.directory + "/preview.png", 36);
Xml.Parser.init();
string path = this.directory + "/theme.xml";