![]() |
#16 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,374
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
See my previous post
|
![]() |
![]() |
#17 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
For those following along at home, a bit more testing showed that what I posted before didn't work with calibre 2.9 and earlier. This, however, does appear to work in 2.9 and 1.48:
Code:
from calibre.constants import numeric_version as calibre_version ... for action in self.menu_actions: self.gui.keyboard.unregister_shortcut(action.calibre_shortcut_unique_name) # starting in calibre 2.10.0, actions are registers at # the top gui level for OSX' benefit. if calibre_version >= (2,10,0): self.gui.removeAction(action) self.menu_actions = [] # rebuild menus... self.gui.keyboard.finalize() |
![]() |
Advert | |
|
![]() |
#18 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,741
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
![]() |
![]() |
#19 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
In the plugin. In kiwidude's plugins it would be in action.py, function rebuild_menu(), assuming similar layout to Reading List(RL). It works for me in 2.10, 2.9 and 1.48. Look inside the RL zip I posted in the RL thread to see it in place.
|
![]() |
![]() |
#20 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,741
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
I think Terisa de morgan has reported the RL change doesn't work after a library switch I'll have a go at View Manager, and I'll definitely be testing library switches We should get this thread 'merged' with the one you've created in the PI subforum, and make it a sticky - I'll PM theducks. BR |
|
![]() |
Advert | |
|
![]() |
#21 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,078
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
See
https://www.mobileread.com/forums/sho...d.php?t=251177 for discussion on how to fix PI's to be compatible with the update. ![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Keyboard Shortcut: Rename | CRB_Clive | General Discussions | 1 | 04-01-2014 01:32 PM |
Keyboard Shortcut for user created columns | dredwerker | Calibre | 2 | 07-03-2012 02:44 AM |
Replace/customize keyboard shortcut? | eosrose | Calibre | 2 | 11-10-2011 07:17 PM |
Keyboard Shortcut Issue in viewer | bigpallooka | Calibre | 2 | 10-21-2010 01:32 AM |
Add keyboard shortcut? | Chris Edwards | Amazon Kindle | 0 | 09-25-2010 01:58 PM |