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" MODULE = Gaim::GtkUI::Xfer PACKAGE = Gaim::GtkUI::Xfer PREFIX = gaim_gtk_xfer_ PROTOTYPES: ENABLE void gaim_set_gtkxfer_dialog(dialog) Gaim::GtkUI::Xfer::Dialog dialog Gaim::GtkUI::Xfer::Dialog gaim_get_gtkxfer_dialog() MODULE = Gaim::GtkUI::Xfer PACKAGE = Gaim::GtkUI::Xfer::Dialog PREFIX = gaim_gtkxfer_dialog_ PROTOTYPES: ENABLE Gaim::GtkUI::Xfer::Dialog gaim_gtkxfer_dialog_new(class) C_ARGS: /* void */ void gaim_gtkxfer_dialog_destroy(dialog) Gaim::GtkUI::Xfer::Dialog dialog void gaim_gtkxfer_dialog_show(dialog = NULL) Gaim::GtkUI::Xfer::Dialog dialog void gaim_gtkxfer_dialog_hide(dialog) Gaim::GtkUI::Xfer::Dialog dialog void gaim_gtkxfer_dialog_add_xfer(dialog, xfer) Gaim::GtkUI::Xfer::Dialog dialog Gaim::Xfer xfer void gaim_gtkxfer_dialog_remove_xfer(dialog, xfer) Gaim::GtkUI::Xfer::Dialog dialog Gaim::Xfer xfer void gaim_gtkxfer_dialog_cancel_xfer(dialog, xfer) Gaim::GtkUI::Xfer::Dialog dialog Gaim::Xfer xfer void gaim_gtkxfer_dialog_update_xfer(dialog, xfer) Gaim::GtkUI::Xfer::Dialog dialog Gaim::Xfer xfer