[gnome-boxes] Make the suspended VM screenshot darker
- From: Marc-Andre Lureau <malureau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] Make the suspended VM screenshot darker
- Date: Thu, 3 Nov 2011 12:09:11 +0000 (UTC)
commit d3ba2bf02c66d1fc53769f065e8d3c61ae1e0b89
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date: Thu Nov 3 13:01:29 2011 +0100
Make the suspended VM screenshot darker
data/icons/boxes-grid.png | Bin 206 -> 202 bytes
src/machine.vala | 2 +-
2 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/icons/boxes-grid.png b/data/icons/boxes-grid.png
index d41afc5..ccb4807 100644
Binary files a/data/icons/boxes-grid.png and b/data/icons/boxes-grid.png differ
diff --git a/src/machine.vala b/src/machine.vala
index 1645229..b9042e3 100644
--- a/src/machine.vala
+++ b/src/machine.vala
@@ -181,7 +181,7 @@ private abstract class Boxes.Machine: Boxes.CollectionItem, Boxes.IProperties {
context.scale (0.1875 / 128 * width, 0.1875 / 96 * height);
var grid = new Cairo.Pattern.for_surface (new Cairo.ImageSurface.from_png (get_pixmap ("boxes-grid.png")));
grid.set_extend (Cairo.Extend.REPEAT);
- context.set_source_rgba (1, 1, 1, 1);
+ context.set_source_rgba (0, 0, 0, 1);
context.set_operator (Cairo.Operator.OVER);
context.mask (grid);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]