[gnome-initial-setup] keyboard: Include all layouts



commit 198e3bbb080109188d21482214ca829ecbd19628
Author: Marcus Karlsson <mk acc umu se>
Date:   Thu Sep 4 22:34:27 2014 +0200

    keyboard: Include all layouts
    
    Only a subset of all keyboard layouts are available from the keyboard
    page. It is impossible for some users to select the correct layout, and
    they are subsequently prevented from using the correct layout through
    the rest of the pages.
    
    Allow the user to select from all keyboard layouts.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=729208

 .../pages/keyboard/cc-input-chooser.c              |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gnome-initial-setup/pages/keyboard/cc-input-chooser.c 
b/gnome-initial-setup/pages/keyboard/cc-input-chooser.c
index 14c97a1..a48dcec 100644
--- a/gnome-initial-setup/pages/keyboard/cc-input-chooser.c
+++ b/gnome-initial-setup/pages/keyboard/cc-input-chooser.c
@@ -385,6 +385,10 @@ get_locale_infos (CcInputChooser *chooser)
        add_rows_to_list (chooser, list, INPUT_SOURCE_TYPE_XKB, id);
        g_list_free (list);
 
+       list = gnome_xkb_info_get_all_layouts (priv->xkb_info);
+       add_rows_to_list (chooser, list, INPUT_SOURCE_TYPE_XKB, id);
+       g_list_free (list);
+
         gtk_widget_show_all (priv->input_list);
 
 out:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]