forked from openlp/openlp
Fix quotes
This commit is contained in:
parent
aadbce133e
commit
ea14deaa87
42
.bzrignore
42
.bzrignore
@ -1,42 +0,0 @@
|
||||
*.pyc
|
||||
*.*~
|
||||
\#*\#
|
||||
*.eric4project
|
||||
*.eric5project
|
||||
*.ropeproject
|
||||
*.e4*
|
||||
.eric4project
|
||||
.komodotools
|
||||
*.komodoproject
|
||||
list
|
||||
openlp.org 2.0.e4*
|
||||
documentation/build/html
|
||||
documentation/build/doctrees
|
||||
*.log*
|
||||
dist
|
||||
OpenLP.egg-info
|
||||
build
|
||||
resources/innosetup/Output
|
||||
_eric4project
|
||||
.pylint.d
|
||||
*.qm
|
||||
openlp/core/resources.py.old
|
||||
*.qm
|
||||
resources/windows/warnOpenLP.txt
|
||||
openlp.cfg
|
||||
.idea
|
||||
openlp.pro
|
||||
.kdev4
|
||||
tests.kdev4
|
||||
*.nja
|
||||
*.orig
|
||||
__pycache__
|
||||
*.dll
|
||||
.directory
|
||||
*.kate-swp
|
||||
# Git files
|
||||
.git
|
||||
.gitignore
|
||||
# Rejected diff's
|
||||
*.rej
|
||||
*.~\?~
|
@ -153,16 +153,16 @@ def set_button_tooltip(bar):
|
||||
for button in bar.buttons():
|
||||
if bar.standardButton(button) == QDialogButtonBox.Cancel:
|
||||
button.setToolTip(translate('OpenLP.SourceSelectForm',
|
||||
"Ignoring current changes and return to OpenLP"))
|
||||
'Ignoring current changes and return to OpenLP'))
|
||||
elif bar.standardButton(button) == QDialogButtonBox.Reset:
|
||||
button.setToolTip(translate('OpenLP.SourceSelectForm',
|
||||
"Delete all user-defined text and revert to PJLink default text"))
|
||||
'Delete all user-defined text and revert to PJLink default text'))
|
||||
elif bar.standardButton(button) == QDialogButtonBox.Discard:
|
||||
button.setToolTip(translate('OpenLP.SourceSelectForm',
|
||||
"Discard changes and reset to previous user-defined text"))
|
||||
'Discard changes and reset to previous user-defined text'))
|
||||
elif bar.standardButton(button) == QDialogButtonBox.Ok:
|
||||
button.setToolTip(translate('OpenLP.SourceSelectForm',
|
||||
"Save changes and return to OpenLP"))
|
||||
'Save changes and return to OpenLP'))
|
||||
else:
|
||||
log.debug('No tooltip for button {}'.format(button.text()))
|
||||
|
||||
|
@ -94,11 +94,9 @@ class TestProjectorManager(TestCase, TestMixin):
|
||||
self.projector_manager.bootstrap_initialise()
|
||||
self.projector_manager.bootstrap_post_set_up()
|
||||
|
||||
# THEN: verify calls to retrieve saved projectors
|
||||
# THEN: verify calls to retrieve saved projectors and edit page initialized
|
||||
self.assertEqual(1, self.projector_manager._load_projectors.call_count,
|
||||
'Initialization should have called load_projectors()')
|
||||
|
||||
# THEN: Verify edit page is initialized
|
||||
self.assertEqual(type(self.projector_manager.projector_form), ProjectorEditForm,
|
||||
'Initialization should have created a Projector Edit Form')
|
||||
self.assertIs(self.projector_manager.projectordb,
|
||||
|
Loading…
Reference in New Issue
Block a user