(mac patch) Make scrollbars proportional, remove help item from context menu, minor cleanup

2006-08-27 Thread Nicolas Weber

Hi,

here's a cosmetic patch for vim mac. It does the following things:

1. It makes the scrollbars proportional (by calling SetControlViewSize 
() in gui_mch_set_scrollbar_thumb())
2. It removes the useless disabled Help entry from the context menu  
(by passing kCMHelpItemRemoveHelp  to ContextualMenuSelect() - this  
does only work in OS X)
3. It removes the call to MoreMasterPointers(), this call is ignored  
on OS X (cf. http://developer.apple.com/documentation/Carbon/ 
Reference/Carbon_Spec_Porting/Memory_Manager.html for example).


Cheers,
Nico



cosmetic.patch
Description: Binary data


Re: (mac patch) Make scrollbars proportional, remove help item from context menu, minor cleanup

2006-08-27 Thread Bram Moolenaar

Nicolas Weber wrote:

 here's a cosmetic patch for vim mac. It does the following things:
 
 1. It makes the scrollbars proportional (by calling SetControlViewSize 
 () in gui_mch_set_scrollbar_thumb())
 2. It removes the useless disabled Help entry from the context menu  
 (by passing kCMHelpItemRemoveHelp  to ContextualMenuSelect() - this  
 does only work in OS X)
 3. It removes the call to MoreMasterPointers(), this call is ignored  
 on OS X (cf. http://developer.apple.com/documentation/Carbon/ 
 Reference/Carbon_Spec_Porting/Memory_Manager.html for example).

Thanks, I'll add it to my todo list.

-- 
hundred-and-one symptoms of being an internet addict:
243. You unsuccessfully try to download a pizza from www.dominos.com.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\download, build and distribute -- http://www.A-A-P.org///
 \\\help me help AIDS victims -- http://ICCF-Holland.org///