[Pidgin] #12599: It's impossible to override TAB key autocompletion behaviour in plugin

Pidgin trac at pidgin.im
Mon Sep 6 15:32:05 EDT 2010


#12599: It's impossible to override TAB key autocompletion behaviour in plugin
------------------------------+---------------------------------------------
 Reporter:  kawaii.neko       |        Owner:              
     Type:  defect            |       Status:  new         
Milestone:                    |    Component:  pidgin (gtk)
  Version:  2.7.3             |   Resolution:              
 Keywords:  tab autocomplete  |  
------------------------------+---------------------------------------------

Comment(by kawaii.neko):

 chat-nick-signals.diff patch addstwo new signals pidgin conversation
 handles: chat-nick-clicked and chat-nick-autocomplete.

 {{{gboolean chat_nick_clicked(PurpleConversation *conv, const char *nick,
 guint button)}}} is emitted when chat user's nick has been clicked on the
 side pane or in chat (buddy tag event). If handler returns true, the
 default action is not performed. It may be useful to implement click-to-
 insert nick plugin or to override nick's context menu (but it's a bad idea
 in my opinion).

 {{{gboolean chat_nick_autocomplete(PurpleConversation *conv, gboolean
 backwards)}}} is emitted when Tab or Shift-Tab hit in conversation entry.
 This handler may override default autocomplete action by returning TRUE.
 In this case tab_complete won't be called.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/12599#comment:1>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list