Fix typo inside Switch class

Corrects setToogleState into setToggleState, slipped from 4dfc869e

https://bugzilla.gnome.org/show_bug.cgi?id=621880
This commit is contained in:
Giovanni Campagna 2010-07-22 18:34:53 +02:00 committed by Dan Winship
parent 2e77724341
commit 0c38f49dde

View File

@ -34,7 +34,7 @@ Switch.prototype = {
this.setToggleState(state); this.setToggleState(state);
}, },
setToogleState: function(state) { setToggleState: function(state) {
if (state) { if (state) {
this._on.remove_style_pseudo_class('checked'); this._on.remove_style_pseudo_class('checked');
this._on.text = _("ON"); this._on.text = _("ON");