view console/gntplugin.h @ 14481:452007468387

[gaim-migrate @ 17200] SF Patch #1554423 from charkins Fixes SF Bug #1429503 "When creating the blist, gaim currently calls gtk_widget_show_all() on the window, then immediately hides it if using the docklet and the blist was hidden when gaim last quit. Bug #1429503 reports that the buddy list window will flash on the screen when starting gaim (though I can't reproduce it). This patch changes that behavior so that the gtk_widget_show_all() is called on the vbox, not the window. gtk_widget_show() will still get called on the window when appropriate (either immediately, or when the user clicks the docklet, etc)." committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sat, 09 Sep 2006 19:31:45 +0000
parents c65ed4f6eea8
children 81650a27f253
line wrap: on
line source

#ifndef _GNT_PLUGIN_H
#define _GNT_PLUGIN_H

#include <gnt.h>

#include <plugin.h>

#include <string.h>

typedef GntWidget* (*GGPluginFrame) ();

/* Guess where these came from */
#define GAIM_GNT_PLUGIN_TYPE "gnt"

#define GAIM_IS_GNT_PLUGIN(plugin) \
	((plugin)->info != NULL && (plugin)->info->ui_info != NULL && \
	 !strcmp((plugin)->info->ui_requirement, GAIM_GNT_PLUGIN_TYPE))

#define GAIM_GNT_PLUGIN_UI_INFO(plugin) \
	(GGPluginFrame)((plugin)->info->ui_info)

void gg_plugins_show_all(void);

void gg_plugins_save_loaded(void);

#endif