[gnome-boxes] properties-page-widget: Fix typo in class name
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] properties-page-widget: Fix typo in class name
- Date: Thu, 11 Dec 2014 13:12:27 +0000 (UTC)
commit 3a23286dff156cee2ae8e1cc63e148027ec7dda8
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Thu Dec 11 12:56:30 2014 +0000
properties-page-widget: Fix typo in class name
ProperitesPageWidget -> PropertiesPageWidget.
src/properties-page-widget.vala | 4 ++--
src/properties.vala | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/properties-page-widget.vala b/src/properties-page-widget.vala
index 200e5ea..fe8bd4a 100644
--- a/src/properties-page-widget.vala
+++ b/src/properties-page-widget.vala
@@ -1,7 +1,7 @@
// This file is part of GNOME Boxes. License: LGPLv2+
using Gtk;
-private class Boxes.ProperitesPageWidget: Gtk.Box {
+private class Boxes.PropertiesPageWidget: Gtk.Box {
public bool empty;
private Gtk.Grid grid;
@@ -9,7 +9,7 @@ private class Boxes.ProperitesPageWidget: Gtk.Box {
public signal void refresh_properties ();
- public ProperitesPageWidget (PropertiesPage page, Machine machine) {
+ public PropertiesPageWidget (PropertiesPage page, Machine machine) {
switch (page) {
case PropertiesPage.GENERAL:
name = _("General");
diff --git a/src/properties.vala b/src/properties.vala
index 30b9fc2..d37f6c0 100644
--- a/src/properties.vala
+++ b/src/properties.vala
@@ -33,10 +33,10 @@ private class Boxes.Properties: Gtk.Notebook, Boxes.UI {
return;
for (var i = 0; i < PropertiesPage.LAST; i++) {
- var page = new ProperitesPageWidget (i, machine);
+ var page = new PropertiesPageWidget (i, machine);
var label = new Gtk.Label (page.name);
insert_page (page, label, i);
- set_data<ProperitesPageWidget> (@"boxes-property-$i", page);
+ set_data<PropertiesPageWidget> (@"boxes-property-$i", page);
page.refresh_properties.connect (() => {
var current_page = this.page;
@@ -69,7 +69,7 @@ private class Boxes.Properties: Gtk.Notebook, Boxes.UI {
var reboot_required = false;
for (var i = 0; i < PropertiesPage.LAST; i++) {
- var page = get_data<ProperitesPageWidget> (@"boxes-property-$i");
+ var page = get_data<PropertiesPageWidget> (@"boxes-property-$i");
reboot_required |= page.flush_changes ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]