diff options
-rw-r--r-- | plugins/TabSRMM/src/msgs.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/msgs.cpp b/plugins/TabSRMM/src/msgs.cpp index 34c49be384..3963d18c98 100644 --- a/plugins/TabSRMM/src/msgs.cpp +++ b/plugins/TabSRMM/src/msgs.cpp @@ -208,6 +208,13 @@ static INT_PTR BroadcastMessage(WPARAM, LPARAM lParam) return 0;
}
+static INT_PTR ReloadSkin(WPARAM, LPARAM)
+{
+ Skin->setFileName();
+ Skin->Load();
+ return 0;
+}
+
/////////////////////////////////////////////////////////////////////////////////////////
// service function finds a message session
// wParam = contact handle for which we want the window handle
@@ -939,6 +946,7 @@ static void TSAPI InitAPI() CreateServiceFunction(MS_MSG_MOD_MESSAGEDIALOGOPENED, MessageWindowOpened);
CreateServiceFunction("SRMsg/BroadcastMessage", BroadcastMessage);
+ CreateServiceFunction("TabSRMsg/ReloadSkin", ReloadSkin);
SI_InitStatusIcons();
CB_InitCustomButtons();
|