GNOME Bugzilla – Bug 585868
[keyboard] Find the index of layout to activate after filter
Last modified: 2009-12-05 02:40:17 UTC
A small bug was introduced with the latest patch by Sergey (my fault, I should have spotted it). Since we now potentially filter some xkb layouts out of the configuration, we need to have the filter done beore we find the index of the layout to activate. Else, there's no guarantee the index will be valid.
Created attachment 136638 [details] [review] [keyboard] Find the index of layout to activate after filter Since we now potentially filter some xkb layouts out of the configuration, we need to have the filter done beore we find the index of the layout to activate. Else, there's no guarantee the index will be valid.
Sergey?
Comment on attachment 136638 [details] [review] [keyboard] Find the index of layout to activate after filter Vincent, could you please update the patch to apply to trunk? Thanks.
Created attachment 149102 [details] [review] Updated patch
Vincent, you're right, that block should be moved. Committed, thanks a bunch!