Blob Blame History Raw
From 198e3bbb080109188d21482214ca829ecbd19628 Mon Sep 17 00:00:00 2001
From: Marcus Karlsson <mk@acc.umu.se>
Date: Thu, 4 Sep 2014 22:34:27 +0200
Subject: [PATCH 1/2] 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
---
 gnome-initial-setup/pages/keyboard/cc-input-chooser.c | 4 ++++
 1 file changed, 4 insertions(+)

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:
-- 
2.1.0