Re: [Evolution] How Does Evolution Manage Emoticons?
- From: Frank M Waterman <thepcmedicinia gmail com>
- To: Andre Klapper <ak-47 gmx net>, evolution-list gnome org
- Subject: Re: [Evolution] How Does Evolution Manage Emoticons?
- Date: Fri, 31 Mar 2017 21:02:55 -0500
Thank you SO much for this succinct explanation, Andre! This is just the sort of information I was looking for to begin my journey with! I appreciate you taking the time VERY much!
Kindest regards,
Frank
On Fri, 2017-03-31 at 00:20 +0200, Andre Klapper wrote:
Hi Frank,
On Thu, 2017-03-30 at 15:48 -0500, Frank M Waterman wrote:
I am interested to know how Evolution manages the emoticons that are
built into it. They are what I call 'graphical emoticons'. That is,
they are colored and have faces which are not the same as an emoticon
created using Unicode or ASCII code (I don't think). If one sends an
email using .HTML, the emoticon looks like this: , but if the sender
chooses to use plain text, it looks like this: 😀 (or something clos
e to that).
I have been trying to find some information about these difference on
the web, but I fear my ignorance is so great that I don't even know
how to phrase the question correctly. Is there someone here who can
point me in the right direction, please?
Technically speaking, the list of available emoticon entries (in the
mail composer menu) is hardcoded in a source code file:
https://git.gnome.org/browse/evolution/tree/src/e-util/e-emoticon-chooser.c#n36
In plain text mode the corresponding Unicode character is inserted.
Which is the third item in each row in that source code file.
In HTML mode the corresponding icon gets loaded (from the theme your
desktop environment is set to). Which is the second item in each row.
So for "face-smile" using the Adwaita icon theme,
https://git.gnome.org/browse/adwaita-icon-theme/plain/Adwaita/256x256/emotes/face-smile.png
gets inserted from the list of icons you can see at
https://git.gnome.org/browse/adwaita-icon-theme/tree/Adwaita/256x256/emotes
(Some developer feel free to correct my interpretation of code.)
Cheers,
andre
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]