[Uim] Scheme to determine default IM

Takuro Ashie ashie at homa.ne.jp
Thu Aug 5 06:10:46 EEST 2004


Hi Kazuki.

On Wed, 4 Aug 2004 21:31:00 +0900
Kazuki Ohta <mover at hct.zaq.ne.jp> wrote:

> I tried your patch, but doesn't work well.
> But commented out these lines in im_uim_set_property of gtk-im-uim.c, it works 
> well.
> 
>    371 |      /* 
>    372 |    if (uic->uc && !uic->unified_mode) {
>    373 |      g_warning("This uim context is not unified mode.");
>    374 |      return;
>    375 |    }
>    376 |      */
> 
> regards.

I think to remove this code isn't recomanded way.

Considerable reason is that you forgot to update gtk.immodule.

To set uic->unified_mode as TRUE, you should create IMUIMContext as
"uim" context_id (for example, by setting GTK_IM_MODULE="uim"), but
you'll fail it when you forgot to update gtk.immmodule. (Please read
im_module_create() in im-uim.c for more detail.)

Could you tell me whether you updated it or not?

Constructing proccess of IMUIMContext still has a bit problem, so such
problem may occur on start up time, but I think this problem doesn't
occur after the start up time.


If this problem is really a program fault, I'm sorry for doubting you.
I'm checking it now.


Regards,

-- 
Takuro Ashie <ashie at good-day.co.jp>




More information about the uim mailing list