Mercurial > pidgin
view plugins/mono/api/GaimPlugin.cs @ 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 | a3302d271199 |
| children |
line wrap: on
line source
namespace Gaim { public class GaimPluginInfo { private string name; private string version; private string summary; private string description; private string author; private string homepage; public GaimPluginInfo(string name, string version, string summary, string description, string author, string homepage) { this.name = name; this.version = version; this.summary = summary; this.description = description; this.author = author; this.homepage = homepage; } public string Name { get { return name; } } public string Version { get { return version; } } public string Summary { get { return summary; } } public string Description { get { return description; } } public string Author { get { return author; } } public string Homepage { get { return homepage; } } } abstract public class GaimPlugin { public abstract void Load(); public abstract void Unload(); public abstract void Destroy(); public abstract GaimPluginInfo Info(); } }
