[gnome-boxes] machine: Make origin_pixbuf a public property
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] machine: Make origin_pixbuf a public property
- Date: Wed, 5 Mar 2014 15:59:03 +0000 (UTC)
commit cf9e16f62ca729bc754626655c3040184aa5fa44
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed Mar 5 15:53:51 2014 +0000
machine: Make origin_pixbuf a public property
We then use it from CollectionView in a following patch to implement
prelighting of item under the cursor.
https://bugzilla.gnome.org/show_bug.cgi?id=710279
src/machine.vala | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/machine.vala b/src/machine.vala
index a444f42..5f0b39a 100644
--- a/src/machine.vala
+++ b/src/machine.vala
@@ -34,6 +34,9 @@ private abstract class Boxes.Machine: Boxes.CollectionItem, Boxes.IPropertiesPro
public Cancellable connecting_cancellable { get; protected set; }
+ // The current screenshot without running status applied
+ public Gdk.Pixbuf? orig_pixbuf { get; private set; }
+
public enum MachineState {
UNKNOWN,
STOPPED,
@@ -50,9 +53,6 @@ private abstract class Boxes.Machine: Boxes.CollectionItem, Boxes.IPropertiesPro
IGNORE_SAVED_STATE
}
- // The current screenshot without running status applied
- private Gdk.Pixbuf? orig_pixbuf;
-
private MachineState _state;
public MachineState state { get { return _state; }
protected set {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]