pidgin/purple-plugin-pack

Parents e20719bdb45b
Children 960557895349
some changes i had laying around for the stress prpl, nfi what they were, it's been awhile...
--- a/stress/stress.c Sun Oct 25 21:14:04 2009 -0700
+++ b/stress/stress.c Tue Oct 27 01:05:01 2009 -0500
@@ -43,6 +43,14 @@
gint maxevents;
} StressBuddy;
+typedef struct {
+ gboolean running;
+ GList *buddies;
+ gint nevents;
+ gint message_min;
+ gint mexxage_max;
+} StressData;
+
/******************************************************************************
* Enums
*****************************************************************************/
@@ -405,6 +413,17 @@
return TRUE;
}
+static GList *
+stress_actions(PurplePlugin *plugin, gpointer context) {
+ GList *menu = NULL;
+ PurplePluginAction *act = NULL;
+
+ action = purple_plugin_action_new(_("Start"));
+ menu = g_list_append(menu, action);
+
+ return menu;
+}
+
static PurplePluginInfo info = {
PURPLE_PLUGIN_MAGIC,
PURPLE_MAJOR_VERSION,
@@ -430,7 +449,7 @@
NULL,
&prpl_info,
NULL,
- NULL,
+ stress_actions,
NULL,
NULL,
NULL,