-DPKGDATADIR=\"$(pkgdatadir)\" \
-DLIBEXECDIR=\"$(libexecdir)\" \
-DBINDIR=\"@bindir@\" \
- -DIBUS_DISABLE_DEPRECATED \
+ -DIBUS_DISABLE_DEPRECATED \
$(INCLUDES) \
$(NULL)
AM_LDADD = \
/* a fake input context for global engine support */
BusInputContext *fake_context;
- /* a list of engines that are preloaded. */
- // GList *engine_list;
/* a list of engines that are started by a user (without the --ibus command line flag.) */
GList *register_engine_list;
}
BusEngineProxy *engine = NULL;
- gboolean is_enabled = FALSE;
if (ibus->focused_context) {
if (ibus->use_global_engine) {
/* dettach engine from the focused context */
engine = bus_input_context_get_engine (ibus->focused_context);
if (engine) {
- // is_enabled = bus_input_context_is_enabled (ibus->focused_context);
- is_enabled = TRUE;
g_object_ref (engine);
bus_input_context_set_engine (ibus->focused_context, NULL);
}
# vim:set et sts=4 sw=4:
-#!/usr/bin/env python
+#
+# ibus - The Input Bus
+#
+# Copyright (c) 2007-2010 Peng Huang <shawn.p.huang@gmail.com>
+# Copyright (c) 2007-2010 Red Hat, Inc.
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2 of the License, or (at your option) any later version.
+#
+# This library 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 Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program; if not, write to the
+# Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+# Boston, MA 02111-1307 USA
from xml.dom import minidom
import cgi