Add a gtk-im-module GTK setting

2007-12-17  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtksettings.c: Add a gtk-im-module GTK setting
        * gdk/win32/gdkproperty-win32.c:
        * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.

        * gtk/gtkimmodule.[hc]:
        * gtk/gtkimmulticontext.[hc]: When determining the default context,
        look at the gtk-im-module setting, and listen for changes to the
        setting.  (#502446, Akira Tagoh)


svn path=/trunk/; revision=19195
This commit is contained in:
Matthias Clasen
2007-12-18 03:24:17 +00:00
committed by Matthias Clasen
parent cba696a702
commit f8a1be3a04
10 changed files with 154 additions and 41 deletions

View File

@ -68,7 +68,9 @@ static const char gdk_settings_names[] =
"Gtk/TouchscreenMode\0" "gtk-touchscreen-mode\0"
"Gtk/EnableAccels\0" "gtk-enable-accels\0"
"Gtk/EnableMnemonics\0" "gtk-enable-mnemonics\0"
"Gtk/ScrolledWindowPlacement\0" "gtk-scrolled-window-placement\0";
"Gtk/ScrolledWindowPlacement\0" "gtk-scrolled-window-placement\0"
"Gtk/IMModule\0" "gtk-im-module\0";
static const struct
{
@ -113,5 +115,6 @@ static const struct
{ 1285, 1305 },
{ 1326, 1343 },
{ 1361, 1381 },
{ 1402, 1430 }
{ 1402, 1430 },
{ 1460, 1473 }
};