GNOME Bugzilla – Bug 683878
keyboard: Don't touch the XKB layout with an empty input sources list
Last modified: 2012-09-13 12:38:12 UTC
Patch attached.
Created attachment 224126 [details] [review] keyboard: Don't touch the XKB layout with an empty input sources list In case the user hasn't configured any input source it's less surprising to default to the current X server's XKB layout and variant. This renames apply_xkb_layout() to apply_xkb_settings() to make it clear that we also apply the options there. The options can't be skipped if the setting is empty because then there would be no way for users to get rid of them when disabling all of them in g-c-c.
Review of attachment 224126 [details] [review]: ::: plugins/keyboard/gsd-keyboard-manager.c @@ +690,2 @@ static void +apply_xkb_settings (GsdKeyboardManager *manager, Can you make the rename in a separate commit if you need it?
Created attachment 224162 [details] [review] keyboard: Don't touch the XKB layout with an empty input sources list In case the user hasn't configured any input source it's less surprising to default to the current X server's XKB layout and variant.
Created attachment 224163 [details] [review] keyboard: Rename apply_xkb_layout() to make its purpose clearer This renames apply_xkb_layout() to apply_xkb_settings() to make it clear that we also apply the options there. The options can't be skipped if the setting is empty because then there would be no way for users to get rid of them when disabling all of them in g-c-c.
Review of attachment 224162 [details] [review]: ++
Review of attachment 224163 [details] [review]: ++
Attachment 224162 [details] pushed as e6b023d - keyboard: Don't touch the XKB layout with an empty input sources list Attachment 224163 [details] pushed as 1a5db5e - keyboard: Rename apply_xkb_layout() to make its purpose clearer