Comment fix
[mim] / src / ui / mim-immodule.c
index 0f7f534..a9746f4 100644 (file)
@@ -1,11 +1,33 @@
-/*
- * GTK+ MiM input module 
- */
-
+/*********************************************************************
+**
+**  Copyright (C) 2009  MiM
+**
+**          Contact: Handspring <xhealer@gmail.com>
+**
+**          AUTHOR:
+**
+**  This file is part of MiM Pinyin.
+**
+**  This is free software: you can redistribute it and/or modify
+**  it under the terms of the GNU General Public License as published by
+**  the Free Software Foundation, either version 3 of the License, or
+**  (at your option) any later version.
+**
+**  This is distributed in the hope that it will be useful,
+**  but WITHOUT ANY WARRANTY; without even the implied warranty of
+**  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+**  GNU General Public License for more details.
+**
+**  You should have received a copy of the GNU General Public License
+**  along with Sigil.  If not, see <http://www.gnu.org/licenses/>.
+**
+*********************************************************************/
 #ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
-
+/*
+ * GTK+ MiM input module 
+ */
 #include <gtk/gtkimcontext.h>
 #include <gtk/gtkimmodule.h>
 #include <gdk/gdkkeysyms.h>
@@ -22,11 +44,6 @@ mim_filter_keypress(GtkIMContext *context,
     if (event->type == GDK_KEY_RELEASE)
         return FALSE;
 
-    /* don't filter key events with accelerator modifiers held down */
-//    if (event->state & (gtk_accelerator_get_default_mod_mask()
-//            & ~GDK_SHIFT_MASK))
-//        return FALSE;
-
     return TRUE;
 }