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::Status PACKAGE = Gaim::GtkUI::Status PREFIX = gaim_gtk_status_ PROTOTYPES: ENABLE Gaim::Handle gaim_gtk_status_get_handle() MODULE = Gaim::GtkUI::Status PACKAGE = Gaim::GtkUI::Status::Editor PREFIX = gaim_gtk_status_editor_ PROTOTYPES: ENABLE void gaim_gtk_status_editor_show(edit, status) gboolean edit Gaim::SavedStatus status MODULE = Gaim::GtkUI::Status PACKAGE = Gaim::GtkUI::Status::Window PREFIX = gaim_gtk_status_window_ PROTOTYPES: ENABLE void gaim_gtk_status_window_show() void gaim_gtk_status_window_hide()