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.
| 14478 | 1 | #include "gtkmodule.h" |
| 2 | ||
| 3 | /* Prototypes for the BOOT section below. */ | |
| 14629 | 4 | GAIM_PERL_BOOT_PROTO(GtkUI__Account); |
| 5 | GAIM_PERL_BOOT_PROTO(GtkUI__BuddyList); | |
| 6 | GAIM_PERL_BOOT_PROTO(GtkUI__Connection); | |
| 7 | GAIM_PERL_BOOT_PROTO(GtkUI__Conversation); | |
| 8 | GAIM_PERL_BOOT_PROTO(GtkUI__Conversation__Window); | |
| 9 | GAIM_PERL_BOOT_PROTO(GtkUI__Debug); | |
| 10 | GAIM_PERL_BOOT_PROTO(GtkUI__Dialogs); | |
| 11 | GAIM_PERL_BOOT_PROTO(GtkUI__IMHtml); | |
| 12 | GAIM_PERL_BOOT_PROTO(GtkUI__IMHtmlToolbar); | |
| 13 | GAIM_PERL_BOOT_PROTO(GtkUI__Log); | |
| 14 | GAIM_PERL_BOOT_PROTO(GtkUI__MenuTray); | |
| 15 | GAIM_PERL_BOOT_PROTO(GtkUI__Plugin); | |
| 16 | GAIM_PERL_BOOT_PROTO(GtkUI__PluginPref); | |
| 17 | GAIM_PERL_BOOT_PROTO(GtkUI__Pounce); | |
| 18 | GAIM_PERL_BOOT_PROTO(GtkUI__Prefs); | |
| 19 | GAIM_PERL_BOOT_PROTO(GtkUI__Privacy); | |
| 20 | GAIM_PERL_BOOT_PROTO(GtkUI__Roomlist); | |
| 21 | GAIM_PERL_BOOT_PROTO(GtkUI__Status); | |
|
14509
e46c4ed7e331
[gaim-migrate @ 17161]
Daniel Atallah <datallah@pidgin.im>
parents:
14478
diff
changeset
|
22 | #ifndef _WIN32 |
| 14629 | 23 | GAIM_PERL_BOOT_PROTO(GtkUI__Session); |
|
14509
e46c4ed7e331
[gaim-migrate @ 17161]
Daniel Atallah <datallah@pidgin.im>
parents:
14478
diff
changeset
|
24 | #endif |
| 14629 | 25 | GAIM_PERL_BOOT_PROTO(GtkUI__Sound); |
| 26 | GAIM_PERL_BOOT_PROTO(GtkUI__StatusBox); | |
| 27 | GAIM_PERL_BOOT_PROTO(GtkUI__Themes); | |
| 28 | GAIM_PERL_BOOT_PROTO(GtkUI__Utils); | |
| 29 | GAIM_PERL_BOOT_PROTO(GtkUI__Xfer); | |
| 14478 | 30 | |
| 14631 | 31 | MODULE = Gaim::GtkUI PACKAGE = Gaim::GtkUI PREFIX = gaim_gtk_ |
| 14478 | 32 | PROTOTYPES: ENABLE |
| 33 | ||
| 34 | BOOT: | |
| 14643 | 35 | GAIM_PERL_BOOT(GtkUI__Account); |
| 36 | GAIM_PERL_BOOT(GtkUI__BuddyList); | |
| 37 | GAIM_PERL_BOOT(GtkUI__Connection); | |
| 38 | GAIM_PERL_BOOT(GtkUI__Conversation); | |
| 39 | GAIM_PERL_BOOT(GtkUI__Conversation__Window); | |
| 40 | GAIM_PERL_BOOT(GtkUI__Debug); | |
| 41 | GAIM_PERL_BOOT(GtkUI__Dialogs); | |
| 42 | GAIM_PERL_BOOT(GtkUI__IMHtml); | |
| 43 | GAIM_PERL_BOOT(GtkUI__IMHtmlToolbar); | |
| 44 | GAIM_PERL_BOOT(GtkUI__Log); | |
| 45 | GAIM_PERL_BOOT(GtkUI__MenuTray); | |
| 46 | GAIM_PERL_BOOT(GtkUI__Plugin); | |
| 47 | GAIM_PERL_BOOT(GtkUI__PluginPref); | |
| 48 | GAIM_PERL_BOOT(GtkUI__Pounce); | |
| 49 | GAIM_PERL_BOOT(GtkUI__Prefs); | |
| 50 | GAIM_PERL_BOOT(GtkUI__Privacy); | |
| 51 | GAIM_PERL_BOOT(GtkUI__Roomlist); | |
| 52 | GAIM_PERL_BOOT(GtkUI__Status); | |
|
14509
e46c4ed7e331
[gaim-migrate @ 17161]
Daniel Atallah <datallah@pidgin.im>
parents:
14478
diff
changeset
|
53 | #ifndef _WIN32 |
| 14643 | 54 | GAIM_PERL_BOOT(GtkUI__Session); |
|
14509
e46c4ed7e331
[gaim-migrate @ 17161]
Daniel Atallah <datallah@pidgin.im>
parents:
14478
diff
changeset
|
55 | #endif |
| 14643 | 56 | GAIM_PERL_BOOT(GtkUI__Sound); |
| 57 | GAIM_PERL_BOOT(GtkUI__StatusBox); | |
| 58 | GAIM_PERL_BOOT(GtkUI__Themes); | |
| 59 | GAIM_PERL_BOOT(GtkUI__Utils); | |
| 60 | GAIM_PERL_BOOT(GtkUI__Xfer); |