Sami Samhuri
f7ef182d33
Add 3px padding to the right of menu bar icons
2010-08-31 22:15:46 -04:00
Aparajita Fishman
006f709d37
Fixes to commit 69273259a5:
...
- No longer setting the search menu template to the default, but -defaultSearchMenuTemplate was made public.
- Action and target for clear recents item is always set to CPSearchField -_searchFieldClearRecents: since that is a built-in type.
- Action and target for recents item is always set to CPSearchField -_searchFieldSearch: since that is a built-in type.
- Template menu items are copied via CPMenuItem -copy (which is now implemented), so all state is maintained.
2010-07-28 15:15:47 -07:00
Aparajita Fishman
6426c8aee2
Fix for issue #778
2010-07-28 15:04:40 -07:00
Ross Boucher
85f3691432
Don't add a "Shift" if it's not required.
2010-07-19 16:27:44 -07:00
Scott Kyle
1899250a53
Semicolons are nice...
2010-06-10 16:42:28 -05:00
Alexander Ljungberg
c26ebe0bd2
Added support for menu key equivalents such as Escape or Cmd-Delete. Refactored code to recognize key equivalents for reuse between CPMenu and CPButton. Added unit tests for CPMenu key equivalents.
2010-06-07 19:09:15 -04:00
Ross Boucher
5c4d890100
Fix a nil variable error that caused problems in Firefox 2.
2010-03-30 10:52:48 -07:00
saikat
47bc7e812d
Fix for issue #511 - disabling a menu item in the menu item's action
2010-03-05 11:05:56 -08:00
Francisco Ryan Tolmasky I
d879b25458
Re-enabled menu bar button support.
...
Closes #410 .
Reviewed by me.
2010-02-22 02:12:11 -08:00
Ross Boucher
5527e585f6
Make Windows handle key equivalents in menus correctly. Make the menu display the string properly on Windows too.
2009-12-16 18:58:21 -05:00
Francisco Ryan Tolmasky I
ec41411675
Fix for disabled menu item shadows, and slighlty better positioning for pop up menus.
...
Reviewed by me.
2009-12-04 11:55:01 -08:00
Francisco Ryan Tolmasky I
becdf2bfeb
Fix for menus not having the proper font.
...
Reviewed by me.
2009-12-04 11:35:40 -08:00
Francisco Ryan Tolmasky I
cfc46edfb8
Fix for properly positioning pop up button menus.
...
Reviewed by me.
2009-12-03 01:27:53 -08:00
Francisco Ryan Tolmasky I
f250373673
Fix for actions not being sent in submenus.
...
Reviewed by me.
2009-12-03 00:42:13 -08:00
Francisco Ryan Tolmasky I
d705af8965
Added support for indentation levels in menu items.
...
Reviewed by me.
2009-12-02 20:41:52 -08:00
Francisco Ryan Tolmasky I
f579fd925e
Fixed state columns not showing up.
...
Reviewed by me.
2009-12-02 20:18:25 -08:00
Francisco Ryan Tolmasky I
348e45a5cd
Some cleanup and a fix for custom views in menus.
...
Reviewed by me.
2009-12-02 18:40:47 -08:00
Francisco Ryan Tolmasky I
0b3c313280
Fix for highlight look in menu bars.
...
Reviewed by me.
2009-12-02 18:12:50 -08:00
Francisco Ryan Tolmasky I
150ee44da0
Added background highlight to menu bar and fixed highligh turning off after stopping tracking in menu bar.
...
Reviewed by me.
2009-12-02 16:39:38 -08:00
Francisco Ryan Tolmasky I
78795e3167
Preliminary menu bar support.
...
Reviewed by me.
2009-12-02 15:57:52 -08:00
Francisco Ryan Tolmasky I
ef12ec54d7
Added new view for menu bar items.
...
Reviewed by me.
2009-12-01 19:19:24 -08:00
Francisco Ryan Tolmasky I
a7010e7598
Accidentally broke normal menu items.
...
Reviewed by me.
2009-11-30 22:43:36 -08:00
Francisco Ryan Tolmasky I
f850cbf780
Better handling of submenu actions.
...
Reviewed by me.
2009-11-30 22:30:41 -08:00
Francisco Ryan Tolmasky I
e3babe97e4
Update to fix menu item sizes breaking on second open.
...
Reviewed by me.
2009-11-20 23:34:21 -08:00
Francisco Ryan Tolmasky I
a4fdc50d1d
Move these back into their own folders.
...
Reviewed by me.
2009-11-19 14:04:16 -08:00
Francisco Ryan Tolmasky I
e0e675531a
Temporarily move these out into the main folder.
...
Reviewed by me.
2009-11-19 14:02:16 -08:00
Francisco Ryan Tolmasky I
e94ddb4179
First pass at submenus.
...
Reviewed by me.
2009-11-12 18:20:16 -08:00