X-Git-Url: http://git.maemo.org/git/?p=python-purple;a=blobdiff_plain;f=purple.pyx;h=5d87af3d3a7a4942c298c3d374312564b71f39c7;hp=c91acdcbf1e611d568411b4b94dcf71892bb66fe;hb=fa83e5e05e62fa5c6707312d375b97195143e6b7;hpb=e2eef524bf0c883406b15674eac0769c017d35c6 diff --git a/purple.pyx b/purple.pyx index c91acdc..5d87af3 100644 --- a/purple.pyx +++ b/purple.pyx @@ -82,6 +82,10 @@ cdef class Purple: # adds glib iteration inside ecore main loop ecore.timer_add(0.001, self.__glib_iteration_when_idle) + def __get_ui_name(self): + return __APP_NAME__ + ui_name = property(__get_ui_name) + def destroy(self): core.c_purple_core_quit() @@ -369,12 +373,13 @@ cdef class Purple: protocol_id = account.purple_account_get_protocol_id(acc) if username != NULL and protocol_id != NULL: - account_list.append(Account(username, protocol_id)) + account_list.append(Account(self, username, protocol_id)) iter = iter.next return account_list -include "plugin.pyx" +include "protocol.pyx" +#include "plugin.pyx" include "proxy.pyx" #include "protocol.pyx" include "account.pyx"