Commit 4bd3f0c5 authored by Scott Wheeler's avatar Scott Wheeler

Disable the option for track announcement popups when the system tray icon

is disabled (since currently the popups are implemented as a feature of the
system tray).

CCMAIL:71777-done@bugs.kde.org

svn path=/trunk/kdemultimedia/juk/; revision=277187
parent 7bc2ad3c
......@@ -501,12 +501,14 @@ void JuK::setupSystemTray()
m_systemTray->slotPlay();
m_toggleDockOnCloseAction->setEnabled(true);
m_togglePopupsAction->setEnabled(true);
connect(m_systemTray, SIGNAL(quitSelected()), this, SLOT(slotQuit()));
}
else {
m_systemTray = 0;
m_toggleDockOnCloseAction->setEnabled(false);
m_togglePopupsAction->setEnabled(false);
}
}
......@@ -842,6 +844,7 @@ void JuK::slotToggleSystemTray(bool enabled)
delete m_systemTray;
m_systemTray = 0;
m_toggleDockOnCloseAction->setEnabled(false);
m_togglePopupsAction->setEnabled(false);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment