From daf9ceca497121e9d8124079951e227b84b72be9 Mon Sep 17 00:00:00 2001 From: Kiooeht Date: Mon, 12 Sep 2011 21:18:18 -0700 Subject: [PATCH] Fix spelling mistakes. "avaliable" != "available" --- menus.py | 4 ++-- toast.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/menus.py b/menus.py index 7e5a6b8..9a6e3a0 100644 --- a/menus.py +++ b/menus.py @@ -1189,7 +1189,7 @@ class PesterOptions(QtGui.QDialog): self.connect(self.notifycheck, QtCore.SIGNAL('stateChanged(int)'), self, QtCore.SLOT('notifyChange(int)')) self.notifyOptions = QtGui.QComboBox(self) - types = self.parent().tm.avaliableTypes() + types = self.parent().tm.availableTypes() cur = self.parent().tm.currentType() self.notifyOptions.addItems(types) for (i,t) in enumerate(types): @@ -1716,7 +1716,7 @@ class UpdatePesterchum(QtGui.QDialog): self.setWindowTitle("Pesterchum v%s Update" % (ver)) self.setModal(False) - self.title = QtGui.QLabel("An update to Pesterchum is avaliable!") + self.title = QtGui.QLabel("An update to Pesterchum is available!") layout_0 = QtGui.QVBoxLayout() layout_0.addWidget(self.title) diff --git a/toast.py b/toast.py index 4042b42..4230738 100644 --- a/toast.py +++ b/toast.py @@ -131,7 +131,7 @@ class ToastMachine(object): def currentType(self): return self.type - def avaliableTypes(self): + def availableTypes(self): return sorted(self.types.keys()) def setCurrentType(self, type):