Mercurial > pidgin
view plugins/simple.c @ 8719:513b8bbcc104
[gaim-migrate @ 9474]
" This fixes a bug where pasting a link, or in general
clicking in the middle of it and then sending would get
the link tag stuck on, and everything you typed after
that would be a link, unless you pasted some nonlink
rich text. This also makes it so you can't append to a
link when it's the last character of the buffer, like
you can every other tag.
Also, I made some slight improvements to copy/pasting.
Seems the length parameter (in pasted_received_cb) is
the total bytes, not the number of x bit (where x often
= 16) units. So that (length * (bits/8)) thing that I
think Sean was doing was causing problems." --Tim Ringenbach - marv_sf
oh and i have apparently attributed much of datallah's work today to other people
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Tue, 20 Apr 2004 04:08:24 +0000 |
parents | cce494e69d68 |
children | d7b8eb1f0a18 |
line wrap: on
line source
#include "internal.h" #include "debug.h" #include "plugin.h" static gboolean plugin_load(GaimPlugin *plugin) { gaim_debug(GAIM_DEBUG_INFO, "simple", "simple plugin loaded.\n"); return TRUE; } static gboolean plugin_unload(GaimPlugin *plugin) { gaim_debug(GAIM_DEBUG_INFO, "simple", "simple plugin unloaded.\n"); return TRUE; } static GaimPluginInfo info = { 2, /**< api_version */ GAIM_PLUGIN_STANDARD, /**< type */ NULL, /**< ui_requirement */ 0, /**< flags */ NULL, /**< dependencies */ GAIM_PRIORITY_DEFAULT, /**< priority */ NULL, /**< id */ N_("Simple Plugin"), /**< name */ VERSION, /**< version */ /** summary */ N_("Tests to see that most things are working."), /** description */ N_("Tests to see that most things are working."), "Eric Warmenhoven <eric@warmenhoven.org>", /**< author */ GAIM_WEBSITE, /**< homepage */ plugin_load, /**< load */ plugin_unload, /**< unload */ NULL, /**< destroy */ NULL, /**< ui_info */ NULL /**< extra_info */ }; static void init_plugin(GaimPlugin *plugin) { } GAIM_INIT_PLUGIN(simple, init_plugin, info)