Re: [GNC] Accelerator Key for Jump button

2019-07-01 Thread Michael Hendry
> On 1 Jul 2019, at 19:21, Deva -  wrote:
> 
> Sorry, yes - the file you located in $HOME/Library/Application Support/ 
> appears to be the one you have to edit.
> 
> Yes, CMD-S is a problem for split action, so I use CMD-L instead. That works 
> for me.
> 
> Cheers.

Magic!

Thanks.

Just one reservation - I’ll have to resist the compulsion to test all the other 
possible accelerator keys.

Michael
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Accelerator Key for Jump button

2019-07-01 Thread Deva -
Sorry, yes - the file you located in $HOME/Library/Application Support/ appears 
to be the one you have to edit.

Yes, CMD-S is a problem for split action, so I use CMD-L instead. That works 
for me.

Cheers.


From: Michael Hendry 
Sent: 01 July 2019 04:49
To: Deva -
Subject: Re: [GNC] Accelerator Key for Jump button

> On 1 Jul 2019, at 08:50, Deva -  wrote:
>
> Michael,
>
> I had a similar issue some years ago and the resolution provided by list 
> members is to go edit a file by the same name under a different folder.
>
> On a Mac, I think it resides in a folder under $HOME/Library/Application 
> Support/
>
> I am not at my Mac right now, so I can't confirm the exact location of the 
> alternate file. If you edit that file, all will be well. I have CMD-J setup 
> to do Jump action as well.
>
> If something is still amiss, you can search this list archive for the same 
> query posted by me and responded to by John Ralls (among others).
>
> Cheers.


Thanks, Deva.

I had been looking for all instances of osx_accel_map, which had been referred 
to in that thread, but I only found one copy:

/Applications/Gnucash 3.5.App/Contents/Resources/share/gnucash/ui/osx_accel_map

The file in $HOME/Library/Application Support/ is "accelerator-map", and 
editing that has activated Cmd-J for me.

I thought I could introduce Cmd-S to split a multi-split transaction before 
using Cmd-J, but my edit was annulled the next time I opened GnuCash - 
presumably because Cmd-S is already taken, albeit by a commented out line in 
“accelerator_map”.

Michael
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Accelerator Key for Jump button

2019-07-01 Thread Deva -
Michael,

I had a similar issue some years ago and the resolution provided by list 
members is to go edit a file by the same name under a different folder.

On a Mac, I think it resides in a folder under $HOME/Library/Application 
Support/

I am not at my Mac right now, so I can't confirm the exact location of the 
alternate file. If you edit that file, all will be well. I have CMD-J setup to 
do Jump action as well.

If something is still amiss, you can search this list archive for the same 
query posted by me and responded to by John Ralls (among others).

Cheers.
-
From: Michael Hendry 
To: Gnucash Users 
Subject: [GNC] Accelerator Key for Jump button
Message-ID: <6d5a65f2-c1ac-4659-9365-e8c40ec0d...@gmail.com>
Content-Type: text/plain;   charset=utf-8

A recent thread drew my attention to the Jump button, which I hadn?t previously 
used, and I realise I?ve been doing things the hard way!

I?m using version 3.5 on iMac macOS High Sierra 10.13.6, and have been trying 
in vain to set up Cmd-J as an accelerator key for Jump.

I found /Applications/Gnucash 
3.5.App/Contents/Resources/share/gnucash/ui/osx_accel_map and altered the 
JumpTransactionAction as follows:

?
; (gtk_accel_path 
"/gnc-plugin-business-actions/EmployeeFindEmployeeOpenAction" "")
; (gtk_accel_path 
"/GncPluginPageRegisterActions/JumpTransactionAction" "")
(gtk_accel_path "/GncPluginPageRegisterActions/PasteTransactionAction" 
"v")
; (gtk_accel_path 
"/gnc-plugin-business-actions/BusinessTestInitDataAction" ??)
?

?
; (gtk_accel_path 
"/gnc-plugin-business-actions/EmployeeFindEmployeeOpenAction" "")
(gtk_accel_path "/GncPluginPageRegisterActions/JumpTransactionAction? 
?j")
(gtk_accel_path "/GncPluginPageRegisterActions/PasteTransactionAction" 
"v")
; (gtk_accel_path 
"/gnc-plugin-business-actions/BusinessTestInitDataAction" ?")
?

but this did not do what I hoped.

Professor Google hasn?t been able to provide a solution, so I thought it best 
to seek expert advice before I break something.

Regards,

Michael

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.