packagekit/contrib/gtk-module
Matthias Clasen cf493c8bf2 make the GTK+ module resident
Without doing this, killing gnome-settings-daemon brings down every single
application in the session, since the module doesn't clean up when being unloaded.
2009-03-24 08:04:59 +00:00
..
.gitignore
GLASS.txt
Makefile.am bugfix: enable more compiler warnings on GCC, and stop abusing global CFLAGS in configure 2008-12-24 16:31:24 +00:00
pk-gtk-module.c make the GTK+ module resident 2009-03-24 08:04:59 +00:00
README trivial: one more point to the gtk-module README 2008-11-28 18:05:23 +00: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/lib/gtk-2.0/modules/pk-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 InstallFonts() 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 0.4.x is needed for the InstallFonts method.