[gnome-boxes] Save the non-modified thumnail
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] Save the non-modified thumnail
- Date: Fri, 29 Jun 2012 09:06:12 +0000 (UTC)
commit 1052062581a546b2c081e80bb00d4474e149d963
Author: Alexander Larsson <alexl redhat com>
Date: Thu Jun 28 18:56:03 2012 +0200
Save the non-modified thumnail
We don't want to apply the running state on the saved thumbnail,
because when we reload it the state might be different. So, save
the original pixbuf, not the drawn one.
https://bugzilla.gnome.org/show_bug.cgi?id=678455
src/machine.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/machine.vala b/src/machine.vala
index a62fb98..b75d0e8 100644
--- a/src/machine.vala
+++ b/src/machine.vala
@@ -193,7 +193,7 @@ private abstract class Boxes.Machine: Boxes.CollectionItem, Boxes.IPropertiesPro
if (save) {
try {
- pixbuf.save (get_screenshot_filename (), "png");
+ small_screenshot.save (get_screenshot_filename (), "png");
} catch (GLib.Error error) {
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]