Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
3cc37e83
Commit
3cc37e83
authored
Aug 30, 2011
by
Jerry Jacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the mac application menubar preferences default OS X shortcut
parent
2571080e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
12 deletions
+15
-12
menubar.cpp
eeschema/menubar.cpp
+6
-4
menubar.cpp
gerbview/menubar.cpp
+6
-4
menubar_pcbframe.cpp
pcbnew/menubar_pcbframe.cpp
+3
-4
No files found.
eeschema/menubar.cpp
View file @
3cc37e83
...
...
@@ -401,15 +401,17 @@ void SCH_EDIT_FRAME::ReCreateMenuBar()
palette_xpm
);
// Options (Preferences on WXMAC)
ADD_MENUITEM_WITH_HELP
(
preferencesMenu
,
wxID_PREFERENCES
,
#ifdef __WXMAC__
_
(
"&Preferences..."
),
preferencesMenu
->
Append
(
wxID_PREFERENCES
);
#else
ADD_MENUITEM_WITH_HELP
(
preferencesMenu
,
wxID_PREFERENCES
,
_
(
"&Options"
),
#endif // __WXMAC__
_
(
"EESchema preferences"
),
preference_xpm
);
#endif // __WXMAC__
// Language submenu
wxGetApp
().
AddMenuLanguageList
(
preferencesMenu
);
...
...
gerbview/menubar.cpp
View file @
3cc37e83
...
...
@@ -133,15 +133,17 @@ void GERBVIEW_FRAME::ReCreateMenuBar( void )
layers_manager_xpm
);
// Options (Preferences on WXMAC)
ADD_MENUITEM_WITH_HELP
(
configMenu
,
wxID_PREFERENCES
,
#ifdef __WXMAC__
_
(
"Preferences..."
),
configMenu
->
Append
(
wxID_PREFERENCES
);
#else
ADD_MENUITEM_WITH_HELP
(
configMenu
,
wxID_PREFERENCES
,
_
(
"&Options"
),
#endif // __WXMAC__
_
(
"Set options to draw items"
),
preference_xpm
);
#endif // __WXMAC__
// Language submenu
wxGetApp
().
AddMenuLanguageList
(
configMenu
);
...
...
pcbnew/menubar_pcbframe.cpp
View file @
3cc37e83
...
...
@@ -497,17 +497,16 @@ void PCB_EDIT_FRAME::ReCreateMenuBar()
configmenu
->
Append
(
item
);
// General
item
=
new
wxMenuItem
(
configmenu
,
wxID_PREFERENCES
,
#ifdef __WXMAC__
_
(
"&Preferences..."
),
configmenu
->
Append
(
wxID_PREFERENCES
);
#else
item
=
new
wxMenuItem
(
configmenu
,
wxID_PREFERENCES
,
_
(
"&General"
),
#endif
_
(
"Select general options for PCBnew"
)
);
SET_BITMAP
(
preference_xpm
);
configmenu
->
Append
(
item
);
#endif
// Display
item
=
new
wxMenuItem
(
configmenu
,
ID_PCB_DISPLAY_OPTIONS_SETUP
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment