Mercurial > pidgin.yaz
annotate libpurple/plugins/perl/common/SavedStatuses.xs @ 17037:9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 11 May 2007 15:07:13 +0000 |
parents | 2f8274ce570a |
children | 2c5654d1a17a |
rev | line source |
---|---|
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1 #include "module.h" |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
2 |
15834
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
3 MODULE = Purple::SavedStatus PACKAGE = Purple::SavedStatus PREFIX = purple_savedstatus_ |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
4 PROTOTYPES: ENABLE |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
5 |
17037
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
6 void |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
7 purple_savedstatus_activate(saved_status) |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
8 Purple::SavedStatus saved_status |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
9 |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
10 void |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
11 purple_savedstatus_activate_for_account(saved_status, account) |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
12 Purple::SavedStatus saved_status |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
13 Purple::Account account |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
14 |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
15 gboolean |
15834
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
16 purple_savedstatus_delete(title) |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
17 const char *title |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
18 |
15834
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
19 Purple::SavedStatus |
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
20 purple_savedstatus_find(title) |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
21 const char *title |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
22 |
17037
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
23 Purple::SavedStatus |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
24 purple_savedstatus_find_by_creation_time(creation_time) |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
25 time_t creation_time |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
26 |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
27 Purple::SavedStatus |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
28 purple_savedstatus_find_transient_by_type_and_message(type, message) |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
29 Purple::StatusPrimitive type |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
30 const char *message |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
31 |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
32 time_t |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
33 purple_savedstatus_get_creation_time(saved_status) |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
34 Purple::SavedStatus saved_status |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
35 |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
36 Purple::SavedStatus |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
37 purple_savedstatus_get_current() |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
38 |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
39 Purple::SavedStatus |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
40 purple_savedstatus_get_default () |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
41 |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
42 Purple::SavedStatus |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
43 purple_savedstatus_get_idleaway() |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
44 |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
45 const char * |
15834
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
46 purple_savedstatus_get_message(saved_status) |
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
47 Purple::SavedStatus saved_status |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
48 |
17037
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
49 Purple::SavedStatus |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
50 purple_savedstatus_get_startup() |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
51 |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
52 Purple::SavedStatusSub |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
53 purple_savedstatus_get_substatus(saved_status, account) |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
54 Purple::SavedStatus saved_status |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
55 Purple::Account account |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
56 |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
57 const char * |
15834
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
58 purple_savedstatus_get_title(saved_status) |
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
59 Purple::SavedStatus saved_status |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
60 |
15834
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
61 Purple::StatusPrimitive |
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
62 purple_savedstatus_get_type(saved_status) |
17037
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
63 const Purple::SavedStatus saved_status |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
64 |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
65 gboolean |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
66 purple_savedstatus_has_substatuses(saved_status) |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
67 Purple::SavedStatus saved_status |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
68 |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
69 gboolean |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
70 purple_savedstatus_is_idleaway() |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
71 |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
72 gboolean |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
73 purple_savedstatus_is_transient(saved_status) |
15834
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
74 Purple::SavedStatus saved_status |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
75 |
15834
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
76 Purple::SavedStatus |
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
77 purple_savedstatus_new(title, type) |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
78 const char *title |
15834
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
79 Purple::StatusPrimitive type |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
80 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
81 void |
17037
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
82 purple_savedstatus_set_idleaway(idleaway) |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
83 gboolean idleaway |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
84 |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
85 void |
15834
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
86 purple_savedstatus_set_message(status, message) |
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
87 Purple::SavedStatus status |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
88 const char *message |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
89 |
17037
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
90 void |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
91 purple_savedstatus_set_substatus(status, account, type, message) |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
92 Purple::SavedStatus status |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
93 Purple::Account account |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
94 Purple::StatusType type |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
95 const char *message |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
96 |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
97 void |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
98 purple_savedstatus_set_title(status, title) |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
99 Purple::SavedStatus status |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
100 const char *title |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
101 |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
102 void |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
103 purple_savedstatus_set_type(status, type) |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
104 Purple::SavedStatus status |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
105 Purple::StatusPrimitive type |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
106 |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
107 const char * |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
108 purple_savedstatus_substatus_get_message(substatus) |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
109 Purple::SavedStatusSub substatus |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
110 |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
111 const Purple::StatusType |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
112 purple_savedstatus_substatus_get_type(substatus) |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
113 const Purple::SavedStatusSub substatus |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
114 |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
115 void |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
116 purple_savedstatus_unset_substatus(saved_status, account) |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
117 Purple::SavedStatus saved_status |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
118 Purple::Account account |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
119 |
15834
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
120 MODULE = Purple::SavedStatus PACKAGE = Purple::SavedStatuses PREFIX = purple_savedstatuses_ |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
121 PROTOTYPES: ENABLE |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
122 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
123 void |
15834
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
124 purple_savedstatuses_get_all() |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
125 PREINIT: |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
126 const GList *l; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
127 PPCODE: |
15834
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
128 for (l = purple_savedstatuses_get_all(); l != NULL; l = l->next) { |
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
129 XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Purple::SavedStatus"))); |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
130 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
131 |
15834
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
132 Purple::Handle |
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
133 purple_savedstatuses_get_handle() |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
134 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
135 void |
17037
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
136 purple_savedstatuses_get_popular(how_many) |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
137 unsigned int how_many |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
138 PREINIT: |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
139 GList *l; |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
140 PPCODE: |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
141 for (l = purple_savedstatuses_get_popular(how_many); l != NULL; l = l->next) { |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
142 XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Purple::SavedStatus"))); |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
143 } |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
144 |
9a1d36a4573e
Fix a crash when something requests the blist status icon before the UI node has been rendered. The ticker plugin was doing this. Fixes #642.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15834
diff
changeset
|
145 void |
15834
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
146 purple_savedstatuses_init() |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
147 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
148 void |
15834
2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
149 purple_savedstatuses_uninit() |