pidgin  2.13.0
About: Pidgin is a chat program (multi-protocol instant messaging client) which lets you log in to accounts on multiple chat networks simultaneously (old name "gaim").
  Fossies Dox: pidgin-2.13.0.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

gntplugin.c File Reference
#include <internal.h>
#include <gnt.h>
#include <gntbox.h>
#include <gntbutton.h>
#include <gntlabel.h>
#include <gntline.h>
#include <gnttree.h>
#include <gntutils.h>
#include "finch.h"
#include "debug.h"
#include "notify.h"
#include "request.h"
#include "gntplugin.h"
#include "gntrequest.h"
Include dependency graph for gntplugin.c:

Go to the source code of this file.

Functions

static GntWidgetprocess_pref_frame (PurplePluginPrefFrame *frame)
 
static void free_stringlist (GList *list)
 
static void decide_conf_button (PurplePlugin *plugin)
 
static void plugin_toggled_cb (GntWidget *tree, PurplePlugin *plugin, gpointer null)
 
void finch_plugins_save_loaded (void)
 
static void selection_changed (GntWidget *widget, gpointer old, gpointer current, gpointer null)
 
static void reset_plugin_window (GntWidget *window, gpointer null)
 
static int plugin_compare (PurplePlugin *p1, PurplePlugin *p2)
 
static void confwin_init (void)
 
static void remove_confwin (GntWidget *window, gpointer plugin)
 
static void configure_plugin_cb (GntWidget *button, gpointer null)
 
static void install_selected_file_cb (gpointer handle, const char *filename)
 
static void install_plugin_cb (GntWidget *w, gpointer null)
 
void finch_plugins_show_all ()
 

Variables

struct {
   GntWidget *   tree
 
   GntWidget *   window
 
   GntWidget *   aboot
 
   GntWidget *   conf
 
plugins
 
static GHashTable * confwins
 

Detailed Description

GNT Plugins API

Definition in file gntplugin.c.

Function Documentation

◆ configure_plugin_cb()

◆ confwin_init()

static void confwin_init ( void  )
static

Definition at line 176 of file gntplugin.c.

References confwins.

Referenced by configure_plugin_cb().

◆ decide_conf_button()

◆ finch_plugins_save_loaded()

void finch_plugins_save_loaded ( void  )

Save the list of loaded plugins.

Definition at line 111 of file gntplugin.c.

References purple_plugins_save_loaded().

Referenced by plugin_toggled_cb().

◆ finch_plugins_show_all()

◆ free_stringlist()

static void free_stringlist ( GList *  list)
static

Definition at line 58 of file gntplugin.c.

References NULL.

Referenced by process_pref_frame().

◆ install_plugin_cb()

static void install_plugin_cb ( GntWidget w,
gpointer  null 
)
static

◆ install_selected_file_cb()

◆ plugin_compare()

static int plugin_compare ( PurplePlugin p1,
PurplePlugin p2 
)
static

Definition at line 165 of file gntplugin.c.

References _PurplePlugin::info, and _PurplePluginInfo::name.

Referenced by finch_plugins_show_all().

◆ plugin_toggled_cb()

◆ process_pref_frame()

◆ remove_confwin()

static void remove_confwin ( GntWidget window,
gpointer  plugin 
)
static

Definition at line 182 of file gntplugin.c.

References confwins.

Referenced by configure_plugin_cb().

◆ reset_plugin_window()

static void reset_plugin_window ( GntWidget window,
gpointer  null 
)
static

Definition at line 152 of file gntplugin.c.

References NULL, plugins, and purple_prefs_set_path_list().

Referenced by finch_plugins_show_all().

◆ selection_changed()

Variable Documentation

◆ aboot

GntWidget* aboot

Definition at line 49 of file gntplugin.c.

Referenced by finch_plugins_show_all().

◆ conf

◆ confwins

GHashTable* confwins
static

Definition at line 53 of file gntplugin.c.

Referenced by configure_plugin_cb(), confwin_init(), plugin_toggled_cb(), and remove_confwin().

◆ plugins

◆ tree

GntWidget* tree

Definition at line 47 of file gntplugin.c.

Referenced by finch_plugins_show_all(), and plugin_toggled_cb().

◆ window

GntWidget* window

Definition at line 48 of file gntplugin.c.

Referenced by configure_plugin_cb(), and finch_plugins_show_all().