X-Git-Url: http://git.maemo.org/git/?p=python-purple;a=blobdiff_plain;f=notify_cbs.pxd;h=ed6dbd6fd2e126e214a14c61150f88911e5f8699;hp=d029ef9a2dd0b2cbafe8115f3d9b6f96c6ea9c94;hb=4d20f8e41546818f08ce52c748889e10f96345e8;hpb=b78bc0997c89809be6986f4daf7ec162e0009c72 diff --git a/notify_cbs.pxd b/notify_cbs.pxd index d029ef9..ed6dbd6 100644 --- a/notify_cbs.pxd +++ b/notify_cbs.pxd @@ -27,17 +27,17 @@ cdef extern from *: cdef void *notify_message (notify.PurpleNotifyMsgType type, const_char *title, const_char *primary, const_char *secondary): - debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "notify", "notify_message\n") + debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "notify", "notify-message\n") try: - (notify_cbs["notify_message"])("notify_message") + (notify_cbs["notify-message"])("notify-message: TODO") except KeyError: pass cdef void *notify_email (connection.PurpleConnection *gc, const_char *subject, const_char *_from, const_char *to, const_char *url): - debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "notify", "notify_email\n") + debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "notify", "notify-email\n") try: - (notify_cbs["notify_email"])("notify_email") + (notify_cbs["notify-email"])("notify-email: TODO") except KeyError: pass @@ -45,17 +45,17 @@ cdef void *notify_emails (connection.PurpleConnection *gc, size_t count, glib.gboolean detailed, const_char **subjects, const_char **froms, const_char **tos, const_char **urls): - debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "notify", "notify_emails\n") + debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "notify", "notify-emails\n") try: - (notify_cbs["notify_emails"])("notify_emails") + (notify_cbs["notify-emails"])("notify-emails: TODO") except KeyError: pass cdef void *notify_formatted (const_char *title, const_char *primary, const_char *secondary, const_char *text): - debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "notify", "notify_formatted\n") + debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "notify", "notify-formatted\n") try: - (notify_cbs["notify_formatted"])("notify_formatted") + (notify_cbs["notify-formatted"])("notify-formatted: TODO") except KeyError: pass @@ -65,9 +65,9 @@ cdef void *notify_searchresults (connection.PurpleConnection *gc, notify.PurpleNotifySearchResults *results, glib.gpointer user_data): debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "notify", - "notify_searchresults\n") + "notify-searchresults\n") try: - (notify_cbs["notify_searchresults"])("notify_searchresults") + (notify_cbs["notify-searchresults"])("notify-searchresults: TODO") except KeyError: pass @@ -75,30 +75,30 @@ cdef void notify_searchresults_new_rows (connection.PurpleConnection *gc, notify.PurpleNotifySearchResults *results, void *data): debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "notify", - "notify_searchresults_new_rows\n") + "notify-searchresults-new-rows\n") try: - (notify_cbs["notify_searchresults_new_rows"])("notify_searchresults_new_rows") + (notify_cbs["notify-searchresults-new-rows"])("notify-searchresults-new-rows: TODO") except KeyError: pass cdef void *notify_userinfo (connection.PurpleConnection *gc, const_char *who, notify.PurpleNotifyUserInfo *user_info): - debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "notify", "notify_userinfo\n") + debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "notify", "notify-userinfo\n") try: - (notify_cbs["notify_userinfo"])("notify_userinfo") + (notify_cbs["notify-userinfo"])("notify-userinfo: TODO") except KeyError: pass cdef void *notify_uri (const_char *uri): - debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "notify", "notify_uri\n") + debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "notify", "notify-uri\n") try: - (notify_cbs["notify_uri"])("notify_uri") + (notify_cbs["notify-uri"])("notify-uri: TODO") except KeyError: pass cdef void close_notify (notify.PurpleNotifyType type, void *ui_handle): - debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "notify", "close_notify\n") + debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "notify", "close-notify\n") try: - (notify_cbs["close_notify"])("close_notify") + (notify_cbs["close-notify"])("close-notify: TODO") except KeyError: pass