diff options
Diffstat (limited to 'Swift')
-rw-r--r-- | Swift/QtUI/QtSystemTray.cpp | 1 | ||||
-rw-r--r-- | Swift/resources/Windows/Swift.rc | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/Swift/QtUI/QtSystemTray.cpp b/Swift/QtUI/QtSystemTray.cpp index d6180e6..123e6a3 100644 --- a/Swift/QtUI/QtSystemTray.cpp +++ b/Swift/QtUI/QtSystemTray.cpp @@ -13,6 +13,7 @@ namespace Swift { QtSystemTray::QtSystemTray() : QObject(), onlineIcon_(":icons/online.png"), awayIcon_(":icons/away.png"), dndIcon_(":icons/dnd.png"), offlineIcon_(":icons/offline.png"), newMessageIcon_(":icons/new-chat.png"), throbberMovie_(":/icons/connecting.mng"), unreadMessages_(false), connecting_(false) { trayIcon_ = new QSystemTrayIcon(offlineIcon_); + trayIcon_->setToolTip("Swift"); connect(trayIcon_, SIGNAL(activated(QSystemTrayIcon::ActivationReason)), this, SLOT(handleIconActivated(QSystemTrayIcon::ActivationReason))); connect(&throbberMovie_, SIGNAL(frameChanged(int)), this, SLOT(handleThrobberFrameChanged(int))); trayIcon_->show(); diff --git a/Swift/resources/Windows/Swift.rc b/Swift/resources/Windows/Swift.rc index 9e96951..99201e6 100644 --- a/Swift/resources/Windows/Swift.rc +++ b/Swift/resources/Windows/Swift.rc @@ -1 +1,37 @@ +#include "Swift/Controllers/BuildVersion.h" + +1 VERSIONINFO +// FILEVERSION 1.0 +// PRODUCTVERSION 1.0 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x1L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904b0" + BEGIN + VALUE "Comments", "Swift IM Client\0" + VALUE "CompanyName", "Swift\0" + VALUE "FileDescription", "Swift\0" + VALUE "FileVersion", SWIFT_VERSION_STRING + VALUE "InternalName", "Swift\0" + VALUE "LegalCopyright", "Copyright (C) 2010 Swift Team\0" + VALUE "OriginalFilename", "Swift.exe\0" + VALUE "ProductName", "Swift\0" + VALUE "ProductVersion", SWIFT_VERSION_STRING + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1200 + END +END + IDI_ICON1 ICON DISCARDABLE "Swift.ico" |