pidgin/purple-plugin-pack

Patch from rageboy04 to add a "quit" subcommand to gRIM
org.guifications.plugins
2007-06-24, anksingla
5c1e6b2dca50
Parents 4acd8eadf324
Children e3a8b28fb57a
Patch from rageboy04 to add a "quit" subcommand to gRIM
  • +10 -0
    gRIM/gRIM.c
  • --- a/gRIM/gRIM.c Sun Jun 24 19:21:43 2007 -0400
    +++ b/gRIM/gRIM.c Sun Jun 24 20:39:52 2007 -0400
    @@ -248,6 +248,16 @@
    info->verse = TRUE;
    info->time = 60000;
    }
    + if(*args && !g_ascii_strcasecmp(*args,"quit"))
    + {
    + GList *list = NULL;
    + list = g_list_append(list, "Fine, I'll stop");
    + info->lyric = list;
    + info->verse = FALSE;
    + info->time = 5000;
    + }
    + else
    + purple_debug_info("grim","HINT: quit with quit\n");
    if (info->lyric == NULL)
    {