diff options
Diffstat (limited to 'src/SystemTray.cc')
-rw-r--r-- | src/SystemTray.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/SystemTray.cc b/src/SystemTray.cc index ddc3738..fb141d4 100644 --- a/src/SystemTray.cc +++ b/src/SystemTray.cc | |||
@@ -149,6 +149,7 @@ void TrayWindow::pinByClassname(const std::vector<std::string> left, | |||
149 | this->window(), xclasshint.get())) | 149 | this->window(), xclasshint.get())) |
150 | { | 150 | { |
151 | std::string classname(xclasshint.get()->res_class); | 151 | std::string classname(xclasshint.get()->res_class); |
152 | classname = FbTk::StringUtil::toLower(classname); | ||
152 | 153 | ||
153 | auto ix = std::find(left.begin(), left.end(), classname); | 154 | auto ix = std::find(left.begin(), left.end(), classname); |
154 | if (ix != left.end()) | 155 | if (ix != left.end()) |
@@ -235,8 +236,10 @@ SystemTray::SystemTray(const FbTk::FbWindow& parent, | |||
235 | "", screen.name() + ".systray.pinRight", | 236 | "", screen.name() + ".systray.pinRight", |
236 | screen.altName() + ".Systray.PinRight") { | 237 | screen.altName() + ".Systray.PinRight") { |
237 | 238 | ||
238 | FbTk::StringUtil::stringtok(m_pinleft, m_rc_systray_pinleft, " ,"); | 239 | FbTk::StringUtil::stringtok(m_pinleft, |
239 | FbTk::StringUtil::stringtok(m_pinright, m_rc_systray_pinright, " ,"); | 240 | FbTk::StringUtil::toLower(m_rc_systray_pinleft), " ,"); |
241 | FbTk::StringUtil::stringtok(m_pinright, | ||
242 | FbTk::StringUtil::toLower(m_rc_systray_pinright), " ,"); | ||
240 | 243 | ||
241 | FbTk::EventManager::instance()->add(*this, m_window); | 244 | FbTk::EventManager::instance()->add(*this, m_window); |
242 | FbTk::EventManager::instance()->add(*this, m_selection_owner); | 245 | FbTk::EventManager::instance()->add(*this, m_selection_owner); |