updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / unity-2d / show-all-systray-icon.patch
blobb2bc3f059d1925a99c73ac8b5a3cf4beeaed7c3e
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
4 @@ -54,6 +54,7 @@
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()
12 @@ -69,7 +70,7 @@
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)) {
18 return;
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
25 @@ -50,6 +50,7 @@
26 SystemTray::FdoSelectionManager* m_selectionManager;
27 QConf* m_dconfPanel;
28 QStringList m_whitelist;
29 + bool m_whitelistAll;
32 #endif /* LEGACYTRAYAPPLET_H */