diff options
| author | Kirill Volinsky <mataes2007@gmail.com> | 2012-12-22 14:36:18 +0000 | 
|---|---|---|
| committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-12-22 14:36:18 +0000 | 
| commit | 99886c5ca7bfcbf8a885387fb1c40c1f467f8ed5 (patch) | |
| tree | 7296729c0ebb8cd8e976e1f72f2062513694d98c /plugins/IgnoreState/src | |
| parent | 7633e70a238510430450964f05395c28a8627c18 (diff) | |
removed notice about extraicons plugin
git-svn-id: http://svn.miranda-ng.org/main/trunk@2792 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IgnoreState/src')
| -rw-r--r-- | plugins/IgnoreState/src/main.cpp | 8 | ||||
| -rw-r--r-- | plugins/IgnoreState/src/options.cpp | 11 | ||||
| -rw-r--r-- | plugins/IgnoreState/src/resource.h | 14 | 
3 files changed, 9 insertions, 24 deletions
diff --git a/plugins/IgnoreState/src/main.cpp b/plugins/IgnoreState/src/main.cpp index e81da8b9dc..3ab11864dd 100644 --- a/plugins/IgnoreState/src/main.cpp +++ b/plugins/IgnoreState/src/main.cpp @@ -57,8 +57,8 @@ PLUGININFOEX pluginInfo={  	__COPYRIGHT,
  	__AUTHORWEB,
  	UNICODE_AWARE,
 -	{0xa6872bcd, 0xf2a1, 0x41b8, {0xb2, 0xf1, 0xdd, 0x7c, 0xec, 0x05, 0x57, 0x34}}
  	// a6872bcd-f2a1-41b8-b2f1-dd7cec055734
 +	{0xa6872bcd, 0xf2a1, 0x41b8, {0xb2, 0xf1, 0xdd, 0x7c, 0xec, 0x05, 0x57, 0x34}}
  };
  extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved)
 @@ -157,11 +157,11 @@ int onContactSettingChanged(WPARAM wParam,LPARAM lParam)  	DBCONTACTWRITESETTING *cws = (DBCONTACTWRITESETTING*)lParam;
  	HANDLE hContact = (HANDLE)wParam;
 -	if ( !lstrcmpA(cws->szModule,"Ignore") && !lstrcmpA(cws->szSetting,"Mask1"))
 +	if ( !lstrcmpA(cws->szModule, "Ignore") && !lstrcmpA(cws->szSetting, "Mask1"))
  		applyExtraImage(hContact);
  	else if (hContact == 0) {
 -		if (( !lstrcmpA(cws->szModule,MODULENAME) && !lstrcmpA(cws->szSetting,"Filter")) ||
 -			(bUseMirandaSettings && !lstrcmpA(cws->szModule,"Ignore") && !lstrcmpA(cws->szSetting,"Default1")))
 +		if (( !lstrcmpA(cws->szModule, MODULENAME) && !lstrcmpA(cws->szSetting, "Filter")) ||
 +			(bUseMirandaSettings && !lstrcmpA(cws->szModule, "Ignore") && !lstrcmpA(cws->szSetting, "Default1")))
  		{
  			fill_filter();
  		}
 diff --git a/plugins/IgnoreState/src/options.cpp b/plugins/IgnoreState/src/options.cpp index 778f50a520..2be312018c 100644 --- a/plugins/IgnoreState/src/options.cpp +++ b/plugins/IgnoreState/src/options.cpp @@ -35,10 +35,6 @@ INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP  			bInitializing = true;
  			fill_filter();
 -			SendDlgItemMessage(hwndDlg,IDC_NOTICE, WM_SETTEXT,0,(LPARAM)TranslateT("Extraicons plugin is used, use Contact list > Extraicons for customize."));
 -			ShowWindow(GetDlgItem(hwndDlg, IDC_NOTICE), SW_SHOW);
 -			EnableWindow(GetDlgItem(hwndDlg, IDC_ADVICON), 0);
 -
  			SetWindowLongPtr(hTree,GWL_STYLE,GetWindowLongPtr(hTree,GWL_STYLE)|TVS_NOHSCROLL);
  			HIMAGELIST himlButtonIcons = ImageList_Create(GetSystemMetrics(SM_CXSMICON),GetSystemMetrics(SM_CYSMICON),ILC_COLOR32|ILC_MASK,2,2);
 @@ -66,11 +62,6 @@ INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP  	case WM_COMMAND:
  		switch (LOWORD(wParam)) {
 -		case IDC_ADVICON:
 -			if ((HIWORD(wParam) == EN_CHANGE) && (!bInitializing) || (HIWORD(wParam) == CBN_SELENDOK))
 -				SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0);
 -			break;
 -
  		case IDC_IGNORE_IGNOREALL:
  			EnableWindow(GetDlgItem(hwndDlg, IDC_FILTER),  !IsDlgButtonChecked(hwndDlg,IDC_IGNORE_IGNOREALL));
  			SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0);
 @@ -118,7 +109,7 @@ int onOptInitialise(WPARAM wParam, LPARAM lParam)  	odp.hInstance = g_hInst;
  	odp.flags = ODPF_BOLDGROUPS;
  	odp.pszGroup = LPGEN("Icons");
 -	odp.pszTemplate = MAKEINTRESOURCEA(IDD_RATE_OPT);
 +	odp.pszTemplate = MAKEINTRESOURCEA(IDD_IGNORE_OPT);
  	odp.pszTitle = MODULENAME;
  	odp.pfnDlgProc = DlgProcOptions;
  	Options_AddPage(wParam, &odp);
 diff --git a/plugins/IgnoreState/src/resource.h b/plugins/IgnoreState/src/resource.h index 810522778e..937f970095 100644 --- a/plugins/IgnoreState/src/resource.h +++ b/plugins/IgnoreState/src/resource.h @@ -2,18 +2,12 @@  // Microsoft Visual C++ generated include file.
  // Used by ignore.rc
  //
 -#define IDD_RATE_OPT                    9
 +#define IDD_IGNORE_OPT                  9
  #define IDI_IFULL                       101
  #define IDI_IPART                       102
  #define IDI_IMESS                       103
 -#define IDC_ADVICON                     1001
 -#define IDC_NOTMODERN_WARNING           1010
 -#define IDC_NOTICE                      1010
 -#define IDC_USED_CLIST                  1011
 -#define IDC_FILTER                      1012
 -#define IDC_TREE1                       1016
 -#define IDC_CHECK1                      1019
 -#define IDC_IGNORE_IGNOREALL            1019
 +#define IDC_FILTER                      1010
 +#define IDC_IGNORE_IGNOREALL            1011
  // Next default values for new objects
  // 
 @@ -21,7 +15,7 @@  #ifndef APSTUDIO_READONLY_SYMBOLS
  #define _APS_NEXT_RESOURCE_VALUE        104
  #define _APS_NEXT_COMMAND_VALUE         40001
 -#define _APS_NEXT_CONTROL_VALUE         1020
 +#define _APS_NEXT_CONTROL_VALUE         1012
  #define _APS_NEXT_SYMED_VALUE           101
  #endif
  #endif
  | 
