Connect candidate-clicked signal on ibus-ui-gtk3 for mouse click.
authorfujiwarat <takao.fujiwara1@gmail.com>
Fri, 6 Sep 2013 04:24:34 +0000 (13:24 +0900)
committerfujiwarat <takao.fujiwara1@gmail.com>
Fri, 6 Sep 2013 04:24:34 +0000 (13:24 +0900)
Review URL: https://codereview.appspot.com/13303049

ui/gtk3/panel.vala

index 22944f8..82b9ee5 100644 (file)
@@ -81,6 +81,8 @@ class Panel : IBus.PanelService {
         m_candidate_panel = new CandidatePanel();
         m_candidate_panel.page_up.connect((w) => this.page_up());
         m_candidate_panel.page_down.connect((w) => this.page_down());
+        m_candidate_panel.candidate_clicked.connect(
+                (w, i, b, s) => this.candidate_clicked(i, b, s));
 
         m_switcher = new Switcher();
         // The initial shortcut is "<Super>space"