]> Pileus Git - ~andy/gtk/commit
Remove the namespace prefix from functions defined locally only. Clean up
authorDaniel Elstner <daniel@src.gnome.org>
Fri, 16 Jan 2009 15:02:06 +0000 (15:02 +0000)
committerDaniel Elstner <daniel@src.gnome.org>
Fri, 16 Jan 2009 15:02:06 +0000 (15:02 +0000)
commit47aae53285bae0e5409b9976e0e828247f8cd383
treeca0f36a3e1565b99c33a8f18d498cf2c5907d7b4
parente5e8afb93c746ba92ee01a39fd04621317592d29
Remove the namespace prefix from functions defined locally only. Clean up

* modules/input/gtkimcontextmultipress.[ch]: Remove the namespace
prefix from functions defined locally only.  Clean up the code and
change indentation to match the GTK+ coding style.
(_GtkImContextMultipress::key_sequences): Replace array of pointers
by GHashTable.  Adapt the implementation accordingly.
(passthrough_enabled_for_window): Remove.  The passthrough hack is
no longer necessary thanks to the recently introduced "im-module"
property of GtkEntry and GtkTextView.
(load_config): Rework to implement an improved configuration file
format.  Just fetch all keys of the group instead of expecting the
keys to be named a certain way.  This also allows interpreting the
config key itself as the GDK key name to bind the character sequence
to, thereby making it independent of the sequence itself.

* modules/input/im-multipress.conf: New example configuration using
the new syntax.  The example sequences are now bound to the numeric
keypad and imitate the behavior of a standard mobile phone.

svn path=/trunk/; revision=22125
ChangeLog
modules/input/gtkimcontextmultipress.c
modules/input/gtkimcontextmultipress.h
modules/input/im-multipress.conf