ibusManager: Preload all ibus input sources in user configuration

Normally users switch xkb input sources and ibus input sources.
But currently the first input source only is running. It's also good
to preload all ibus engines in the logging session so that users switch
input sources quickly without the launching time of input sources.

The following is the ibus change:
https://github.com/ibus/ibus/commit/cff35929a9

https://bugzilla.gnome.org/show_bug.cgi?id=695428
This commit is contained in:
Takao Fujiwara
2014-11-10 19:09:08 +09:00
committed by Rui Matos
parent 050378743e
commit e467a734a1
2 changed files with 47 additions and 2 deletions

View File

@ -381,6 +381,10 @@ const InputSourceManager = new Lang.Class({
if (this._mruSources.length > 0)
this._mruSources[0].activate();
// All ibus engines are preloaded here to reduce the launching time
// when users switch the input sources.
this._ibusManager.preloadEngines(Object.keys(this._ibusSources));
},
_makeEngineShortName: function(engineDesc) {