From: jongfoster Date: Thu, 7 Jun 2001 23:08:12 +0000 (+0000) Subject: Forward and ACL edit options removed. X-Git-Tag: v_2_9_9~369 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=2abe060a8ba3e695e313fe633ea4735d4b84fadf Forward and ACL edit options removed. --- diff --git a/w32log.c b/w32log.c index 13e84690..97e0bf14 100644 --- a/w32log.c +++ b/w32log.c @@ -1,4 +1,4 @@ -const char w32log_rcs[] = "$Id: w32log.c,v 1.9 2001/05/31 17:33:13 oes Exp $"; +const char w32log_rcs[] = "$Id: w32log.c,v 1.10 2001/05/31 21:37:11 jongfoster Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/w32log.c,v $ @@ -32,6 +32,9 @@ const char w32log_rcs[] = "$Id: w32log.c,v 1.9 2001/05/31 17:33:13 oes Exp $"; * * Revisions : * $Log: w32log.c,v $ + * Revision 1.10 2001/05/31 21:37:11 jongfoster + * GUI changes to rename "permissions file" to "actions file". + * * Revision 1.9 2001/05/31 17:33:13 oes * * CRLF -> LF @@ -195,10 +198,6 @@ int g_nFontSize = DEFAULT_LOG_FONT_SIZE; /* FIXME: this is a kludge */ const char * g_actions_file = NULL; -const char * g_forwardfile = NULL; -#ifdef ACL_FILES -const char * g_aclfile = NULL; -#endif /* def ACL_FILES */ #ifdef PCRS const char * g_re_filterfile = NULL; #endif @@ -1115,16 +1114,6 @@ void OnLogCommand(int nCommand) EditFile(g_actions_file); break; - case ID_TOOLS_EDITFORWARD: - EditFile(g_forwardfile); - break; - -#ifdef ACL_FILES - case ID_TOOLS_EDITACLS: - EditFile(g_aclfile); - break; -#endif /* def ACL_FILES */ - #ifdef PCRS case ID_TOOLS_EDITPERLRE: EditFile(g_re_filterfile); @@ -1188,10 +1177,6 @@ void OnLogInitMenu(HMENU hmenu) { /* Only enable editors if there is a file to edit */ EnableMenuItem(hmenu, ID_TOOLS_EDITACTIONS, MF_BYCOMMAND | (g_actions_file ? MF_ENABLED : MF_GRAYED)); - EnableMenuItem(hmenu, ID_TOOLS_EDITFORWARD, MF_BYCOMMAND | (g_forwardfile ? MF_ENABLED : MF_GRAYED)); -#ifdef ACL_FILES - EnableMenuItem(hmenu, ID_TOOLS_EDITACLS, MF_BYCOMMAND | (g_aclfile ? MF_ENABLED : MF_GRAYED)); -#endif /* def ACL_FILES */ #ifdef PCRS EnableMenuItem(hmenu, ID_TOOLS_EDITPERLRE, MF_BYCOMMAND | (g_re_filterfile ? MF_ENABLED : MF_GRAYED)); #endif diff --git a/w32log.h b/w32log.h index c4990273..f9072746 100644 --- a/w32log.h +++ b/w32log.h @@ -1,6 +1,6 @@ #ifndef _W32LOG_H #define _W32LOG_H -#define W32LOG_H_VERSION "$Id: w32log.h,v 1.3 2001/05/29 09:50:24 jongfoster Exp $" +#define W32LOG_H_VERSION "$Id: w32log.h,v 1.4 2001/05/31 21:37:11 jongfoster Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/w32log.h,v $ @@ -34,6 +34,9 @@ * * Revisions : * $Log: w32log.h,v $ + * Revision 1.4 2001/05/31 21:37:11 jongfoster + * GUI changes to rename "permissions file" to "actions file". + * * Revision 1.3 2001/05/29 09:50:24 jongfoster * Unified blocklist/imagelist/permissionslist. * File format is still under discussion, but the internal changes @@ -108,10 +111,6 @@ extern int g_nFontSize; /* FIXME: this is a kludge */ extern const char * g_actions_file; -extern const char * g_forwardfile; -#ifdef ACL_FILES -extern const char * g_aclfile; -#endif /* def ACL_FILES */ #ifdef PCRS extern const char * g_re_filterfile; #endif diff --git a/w32res.h b/w32res.h index c5a7162a..1a31321e 100644 --- a/w32res.h +++ b/w32res.h @@ -1,6 +1,6 @@ #ifndef _W32RES_H #define _W32RES_H -#define W32RES_H_VERSION "$Id: w32res.h,v 1.5 2001/05/29 09:50:24 jongfoster Exp $" +#define W32RES_H_VERSION "$Id: w32res.h,v 1.6 2001/05/31 21:37:11 jongfoster Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/w32res.h,v $ @@ -34,6 +34,9 @@ * * Revisions : * $Log: w32res.h,v $ + * Revision 1.6 2001/05/31 21:37:11 jongfoster + * GUI changes to rename "permissions file" to "actions file". + * * Revision 1.5 2001/05/29 09:50:24 jongfoster * Unified blocklist/imagelist/permissionslist. * File format is still under discussion, but the internal changes @@ -147,19 +150,14 @@ /* Break these out so they are easier to extend, but keep consecutive */ #define ID_TOOLS_EDITJUNKBUSTER 5000 -#define ID_TOOLS_EDITACTIONS 5001 -#define ID_TOOLS_EDITFORWARD 5002 - -#ifdef ACL_FILES -#define ID_TOOLS_EDITACLS 5003 -#endif /* def ACL_FILES */ +#define ID_TOOLS_EDITACTIONS 5001 #ifdef PCRS -#define ID_TOOLS_EDITPERLRE 5004 +#define ID_TOOLS_EDITPERLRE 5002 #endif /* def PCRS */ #ifdef TRUST_FILES -#define ID_TOOLS_EDITTRUST 5005 +#define ID_TOOLS_EDITTRUST 5003 #endif /* def TRUST_FILES */ /*