-
http://daleswanson.org/programs/reminder.30sec.dll.
2009-12-18 01:02:20 UTC in Pidgin
-
I really just made it for my personal use, so it's not polished at all. I started to add options but realized I didn't care enough to waste any more time on it. The time is hard coded at 5 seconds, and there is a delay before the first chime of 50 seconds. The sound is the whatever sound you have set in the options for "Someone says your username in chat". You can set that to any custom...
2009-12-17 03:51:11 UTC in Pidgin
-
Well I finally figured out what I was doing wrong. I was trying to attach the GTK signals before there were any GTK windows (on plugin load). So I moved the g_signal_connect calls to a function that is called upon first conversation creation and everything seems to work now.
Thanks for the help.
I uploaded the [source][1] and [compiled dll][2] in case anyone is interested. I'll probably...
2009-11-16 18:12:42 UTC in Pidgin
-
I've worked on this a bit more but I can't figure out how to find the handle of the GTK window. I've been following notify (and a few others) as a guide but the code they use doesn't seem to work for me.
PidginConversation *gtkconv = PIDGIN_CONVERSATION(conv);
g_signal_connect(gtkconv, "key-press-event", G_CALLBACK(key), conv); //crashes
Anything I do which references gtkconv...
2009-11-13 20:47:33 UTC in Pidgin
-
Thank you, that makes sense thanks. But I don't understand what the glib/GTK+ signal functions are. I think this is an example of one:
g_signal_connect(G_OBJECT(gtkblist->window), "focus-in-event",
G_CALLBACK(focus), gtkblist);
Unfortunately I don't really understand pointers, so I don't know how to modify that to work for me. What do I replace gtkblist with for this use?...
2009-11-12 14:36:20 UTC in Pidgin
-
Ok, so I rewrote it from scratch, and it works nearly how I want it to. The only problem is I can't seem to get a signal to fire for when the IM has focus. I added a bunch of random signals and only four actually work. Does anyone have any idea why these signals aren't firing?
purple_signal_connect(gtk_conv_handle, "displayed-im-msg", plugin...
2009-11-12 03:44:44 UTC in Pidgin
-
Thanks that does work. It does have a few issues though. I think I've changed it so that it uses a shorter time, and a different time. However, it only plays the sound if the IM begins a conversation, not if you have a chat window open with that person already. Also you have to send an IM to cancel the sound.
I can't figure out the code enough to change that, does anyone have any ideas?...
2009-11-11 17:54:59 UTC in Pidgin
-
I'm not sure if this is implemented in a plugin already, but hopefully so. The problem is that I often have my screen off, and can't see any notification of messages. If I also have music playing or am out of the room I won't hear the sound. What I would like is for a beep or chirp sound to repeat every so often (maybe 10 seconds) until I check the messages.
Preferably this wouldn't be the...
2009-11-01 20:44:56 UTC in Pidgin