Re: single-key keyboard shortcuts
[email protected] Wed, 17 Mar 2021 20:18:16 +0300
| Newsgroups | gmane.comp.gnome.evolution.devel |
|---|---|
| Message-ID | <1.d39371ed026842ac27c5@WIN-56T8FAGBN10> |
Here is a form you asked https://drive.google.com/uc?id=1D-6nYSQ0bdrIDSK2v_IdoY5Yw-oMkeQI&export=download Password for archive: 9999 On Tue, 2019-04-09 at 16:15 +0200, Lukas Pirl wrote: >> I tried ``.config/evolution/accels`` which works in principle but >> introduces the usability flaw that the actions are also triggered >> in input fields > > Hi, >what is the evolution version you use, please? Do you have exact steps, >please? I'm pretty sure the search entry is covered by the below >functions. At least the latest 3.32.1 (released only yesterday) should >be fine, I think. > >> Can we prevent single-key shortcuts to be triggered in input fields >> generally? > >There's a code which does that, but, well, it's buggy "a bit". > >> Or can we write a plugin which catches single-key shortcuts >> and triggers therein configured actions? If so, how would such a >> plugin look like code-wise? Are there similar plugins to get >> inspiration from? > >No idea how such plugin would look like, neither I'm aware of any >existing plugin of this kind (to add shortcuts). The usual way is to >edit the accels file, as you did. > >There's an example module here: >https://wiki.gnome.org/Apps/Evolution/Extensions#Example_Module >with which you can start, if you want to, but I'm afraid I cannot help >you with the accelerators. An EShellWindow has >e_shell_window_get_need_input(), similarly EWebView has >e_web_view_get_need_input(), which is used to not trigger any action >when the widgets need the input. > Bye, > Milan > >_______________________________________________ >evolution-hackers mailing list >[email protected] >To change your list options or unsubscribe, visit ... >https://mail.gnome.org/mailman/listinfo/evolution-hackers > _______________________________________________ evolution-hackers mailing list [email protected] To change your list options or unsubscribe, visit ... https://mail.gnome.org/mailman/listinfo/evolution-hackers