[gnome-control-center] region: Always add ibus engine widgets regardless of locale info
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] region: Always add ibus engine widgets regardless of locale info
- Date: Mon, 11 Mar 2013 12:51:16 +0000 (UTC)
commit 765b6b52a788ff3003baa244a1356fab9458e8f9
Author: Rui Matos <tiagomatos gmail com>
Date: Fri Mar 8 21:56:27 2013 +0100
region: Always add ibus engine widgets regardless of locale info
This makes sure any engine we don't have locale info for ends up under
the Other row.
https://bugzilla.gnome.org/show_bug.cgi?id=695049
panels/region/cc-input-chooser.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/panels/region/cc-input-chooser.c b/panels/region/cc-input-chooser.c
index 1c24723..327659e 100644
--- a/panels/region/cc-input-chooser.c
+++ b/panels/region/cc-input-chooser.c
@@ -854,7 +854,7 @@ get_ibus_locale_infos (GtkWidget *chooser)
}
else
{
- g_warning ("IBus returned locale '%s' that we don't know about", locale);
+ add_widget_other (chooser, INPUT_SOURCE_TYPE_IBUS, engine_id);
}
g_free (locale);
@@ -882,6 +882,10 @@ get_ibus_locale_infos (GtkWidget *chooser)
if (!maybe_set_as_default (chooser, info, engine_id))
add_widget (chooser, info, INPUT_SOURCE_TYPE_IBUS, engine_id);
}
+ else
+ {
+ add_widget_other (chooser, INPUT_SOURCE_TYPE_IBUS, engine_id);
+ }
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]