mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 12:02:47 -05:00
Support for saving sessions on the Mac. This is slightly useful even in the
absence of a config dialogue, since it allows me to get Default Settings out. [originally from svn r2646]
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
/* $Id: macterm.c,v 1.51 2003/01/18 16:54:25 ben Exp $ */
|
||||
/* $Id: macterm.c,v 1.52 2003/01/18 20:09:21 ben Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1999 Simon Tatham
|
||||
* Copyright (c) 1999, 2002 Ben Harris
|
||||
@ -400,6 +400,9 @@ void mac_adjusttermmenus(WindowPtr window) {
|
||||
long offset;
|
||||
|
||||
s = (Session *)GetWRefCon(window);
|
||||
menu = GetMenuHandle(mFile);
|
||||
DisableItem(menu, iSave); /* XXX enable if modified */
|
||||
EnableItem(menu, iSaveAs);
|
||||
menu = GetMenuHandle(mEdit);
|
||||
EnableItem(menu, 0);
|
||||
DisableItem(menu, iUndo);
|
||||
|
Reference in New Issue
Block a user