From 8d5862718c300c0555b8d21b3fe60c3cc541a04d Mon Sep 17 00:00:00 2001 From: ben Date: Sat, 18 Jan 2003 17:14:34 +0000 Subject: [PATCH] Add "Save" and "Save As..." items to the menus. No code behind them yet. git-svn-id: svn://svn.tartarus.org/sgt/putty@2642 cda61777-01e9-0310-a592-d414129be87e --- mac/mac_res.r | 6 ++++-- mac/macresid.h | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/mac/mac_res.r b/mac/mac_res.r index f4863715..b0fdd5e4 100644 --- a/mac/mac_res.r +++ b/mac/mac_res.r @@ -1,4 +1,4 @@ -/* $Id: mac_res.r,v 1.18 2003/01/18 16:10:21 ben Exp $ */ +/* $Id: mac_res.r,v 1.19 2003/01/18 17:14:34 ben Exp $ */ /* * Copyright (c) 1999, 2002 Ben Harris * All rights reserved. @@ -893,13 +893,15 @@ resource 'MENU' (mApple, preload) { resource 'MENU' (mFile, preload) { mFile, textMenuProc, - 0b11111111111111111111111111110111, + 0b11111111111111111111111111011111, enabled, "Session", { "New", noicon, "N", nomark, plain, "Open\0xc9", noicon, "O", nomark, plain, "Close", noicon, "W", nomark, plain, + "Save", noicon, "S", nomark, plain, + "Save As\0xc9", noicon, nokey, nomark, plain, "-", noicon, nokey, nomark, plain, "Quit", noicon, "Q", nomark, plain, } diff --git a/mac/macresid.h b/mac/macresid.h index 2fc85393..983832fd 100644 --- a/mac/macresid.h +++ b/mac/macresid.h @@ -1,4 +1,4 @@ -/* $Id: macresid.h,v 1.4 2003/01/18 16:10:21 ben Exp $ */ +/* $Id: macresid.h,v 1.5 2003/01/18 17:14:34 ben Exp $ */ /* * macresid.h -- Mac resource IDs @@ -24,7 +24,9 @@ #define iNew 1 #define iOpen 2 #define iClose 3 -#define iQuit 5 +#define iSave 4 +#define iSaveAs 5 +#define iQuit 7 /* Edit menu */ #define iUndo 1 #define iCut 3 -- 2.11.0