summaryrefslogtreecommitdiff
path: root/yapp/services.cpp
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-01-27 14:26:48 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-01-27 14:26:48 +0000
commitfa08cfd41dfb84b42a2183a08a6045528a4e5263 (patch)
tree86b172e7ac6a3d7ab20878f3196d69179da58001 /yapp/services.cpp
parent155c12bafe3a30b502f8effc07e2ef258cdee85b (diff)
oops - re-applied popup history renderer patch from Eblis
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@81 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'yapp/services.cpp')
-rw-r--r--yapp/services.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/yapp/services.cpp b/yapp/services.cpp
index 0b99f20..ff9bb9f 100644
--- a/yapp/services.cpp
+++ b/yapp/services.cpp
@@ -342,9 +342,12 @@ void InitServices() {
menu.position = 500010000;
menu.pszPopupName = Translate("PopUps");
+ hiPopupHistory = LoadIcon(hInst, MAKEINTRESOURCE(IDI_POPUP_HISTORY));
+ menu.hIcon = hiPopupHistory;
menu.pszService= MS_POPUP_SHOWHISTORY;
menu.pszName = Translate("Popup History");
hMenuShowHistory = (HANDLE)CallService(MS_CLIST_ADDMAINMENUITEM, 0, (LPARAM)&menu);
+ menu.hIcon = 0;
menu.pszService= "PopUp/ToggleEnabled";
menu.pszName = (DBGetContactSettingByte(0, MODULE, "Enabled", 1) == 1 ? Translate("Disable Popups") : Translate("Enable Popups"));