Change application entry in indicator menu to behave like system tray icon
authorAurelien Gateau <aurelien.gateau@canonical.com>
Mon, 12 Oct 2009 12:50:06 +0000 (14:50 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 15 Oct 2009 18:39:18 +0000 (20:39 +0200)
src/qtui/indicatornotificationbackend.cpp

index fabe20c..84e767e 100644 (file)
@@ -48,7 +48,7 @@ IndicatorNotificationBackend::IndicatorNotificationBackend(QObject *parent)
   _server = QIndicate::Server::defaultInstance();
   _server->setType("message.irc");
   _server->setDesktopFile(XSTR(DESKTOP_FILE));
-  connect(_server, SIGNAL(serverDisplay()), QtUi::mainWindow(), SLOT(forceActivated()));
+  connect(_server, SIGNAL(serverDisplay()), QtUi::mainWindow(), SLOT(toggleMinimizedToTray()));
 
   if (_enabled) {
     _server->show();