Helpviewer/HelpTabWidget.py

branch
6_1_x
changeset 4794
7a0bb183bee1
parent 4706
4cdd97fbc522
child 5389
9b1c800daff3
--- a/Helpviewer/HelpTabWidget.py	Sat Feb 27 12:54:01 2016 +0100
+++ b/Helpviewer/HelpTabWidget.py	Thu Mar 03 19:32:11 2016 +0100
@@ -27,6 +27,7 @@
 
 import Utilities
 import Preferences
+import Globals
 
 from eric6config import getConfig
 
@@ -177,9 +178,10 @@
         self.__tabContextMenu.addAction(
             UI.PixmapCache.getIcon("print.png"),
             self.tr('Print'), self.__tabContextMenuPrint)
-        self.__tabContextMenu.addAction(
-            UI.PixmapCache.getIcon("printPdf.png"),
-            self.tr('Print as PDF'), self.__tabContextMenuPrintPdf)
+        if Globals.isLinuxPlatform():
+            self.__tabContextMenu.addAction(
+                UI.PixmapCache.getIcon("printPdf.png"),
+                self.tr('Print as PDF'), self.__tabContextMenuPrintPdf)
         self.__tabContextMenu.addSeparator()
         self.__tabContextMenu.addAction(
             UI.PixmapCache.getIcon("reload.png"),

eric ide

mercurial