diff options
author | Paweł Jastrzębski <pawelj@vulturis.eu> | 2014-01-18 10:20:43 +0100 |
---|---|---|
committer | Paweł Jastrzębski <pawelj@vulturis.eu> | 2014-01-18 10:20:43 +0100 |
commit | f8610e1cd7843d6185ce5177963aacd61de40385 (patch) | |
tree | 0ec5be049cbaecfa933fbc3c448dfce7452c9a0b | |
parent | Miscellaneous GUI tweaks (diff) | |
download | kcc-f8610e1cd7843d6185ce5177963aacd61de40385.tar.gz kcc-f8610e1cd7843d6185ce5177963aacd61de40385.tar.bz2 kcc-f8610e1cd7843d6185ce5177963aacd61de40385.zip |
Linux: Disabling systray icon
-rw-r--r-- | kcc/KCC_gui.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kcc/KCC_gui.py b/kcc/KCC_gui.py index 139a282..deff9a6 100644 --- a/kcc/KCC_gui.py +++ b/kcc/KCC_gui.py @@ -1023,16 +1023,20 @@ class KCCGUI(KCC_ui.Ui_KCC): self.statusBarFontSize = 10 self.statusBarStyle = 'QLabel{padding-top:2px;padding-bottom:3px;}' self.ProgressBar.setStyleSheet('QProgressBar{padding-top:5px;text-align:center;}') + self.tray.show() elif sys.platform.startswith('linux'): self.listFontSize = 8 self.statusBarFontSize = 8 self.statusBarStyle = 'QLabel{padding-top:5px;padding-bottom:3px;}' self.statusBar.setStyleSheet('QStatusBar::item{border:0px;border-top:2px solid #C2C7CB;}') + # Linux implementation QSystemTrayIcon is simply broken in Qt 5.2.0 + #self.tray.show() else: self.listFontSize = 9 self.statusBarFontSize = 8 self.statusBarStyle = 'QLabel{padding-top:3px;padding-bottom:3px}' self.statusBar.setStyleSheet('QStatusBar::item{border:0px;border-top:2px solid #C2C7CB;}') + self.tray.show() self.profiles = { "Kindle Paperwhite": {'Quality': True, 'ForceExpert': False, 'DefaultFormat': 0, @@ -1217,4 +1221,3 @@ class KCCGUI(KCC_ui.Ui_KCC): MW.setWindowTitle("Kindle Comic Converter " + __version__) MW.show() MW.raise_() - self.tray.show() |