[Pidgin] #4395: Text replacement in status messages

Pidgin trac at pidgin.im
Fri Jan 4 15:31:15 EST 2008


#4395: Text replacement in status messages
--------------------------+-------------------------------------------------
  Reporter:  fishpool     |       Owner:  rlaager        
      Type:  enhancement  |      Status:  new            
  Priority:  minor        |   Milestone:  Patches welcome
 Component:  plugins      |     Version:  2.3.1          
Resolution:               |    Keywords:                 
   Pending:  0            |  
--------------------------+-------------------------------------------------
Changes (by rlaager):

  * summary:  text replacement in stauts message => Text replacement in
              status messages
  * milestone:  => Patches welcome

Old description:

> would it be possible for the text replacement plugin to work when writing
> a status message?

New description:

 The text replacement plugin should be made to work when writing a status
 message.

Comment:

 It looks to me from pidgin/gtkstatusbox.c:1255 that this is just an imhtml
 (and we apparently support gtkspell on it):
     pidgin_setup_gtkspell(GTK_TEXT_VIEW(status_box->imhtml));

 Looking at pidgin/plugins/spellchk.c, in spellchk_new_attach, it appears
 that most of this is NOT dependent on conversations.

 It looks to me like we'd want to refactor spellchk_new_attach slightly to
 get another static function that would do the part of attaching to a
 GtkTextView. Then we'd need some way to alert plugins that a typing box
 was created. On that signal, the Text Replacement plugin could attach to
 the typing box.

 This should be fairly easy, but it's not going to be high on my personal
 priority list.

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


More information about the Tracker mailing list