Joined: Apr 25, 2006 Posts: 2315 Location: Montpellier, France
Posted: Fri Dec 11, 2009 9:05 am Post subject:
Awesome!
For a while I had been thinking it would be nice to create a small preference pane that would allow users to set these options, but I never got around to write it. Your way is even more elegant, since you don't need to restart NeoOffice.
One thing though: do we still need two "New" submenus (one in NeoOffice, one in File)? It may be related to keyboard shortcuts, though I can't really remember.
Edit: As I had just posted this, I realized Oscar now has 2009 posts
Joined: Jun 16, 2003 Posts: 10959 Location: California, USA
Posted: Fri Dec 11, 2009 9:38 am Post subject:
Samwise wrote:
One thing though: do we still need two "New" submenus (one in NeoOffice, one in File)? It may be related to keyboard shortcuts, though I can't really remember.
In most cases, the items in the NeoOffice :: New submenu are redundant with those in the File :: New menu. However, there are some rare cases where OpenOffice.org will close the 1 x 1 pixel window and the File menu disappears. In those cases, using the NeoOffice :: New menu is the only way you have to open a new document to get things back to normal. So, I have left the menu there just to be safe.
One thing though: do we still need two "New" submenus (one in NeoOffice, one in File)? It may be related to keyboard shortcuts, though I can't really remember.
Yeah, in the NeoOffice menu we can assign items arbitrary keyboard shortcuts (including ones with Option) using the System Preferences, and in current versions of Java, System Preferences is unable to change shortcuts in menus coming in via OpenOffice.org code.
Specifically, in my case, I have Cmd-Opt-1 set to Text Document, Cmd-Opt-2 set to Spreadsheet, Cmd-Opt-3 set to Presentation, etc.
Actually, that brings up a potential problem Since the default document type (Open at Launch) submenu is using the same strings as the New document items, that's going to break the ability to assign keyboard shortcuts to one or another set (both sets will pick up the shortcuts; one will win). For my sake I hope New wins, since it's first in the menu, but is is possible to switch one set to the module names (Writer, Calc, Impress, etc.) instead?
Smokey _________________ "[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Joined: Jun 16, 2003 Posts: 10959 Location: California, USA
Posted: Fri Dec 11, 2009 12:28 pm Post subject:
sardisson wrote:
Actually, that brings up a potential problem Since the default document type (Open at Launch) submenu is using the same strings as the New document items, that's going to break the ability to assign keyboard shortcuts to one or another set (both sets will pick up the shortcuts; one will win). For my sake I hope New wins, since it's first in the menu, but is is possible to switch one set to the module names (Writer, Calc, Impress, etc.) instead?
Good catch. I just tested setting Command-Option-1 to "Text Document" and Mac OS X assigned the shortcut to the "Open at Launch" menu item, not the "New" menu item. This is not good so I will try changing the "Open at Launch" menu items to the module names to avoid duplicate menu item names.
Joined: Jun 16, 2003 Posts: 10959 Location: California, USA
Posted: Fri Dec 11, 2009 12:54 pm Post subject:
OK. I found the OpenOffice.org call that will return the module name for each module and I have changed the code to put the module names in the "Open at Launch" menu. The attached image shows what the updated menu will look like.
Open at Launch
Mac OS X Options
Ignore Trackpad Gestures
Disable Mac OS X Services Menu
Disable Mac OS X Text Highlighting
Disable Quick Look Support in Documents
Code:
Toon bij starten
Mac OS X mogelijkheden
Negeer trackpad gebaren
Schakel Mac OS X voorzieningen uit
Schakel Mac OS X tekst markeren uit
Schakel ondersteuning voor Quick Look in documenten uit
Most of the Dutch translations are literal, except for the first one that translates back literally as 'Show at startup'. _________________ "What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi
Joined: Jun 16, 2003 Posts: 10959 Location: California, USA
Posted: Wed Dec 16, 2009 11:37 am Post subject:
Thank you for the Dutch translations. I have integrated them into code and I will include them in the next NeoOffice 3.0.2 Early Access test build.
Does anyone have any translations for other languages? If so and you can post them before 21 December 2009, I can include them in the NeoOffice 3.0.2 Early Access release.
Joined: Apr 25, 2006 Posts: 2315 Location: Montpellier, France
Posted: Wed Dec 16, 2009 1:40 pm Post subject:
pluby wrote:
Code:
Open at Launch
Mac OS X Options
Ignore Trackpad Gestures
Disable Mac OS X Services Menu
Disable Mac OS X Text Highlighting
Disable Quick Look Support in Documents
In French:
Code:
Document par défaut
Options liées à Mac OS X
Ignorer les gestes du trackpad
Désactiver le menu Services de Mac OS X
Désactiver le surlignage de texte Mac OS X
Désactiver la prise en charge de QuickLook pour les documents
Joined: Jun 16, 2003 Posts: 10959 Location: California, USA
Posted: Sat Dec 19, 2009 4:07 pm Post subject:
FYI. I have included Oscar's and Samwise's Dutch and French translations in today's NeoOffice 3.0.2 Early Access test build. Can you install today's test build and tell us if you see your menu translations?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum