Fixed missing u and tidied up blank lines between class definitions

This commit is contained in:
Jonathan Stafford 2012-01-30 06:07:06 +08:00
parent 02975a61bf
commit d26de263f3
3 changed files with 4 additions and 1 deletions

View File

@ -43,6 +43,7 @@ class MediaType(object):
Audio = 1
Video = 2
class SlideLimits(object):
"""
Provides an enumeration for behaviour of OpenLP at the end limits of each
@ -52,6 +53,7 @@ class SlideLimits(object):
Wrap = 2
Next = 3
class ServiceItemAction(object):
"""
Provides an enumeration for the required action moving between service

View File

@ -47,6 +47,7 @@ class ServiceItemType(object):
Image = 2
Command = 3
class ItemCapabilities(object):
"""
Provides an enumeration of a serviceitem's capabilities

View File

@ -621,7 +621,7 @@ class SlideController(Controller):
Receiver.send_message('servicemanager_previous_item', None)
elif keypressCommand == ServiceItemAction.PreviousLastSlide:
# Go to the last slide of the previous item
Receiver.send_message('servicemanager_previous_item', 'last slide')
Receiver.send_message('servicemanager_previous_item', u'last slide')
else:
Receiver.send_message('servicemanager_next_item')
self.keypress_loop = False