gtk/plugins/perl/common/GtkDialogs.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 14629
1a0cd727c121
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"

MODULE = Gaim::GtkUI::Dialogs  PACKAGE = Gaim::GtkUI::Dialogs  PREFIX = gaim_gtkdialogs_
PROTOTYPES: ENABLE

void
gaim_gtkdialogs_destroy_all()

void
gaim_gtkdialogs_about()

void
gaim_gtkdialogs_im()

void
gaim_gtkdialogs_im_with_user(account, username)
	Gaim::Account account
	const char * username

void
gaim_gtkdialogs_info()

void
gaim_gtkdialogs_log()

void
gaim_gtkdialogs_alias_contact(contact)
	Gaim::BuddyList::Contact contact

void
gaim_gtkdialogs_alias_buddy(buddy)
	Gaim::BuddyList::Buddy buddy

void
gaim_gtkdialogs_alias_chat(chat)
	Gaim::BuddyList::Chat chat

void
gaim_gtkdialogs_remove_buddy(buddy)
	Gaim::BuddyList::Buddy buddy

void
gaim_gtkdialogs_remove_group(group)
	Gaim::BuddyList::Group group

void
gaim_gtkdialogs_remove_chat(chat)
	Gaim::BuddyList::Chat chat

void
gaim_gtkdialogs_remove_contact(contact)
	Gaim::BuddyList::Contact contact

mercurial