~joel-auterson/ubuntu/maverick/ibus/newmenuname

« back to all changes in this revision

Viewing changes to client/gtk2/ibusimcontext.c

  • Committer: Bazaar Package Importer
  • Author(s): LI Daobing
  • Date: 2009-10-05 20:45:18 UTC
  • mfrom: (1.1.5 upstream) (6.1.15 sid)
  • Revision ID: james.westby@ubuntu.com-20091005204518-069vlwrl3r8v7bbr
Tags: 1.2.0.20090927-2
* create po template when build (LP: #188690)
  - debian/rules: updated.
  - debian/clean: remove pot file when clean.
* debian/control: build depends on python-rsvg (LP: #432375)

Show diffs side-by-side

added added

removed removed

Lines of Context:
774
774
    ibusimcontext->preedit_visible = visible;
775
775
 
776
776
    if (ibusimcontext->preedit_visible) {
777
 
        if (flag)
 
777
        if (flag) {
 
778
            /* invisible => visible */
778
779
            g_signal_emit (ibusimcontext, _signal_preedit_start_id, 0);
 
780
        }
779
781
        g_signal_emit (ibusimcontext, _signal_preedit_changed_id, 0);
780
782
    }
781
783
    else {
782
 
        g_signal_emit (ibusimcontext, _signal_preedit_changed_id, 0);
783
 
        if (flag)
 
784
        if (flag) {
 
785
            /* visible => invisible */
 
786
            g_signal_emit (ibusimcontext, _signal_preedit_changed_id, 0);
784
787
            g_signal_emit (ibusimcontext, _signal_preedit_end_id, 0);
 
788
        }
 
789
        else {
 
790
            /* still invisible */
 
791
            /* do nothing */
 
792
        }
785
793
    }
786
794
}
787
795