grim/guifications2

7d874ab61f6d
Parents eaac9162be12
Children 4fecc4119ac7
fixed nick-said notifications to only work when your nick isn't embeded in another word
  • +5 -0
    ChangeLog
  • +1 -1
    VERSION
  • +1 -12
    configure.ac
  • +1 -1
    src/gf_event.c
  • --- a/ChangeLog Sat Jan 05 23:35:16 2008 -0500
    +++ b/ChangeLog Sun Feb 10 18:22:09 2008 -0500
    @@ -1,3 +1,8 @@
    +Version 2.17 ;
    + * Made the nick-said notification not fire if your nick is in another word.
    + For example, if my nick is grim, it will not fire when someone says
    + grimmy.
    +
    Version 2.16 12/16/07:
    * Really fixed the G_GNUC_NULL_TERMINATED errors on non-Windows platforms.
    --- a/VERSION Sat Jan 05 23:35:16 2008 -0500
    +++ b/VERSION Sun Feb 10 18:22:09 2008 -0500
    @@ -1,1 +1,1 @@
    -2.16
    +2.17mtn
    --- a/configure.ac Sat Jan 05 23:35:16 2008 -0500
    +++ b/configure.ac Sun Feb 10 18:22:09 2008 -0500
    @@ -3,7 +3,7 @@
    # pidgin-encryption configure script, thanks guys ;)
    #
    -AC_INIT([pidgin-guifications], [2.16], [guifications-devel@lists.guifications.org])
    +AC_INIT([pidgin-guifications], [2.17mtn], [guifications-devel@lists.guifications.org])
    AC_CANONICAL_SYSTEM
    AM_CONFIG_HEADER(pre_config.h)
    @@ -125,17 +125,6 @@
    AC_SUBST(PANGOFT2_LIBS)
    #
    -# check for libxml2 (ripped from configure.ac for Pidgin)
    -# I left out AC_SUBST stuff because it looks like we don't need it.
    -#
    -PKG_CHECK_MODULES(LIBXML, [libxml-2.0 >= 2.6.0], , [
    - AC_MSG_RESULT(no)
    - AC_MSG_ERROR([
    -*** You must have libxml2 >= 2.6.0 development headers installed in
    -*** order to build guifications.
    -])])
    -
    -#
    # Check if plugins are enabled
    #
    want_plugins=yes
    --- a/src/gf_event.c Sat Jan 05 23:35:16 2008 -0500
    +++ b/src/gf_event.c Sun Feb 10 18:22:09 2008 -0500
    @@ -499,7 +499,7 @@
    if (nick && !strcmp(sender, nick))
    return;
    - if(!g_strstr_len(message, strlen(message), nick))
    + if(!purple_utf8_has_word(message, nick))
    return;
    plain_message = purple_markup_strip_html(message);