gtk/plugins/perl/common/GtkUI.pm

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 14642
af9c32fb1d15
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.

package Gaim::GtkUI;

use 5.008;
use strict;
use warnings;
use Carp;

our $VERSION = '0.01';

use Gaim;

require XSLoader;
XSLoader::load('Gaim::GtkUI', $VERSION);

1;
__END__

=head1 NAME

Gaim::GtkUI - Perl extension for the Gaim instant messenger.

=head1 SYNOPSIS

    use Gaim::GtkUI;

=head1 ABSTRACT

    This module provides the interface for using perl scripts as plugins in
    Gaim, with access to the Gaim Gtk interface functions.

=head1 DESCRIPTION

This module provides the interface for using perl scripts as plugins in Gaim,
with access to the Gaim Gtk interface functions. With this, developers can
write perl scripts that can be loaded in Gaim as plugins. The script can
interact with IMs, chats, accounts, the buddy list, gaim signals, and more.

The API for the perl interface is very similar to that of the Gaim C API,
which can be viewed at http://gaim.sourceforge.net/api/ or in the header files
in the Gaim source tree.

=head1 FUNCTIONS

=over

=back

=head1 SEE ALSO
Gaim C API documentation - http://gaim.sourceforge.net/api/

The Gaim perl module.

Gaim website - http://gaim.sourceforge.net/

=head1 AUTHOR

Etan Reisner, E<lt>deryni@gmail.comE<gt>

=head1 COPYRIGHT AND LICENSE

Copyright 2006 by Etan Reisner

mercurial