Codebase list fcitx-cloudpinyin / 370fb6a
Imported Upstream version 0.2.1 Aron Xu 12 years ago
2 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
112112 },
113113 {
114114 NULL,
115 "http://www.google.com/inputtools/request?ime=pinyin&text=%s",
115 "https://www.google.com/inputtools/request?ime=pinyin&text=%s",
116116 NULL,
117117 GoogleParsePinyin
118118 },
699699 if (configDesc == NULL)
700700 return false;
701701
702 FILE *fp = FcitxXDGGetFileUserWithPrefix("conf", "fcitx-cloudpinyin.config", "rt", NULL);
702 FILE *fp = FcitxXDGGetFileUserWithPrefix("conf", "fcitx-cloudpinyin.config", "r", NULL);
703703
704704 if (!fp)
705705 {
724724 void SaveCloudPinyinConfig(FcitxCloudPinyinConfig* fs)
725725 {
726726 FcitxConfigFileDesc *configDesc = GetCloudPinyinConfigDesc();
727 FILE *fp = FcitxXDGGetFileUserWithPrefix("conf", "fcitx-cloudpinyin.config", "wt", NULL);
727 FILE *fp = FcitxXDGGetFileUserWithPrefix("conf", "fcitx-cloudpinyin.config", "w", NULL);
728728 FcitxConfigSaveConfigFileFp(fp, &fs->config, configDesc);
729729 if (fp)
730730 fclose(fp);
44
55 [CloudPinyin/MinimumPinyinLength]
66 Type=Integer
7 DefaultValue=10
7 DefaultValue=5
88 Description=Minimum Length of Pinyin To Trigger Cloud Pinyin
99
1010 [CloudPinyin/DontShowSource]