[Pidgin] #5795: mute sounds for specific chatroom user
Pidgin
trac at pidgin.im
Thu May 29 09:40:40 EDT 2008
#5795: mute sounds for specific chatroom user
---------------------------+------------------------------------------------
Reporter: akrherz | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: pidgin (gtk) | Version: 2.4.1
Resolution: | Keywords: chatroom, mute
Pending: 0 |
---------------------------+------------------------------------------------
Comment (by deryni):
I think this feature very much does belong in a plugin (though if ignoring
someone doesn't mute the sounds that is a bug, and I assume we would have
heard about that if it didn't work). Though I agree this likely is not
particularly easy to do from a plugin as there is no good way to stop a
signal and by the time the sound playing signal is triggered there isn't
any way to know what triggered it. I'm not sure what the best way to fix
this sort of thing is, though it is possible (and maybe even likely) that
the GObjectification move that has been planned for ages will allow this
sort of thing to work because I believe it will get us signal emission
stopping.
Depending what you mean by "stop[ping] all signals" yes that could very
well break a number of things.
Looking at things briefly, it looks like you might be able to simply set
the DELAYED flag on the message which should cause pidgin to not play a
sound for it (though it may also cause other side effects in the display
of the message). Which leads me to my idea, it would seem to me to be
entirely reasonable to add a NO_SOUND flag to the enum and when that is
set on the message avoid playing sounds (similarly to how it works with
the DELAYED flag currently).
--
Ticket URL: <http://developer.pidgin.im/ticket/5795#comment:2>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list