diff options
Diffstat (limited to 'src/PYExtEditor.cc')
-rw-r--r-- | src/PYExtEditor.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/PYExtEditor.cc b/src/PYExtEditor.cc index 20898e9..ebcb18b 100644 --- a/src/PYExtEditor.cc +++ b/src/PYExtEditor.cc @@ -159,15 +159,10 @@ ExtEditor::ExtEditor (PinyinProperties & props, Config & config) { m_lua_plugin = ibus_engine_plugin_new (); - gchar * path = g_build_filename (g_get_user_config_dir (), - ".ibus", "pinyin", "base.lua", NULL); loadLuaScript ( ".." G_DIR_SEPARATOR_S "lua" G_DIR_SEPARATOR_S "base.lua")|| - loadLuaScript (path) || loadLuaScript (PKGDATADIR G_DIR_SEPARATOR_S "base.lua"); - g_free(path); - - path = g_build_filename (g_get_user_config_dir (), + gchar * path = g_build_filename (g_get_user_config_dir (), "ibus", "libpinyin", "user.lua", NULL); loadLuaScript(path); g_free(path); |