summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/MobileState/src/clients.h5
-rw-r--r--plugins/MobileState/src/main.cpp6
-rw-r--r--plugins/MobileState/src/version.h2
3 files changed, 9 insertions, 4 deletions
diff --git a/plugins/MobileState/src/clients.h b/plugins/MobileState/src/clients.h
index 896438188b..00bf0ee55c 100644
--- a/plugins/MobileState/src/clients.h
+++ b/plugins/MobileState/src/clients.h
@@ -47,5 +47,8 @@ static const TCHAR *clients[] = {
_T("prelude"),
_T("nimbuzz"),
_T("mqutim"),
- _T("sleekxmpp.com")
+ _T("sleekxmpp.com"),
+ _T("facebook (mobile"),
+ _T("facebook app"),
+ _T("facebook messenger")
};
diff --git a/plugins/MobileState/src/main.cpp b/plugins/MobileState/src/main.cpp
index 8e57f294bd..17de9672af 100644
--- a/plugins/MobileState/src/main.cpp
+++ b/plugins/MobileState/src/main.cpp
@@ -71,9 +71,11 @@ int ExtraIconsApply(WPARAM wParam, LPARAM lParam)
if (wParam == NULL)
return 0;
- const char *icon = hasMobileClient((HANDLE) wParam, lParam) ? "mobile_icon" : NULL;
+ if (hasMobileClient((HANDLE)wParam, lParam))
+ ExtraIcon_SetIcon(hExtraIcon, (HANDLE)wParam, "mobile_icon");
+ else
+ ExtraIcon_Clear(hExtraIcon, (HANDLE)wParam);
- ExtraIcon_SetIcon(hExtraIcon, (HANDLE)wParam, icon);
return 0;
}
diff --git a/plugins/MobileState/src/version.h b/plugins/MobileState/src/version.h
index a9edbdbdf2..f026e0724e 100644
--- a/plugins/MobileState/src/version.h
+++ b/plugins/MobileState/src/version.h
@@ -1,7 +1,7 @@
#define __MAJOR_VERSION 0
#define __MINOR_VERSION 0
#define __RELEASE_NUM 1
-#define __BUILD_NUM 3
+#define __BUILD_NUM 4
#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM