Control: tags -1 wontfix upstream Hi jEsuSdA 8,
On 21-07-18 11:26, Paul Gevers wrote:
> Hi jEsuSdA 8,
>
> On 19-07-18 11:19, jEsuSdA 8) wrote:
>> I can confirm the liferea stable (1.12~rc3) version works fine and
>> detects the accels keys without any problem.
>
> Thanks for following-up. I'll take this to upstream.
I am sorry to tell you this but this is the upstream response:
'''
That is by design. Despite not being clearly marked as deprecated
GtkAccelMap doesn't work with GAction. So using gtk_accel_map_load
doesn't work any more, we would have to parse the file ourselves ...
Custom shortcuts can be set from a python plugin. A very minimal one
would look like this :
from gi.repository import GObject, Peas, Liferea
class CustomShortcutsPlugin (GObject.Object, Liferea.ShellActivatable):
__gtype_name__ = 'CustomShortcutsPlugin'
shell = GObject.property(type=Liferea.Shell)
def do_activate(self):
self._app = self.shell.get_window().get_application ()
# Takes a detailed action name and a list of accelerators
self._app.set_accels_for_action ("app.search-feeds", ["<Control>j"])
'''
signature.asc
Description: OpenPGP digital signature

