Comment #4 on issue 1395 by [email protected]: Could ibus-pinyin change the dconf key names to all lower case?
http://code.google.com/p/ibus/issues/detail?id=1395

OK, then I'll try to add a workaround to ibus-dconf. I think the current name conversion logic in ibus-dconf is more or less necessary for ibus core to get default values from the dconf schema (converted from the GConf schema), while most engines do not use schema at all. I'm thinking of adding an option to list config sections whose keys are not converted to dconf names, such as:

static const gchar *no_convert_keys = {
  "/desktop/ibus/engine/PinYin",
  ...
};

/* in ibus_config_dconf_get_values etc. */
if (section is not in no_convert_keys)
    name = _from_gsettings_name (*p);
else
    name = *p:


--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en

回复