View previous topic :: View next topic |
Author |
Message |
ovvldc Captain Naiobi
Joined: Sep 13, 2004 Posts: 2352 Location: Zürich, CH
|
Posted: Fri Dec 11, 2009 4:45 am Post subject: |
|
Very nice. I might add that there is also a system preference for turning pinching on and off in Mac OS X as of Snow Leopard..
Best wishes,
Oscar _________________ "What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi |
|
Back to top |
|
|
Samwise Captain Naiobi
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 |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
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.
Patrick |
|
Back to top |
|
|
ovvldc Captain Naiobi
Joined: Sep 13, 2004 Posts: 2352 Location: Zürich, CH
|
Posted: Fri Dec 11, 2009 10:18 am Post subject: |
|
I, too, am way ahead of my time .
-Oscar _________________ "What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi |
|
Back to top |
|
|
sardisson Town Crier
Joined: Feb 01, 2004 Posts: 4588
|
Posted: Fri Dec 11, 2009 12:13 pm 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. |
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 |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
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.
Patrick |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
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.
Patrick |
|
Back to top |
|
|
sardisson Town Crier
Joined: Feb 01, 2004 Posts: 4588
|
Posted: Fri Dec 11, 2009 2:08 pm Post subject: |
|
Thanks, Patrick. Yet another piece of quick, fine work!
Smokey _________________ "[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki |
|
Back to top |
|
|
ovvldc Captain Naiobi
Joined: Sep 13, 2004 Posts: 2352 Location: Zürich, CH
|
Posted: Wed Dec 16, 2009 1:35 am Post subject: |
|
Quote: | 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 |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
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.
Patrick |
|
Back to top |
|
|
Samwise Captain Naiobi
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
|
|
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Wed Dec 16, 2009 4:05 pm Post subject: |
|
FYI. I have integrated Samwise's French translations into the code.
Patrick |
|
Back to top |
|
|
Samwise Captain Naiobi
Joined: Apr 25, 2006 Posts: 2315 Location: Montpellier, France
|
Posted: Fri Dec 18, 2009 10:31 am Post subject: |
|
Quick question: how did you translate - none -? |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Fri Dec 18, 2009 11:16 am Post subject: |
|
Samwise wrote: | Quick question: how did you translate - none -? |
I did not translate that, OpenOffice.org handles that translation and they transalated it as - Aucun(e) -.
Patrick |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
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?
Patrick |
|
Back to top |
|
|
|