Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15:Update
gnome-initial-setup
gnome-initial-setup-mozc-engine-prioritized.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-initial-setup-mozc-engine-prioritized.patch of Package gnome-initial-setup
diff -Nura gnome-initial-setup-3.26.0/gnome-initial-setup/pages/keyboard/cc-input-chooser.c gnome-initial-setup-3.26.0_new/gnome-initial-setup/pages/keyboard/cc-input-chooser.c --- gnome-initial-setup-3.26.0/gnome-initial-setup/pages/keyboard/cc-input-chooser.c 2016-10-22 15:09:29.000000000 +0800 +++ gnome-initial-setup-3.26.0_new/gnome-initial-setup/pages/keyboard/cc-input-chooser.c 2017-11-10 14:43:56.748638684 +0800 @@ -274,6 +274,14 @@ should_be_visible = FALSE; else should_be_visible = g_strcmp0 (widget->id, priv->id) == 0 && g_strcmp0 (widget->type, priv->type) == 0; + + if ((g_strcmp0 (widget->id, "jp") == 0) && + (g_strcmp0 (priv->id, "jp") == 0)) + should_be_visible = FALSE; + + if (g_strcmp0 (widget->id, "mozc-jp") == 0) + should_be_visible = TRUE; + gtk_widget_set_opacity (widget->checkmark, should_be_visible ? 1.0 : 0.0); if (widget->is_extra && should_be_visible) @@ -452,6 +460,13 @@ widget = get_input_widget (child); + if((g_strcmp0 (widget->id, "mozc-jp") == 0) || + (g_strcmp0 (widget->id, "anthy") == 0)) + return TRUE; + + if(g_strcmp0 (widget->id, "Japanese (Mozc)") == 0) + return FALSE; + if (!priv->showing_extra && widget->is_extra) return FALSE; @@ -479,6 +494,14 @@ if (lb == NULL) return -1; + if (g_strcmp0 (la->id, "mozc-jp") == 0 || + g_strcmp0 (la->id, "anthy") == 0) + return -1; + + if (g_strcmp0 (lb->id, "mozc-jp") == 0 || + g_strcmp0 (lb->id, "anthy") == 0) + return 1; + if (la->is_extra && !lb->is_extra) return 1;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor