Commit 524b7043 authored by Bastien Nocera's avatar Bastien Nocera Committed by Dan Winship

Auto-load OSK GTK+ modules when OSK is enabled

https://bugzilla.gnome.org/show_bug.cgi?id=655979
parent ee235bd2
......@@ -92,6 +92,8 @@ if test x"$enable_gtk2_module" = x"yes"; then
AC_SUBST(GTK2_MODULES_DIR)
fi
AM_CONDITIONAL([ENABLE_GTK_MODULES], [test x"enable_gtk2_module" = x"yes" -o x"$enable_gtk3_module" = x"yes"])
dnl == GSettings ==
GLIB_GSETTINGS
......
......@@ -7,3 +7,10 @@ endif
if ENABLE_GTK2_MODULES
SUBDIRS += gtk2
endif
if ENABLE_GTK_MODULES
gtk_modulesdir = $(libdir)/gnome-settings-daemon-3.0/gtk-modules/
gtk_modules_DATA = caribou-gtk-module.desktop
endif
EXTRA_DIST = caribou-gtk-module.desktop
[GTK Module]
Name=Caribou
Description=Caribou On-Screen Keyboard GTK+ Module
X-GTK-Module-Name=caribou-gtk-module
X-GTK-Module-Enabled-Schema=org.gnome.desktop.a11y.applications
X-GTK-Module-Enabled-Key=screen-keyboard-enabled
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment