~ubuntu-branches/ubuntu/hardy/uim/hardy

« back to all changes in this revision

Viewing changes to xim/canddisp.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Masahito Omote
  • Date: 2007-04-21 03:46:09 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20070421034609-gpcurkutp8vaysqj
Tags: 1:1.4.1-3
* Switch to dh_gtkmodules for the gtk 2.10 transition (Closes:
  #419318)
  - debian/control: Add ${misc:Depends} and remove libgtk2.0-bin on
    uim-gtk2.0.
  - debian/uim-gtk2.0.post{inst,rm}: Removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 
3
 
  Copyright (c) 2003-2006 uim Project http://uim.freedesktop.org/
 
3
  Copyright (c) 2003-2007 uim Project http://uim.freedesktop.org/
4
4
 
5
5
  All rights reserved.
6
6
 
144
144
    check_connection();
145
145
}
146
146
 
147
 
void Canddisp::select(int index)
 
147
void Canddisp::select(int index, bool need_hilite)
148
148
{
149
149
    if (!candwin_w)
150
150
        return;
151
151
    fprintf(candwin_w, "select\n");
152
 
    fprintf(candwin_w, "%d\n\n", index);
 
152
    fprintf(candwin_w, "%d\n", index);
 
153
    fprintf(candwin_w, "%d\n\n", need_hilite? 1 : 0);
153
154
    fflush(candwin_w);
154
155
    check_connection();
155
156
}