summaryrefslogtreecommitdiff
path: root/src/themes/theme.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-08-19 16:25:31 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-08-19 16:25:31 +0200
commit10af7615316fd91eef61cc66a8ede38a2bff3fdc (patch)
tree0f5731b91e14dc14f0ba6f3394768222f66a31be /src/themes/theme.vala
parent0b56dfbf01171226a0bb035afcd13358b6477710 (diff)
Imported Upstream version 0.6.5upstream/0.6.5
Diffstat (limited to 'src/themes/theme.vala')
-rw-r--r--src/themes/theme.vala12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/themes/theme.vala b/src/themes/theme.vala
index e068b9e..a7dd4f8 100644
--- a/src/themes/theme.vala
+++ b/src/themes/theme.vala
@@ -486,17 +486,17 @@ public class Theme : GLib.Object {
this.visible_slice_radius = Math.fmax(slice_radius*scale, this.visible_slice_radius);
if (slice->name.down() == "activeslice") {
- if (type == SliceLayer.Type.ICON) active_slice_layers.add(new SliceLayer.icon(file, size, colorize, visibility));
+ if (type == SliceLayer.Type.ICON) active_slice_layers.add(new SliceLayer.icon(file, size, pos_x, pos_y, colorize, visibility));
else if (type == SliceLayer.Type.CAPTION) active_slice_layers.add(new SliceLayer.caption(slice_caption_font,
slice_caption_width, slice_caption_height,
- pos_y, slice_caption_color, colorize, visibility));
- else active_slice_layers.add(new SliceLayer.file(file, size, colorize, visibility));
+ pos_x, pos_y, slice_caption_color, colorize, visibility));
+ else active_slice_layers.add(new SliceLayer.file(file, size, pos_x, pos_y, colorize, visibility));
} else {
- if (type == SliceLayer.Type.ICON) inactive_slice_layers.add(new SliceLayer.icon(file, size, colorize, visibility));
+ if (type == SliceLayer.Type.ICON) inactive_slice_layers.add(new SliceLayer.icon(file, size, pos_x, pos_y, colorize, visibility));
else if (type == SliceLayer.Type.CAPTION) inactive_slice_layers.add(new SliceLayer.caption(slice_caption_font,
slice_caption_width, slice_caption_height,
- pos_y, slice_caption_color, colorize, visibility));
- else inactive_slice_layers.add(new SliceLayer.file(file, size, colorize, visibility));
+ pos_x, pos_y, slice_caption_color, colorize, visibility));
+ else inactive_slice_layers.add(new SliceLayer.file(file, size, pos_x, pos_y, colorize, visibility));
}
} else {