Ticket #2967 (closed enhancement: fixed)

Opened 2 years ago

Last modified 21 months ago

User-provided avatars

Reported by: bronger Owned by: asterix
Priority: normal Milestone: 0.12
Component: roster Version:
Severity: normal Keywords:
Cc: bronger@… OS:

Description

I'd like to have the possibility to set avatars for users with a bad or no avatar. I attached a patch in which avatars in the cache which end in "_local" take precedence over the contact-provided avatars. It doesn't change the GUI yet but it is already working if you copy the avatars into the cache directory manually.

Is this the right way? In particular, are there yet other places where I must look for the "_local" files?

Attachments

avatar_patch.diff (2.7 kB) - added by bronger 2 years ago.
gajim-local-avatars.patch (3.4 kB) - added by bronger 21 months ago.

Change History

Changed 2 years ago by bronger

Changed 2 years ago by asterix

this sounds like the good way to do it. good luck for the GUI

Changed 21 months ago by bluegraydragon@…

how far are you with the gui for this feature? Been looking for something like this for ages ;)

Changed 21 months ago by anonymous

No, I've been lazy. While the non-GUI code itself is working and well-tested, I'm a wxWidgets guy and GTK is all Greek to me. So don't hold your breath.

Changed 21 months ago by asterix

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 0.12

(In [8092]) add ability to set an avatar for a contact. fixes #2967

Changed 21 months ago by bronger

  • status changed from closed to reopened
  • resolution fixed deleted

Thanks a lot.

The attached patch solves an issue on the Windows platform and adds support for local avatars in tooltip popups.

Changed 21 months ago by bronger

Changed 21 months ago by anonymous

Is there a possibility to "unassign" an avatar?

Changed 21 months ago by bronger

Right-click on it.

Changed 21 months ago by asterix

(In [8094]) [bronger] make force avatar work under windows. see #2967

Changed 21 months ago by asterix

  • status changed from reopened to closed
  • resolution set to fixed

(In [8095]) [bronger] show user defined avatar in tooltip too. fixes #2967

Changed 21 months ago by asterix

right click, or in the dialog where you choose the avatar, there is a clear button too

Changed 21 months ago by steve-e

  • status changed from closed to reopened
  • resolution fixed deleted
Traceback (most recent call last):
  File "/home/stephan/projekte/python/gajim/src/vcard.py", line 211, in on_PHOTO_button_press_event
    self.on_set_avatar_button_clicked(widget)
AttributeError: VcardWindow instance has no attribute 'on_set_avatar_button_clicked'

Changed 21 months ago by asterix

  • status changed from reopened to closed
  • resolution set to fixed

fixed in [8097]

Add/Change #2967 (User-provided avatars)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.