All pastes #907181 Raw Edit

Anonymous

public text v1 · immutable
·published 2008-02-17 10:07 UTC
rendered paste body
static GList * plugin_actions (PurplePlugin * plugin, gpointer context){
if (!purple_prefs_get_bool(PREF_AUTOADD)){	
	action = g_list_prepend(action,		
		purple_plugin_action_new("Enable Auto-Add", plugin_action_autoAdd_cb));
	}
	else{
		action = g_list_prepend(action,		
		purple_plugin_action_new("Disable Auto-Add", plugin_action_autoAdd_cb));
	}