1 === modified file 'panel/applets/legacytray/legacytrayapplet.cpp'
2 --- panel/applets/legacytray/legacytrayapplet.cpp 2011-08-31 15:45:56 +0000
3 +++ panel/applets/legacytray/legacytrayapplet.cpp 2011-10-14 21:58:57 +0000
5 SLOT(slotTaskCreated(SystemTray::Task*)));
7 m_whitelist = m_dconfPanel->property("systrayWhitelist").toStringList();
8 + m_whitelistAll = m_whitelist.contains("all", Qt::CaseInsensitive);
11 LegacyTrayApplet::~LegacyTrayApplet()
13 classes to allow in the Panel's systray implementation." but here we only
14 support matching on WM_CLASS.
16 - if (!m_whitelist.contains(task->name())) {
17 + if (!m_whitelistAll && !m_whitelist.contains(task->name(), Qt::CaseInsensitive)) {
22 === modified file 'panel/applets/legacytray/legacytrayapplet.h'
23 --- panel/applets/legacytray/legacytrayapplet.h 2011-08-31 15:45:56 +0000
24 +++ panel/applets/legacytray/legacytrayapplet.h 2011-10-14 21:58:57 +0000
26 SystemTray::FdoSelectionManager* m_selectionManager;
28 QStringList m_whitelist;
29 + bool m_whitelistAll;
32 #endif /* LEGACYTRAYAPPLET_H */