summaryrefslogtreecommitdiff
path: root/yapp/popups2.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/popups2.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/popups2.cpp')
-rw-r--r--yapp/popups2.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/yapp/popups2.cpp b/yapp/popups2.cpp
index 7e5ead7..47b737b 100644
--- a/yapp/popups2.cpp
+++ b/yapp/popups2.cpp
@@ -10,6 +10,8 @@
#include "notify.h"
#include "str_utils.h"
+#include "popup_history.h" //to be able to update the renderer
+
HMODULE hInst = 0;
HANDLE mainThread = 0;
@@ -103,6 +105,11 @@ HANDLE hEventReloadFont = 0;
int ModulesLoaded(WPARAM wParam, LPARAM lParam) {
MNotifyGetLink();
+ if (ServiceExists(MS_HPP_EG_WINDOW))
+ {
+ lstPopupHistory.SetRenderer(RENDER_HISTORYPP);
+ }
+
if(ServiceExists(MS_UPDATE_REGISTER)) {
// register with updater
Update update = {0};