diff options
author | Hidetoshi Tajima <tajima@src.gnome.org> | 2003-05-21 20:21:41 +0000 |
---|---|---|
committer | Hidetoshi Tajima <tajima@src.gnome.org> | 2003-05-21 20:21:41 +0000 |
commit | 539ad89f76a7a06d8526434a8c408a49f63789a8 (patch) | |
tree | 976be59ae8acbc9735997005311c45a84ea7d17d /modules | |
parent | b5adee991a31f5119aad62dc0733373a16afb529 (diff) | |
download | gtk+-539ad89f76a7a06d8526434a8c408a49f63789a8.tar.gz |
gtk settings for XIMPreeditNone and XIMStatusNone. (#105909)
* gtk/gtkenums.h (enum GtkIMPreeditStyle, GtkIMStatusStyle):
* modules/input/gtkimcontextxim.c (preedit_style_change, status_style_change):
gtk settings for XIMPreeditNone and XIMStatusNone. (#105909)
Diffstat (limited to 'modules')
-rw-r--r-- | modules/input/gtkimcontextxim.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/input/gtkimcontextxim.c b/modules/input/gtkimcontextxim.c index f1bfede119..953f8916bd 100644 --- a/modules/input/gtkimcontextxim.c +++ b/modules/input/gtkimcontextxim.c @@ -190,6 +190,8 @@ status_style_change (GtkXIMInfo *info) info->status_style_setting = XIMStatusCallbacks; else if (status_style == GTK_IM_STATUS_NOTHING) info->status_style_setting = XIMStatusNothing; + else if (status_style == GTK_IM_STATUS_NONE) + info->status_style_setting = XIMStatusNone; else return; @@ -209,6 +211,8 @@ preedit_style_change (GtkXIMInfo *info) info->preedit_style_setting = XIMPreeditCallbacks; else if (preedit_style == GTK_IM_PREEDIT_NOTHING) info->preedit_style_setting = XIMPreeditNothing; + else if (preedit_style == GTK_IM_PREEDIT_NONE) + info->preedit_style_setting = XIMPreeditNone; else return; |