-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate IBusConfig to GSettings #56
Conversation
src/engine.c
Outdated
if (value != NULL) { | ||
const gchar* str = g_variant_get_string (value, NULL); | ||
hotkey_list_set_from_string(&switch_keys, str); | ||
g_variant_unref(value); | ||
} else { | ||
hotkey_list_append(&switch_keys, IBUS_Hangul, 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer handling the unpredictable error here.
Switch keys are quite important.
src/engine.c
Outdated
if (value != NULL) { | ||
const gchar* str = g_variant_get_string (value, NULL); | ||
hotkey_list_set_from_string(&hanja_keys, str); | ||
g_variant_unref(value); | ||
} else { | ||
hotkey_list_append(&hanja_keys, IBUS_Hangul_Hanja, 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
IBus plans to deprecate IBusConfig and suggests to migrate to GSettings. https://groups.google.com/forum/#!topic/ibus-devel/Mu1IoFX-bKE libhangul#51
Updated the patch to follow your suggestion. |
Thank you. |
Thank you! |
IBus plans to deprecate IBusConfig and suggests to migrate to GSettings.
https://groups.google.com/forum/#!topic/ibus-devel/Mu1IoFX-bKE
#51