[g-a-devel] xsettings and GTK+ a11y modules



Hello folks,

I have spent a lot of time trying to understand why simply unsetting
GTK_MODULES is not doing what I expected: not load the gail and
atk-bridge modules.

I am writing a script that utilizes GTK+ but has no UI. It is
important that a11y will be disabled in the script, so that it won't
appear in the registry.

Anyway, John Carr pointed out that GTK+ modules are loaded via an
xsettings property called "gtk-modules" that in turn is set by
gnome-settings-daemon.

I have two concerns/questions:
1. How do I make sure that the xsettings values are removed before gtk
is initialized.
2. It looks like the whole point of xsettings is that they are global,
how do I disable the gtk-modules for one script while all current and
future apps are not touched?

Cheers,
  Eitan.


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