nurupo / ProjectTox-Qt-GUI

A cross-platform front end for ProjectTox Core library, written in C++11 with use of Qt5
GNU General Public License v3.0
341 stars 116 forks source link

Smiley fix (part 1 from issue #83) #95

Closed looph closed 10 years ago

looph commented 10 years ago

Fixes first point in issue #83:

Solution:

nurupo commented 10 years ago

I think you just broke smiley pack compatibility with pidgin smiley packs.

../resources/icon/, there will be no such path when the binary will be shipped.

All smileys from executable's resources should be removed, they will be placed into QStandardPaths::writableLocation(QStandardPaths::ConfigLocation) + '/' + "smileys" in their own directory called default by installer or something.

Also, make sure your commits have valid emails, not per@ubuntu.(none).

looph commented 10 years ago

thanx for the feedback. Sorry, I missed the email.. (my first commit to github)

Ok, so we should follow the pidgin format of smiley pack?: https://developer.pidgin.im/wiki/SmileyThemes

then shall we support:

I noticed in pidgin they have smiley packs that are included in the executable.

nurupo commented 10 years ago

! in front of hidden smileys?

I guess we will not be fully compatible then, heh. I personally don't see any point in hidden smilies, so we could parse them as regular smilies. @Schlumpf, what do you think?

The extra keys, like website and email are not required, so besides '!', which we would just ignore, it's pretty compatible.

packs with multiple themes? i.e. read smileys under [TOX], or (if TOX is not present) [default]?

Yes, we would parse [tox|default|theme|smileys] (currently looking for just theme|smileys]).

Schlumpf commented 10 years ago

I agree, we should ignore the ! and use these smileys as normal ones. We have nothing to hide ;)