summaryrefslogtreecommitdiff
path: root/plugins/XSoundNotify
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/XSoundNotify')
-rw-r--r--plugins/XSoundNotify/src/xsn_main.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/XSoundNotify/src/xsn_main.cpp b/plugins/XSoundNotify/src/xsn_main.cpp
index e1f4bb2989..fd59bbbad3 100644
--- a/plugins/XSoundNotify/src/xsn_main.cpp
+++ b/plugins/XSoundNotify/src/xsn_main.cpp
@@ -474,12 +474,7 @@ int PrebuildContactMenu(WPARAM wParam, LPARAM lParam)
if (hContact) {
char* szProto = GetContactProto(hContact);
PROTOACCOUNT *pa = ProtoGetAccount(szProto);
- CLISTMENUITEM mi = { sizeof(mi) };
- if (IsSuitableProto(pa))
- mi.flags = CMIF_TCHAR | CMIM_FLAGS;
- else
- mi.flags = CMIF_TCHAR | CMIM_FLAGS | CMIF_HIDDEN;
- CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)hChangeSound, (LPARAM)&mi);
+ Menu_ShowItem(hChangeSound, IsSuitableProto(pa));
}
return 0;
}