View Single Post
b666m's Avatar
Posts: 1,090 | Thanked: 476 times | Joined on Jan 2010 @ Ingolstadt, Germany
#60
first of all: thanks for your reply - again

Originally Posted by qwerty12 View Post
I guess Pidgin isn't emitting the signal in that case. Are there alternatives?
i meant that i have already implemented this function.
(i know... because of the numbers in front it looks like all of these points where "to do" - sorry for that ^^)

I couldn't find a function to show the window corresponding to the conversation.
don't know if this is the one:
void purple_conversation_present (PurpleConversation *conv)
Present a conversation to the user.

there is already a plugin where you can bring the window to the foreground when someone wrote you - always. and that's the annoying part of it.
i think i will try to catch the dbus signal via dbus-monitor and look if i could use it.

Notifications under Maemo *only* support a D-Bus callback.
oh man... :/
isn't there any dbus-method which i can pass an argument like the window-title or window-id and then it brings the window to foreground?! ://

You could implement a service in the script, too, and set up the callback to point to your service which'd go through the windows and bring it to the top with the Xlib API... :\
Only thing is, python-xlib is lame so you'd have to resort to ctypes and I have no idea how to implement a D-Bus service in python-dbus (dbus-glib, however ); but I think Totem has a Python plugin implementing a remote control service in python-dbus.
that's not good. ^^

According to the Icon Theme Specification, only PNG, XPM and SVG are supported.

is there a chance to convert JPG into PNG?
any api or cli tool available for fremantle?

I believe this is using a workaround for the same issue: http://ubuntuforums.org/showthread.php?t=1201310
just something like that:
pidgin_set_msn_message(' '.join(sys.argv[1:]))
but only the other way around ^^
(i already used str() for getting the right name for getting the buddy-object which is necessary to get all other values (like alias and icon-path and so on))

Python probably has such a function to shorten. The sad thing here is that the small notification is able to display more characters than the one in the Dashboard so it's a compromise. :\
python has to have such a function. ;D
but mhm... i don't know if it's necessary... it would look prettier in my opinion but it's no must-have-feature ^^
 

The Following User Says Thank You to b666m For This Useful Post: