~vcs-imports/nautilus-python/+git/nautilus-python:wip/jtojnar/info-provider-fixes

Last commit made on 2023-01-30
Get this branch:
git clone -b wip/jtojnar/info-provider-fixes https://git.launchpad.net/~vcs-imports/nautilus-python/+git/nautilus-python

Branch merges

Branch information

Name:
wip/jtojnar/info-provider-fixes
Repository:
lp:~vcs-imports/nautilus-python/+git/nautilus-python

Recent commits

f5c2c8e... by Jan Tojnar

Disallow returning IN_PROGRESS for InfoProvider.update_file_info

73ef607... by Jan Tojnar

Disallow return values for InfoProvider.update_file_info

ded7140... by Jan Tojnar

docs: Clarify handle arguments in InfoProvider

Unlike C extensions, which are expected to set the handle as an out-parameter,
Python extensions will receive an opaque object from nautilus-python.

8cfc0d2... by Jan Tojnar

docs: Do not mention optional arguments

The introspected API does not have them currently and omitting the result argument will fail:

   Nautilus.info_provider_update_complete_invoke() takes exactly 4 arguments (3 given)

9e8cb83... by Jan Tojnar

docs: Fix order of `Nautilus.info_provider_update_complete_invoke` arguments

f1f8904... by Michael Webster

Fill info provider handles with a dummy struct to ensure we have a unique pointer to pass around.

We can't assign a Python object to handle in Python, but we can fill
it here. Nautilus uses the handle to manage info->provider async operations,
and it must not be left NULL (this isn't an issue in C extensions, where
filling the pointer is simple.)

Picked from https://github.com/linuxmint/nemo-extensions/commit/28ed31f4a31ecb0028e0e608dcc105f48f998262

e92fc6a... by Jan Tojnar

Simplify debug initialization code

0b68c28... by Jan Tojnar

nix: Update dependencies

GNOME 43 has been merged to master a while ago,
let’s switch to unstable channel based off of it.

f5d7a95... by Jan Tojnar

NEWS: Update

9a74cae... by Jan Tojnar

build: Add explicit GModule dependency

The build may fail with underlinking on some distros:

    src/nautilus-python.c:158: undefined reference to `g_module_open'