diff --git a/openlp/plugins/presentations/lib/powerpointcontroller.py b/openlp/plugins/presentations/lib/powerpointcontroller.py index 362803ab7..5c82695e3 100644 --- a/openlp/plugins/presentations/lib/powerpointcontroller.py +++ b/openlp/plugins/presentations/lib/powerpointcontroller.py @@ -351,7 +351,9 @@ class PowerpointDocument(PresentationDocument): except AttributeError as e: log.exception('AttributeError while in start_presentation') log.exception(e) - if ppt_window and Settings().value('presentations/powerpoint hide in taskbar'): + # Hide the presentation windows icon from the taskbar, if enabled and if powerpoint 2007 or newer + if ppt_window and Settings().value('presentations/powerpoint hide in taskbar') and \ + float(self.presentation.Application.Version) >= 12.0: win32gui.EnumWindows(self._window_enum_callback, size) # Make sure powerpoint doesn't steal focus, unless we're on a single screen setup if len(ScreenList().screen_list) > 1: diff --git a/openlp/plugins/presentations/lib/presentationtab.py b/openlp/plugins/presentations/lib/presentationtab.py index af6a5d4c8..e157b5012 100644 --- a/openlp/plugins/presentations/lib/presentationtab.py +++ b/openlp/plugins/presentations/lib/presentationtab.py @@ -133,7 +133,8 @@ class PresentationTab(SettingsTab): translate('PresentationPlugin.PresentationTab', 'Let PowerPoint control the size and position of the presentation window.')) self.ppt_hide_check_box.setText( - translate('PresentationPlugin.PresentationTab', 'Hide PowerPoint presentation windows from the taskbar')) + translate('PresentationPlugin.PresentationTab', + 'Hide PowerPoint presentation windows from the taskbar (PowerPoint 2007 and newer)')) self.pdf_program_check_box.setText( translate('PresentationPlugin.PresentationTab', 'Use given full path for mudraw or ghostscript binary:'))