[gnome-boxes] properties: Add snapshots page
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] properties: Add snapshots page
- Date: Fri, 29 Aug 2014 16:14:25 +0000 (UTC)
commit 09919e8cae66dec3800c2be19898b1dc7649684f
Author: Timm Bäder <mail baedert org>
Date: Wed Jun 18 11:50:47 2014 +0200
properties: Add snapshots page
This will later be used to show the snapshots of a VM.
https://bugzilla.gnome.org/show_bug.cgi?id=710306
src/properties.vala | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/properties.vala b/src/properties.vala
index 1eb5b40..fc9cff9 100644
--- a/src/properties.vala
+++ b/src/properties.vala
@@ -6,12 +6,13 @@ private enum Boxes.PropertiesPage {
SYSTEM,
DISPLAY,
DEVICES,
+ SNAPSHOTS,
LAST,
}
private class Boxes.Properties: Gtk.Stack, Boxes.UI {
- private const string[] page_names = { "login", "system", "display", "devices" };
+ private const string[] page_names = { "login", "system", "display", "devices", "snapshots" };
public UIState previous_ui_state { get; protected set; }
public UIState ui_state { get; protected set; }
@@ -56,6 +57,10 @@ private class Boxes.Properties: Gtk.Stack, Boxes.UI {
case PropertiesPage.DEVICES:
name = _("Devices");
break;
+
+ case PropertiesPage.SNAPSHOTS:
+ name = _("Snapshots");
+ break;
}
get_style_context ().add_class ("content-bg");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]