From 135498d7eb9088d123bd1c0008a13a2dc7e4ff57 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Fri, 22 Mar 2013 18:01:34 +0000 Subject: - SeenPlugin: code cleaning (patch from person) git-svn-id: http://svn.miranda-ng.org/main/trunk@4160 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SeenPlugin/src/options.cpp | 1 - plugins/SeenPlugin/src/resource.h | 43 +++++++++++++++++++------------------- 2 files changed, 21 insertions(+), 23 deletions(-) (limited to 'plugins/SeenPlugin') diff --git a/plugins/SeenPlugin/src/options.cpp b/plugins/SeenPlugin/src/options.cpp index 6036bd0a2f..18d5bd478f 100644 --- a/plugins/SeenPlugin/src/options.cpp +++ b/plugins/SeenPlugin/src/options.cpp @@ -42,7 +42,6 @@ INT_PTR CALLBACK OptsPopUpsDlgProc(HWND hdlg,UINT msg,WPARAM wparam,LPARAM lpara if (hasPopups = (ServiceExists(MS_POPUP_QUERY)) != 0) hasPopups = CallService(MS_POPUP_QUERY,PUQS_GETSTATUS,0); TranslateDialogDefault(hdlg); - ShowWindow(GetDlgItem(hdlg, IDC_MISSPOPUP),hasPopups?SW_HIDE:SW_SHOW); ShowWindow(GetDlgItem(hdlg, IDC_POPUPS),hasPopups?SW_SHOW:SW_HIDE); ShowWindow(GetDlgItem(hdlg, IDC_POPUPSTAMP),hasPopups?SW_SHOW:SW_HIDE); ShowWindow(GetDlgItem(hdlg, IDC_LABTEXT),hasPopups?SW_SHOW:SW_HIDE); diff --git a/plugins/SeenPlugin/src/resource.h b/plugins/SeenPlugin/src/resource.h index 1001ae2739..99c712ce5a 100644 --- a/plugins/SeenPlugin/src/resource.h +++ b/plugins/SeenPlugin/src/resource.h @@ -55,27 +55,26 @@ #define IDC_MENUSTATUS 1025 #define IDC_MENUSTAMP 1026 #define IDC_LABTEXT 1027 -#define IDC_MISSPOPUP 1028 -#define IDC_DEFAULTCOL 1029 -#define IDC_FILENAME 1030 -#define IDC_IGNOREOFFLINE 1031 -#define IDC_MISSEDONES 1032 -#define IDC_SHOWICON 1033 -#define IDC_COUNT 1034 -#define IDC_FILENAME2 1035 -#define IDC_HISTORYSIZE 1036 -#define IDC_LASTSEENLIST 1037 -#define IDC_HISTORYLIST 1038 -#define IDC_STATUSCHANGE 1039 -#define IDC_VARIABLES 1040 -#define IDC_PROTOCOLLIST 1041 -#define IDC_USERMENU 1042 -#define IDC_TEST 1043 -#define IDC_DETAILS 1044 -#define IDC_SENDMSG 1045 -#define IDC_LABTTITLE 1046 -#define IDC_OPTIONSTAB 1047 -#define IDC_IDLESUPPORT 1050 +#define IDC_DEFAULTCOL 1028 +#define IDC_FILENAME 1029 +#define IDC_IGNOREOFFLINE 1030 +#define IDC_MISSEDONES 1031 +#define IDC_SHOWICON 1032 +#define IDC_COUNT 1033 +#define IDC_FILENAME2 1034 +#define IDC_HISTORYSIZE 1035 +#define IDC_LASTSEENLIST 1036 +#define IDC_HISTORYLIST 1037 +#define IDC_STATUSCHANGE 1038 +#define IDC_VARIABLES 1039 +#define IDC_PROTOCOLLIST 1040 +#define IDC_USERMENU 1041 +#define IDC_TEST 1042 +#define IDC_DETAILS 1043 +#define IDC_SENDMSG 1044 +#define IDC_LABTTITLE 1045 +#define IDC_OPTIONSTAB 1046 +#define IDC_IDLESUPPORT 1047 #define IDC_MAINGROUP -1 #define IDC_INFO -1 #define IDC_TEXT -1 @@ -86,7 +85,7 @@ #ifndef APSTUDIO_READONLY_SYMBOLS #define _APS_NEXT_RESOURCE_VALUE 107 #define _APS_NEXT_COMMAND_VALUE 40001 -#define _APS_NEXT_CONTROL_VALUE 1051 +#define _APS_NEXT_CONTROL_VALUE 1048 #define _APS_NEXT_SYMED_VALUE 101 #endif #endif -- cgit v1.2.3