forked from openlp/openlp
A couple of small changes to get powerpoint+viewer working.
bzr-revno: 706
This commit is contained in:
commit
9d6fc23349
@ -208,7 +208,7 @@ class PowerpointController(PresentationController):
|
||||
self.presentation.SlideShowSettings.Run()
|
||||
self.presentation.SlideShowWindow.View.GotoSlide(1)
|
||||
rendermanager = self.plugin.render_manager
|
||||
rect = rendermanager.screen_list[rendermanager.current_display][u'size']
|
||||
rect = rendermanager.screens.current[u'size']
|
||||
self.presentation.SlideShowWindow.Top = rect.y() * 72 / dpi
|
||||
self.presentation.SlideShowWindow.Height = rect.height() * 72 / dpi
|
||||
self.presentation.SlideShowWindow.Left = rect.x() * 72 / dpi
|
||||
|
@ -108,7 +108,7 @@ class PptviewController(PresentationController):
|
||||
if self.pptid >= 0:
|
||||
self.close_presentation()
|
||||
rendermanager = self.plugin.render_manager
|
||||
rect = rendermanager.screen_list[rendermanager.current_display][u'size']
|
||||
rect = rendermanager.screens.current[u'size']
|
||||
rect = RECT(rect.x(), rect.y(), rect.right(), rect.bottom())
|
||||
filepath = str(presentation.replace(u'/', u'\\'));
|
||||
try:
|
||||
|
@ -1 +1 @@
|
||||
1.9.0-705
|
||||
1.9.0-706
|
||||
|
Loading…
Reference in New Issue
Block a user