From 03faabc4ee5eb6a9bfa5882f155cf3225128ca42 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 19 Jan 2014 15:49:47 +0000 Subject: chat log icons are back git-svn-id: http://svn.miranda-ng.org/main/trunk@7761 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/core/stdchat/src/options.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/core/stdchat') diff --git a/src/core/stdchat/src/options.cpp b/src/core/stdchat/src/options.cpp index 326d253369..5fefef89ad 100644 --- a/src/core/stdchat/src/options.cpp +++ b/src/core/stdchat/src/options.cpp @@ -40,7 +40,7 @@ static const struct branch_t branch1[] = { { LPGENT("Send message by pressing the 'Enter' key"), "SendOnEnter", 0, 1}, { LPGENT("Send message by pressing the 'Enter' key twice"), "SendOnDblEnter", 0,0}, { LPGENT("Flash window when someone speaks"), "FlashWindow", 0,0}, - { LPGENT("Flash window when a word is highlighted"), "bFlashWindowHighlight", 0,1}, + { LPGENT("Flash window when a word is highlighted"), "FlashWindowHighlight", 0,1}, { LPGENT("Show list of users in the chat room"), "ShowNicklist", 0,1}, { LPGENT("Show button for sending messages"), "ShowSend", 0, 0}, { LPGENT("Show buttons for controlling the chat room"), "ShowTopButtons", 0,1}, @@ -59,9 +59,9 @@ static const struct branch_t branch1[] = { static const struct branch_t branch2[] = { { LPGENT("Prefix all events with a timestamp"), "ShowTimeStamp", 0,1}, { LPGENT("Only prefix with timestamp if it has changed"), "ShowTimeStampIfChanged", 0,0}, - { LPGENT("Timestamp has same color as the event"), "bTimeStampEventColour", 0,0}, - { LPGENT("Indent the second line of a message"), "bLogIndentEnabled", 0,1}, - { LPGENT("Limit user names in the message log to 20 characters"), "bLogLimitNames", 0,1}, + { LPGENT("Timestamp has same color as the event"), "TimeStampEventColour", 0,0}, + { LPGENT("Indent the second line of a message"), "LogIndentEnabled", 0,1}, + { LPGENT("Limit user names in the message log to 20 characters"), "LogLimitNames", 0,1}, { LPGENT("Add \':\' to auto-completed user names"), "AddColonToAutoComplete", 0, 1}, { LPGENT("Strip colors from messages in the log"), "StripFormatting", 0, 0}, { LPGENT("Enable the \'event filter\' for new rooms"), "FilterEnabled", 0,0} @@ -97,7 +97,7 @@ static const struct branch_t branch4[] = { }; static const struct branch_t branch5[] = { - { LPGENT("Show icons in tray only when the chat room is not active"), "bTrayIconInactiveOnly", 0, 1}, + { LPGENT("Show icons in tray only when the chat room is not active"), "TrayIconInactiveOnly", 0, 1}, { LPGENT("Show icon in tray for topic changes"), "TrayIconFlags", GC_EVENT_TOPIC, 0}, { LPGENT("Show icon in tray for users joining"), "TrayIconFlags", GC_EVENT_JOIN, 0}, { LPGENT("Show icon in tray for users disconnecting"), "TrayIconFlags", GC_EVENT_QUIT, 0}, @@ -424,9 +424,9 @@ static INT_PTR CALLBACK DlgProcOptions1(HWND hwndDlg,UINT uMsg,WPARAM wParam,LPA g_Settings.dwTrayIconFlags = db_get_dw(NULL, "Chat", "TrayIconFlags", 0x1000); g_Settings.dwPopupFlags = db_get_dw(NULL, "Chat", "PopupFlags", 0x0000); g_Settings.bStripFormat = db_get_b(NULL, "Chat", "TrimFormatting", 0) != 0; - g_Settings.bTrayIconInactiveOnly = db_get_b(NULL, "Chat", "bTrayIconInactiveOnly", 1) != 0; + g_Settings.bTrayIconInactiveOnly = db_get_b(NULL, "Chat", "TrayIconInactiveOnly", 1) != 0; g_Settings.bPopupInactiveOnly = db_get_b(NULL, "Chat", "PopupInactiveOnly", 1) != 0; - g_Settings.bLogIndentEnabled = db_get_b(NULL, "Chat", "bLogIndentEnabled", 1) != 0; + g_Settings.bLogIndentEnabled = db_get_b(NULL, "Chat", "LogIndentEnabled", 1) != 0; if (b != db_get_b(NULL, "Chat", "Tabs", 1)) { pci->SM_BroadcastMessage(NULL, GC_CLOSEWINDOW, 0, 1, FALSE); @@ -541,7 +541,7 @@ static INT_PTR CALLBACK DlgProcOptions2(HWND hwndDlg,UINT uMsg,WPARAM wParam,LPA } } break; - + case IDC_HIGHLIGHT: EnableWindow(GetDlgItem(hwndDlg, IDC_HIGHLIGHTWORDS), IsDlgButtonChecked(hwndDlg, IDC_HIGHLIGHT) == BST_CHECKED?TRUE:FALSE); break; @@ -614,10 +614,10 @@ static INT_PTR CALLBACK DlgProcOptions2(HWND hwndDlg,UINT uMsg,WPARAM wParam,LPA else db_unset(NULL, "Chat", "HeaderOutgoing"); g_Settings.bHighlightEnabled = IsDlgButtonChecked(hwndDlg, IDC_HIGHLIGHT) == BST_CHECKED; - db_set_b(NULL, "Chat", "bHighlightEnabled", g_Settings.bHighlightEnabled); + db_set_b(NULL, "Chat", "HighlightEnabled", g_Settings.bHighlightEnabled); g_Settings.bLoggingEnabled = IsDlgButtonChecked(hwndDlg, IDC_LOGGING) == BST_CHECKED; - db_set_b(NULL, "Chat", "bLoggingEnabled", g_Settings.bLoggingEnabled); + db_set_b(NULL, "Chat", "LoggingEnabled", g_Settings.bLoggingEnabled); iLen = SendDlgItemMessage(hwndDlg, IDC_SPIN2, UDM_GETPOS, 0, 0); db_set_w(NULL, "Chat", "LogLimit", (WORD)iLen); -- cgit v1.2.3