forked from Lainports/opnsense-ports
23 lines
750 B
C++
23 lines
750 B
C++
Re-enable tray icon for KDE4 until KDE5 is in the ports tree. Mpris plugin
|
|
works, but tray icon might be wanted to minimize app in the time being.
|
|
|
|
--- src/GMPlayerManager.cpp.orig 2017-02-08 01:48:39 UTC
|
|
+++ src/GMPlayerManager.cpp
|
|
@@ -294,7 +294,7 @@ GMPlayerManager::~GMPlayerManager() {
|
|
|
|
myself=nullptr;
|
|
|
|
-#ifdef HAVE_SSSION
|
|
+#ifdef HAVE_SESSION
|
|
delete session;
|
|
#endif
|
|
delete application;
|
|
@@ -747,7 +747,7 @@ FXint GMPlayerManager::run(int& argc,cha
|
|
// KDE5 comes with mpris plugin on the toolbar, no need for
|
|
// tray icon
|
|
if (gm_desktop_session()==DESKTOP_SESSION_KDE_PLASMA) {
|
|
- preferences.gui_tray_icon_disabled=true;
|
|
+ preferences.gui_tray_icon_disabled=false;
|
|
}
|
|
|
|
/// Grab Media Player Keys
|