Tue, 17 Oct 2006 08:13:41 +0000
[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" /* This can't work at the moment since I don't have a typemap for Gtk::Widget. * I thought about using the one from libgtk2-perl but wasn't sure how to go * about doing that. Gtk::Widget gtk_gaim_status_box_new() Gtk::Widget gtk_gaim_status_box_new_with_account(account) Gaim::Account account void gtk_gaim_status_box_add(status_box, type, pixbuf, text, sec_text, data) Gaim::GtkUI::StatusBox status_box Gaim::GtkUI::StatusBox::ItemType type GdkPixbuf pixbuf const char * text const char * sec_text gpointer data */ MODULE = Gaim::GtkUI::StatusBox PACKAGE = Gaim::GtkUI::StatusBox PREFIX = gtk_gaim_status_box_ PROTOTYPES: ENABLE void gtk_gaim_status_box_add_separator(status_box) Gaim::GtkUI::StatusBox status_box void gtk_gaim_status_box_set_connecting(status_box, connecting) Gaim::GtkUI::StatusBox status_box gboolean connecting void gtk_gaim_status_box_pulse_connecting(status_box) Gaim::GtkUI::StatusBox status_box void gtk_gaim_status_box_set_buddy_icon(status_box, filename) Gaim::GtkUI::StatusBox status_box const char * filename const char * gtk_gaim_status_box_get_buddy_icon(status_box) Gaim::GtkUI::StatusBox status_box char * gtk_gaim_status_box_get_message(status_box) Gaim::GtkUI::StatusBox status_box