[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Varnamproject-discuss] New feature
From: |
Navaneeth K N |
Subject: |
Re: [Varnamproject-discuss] New feature |
Date: |
Tue, 31 Mar 2015 12:58:35 +0530 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Kevin,
I did some work on the preferences screen for ibus-varnam engine.
Run `ibus-setup` or choose `Preferences` from the panel, and choose
one of the varnam engines. You can notice that the `Preferences`
button is activated now. Clicking on that will open a new window which
can have all the configurable options that we need.
The way this is done,
1) Preferences is a separate GTK application
2) ibus looks for <setup> node in the XML configuration. This setup
node points to the executable for the preferences application.
I still haven't added properties in to this screen. I will do that
later. In the meantime, can you please cleanup your implementation and
send a PR?
On Saturday 07 March 2015 09:05 PM, Navaneeth K N wrote:
>
>
> On Friday 06 March 2015 05:45 PM, Kevin Martin wrote:
>> Yes, we need to be able to turn this feature on and off. But
>> where would the configuration option go? Do we specify it as a
>> flag when compiling or do we have to come up with a system to
>> handle these settings? A similar situation arose when we were
>> developing with inscript. Inscript used normal chills while
>> varnam by default used atomic chills (or was it the other way
>> round?). Instead of hardcoding the checks, I thought it would be
>> better if we can implement a whole new settings feature.
>
> Usually, when you run `ibus-setup`, and click on the input method,
> there is a "Preferences" button (which is disabled right now for
> varnam). Ideally all the preferences will go there.
>
> Now, I am not sure about how we can hook on to the preferences.
> Probably, looking at some other engines source might help.
>
>
- --
Cheers,
Navaneeth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBAgAGBQJVGkyZAAoJEHFACYSL7h6kN9sH/RDUZPN694pGcd7SPM1PRhDL
uDIKCIIbC1p1le4mvsVR0UZ8sFuzX6CyVP8dCagM/oerMko86yrKBY+XCF2GVE79
rmCoqBeF//E8nDYxU71D25j5jv7pWoKvCSr5qGDO0o5sl4/KwqD+IsQK8b0mRYW/
EadnYqi4jl9hxeL7bO+4hznDprQsKb4mAyPCsUWfgC71Tpn/jvikVIo4eVtAZqIo
GSSZvvMhL+LwH0vhNheIWfSUuoMqiVdeYBOlh1Tup1UP0xxPL2EnboVxYEDCkWkV
Rp476ijXIRluKnhrslJIWzMt23BWklMriAQGzxsF3ymfAlA5KGUluIst3FcBXd8=
=qj7S
-----END PGP SIGNATURE-----