Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3322)

Issue 103440043: Set up ibus engines when users log into the session initially. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years ago by fujiwara
Modified:
10 years ago
Reviewers:
shawn.p.huang, Peng
CC:
shawn.p.huang_gmail.com
Base URL:
git@github.com:ibus/ibus.git@master
Visibility:
Public.

Description

Set up ibus engines when users log into the session for the first time. XKB engines are configured by the session XKB. IM engines are configured by the current locale and IBusEngineDesc.lang. Also append 'us' layout after non-ascii layout likes 'ara', 'ru'. BUG=rhbz#541492 TEST=ui/gtk3/ibus-ui-gtk3 data/dconf/org.freedesktop.ibus.gschema.xml

Patch Set 1 #

Total comments: 38

Patch Set 2 : Updated with message #5. #

Total comments: 27

Patch Set 3 : Updated with message #7. #

Total comments: 4

Patch Set 4 : Updated with message #9. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+378 lines, -50 lines) Patch
M data/ibus.schemas.in View 1 1 chunk +14 lines, -0 lines 0 comments Download
M ui/gtk3/Makefile.am View 1 chunk +1 line, -0 lines 0 comments Download
M ui/gtk3/panel.vala View 1 2 3 6 chunks +161 lines, -50 lines 0 comments Download
A ui/gtk3/xkblayout.vala View 1 2 3 1 chunk +202 lines, -0 lines 0 comments Download

Messages

Total messages: 10
fujiwara
This is a fork of cl #5969078.
10 years ago (2014-06-13 08:41:47 UTC) #1
Peng
On 2014/06/13 08:41:47, fujiwara wrote: > This is a fork of cl #5969078. I think ...
10 years ago (2014-06-14 02:22:35 UTC) #2
fujiwara
On 2014/06/14 02:22:35, Peng wrote: > On 2014/06/13 08:41:47, fujiwara wrote: > > This is ...
10 years ago (2014-06-16 02:36:20 UTC) #3
fujiwara
On 2014/06/16 02:36:20, fujiwara wrote: > On 2014/06/14 02:22:35, Peng wrote: > > On 2014/06/13 ...
10 years ago (2014-06-18 10:24:38 UTC) #4
Peng
https://codereview.appspot.com/103440043/diff/1/data/ibus.schemas.in File data/ibus.schemas.in (right): https://codereview.appspot.com/103440043/diff/1/data/ibus.schemas.in#newcode66 data/ibus.schemas.in:66: <short>Latin layout which have no ASCII</short> layout -> layouts ...
10 years ago (2014-06-18 15:34:25 UTC) #5
fujiwara
https://codereview.appspot.com/103440043/diff/1/data/ibus.schemas.in File data/ibus.schemas.in (right): https://codereview.appspot.com/103440043/diff/1/data/ibus.schemas.in#newcode66 data/ibus.schemas.in:66: <short>Latin layout which have no ASCII</short> On 2014/06/18 15:34:23, ...
10 years ago (2014-06-19 10:20:52 UTC) #6
Peng
https://codereview.appspot.com/103440043/diff/1/ui/gtk3/xkblayout.vala File ui/gtk3/xkblayout.vala (right): https://codereview.appspot.com/103440043/diff/1/ui/gtk3/xkblayout.vala#newcode28 ui/gtk3/xkblayout.vala:28: const string m_xkb_get_args = "-query"; On 2014/06/19 10:20:51, fujiwara ...
10 years ago (2014-06-19 14:46:15 UTC) #7
fujiwara
https://codereview.appspot.com/103440043/diff/1/ui/gtk3/xkblayout.vala File ui/gtk3/xkblayout.vala (right): https://codereview.appspot.com/103440043/diff/1/ui/gtk3/xkblayout.vala#newcode28 ui/gtk3/xkblayout.vala:28: const string m_xkb_get_args = "-query"; On 2014/06/19 14:46:14, Peng ...
10 years ago (2014-06-20 08:01:08 UTC) #8
Peng
lgtm with nits https://codereview.appspot.com/103440043/diff/1/ui/gtk3/panel.vala File ui/gtk3/panel.vala (right): https://codereview.appspot.com/103440043/diff/1/ui/gtk3/panel.vala#newcode327 ui/gtk3/panel.vala:327: GLib.List<IBus.EngineDesc> im_engines = null; On 2014/06/19 ...
10 years ago (2014-06-20 20:05:38 UTC) #9
fujiwara
10 years ago (2014-06-23 03:36:53 UTC) #10
https://codereview.appspot.com/103440043/diff/1/ui/gtk3/panel.vala
File ui/gtk3/panel.vala (right):

https://codereview.appspot.com/103440043/diff/1/ui/gtk3/panel.vala#newcode327
ui/gtk3/panel.vala:327: GLib.List<IBus.EngineDesc> im_engines = null;
On 2014/06/20 20:05:38, Peng wrote:
> On 2014/06/19 10:20:51, fujiwara wrote:
> > On 2014/06/18 15:34:24, Peng wrote:
> > > http://www.valadoc.org/#!api=glib-2.0/GLib.List
> > > 
> > > should we new a List object here?
> > 
> > I think the index of foreach will be confused if a member is removed during
> > foreach.
> > So I think a new list would be good.
> > Also the list will be sorted by IBus.EngineDesc.rank later.
> 
> I mean:
> 
> GLib.List<IBus.EngineDesc> im_engines = new GLib.List<..>();

Done.

https://codereview.appspot.com/103440043/diff/40001/ui/gtk3/xkblayout.vala
File ui/gtk3/xkblayout.vala (right):

https://codereview.appspot.com/103440043/diff/40001/ui/gtk3/xkblayout.vala#ne...
ui/gtk3/xkblayout.vala:27: const string XKB_COMMAND = "setxkbmap";
On 2014/06/20 20:05:38, Peng wrote:
> Add private for all member variables?

Done.

https://codereview.appspot.com/103440043/diff/40001/ui/gtk3/xkblayout.vala#ne...
ui/gtk3/xkblayout.vala:166: args += "-layout";
On 2014/06/20 20:05:38, Peng wrote:
> maybe define a const variable for "-layout" ?

Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b