[Pidgin Plugins] #328: Gmail notification doesn't show up

Pidgin Plugins plugins-trac at guifications.org
Thu Jan 10 00:11:50 CST 2008


#328: Gmail notification doesn't show up
-------------------------------+--------------------------------------------
  Reporter:  deity             |       Owner:  grim         
      Type:  Bugs              |      Status:  new          
 Milestone:  Guifications2.17  |   Component:  Guifications2
   Version:  Guifications2.14  |    Severity:  major        
Resolution:                    |    Keywords:               
   Pending:  1                 |  
-------------------------------+--------------------------------------------
Comment (by jbailey):

 For reference, the relevant code from gf_event.c is (the comment is mine,
 added here for clarification):
 {{{
 #!c
 static void *
 gf_event_email(PurpleConnection *gc, const char *subject, const char
 *from,
                 const char *to, const char *url)
 {
     gf_event_common("new-email", gc->account,
             purple_find_buddy(gc->account, from),
             NULL, from, NULL, PURPLE_CBFLAGS_NONE, NULL, subject);
     return real_notify_email(gc, subject, from, to, url);
 }

 static void *
 gf_event_emails(PurpleConnection *gc, size_t count, gboolean detailed,
                 const char **subject, const char **from,
                 const char **to, const char **url)
 {
     if (count == 1 && subject && *subject)
         return gf_event_email(gc, *subject, *from, *to, *url);
  /* Here is where the problem lies--we don't do a notification on multiple
   * email messages.  We need to either figure out a way to make the
 existing
   * single-mail notification be good enough or add yet another event. */
     return real_notify_emails(gc, count, detailed, subject, from, to,
 url);
 }
 }}}

-- 
Ticket URL: <http://plugins.guifications.org/trac/ticket/328#comment:3>
Pidgin Plugins <http://pidgin.guifications.org/>
Plugins for the Instant Messaging client Pidgin and its backend library libpurple


More information about the Plugins-tickets mailing list