Re: [gtk-osx-users] GTK-Mac-Bundler lib changes.



Hello John,

Le 9 juin 2020 à 17:47, John Ralls <jralls ceridwen us> a écrit :

Something else is wrong. `encoding` *is* a legal parameter to `open`: 
https://docs.python.org/3/library/functions.html#open

When running jhbuild shell for gtk-mac-bundler the Python is version 3.6 built in .new_local:
[JH]% which python
/opt/.new_local/share/venv/etc-teWAGlKT/bin/python
[JH]% python --version
Python 3.6.10

Yes I agree, I can't explain more what it is going on.

As for keyboard shortcuts, it depends on what shortcuts you mean. If it's something like ctrl vs. command 
make sure that you use GDK_MODIFIER_INTENT_PRIMARY_ACCELERATOR instead of GDK_CONTROL_MASK. If you use 
accelerator groups other keys can be customized with an accelerator map file; if not you'll have to 
hand-code them one by one.

OTOH if you want to use the keybindings from system preferences you'll have to code that yourself, AFAIK 
Gtk doesn't do that.

Well, I mean shortcuts with <cmd> key as <cmd>F for find.
I was wondering if I were missing some keyboard mapping files in the bundle rather than source code changes 
as the program is written to support macOS shortcuts (but I haven't dig in detail to that code).

Regards, Pascal.
https://blady.pagesperso-orange.fr




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]