[Pidgin] #3286: Patch: Prevent pidgin from showing smiley image in the edit message (show text instead)

Pidgin trac at pidgin.im
Sun Sep 23 23:21:09 EDT 2007


#3286: Patch: Prevent pidgin from showing smiley image in the edit message (show
text instead)
---------------------------+------------------------------------------------
  Reporter:  goutnet       |       Owner:       
      Type:  patch         |      Status:  new  
  Priority:  minor         |   Milestone:  2.2.1
 Component:  pidgin (gtk)  |     Version:  2.2.0
Resolution:                |    Keywords:       
   Pending:  0             |  
---------------------------+------------------------------------------------
Comment (by goutnet):

 Background: I am working on the latex plugin, that transform $$[insert
 your latex code here]$$ into a smiley image containing the latex image...
 That works now fine (although I am working on sending the custom smiley
 over the MSN protocol), but once you have entered the smiley, you really
 would like to get the code back to edit the formula and make a new one ...

 Here is part of the log (I filtered unrelevant comments):

 (23:14:22) goutnet: just have a question : when I copy paste a smiley,
 only the image appears, not the corresponding text, is there a way to copy
 the text, not the image ?
 (23:14:44) Jaywalker: goutnet, in a Pidgin to Pidgin setting?
 (23:14:51) Jaywalker: from one IM to another?
 (23:15:14) Masca: goutnet: it display the latex equation on your window ?
 (23:15:27) goutnet: yes
 (23:15:51) goutnet: well here is an example :
 (23:15:52) goutnet: :)
 (23:15:56) goutnet: this is a smiley
 (23:16:09) goutnet: if I copy it to the edit line, I get the image on the
 edit line
 (23:16:22) Masca: ohh that's great
 (23:16:26) goutnet: ... not the ': )' (remove the space to get the text)
 (23:16:26) Jaywalker: Yep, you do
 (23:16:41) goutnet: but I'd like to have the text, not the image, in some
 cases
 (23:16:59) Jaywalker: thats not possible currently..
 (23:17:06) Jaywalker: paste as plain text wont work either
 (23:17:12) goutnet: Jaywalker: is it a call for a plugin ?
 (23:17:34) Jaywalker: no, its part of Pidgins IM Window
 (23:18:06) Jaywalker: because thats how it makes the smiley appear when
 you do it with the "smile!" option
 (23:18:56) goutnet: Jaywalker: hum, ok I may try to add a context menu
 "paste smiley text" option if I can, and send a patch for this
 (23:19:28) Jaywalker: alright... You'll have to change the way the smiley
 parsing work though :)
 (23:19:45) Jaywalker: or actually... break up the string
 (23:19:53) Jaywalker: make it put the : first.. the the )
 (23:20:00) Jaywalker: and it will act like the user typed it

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


More information about the Tracker mailing list