view src/protocols/sametime/sametime.h @ 12468:6faefbebcd24

[gaim-migrate @ 14778] SF Patch #1372898 from charkins "This patch updates the unseen conversation api in gtkconv to ensure consistancy and avoid code duplication. The ...first_unseen() function is renamed and expanded to return a list of conversations that match the specified criteria. A max_count parameter is used to allow this to short circuit early (using 1 gives old behavior). An additional flag was added to allow this function to only consider hidden conversations (used by the buddy list). The blist is currently inconsistant in which conversations it loops over for showing the menu tray icon, creating the tooltip and the unseen menu. This patch fixes that. The ...find_unseen_list() now handles contact-aware conversations correctly as well (based on sadrul's patches in #1362579 which are obsoleted by this patch). I also included the fix from #1362579 which increments unseen_count only when state>=UNSEEN_TEXT." committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Mon, 12 Dec 2005 18:59:29 +0000
parents 0110fc7c6a8a
children 977ebab0435f
line wrap: on
line source



/* CFLAGS trumps configure values */


/** default active message */
#ifndef MW_PLUGIN_DEFAULT_ACTIVE_MSG
#define MW_PLUGIN_DEFAULT_ACTIVE_MSG  "Talk to me"
#endif
/* "Talk to me" */


/** default away message */
#ifndef MW_PLUGIN_DEFAULT_AWAY_MSG
#define MW_PLUGIN_DEFAULT_AWAY_MSG  "Not here right now"
#endif
/* "Not here right now" */


/** default busy message */
#ifndef MW_PLUGIN_DEFAULT_BUSY_MSG
#define MW_PLUGIN_DEFAULT_BUSY_MSG  "Please do not disturb me"
#endif
/* "Please do not disturb me" */


/** default host for the gaim plugin. You can specialize a build to
    default to your server by supplying this at compile time */
#ifndef MW_PLUGIN_DEFAULT_HOST
#define MW_PLUGIN_DEFAULT_HOST  ""
#endif
/* "" */


/** default port for the gaim plugin. You can specialize a build to
    default to your server by supplying this at compile time */
#ifndef MW_PLUGIN_DEFAULT_PORT
#define MW_PLUGIN_DEFAULT_PORT  1533
#endif
/* 1533 */


/** client id to report to the server. See mwLoginType in meanwhile's
    mw_common.h for some sample values */
#ifndef MW_CLIENT_TYPE_ID
#define MW_CLIENT_TYPE_ID  mwLogin_MEANWHILE
#endif
/*  mwLogin_MEANWHILE */


/** default encoding for the gaim plugin.*/
#ifndef MW_PLUGIN_DEFAULT_ENCODING
#define MW_PLUGIN_DEFAULT_ENCODING "ISO-8859-1"
#endif
/* ISO-8859-1 */