@@ -90,6 +90,7 @@ class DisplayIndicator(object):
90 flickable.moving.wait_for(False)
90 flickable.moving.wait_for(False)
92 def close(self):
92 def close(self):
93+ """Close the indicator page."""
93 self._main_window.close_indicator_page()
94 self._main_window.close_indicator_page()
@@ -106,7 +107,7 @@ class DisplayIndicatorPage(IndicatorPage):
106 return False
107 return False
108 def lock_rotation(self):
109 def lock_rotation(self):
109− """Toggles the rotation lock indicator to locked."""
110+ """Toggle the rotation lock indicator to locked."""
110 switcher = self._get_switcher()
111 switcher = self._get_switcher()
111 switcher.check()
112 switcher.check()
112 switcher.checked.wait_for(True)
113 switcher.checked.wait_for(True)
@@ -116,7 +117,7 @@ class DisplayIndicatorPage(IndicatorPage):
116 ubuntuuitoolkit.CheckBox, objectName='switcher')
117 ubuntuuitoolkit.CheckBox, objectName='switcher')
118 def unlock_rotation(self):
119 def unlock_rotation(self):
119− """Toggles the rotation lock indicator to unlocked."""
120+ """Toggle the rotation lock indicator to unlocked."""
120 switcher = self._get_switcher()
121 switcher = self._get_switcher()
121 switcher.uncheck()
122 switcher.uncheck()
122 switcher.checked.wait_for(False)
123 switcher.checked.wait_for(False)