gtk/plugins/perl/common/GtkUI.xs

Tue, 17 Oct 2006 08:13:41 +0000

author
Etan Reisner <deryni@pidgin.im>
date
Tue, 17 Oct 2006 08:13:41 +0000
changeset 14801
6554d4d17db8
parent 14643
a058b716c189
permissions
-rw-r--r--

[gaim-migrate @ 17495]
This should fix the statusbox issues that were keeping us from releasing beta
4 (and which were just really annoying). Thakn sadrul for most of this, I just
added the if (index == -1) bit. Anyway, the way this works now is that for
saved/popular statuses the primitive underlying that status is where the
dropdown for the statusbox starts. If we don't like that we can change it but
I'm not sure we'll find something better.

Also, this might plug a couple leaks, I'm not really sure but it certainly
looks right.

Up next, the patch to make the docklet use the per-protocol statuses in the
top section.

#include "gtkmodule.h"

/* Prototypes for the BOOT section below. */
GAIM_PERL_BOOT_PROTO(GtkUI__Account);
GAIM_PERL_BOOT_PROTO(GtkUI__BuddyList);
GAIM_PERL_BOOT_PROTO(GtkUI__Connection);
GAIM_PERL_BOOT_PROTO(GtkUI__Conversation);
GAIM_PERL_BOOT_PROTO(GtkUI__Conversation__Window);
GAIM_PERL_BOOT_PROTO(GtkUI__Debug);
GAIM_PERL_BOOT_PROTO(GtkUI__Dialogs);
GAIM_PERL_BOOT_PROTO(GtkUI__IMHtml);
GAIM_PERL_BOOT_PROTO(GtkUI__IMHtmlToolbar);
GAIM_PERL_BOOT_PROTO(GtkUI__Log);
GAIM_PERL_BOOT_PROTO(GtkUI__MenuTray);
GAIM_PERL_BOOT_PROTO(GtkUI__Plugin);
GAIM_PERL_BOOT_PROTO(GtkUI__PluginPref);
GAIM_PERL_BOOT_PROTO(GtkUI__Pounce);
GAIM_PERL_BOOT_PROTO(GtkUI__Prefs);
GAIM_PERL_BOOT_PROTO(GtkUI__Privacy);
GAIM_PERL_BOOT_PROTO(GtkUI__Roomlist);
GAIM_PERL_BOOT_PROTO(GtkUI__Status);
#ifndef _WIN32
GAIM_PERL_BOOT_PROTO(GtkUI__Session);
#endif
GAIM_PERL_BOOT_PROTO(GtkUI__Sound);
GAIM_PERL_BOOT_PROTO(GtkUI__StatusBox);
GAIM_PERL_BOOT_PROTO(GtkUI__Themes);
GAIM_PERL_BOOT_PROTO(GtkUI__Utils);
GAIM_PERL_BOOT_PROTO(GtkUI__Xfer);

MODULE = Gaim::GtkUI  PACKAGE = Gaim::GtkUI  PREFIX = gaim_gtk_
PROTOTYPES: ENABLE

BOOT:
	GAIM_PERL_BOOT(GtkUI__Account);
	GAIM_PERL_BOOT(GtkUI__BuddyList);
	GAIM_PERL_BOOT(GtkUI__Connection);
	GAIM_PERL_BOOT(GtkUI__Conversation);
	GAIM_PERL_BOOT(GtkUI__Conversation__Window);
	GAIM_PERL_BOOT(GtkUI__Debug);
	GAIM_PERL_BOOT(GtkUI__Dialogs);
	GAIM_PERL_BOOT(GtkUI__IMHtml);
	GAIM_PERL_BOOT(GtkUI__IMHtmlToolbar);
	GAIM_PERL_BOOT(GtkUI__Log);
	GAIM_PERL_BOOT(GtkUI__MenuTray);
	GAIM_PERL_BOOT(GtkUI__Plugin);
	GAIM_PERL_BOOT(GtkUI__PluginPref);
	GAIM_PERL_BOOT(GtkUI__Pounce);
	GAIM_PERL_BOOT(GtkUI__Prefs);
	GAIM_PERL_BOOT(GtkUI__Privacy);
	GAIM_PERL_BOOT(GtkUI__Roomlist);
	GAIM_PERL_BOOT(GtkUI__Status);
#ifndef _WIN32
	GAIM_PERL_BOOT(GtkUI__Session);
#endif
	GAIM_PERL_BOOT(GtkUI__Sound);
	GAIM_PERL_BOOT(GtkUI__StatusBox);
	GAIM_PERL_BOOT(GtkUI__Themes);
	GAIM_PERL_BOOT(GtkUI__Utils);
	GAIM_PERL_BOOT(GtkUI__Xfer);

mercurial