Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
gajim
gajim
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 203
    • Issues 203
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 22
    • Merge Requests 22
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gajim
  • gajimgajim
  • Issues
  • #5265

Closed
Open
Opened Sep 13, 2009 by anonymous@anonymous

Emoticons and letter case

I just noticed that emoticon to image mapping in Gajim is done without taking letter case into account. I wouldn't have noticed it, before it caused me confusion during conversation. Trying to remove the lowercase version from showing as an image, I found that there is only the uppercase version in the emoticons.py file.

I tracked down the problem to the line 2558 in /src/gajim.py. It's re.IGNORECASE + re.UNICODE) while it should be re.UNICODE)

I think that compiling the regex with upper/lowercase differentiation gives more flexibility. It would open new possibilities without becoming less intuitive at the cost of adding more strings to emoticons.py.

If there is any interest in changing this, I can adjust the iconset files and prepare a proper patch against current Gajim version.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: gajim/gajim#5265