diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-17 15:14:41 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-17 15:14:41 +0000 |
commit | 81cc0996f38dca205fe283e24d64df6e9cea7c10 (patch) | |
tree | 4c09ebfb8966e30ee84b2f1d8e4f84d5795fb8e0 /src/modules/chat/chat_opts.cpp | |
parent | d7d4fc4e61b3b0271a4dac9d04283f5237ed514e (diff) |
- icons management also moved to core;
- forced ReloadSettings() after initialization
git-svn-id: http://svn.miranda-ng.org/main/trunk@7690 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/chat/chat_opts.cpp')
-rw-r--r-- | src/modules/chat/chat_opts.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/modules/chat/chat_opts.cpp b/src/modules/chat/chat_opts.cpp index 6917d0be6f..45f179e99b 100644 --- a/src/modules/chat/chat_opts.cpp +++ b/src/modules/chat/chat_opts.cpp @@ -288,6 +288,9 @@ void LoadGlobalSettings(void) LoadMsgDlgFont(19, &lf, NULL);
g_Settings->UserListHeadingsFont = CreateFontIndirect(&lf);
+ if (g_Settings->LoggingEnabled)
+ CreateDirectoryTreeT(g_Settings->pszLogDir);
+
SetIndentSize();
}
@@ -361,8 +364,6 @@ int OptionsInit(void) if (g_Settings->iSplitterY <= 65)
g_Settings->iSplitterY = 90;
- LoadGlobalSettings();
-
SkinAddNewSoundEx("ChatMessage", LPGEN("Group chats"), LPGEN("Incoming message"));
SkinAddNewSoundEx("ChatHighlight", LPGEN("Group chats"), LPGEN("Message is highlighted"));
SkinAddNewSoundEx("ChatAction", LPGEN("Group chats"), LPGEN("User has performed an action"));
@@ -374,9 +375,6 @@ int OptionsInit(void) SkinAddNewSoundEx("ChatNotice", LPGEN("Group chats"), LPGEN("User has sent a notice"));
SkinAddNewSoundEx("ChatQuit", LPGEN("Group chats"), LPGEN("User has disconnected"));
SkinAddNewSoundEx("ChatTopic", LPGEN("Group chats"), LPGEN("The topic has been changed"));
-
- if (g_Settings->LoggingEnabled)
- CreateDirectoryTreeT(g_Settings->pszLogDir);
return 0;
}
|