annotate pixmaps/status/default/ignored.svg @ 12618:204bd8fac61f

[gaim-migrate @ 14954] SF Patch #1355796 from Sadrul This fixes the custom smiley bug where your text gets smilies from the other party in the conversation. This is a bit of a hack, but it fix things until such time as the smiley tree stuff can be reworked. " From the kwiki: If someone uses an MSN smiley, it shows up when I type the textual representation of it. For example, someone set a smiley (a rainbow flashy question mark) for ? and it showed up (on my side, I have no idea about theirs) for every ? I typed. /luke as I understand this report, the problem is that the custom smiley should be restricted to exactly one conversation but is in fact spanning the account/ * (sadrul) It appears what happens is, the custom smiley is added to the smiley-tree for that conversation-imhtml. So whenever any new message is going to be added to the imhtml, it looks up the smiley-tree first, and since the "?" (or anything else) matches the smiley, it converts it to the smiley. At first glance, it seems the fix would be non-trivial. It will probably be necessary to distinguish between custom-smileys (and also messages added to the imhtml) of the sender and the receiver. ==== end ==== What this patch does is, it temporarily replaces the smiley-tree for the conversation-imhtml with the smiley-tree of the conversation-entrybox. I think this will work because the smiley-trees of both these imhtml-s are initially the same. When a custom smiley is received, it is added the smiley-tree of the conversation-imhtml. So temporarily restoring the smiley-tree with the original smiley-tree (that in conv-entrybox) should fix the problem." committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Thu, 22 Dec 2005 04:07:21 +0000
parents 8b2451878e26
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9499
b91aa8342584 [gaim-migrate @ 10326]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
b91aa8342584 [gaim-migrate @ 10326]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
b91aa8342584 [gaim-migrate @ 10326]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
3 "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
9554
8b2451878e26 [gaim-migrate @ 10387]
Luke Schierer <lschiere@pidgin.im>
parents: 9499
diff changeset
4 <!-- Created with Sodipodi ("http://www.sodipodi.com/") -->
9499
b91aa8342584 [gaim-migrate @ 10326]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
5 <svg
b91aa8342584 [gaim-migrate @ 10326]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
6 xmlns="http://www.w3.org/2000/svg"
b91aa8342584 [gaim-migrate @ 10326]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
7 xmlns:xlink="http://www.w3.org/1999/xlink"
b91aa8342584 [gaim-migrate @ 10326]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
8 version="1.0"
b91aa8342584 [gaim-migrate @ 10326]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
9 x="0"
b91aa8342584 [gaim-migrate @ 10326]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
10 y="0"
b91aa8342584 [gaim-migrate @ 10326]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
11 width="40"
b91aa8342584 [gaim-migrate @ 10326]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
12 height="40"
b91aa8342584 [gaim-migrate @ 10326]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
13 id="svg602"
b91aa8342584 [gaim-migrate @ 10326]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
14 xml:space="preserve"><defs
b91aa8342584 [gaim-migrate @ 10326]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
15 id="defs604" /><path
9554
8b2451878e26 [gaim-migrate @ 10387]
Luke Schierer <lschiere@pidgin.im>
parents: 9499
diff changeset
16 d="M 37.36908 20.13459 C 37.36908 29.5592 29.7289 37.19937 20.30434 37.19937 C 10.8797 37.19937 3.239555 29.5592 3.239555 20.13459 C 3.239555 10.70999 10.8797 3.069842 20.30434 3.069842 C 29.7289 3.069842 37.36908 10.70999 37.36908 20.13459 z "
9499
b91aa8342584 [gaim-migrate @ 10326]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
17 style="font-size:12;fill:none;stroke:#000000;stroke-width:3.83957;"
9554
8b2451878e26 [gaim-migrate @ 10387]
Luke Schierer <lschiere@pidgin.im>
parents: 9499
diff changeset
18 id="path635" /><path
8b2451878e26 [gaim-migrate @ 10387]
Luke Schierer <lschiere@pidgin.im>
parents: 9499
diff changeset
19 d="M 7.462905 32.42286 L 33.06009 6.825752 "
8b2451878e26 [gaim-migrate @ 10387]
Luke Schierer <lschiere@pidgin.im>
parents: 9499
diff changeset
20 style="font-size:12;fill:none;stroke:#000000;stroke-width:7.5;"
8b2451878e26 [gaim-migrate @ 10387]
Luke Schierer <lschiere@pidgin.im>
parents: 9499
diff changeset
21 id="path636" /></svg>