pidgin/plugins/perl/common/GtkThemes.xs

Mon, 02 Nov 2009 02:18:09 +0000

author
John Bailey <rekkanoryo@rekkanoryo.org>
date
Mon, 02 Nov 2009 02:18:09 +0000
changeset 28794
42b8b3e334b5
parent 16276
8853d1da70f5
child 18068
b6554e3c8224
child 35312
add13288757e
permissions
-rw-r--r--

Per discussion in devel@conference.pidgin.im a couple days ago, make the
port range boxes on the Network tab of the prefs window fit on a single line
with the checkbox that enables/disables them.

#include "gtkmodule.h"

MODULE = Pidgin::Themes  PACKAGE = Pidgin::Themes  PREFIX = pidgin_themes_
PROTOTYPES: ENABLE

void
pidgin_themes_init()

gboolean
pidgin_themes_smileys_disabled()

void
pidgin_themes_smiley_theme_probe()

void
pidgin_themes_load_smiley_theme(file, load)
	const char * file
	gboolean load

void
pidgin_themes_get_proto_smileys(id)
	const char * id
PREINIT:
	GSList *l;
PPCODE:
	for (l = pidgin_themes_get_proto_smileys(id); l != NULL; l = l->next) {
		XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Pidgin::IMHtml::Smiley")));
	}

mercurial