[gnome-boxes] properties: Rename "Login" to "General"



commit 91b4cc223c3a2ea1ad3573064a18d0453d52d85d
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Sat Nov 8 19:03:59 2014 +0000

    properties: Rename "Login" to "General"
    
    Login isn't a very good name for this section, lets rename this to
    "General" on the suggestion of Jakub Steiner and Allan Day.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=710293

 src/libvirt-machine-properties.vala |    2 +-
 src/ovirt-machine.vala              |    2 +-
 src/properties.vala                 |   10 +++++-----
 src/remote-machine.vala             |    2 +-
 4 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/libvirt-machine-properties.vala b/src/libvirt-machine-properties.vala
index 657875a..de382e2 100644
--- a/src/libvirt-machine-properties.vala
+++ b/src/libvirt-machine-properties.vala
@@ -113,7 +113,7 @@ private class Boxes.LibvirtMachineProperties: GLib.Object, Boxes.IPropertiesProv
             }
 
         switch (page) {
-        case PropertiesPage.LOGIN:
+        case PropertiesPage.GENERAL:
             var property = add_string_property (ref list, _("Name"), machine.name);
             property.editable = true;
             property.changed.connect ((property, name) => {
diff --git a/src/ovirt-machine.vala b/src/ovirt-machine.vala
index 6eae4b2..9cbb260 100644
--- a/src/ovirt-machine.vala
+++ b/src/ovirt-machine.vala
@@ -60,7 +60,7 @@ private class Boxes.OvirtMachine: Boxes.Machine {
         var list = new List<Boxes.Property> ();
 
         switch (page) {
-        case PropertiesPage.LOGIN:
+        case PropertiesPage.GENERAL:
             add_string_property (ref list, _("Virtualizer"), source.uri);
             add_string_property (ref list, _("URI"), display.uri);
             break;
diff --git a/src/properties.vala b/src/properties.vala
index 173febd..1a26fe3 100644
--- a/src/properties.vala
+++ b/src/properties.vala
@@ -2,7 +2,7 @@
 using Gtk;
 
 private enum Boxes.PropertiesPage {
-    LOGIN,
+    GENERAL,
     SYSTEM,
     DISPLAY,
     DEVICES,
@@ -42,8 +42,8 @@ private class Boxes.Properties: Gtk.Stack, Boxes.UI {
 
         public PageWidget (PropertiesPage page, Machine machine) {
             switch (page) {
-            case PropertiesPage.LOGIN:
-                name = _("Login");
+            case PropertiesPage.GENERAL:
+                name = _("General");
                 break;
 
             case PropertiesPage.SYSTEM:
@@ -170,9 +170,9 @@ private class Boxes.Properties: Gtk.Stack, Boxes.UI {
         PropertiesPage current_page;
 
         if (libvirt_machine != null)
-            current_page = (previous_ui_state == UIState.WIZARD) ? PropertiesPage.SYSTEM : 
PropertiesPage.LOGIN;
+            current_page = (previous_ui_state == UIState.WIZARD) ? PropertiesPage.SYSTEM : 
PropertiesPage.GENERAL;
         else
-            current_page = PropertiesPage.LOGIN;
+            current_page = PropertiesPage.GENERAL;
 
         var path = new Gtk.TreePath.from_indices (current_page);
         window.sidebar.props_sidebar.selection.select_path (path);
diff --git a/src/remote-machine.vala b/src/remote-machine.vala
index 278f505..bad823b 100644
--- a/src/remote-machine.vala
+++ b/src/remote-machine.vala
@@ -49,7 +49,7 @@ private class Boxes.RemoteMachine: Boxes.Machine, Boxes.IPropertiesProvider {
         var list = new List<Boxes.Property> ();
 
         switch (page) {
-        case PropertiesPage.LOGIN:
+        case PropertiesPage.GENERAL:
             var property = add_string_property (ref list, _("Name"), source.name);
             property.editable = true;
             property.changed.connect ((property, name) => {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]