plugins/simple.c

Mon, 11 Nov 2002 03:18:00 +0000

author
Robert McQueen <robot101@debian.org>
date
Mon, 11 Nov 2002 03:18:00 +0000
changeset 3939
27b0a88f2122
parent 3565
66a8f8dcaacc
child 5205
242b8aa81328
permissions
-rw-r--r--

[gaim-migrate @ 4115]
.todo file spelling fixes.

(22:11:39) Robot101: Fixes bug with multiple consecutive docklet clicks not
correctly showing and hiding the blist

(22:12:26) Robot101: Fixes compile warning in docklet.c the correct way
(without adding a default to the switch on an enum)

(22:12:53) Robot101: Avoids the blist being moved off-screen by the position
remembering code, and does the move before showing it instead of after

(22:13:50) Robot101: Fix evil behaviour with disappearing blists when you
switch desktop or minimise by removing the silly code

(22:14:24) Robot101: Replace it with nice code that raises the blist when you
click the docklet if it's fully obscured

committer: Luke Schierer <lschiere@pidgin.im>

#define GAIM_PLUGINS

#include <stdio.h>
#include "gaim.h"

static GModule *handle = NULL;

char *gaim_plugin_init(GModule *h) {
	printf("plugin loaded.\n");
	handle = h;
	return NULL;
}

void gaim_plugin_remove() {
	printf("plugin unloaded.\n");
	handle = NULL;
}

struct gaim_plugin_description desc; 
struct gaim_plugin_description *gaim_plugin_desc() {
	desc.api_version = PLUGIN_API_VERSION;
	desc.name = g_strdup("Simple Plugin");
	desc.version = g_strdup("1.0");
	desc.description = g_strdup("Tests to see that most things are working.");
	desc.authors = g_strdup("Eric Warmehoven &lt;eric@warmenhoven.org>");
	desc.url = g_strdup(WEBSITE);
	return &desc;
}

char *name() {
	return "Simple Plugin Version 1.0";
}

char *description() {
	return "Tests to see that most things are working.";
}

mercurial