packagekit/contrib/gtk-module
2021-01-11 23:12:57 +01:00
..
GLASS.txt trivial: rename pango-module to gtk-module on request of behdad 2008-11-27 08:06:42 +00:00
meson.build trivial: Remove the I_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE requirement 2020-01-10 09:06:26 +00:00
pk-gtk-module.c Fix all compiler warnings 2021-01-11 23:12:57 +01:00
pk-gtk-module.desktop Move the gtk-module extra files to the PK tarball 2011-10-19 10:14:55 +01:00
README trivial: Fixup the gtk-module example 2013-04-11 12:54:14 +01:00

The GTK+ module is designed to be loaded using gnome-settings-daemon by the
gnome-packagekit package.

It can however be launched for testing using:

GTK_MODULES="$GTK_MODULES:/usr/lib64/gtk-3.0/modules/libpk-gtk-module.so" application

The module installs a custom default pangocairo font map during gtk_init().
Pango will then call back with any languages which need installing, and these
are queued up. In an idle callback these are emitted as an asyncronous D-BUS
method to the session PackageKit InstallFontconfigResources() method.

If configured to do so, this will prompt the user to install new fonts.

Notes:

 * At the moment the window XID is not detected correctly, which means focus
   stealing prevention may not work properly.  We're working on this.
 * gnome-packagekit 2.17.2 is needed for the InstallFontconfigResources method.