[gnome-boxes] Rename local var machine to libvirt_machine
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] Rename local var machine to libvirt_machine
- Date: Thu, 25 Oct 2012 15:51:38 +0000 (UTC)
commit b68ed5eae8f185b5a2734f123d2c3212d0488176
Author: Alexander Larsson <alexl redhat com>
Date: Thu Oct 25 16:54:23 2012 +0200
Rename local var machine to libvirt_machine
We will later use the machine name for another use.
https://bugzilla.gnome.org/show_bug.cgi?id=686775
src/properties.vala | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/properties.vala b/src/properties.vala
index 53501ba..3355ab7 100644
--- a/src/properties.vala
+++ b/src/properties.vala
@@ -156,12 +156,12 @@ private class Boxes.Properties: Boxes.UI {
PropertiesPage current_page;
- var machine = App.app.current_item as LibvirtMachine;
- if (machine != null) {
- stats_id = machine.stats_updated.connect (() => {
- cpu.points = machine.cpu_stats;
- net.points = machine.net_stats;
- io.points = machine.io_stats;
+ var libvirt_machine = App.app.current_item as LibvirtMachine;
+ if (libvirt_machine != null) {
+ stats_id = libvirt_machine.stats_updated.connect (() => {
+ cpu.points = libvirt_machine.cpu_stats;
+ net.points = libvirt_machine.net_stats;
+ io.points = libvirt_machine.io_stats;
});
current_page = (previous_ui_state == UIState.WIZARD) ? PropertiesPage.SYSTEM : PropertiesPage.LOGIN;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]