Repository navigation
Conversation
Done to better represent what they do
…dows, which not useful for the user, and may interfere with CI tests
|
@nalin243 please rebase on the latest master, to get the ci build working. |
Done to better represent what they do
|
Should I let this be or close and open a new request? |
you can keep this pr 👍 However it would look nicer if you squash all the changes into a single commit |
|
Testing on W10 with @nalin243 's latest branch build for this: audacity-win-3.7.0-alpha-20240908+575662c-x64 a)The new wording is implemented properly But I'm failing to understand why we have (or need) a separator line between the two commands as they are both very closely related in functionality. |
| ) | ||
| ), | ||
|
|
||
| Section( "Close", Command( wxT("Close"), XXO("&Close Project"), OnClose, |
There was a problem hiding this comment.
you don't need the Section("Close" bit anymore, you can instead put the Command(...) thing into the Exit section.
| // On the Mac, the Exit item doesn't actually go here...wxMac will | ||
| // pull it out | ||
| // and put it in the Audacity menu for us based on its ID. | ||
| /* i18n-hint: (verb) It's item on a menu. */ |
There was a problem hiding this comment.
That said, watch the comments. If the entire section is relocated to the App menu on macOS, you'll need to do some platform specific code via
#ifdef __WXMAC__
macos code
#else
windows/linux code
#endif"close project" is distinctly a File menu thing, not an app menu thing.
There was a problem hiding this comment.
I am not really familiar with mac but what I am understanding is that if I put both 'Quit Audacity' and 'Close Project' in the same section then to make sure that mac doesn't put 'Close Project' in the app menu as well, they would need to be in different sections. Won't that result in the section dividing line still being present in mac then?
@petersampsonaudacity |
|
Should I keep it in the same section or let it be then? |
It's up to @LWinterberg , not me. |
LWinterberg
left a comment
There was a problem hiding this comment.
let's leave it like this - the additional separator also makes it slightly more difficult to misclick quit instead of close.
|
I assume this will be merged for 3.7. 0 master and not the impending 3.6.4 ? |
|
@nalin243 could you rebase your PR on the latest master please? |

Resolves: #6644
Recommended: