forked from openlp/openlp
Remove print statements
This commit is contained in:
parent
377f3ad6ea
commit
632fae5a76
@ -523,11 +523,11 @@ class ServiceManager(QtGui.QWidget):
|
||||
self.parent.serviceChanged(True, self.serviceName)
|
||||
|
||||
def validateItem(self, serviceItem):
|
||||
print "---"
|
||||
print serviceItem.name
|
||||
print serviceItem.title
|
||||
print serviceItem.service_item_path
|
||||
print serviceItem.service_item_type
|
||||
# print "---"
|
||||
# print serviceItem.name
|
||||
# print serviceItem.title
|
||||
# print serviceItem.service_item_path
|
||||
# print serviceItem.service_item_type
|
||||
return True
|
||||
|
||||
def cleanUp(self):
|
||||
|
@ -125,7 +125,7 @@ class ImpressController(PresentationController):
|
||||
"""
|
||||
log.debug(u'Load Presentation OpenOffice')
|
||||
self.store_filename(presentation)
|
||||
print "s.dsk1 ", self.desktop
|
||||
#print "s.dsk1 ", self.desktop
|
||||
if os.name == u'nt':
|
||||
desktop = self.get_com_desktop()
|
||||
if desktop is None:
|
||||
@ -138,7 +138,7 @@ class ImpressController(PresentationController):
|
||||
if desktop is None:
|
||||
return
|
||||
self.desktop = desktop
|
||||
print "s.dsk2 ", self.desktop
|
||||
#print "s.dsk2 ", self.desktop
|
||||
properties = []
|
||||
properties.append(self.create_property(u'Minimized', True))
|
||||
properties = tuple(properties)
|
||||
@ -250,13 +250,13 @@ class ImpressController(PresentationController):
|
||||
|
||||
def is_loaded(self):
|
||||
log.debug(u'is loaded OpenOffice')
|
||||
print "is_loaded "
|
||||
#print "is_loaded "
|
||||
if self.presentation is None or self.document is None:
|
||||
print "no present or document"
|
||||
#print "no present or document"
|
||||
return False
|
||||
try:
|
||||
if self.document.getPresentation() is None:
|
||||
print "no getPresentation"
|
||||
#print "no getPresentation"
|
||||
return False
|
||||
except:
|
||||
return False
|
||||
@ -264,11 +264,11 @@ class ImpressController(PresentationController):
|
||||
|
||||
def is_active(self):
|
||||
log.debug(u'is active OpenOffice')
|
||||
print "is_active "
|
||||
#print "is_active "
|
||||
if not self.is_loaded():
|
||||
print "False "
|
||||
#print "False "
|
||||
return False
|
||||
print "self.con ", self.controller
|
||||
#print "self.con ", self.controller
|
||||
if self.controller is None:
|
||||
return False
|
||||
return True
|
||||
|
Loading…
Reference in New Issue
Block a user