Sat, 22 Mar 2008 04:45:46 +0000
Patch from Marcus Lundblad ('mlundblad') to improve audio support in xmpp.
It's now possible to initiate an audio session, sometimes. It's somewhat
buggy.
Some other issues also need to be resolved:
* Properly get rid of the compile warnings
* Rename the serv_ functions with proper namespacing.
* Possibly rename the purple_media_ functions that don't deal with a
PurpleMedia (e.g. purple_media_audio_init_src) to something different,
e.g. purple_media_util_, or even purple_gst_util etc.
References #34.
| 10297 | 1 | /** |
|
15997
ff97c5f69196
A little doxygen love and some tiny gaim->purpleisms
Mark Doliner <markdoliner@pidgin.im>
parents:
15931
diff
changeset
|
2 | * @file pidginstock.h GTK+ Stock resources |
|
16254
eeb2bba4dc94
Rename the Doxygen group from gtkui to pidgin.
Richard Laager <rlaager@pidgin.im>
parents:
16068
diff
changeset
|
3 | * @ingroup pidgin |
|
20147
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19859
diff
changeset
|
4 | */ |
|
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19859
diff
changeset
|
5 | |
|
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19859
diff
changeset
|
6 | /* pidgin |
| 10297 | 7 | * |
| 15572 | 8 | * Pidgin is the legal property of its developers, whose names are too numerous |
| 10297 | 9 | * to list here. Please refer to the COPYRIGHT file distributed with this |
| 10 | * source distribution. | |
| 11 | * | |
| 12 | * This program is free software; you can redistribute it and/or modify | |
| 13 | * it under the terms of the GNU General Public License as published by | |
| 14 | * the Free Software Foundation; either version 2 of the License, or | |
| 15 | * (at your option) any later version. | |
| 16 | * | |
| 17 | * This program is distributed in the hope that it will be useful, | |
| 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 20 | * GNU General Public License for more details. | |
| 21 | * | |
| 22 | * You should have received a copy of the GNU General Public License | |
| 23 | * along with this program; if not, write to the Free Software | |
|
19859
71d37b57eff2
The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
19667
diff
changeset
|
24 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
| 10297 | 25 | */ |
|
14258
d6e21dff9f0d
[gaim-migrate @ 16868]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14253
diff
changeset
|
26 | #include <gtk/gtkstock.h> |
|
d6e21dff9f0d
[gaim-migrate @ 16868]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
14253
diff
changeset
|
27 | |
| 15570 | 28 | #ifndef _PIDGIN_STOCK_H_ |
| 29 | #define _PIDGIN_STOCK_H_ | |
| 10297 | 30 | |
| 31 | /**************************************************************************/ | |
| 32 | /** @name Stock images */ | |
| 33 | /**************************************************************************/ | |
| 34 | /*@{*/ | |
| 15577 | 35 | #define PIDGIN_STOCK_ACTION "pidgin-action" |
| 36 | #define PIDGIN_STOCK_ALIAS "pidgin-alias" | |
| 37 | #define PIDGIN_STOCK_AWAY "pidgin-away" | |
| 38 | #define PIDGIN_STOCK_CHAT "pidgin-chat" | |
| 39 | #define PIDGIN_STOCK_CLEAR "pidgin-clear" | |
| 40 | #define PIDGIN_STOCK_CLOSE_TABS "pidgin-close-tab" | |
| 41 | #define PIDGIN_STOCK_DEBUG "pidgin-debug" | |
| 42 | #define PIDGIN_STOCK_DISCONNECT "pidgin-disconnect" | |
| 43 | #define PIDGIN_STOCK_DOWNLOAD "pidgin-download" | |
| 44 | #define PIDGIN_STOCK_EDIT "pidgin-edit" | |
| 45 | #define PIDGIN_STOCK_FGCOLOR "pidgin-fgcolor" | |
| 46 | #define PIDGIN_STOCK_FILE_CANCELED "pidgin-file-canceled" | |
| 47 | #define PIDGIN_STOCK_FILE_DONE "pidgin-file-done" | |
| 48 | #define PIDGIN_STOCK_IGNORE "pidgin-ignore" | |
|
19667
4a8d8a6bd2b0
Make the gtkcert stuff compile on GTK+ older than 2.8
Daniel Atallah <datallah@pidgin.im>
parents:
19646
diff
changeset
|
49 | #define PIDGIN_STOCK_INFO "pidgin-info" |
| 15577 | 50 | #define PIDGIN_STOCK_INVITE "pidgin-invite" |
| 51 | #define PIDGIN_STOCK_MODIFY "pidgin-modify" | |
| 52 | #define PIDGIN_STOCK_OPEN_MAIL "pidgin-stock-open-mail" | |
| 53 | #define PIDGIN_STOCK_PAUSE "pidgin-pause" | |
| 54 | #define PIDGIN_STOCK_POUNCE "pidgin-pounce" | |
| 55 | #define PIDGIN_STOCK_SIGN_OFF "pidgin-sign-off" | |
| 56 | #define PIDGIN_STOCK_SIGN_ON "pidgin-sign-on" | |
| 57 | #define PIDGIN_STOCK_TEXT_NORMAL "pidgin-text-normal" | |
| 58 | #define PIDGIN_STOCK_TYPED "pidgin-typed" | |
| 59 | #define PIDGIN_STOCK_UPLOAD "pidgin-upload" | |
|
15458
39c79dc7c965
A lot of status icon changes:
Sean Egan <seanegan@pidgin.im>
parents:
15435
diff
changeset
|
60 | |
| 15497 | 61 | /* Status icons */ |
| 15554 | 62 | #define PIDGIN_STOCK_STATUS_AVAILABLE "pidgin-status-available" |
| 63 | #define PIDGIN_STOCK_STATUS_AVAILABLE_I "pidgin-status-available-i" | |
| 64 | #define PIDGIN_STOCK_STATUS_AWAY "pidgin-status-away" | |
| 65 | #define PIDGIN_STOCK_STATUS_AWAY_I "pidgin-status-away-i" | |
| 66 | #define PIDGIN_STOCK_STATUS_BUSY "pidgin-status-busy" | |
| 67 | #define PIDGIN_STOCK_STATUS_BUSY_I "pidgin-status-busy-i" | |
| 68 | #define PIDGIN_STOCK_STATUS_CHAT "pidgin-status-chat" | |
| 16298 | 69 | #define PIDGIN_STOCK_STATUS_INVISIBLE "pidgin-status-invisible" |
| 15554 | 70 | #define PIDGIN_STOCK_STATUS_XA "pidgin-status-xa" |
| 71 | #define PIDGIN_STOCK_STATUS_XA_I "pidgin-status-xa-i" | |
| 72 | #define PIDGIN_STOCK_STATUS_LOGIN "pidgin-status-login" | |
| 73 | #define PIDGIN_STOCK_STATUS_LOGOUT "pidgin-status-logout" | |
| 74 | #define PIDGIN_STOCK_STATUS_OFFLINE "pidgin-status-offline" | |
| 17412 | 75 | #define PIDGIN_STOCK_STATUS_OFFLINE_I "pidgin-status-offline" |
| 15554 | 76 | #define PIDGIN_STOCK_STATUS_PERSON "pidgin-status-person" |
| 15760 | 77 | #define PIDGIN_STOCK_STATUS_MESSAGE "pidgin-status-message" |
| 78 | ||
| 79 | /* Chat room emblems */ | |
| 80 | #define PIDGIN_STOCK_STATUS_IGNORED "pidgin-status-ignored" | |
| 81 | #define PIDGIN_STOCK_STATUS_FOUNDER "pidgin-status-founder" | |
| 15554 | 82 | #define PIDGIN_STOCK_STATUS_OPERATOR "pidgin-status-operator" |
| 83 | #define PIDGIN_STOCK_STATUS_HALFOP "pidgin-status-halfop" | |
|
15733
f9adf674b97f
New chatlist icons. founder and ignored still needed.
Sean Egan <seanegan@pidgin.im>
parents:
15731
diff
changeset
|
84 | #define PIDGIN_STOCK_STATUS_VOICE "pidgin-status-voice" |
| 15497 | 85 | |
| 86 | /* Dialog icons */ | |
| 87 | #define PIDGIN_STOCK_DIALOG_AUTH "pidgin-dialog-auth" | |
| 88 | #define PIDGIN_STOCK_DIALOG_ERROR "pidgin-dialog-error" | |
| 89 | #define PIDGIN_STOCK_DIALOG_INFO "pidgin-dialog-info" | |
| 90 | #define PIDGIN_STOCK_DIALOG_MAIL "pidgin-dialog-mail" | |
| 91 | #define PIDGIN_STOCK_DIALOG_QUESTION "pidgin-dialog-question" | |
| 92 | #define PIDGIN_STOCK_DIALOG_COOL "pidgin-dialog-cool" | |
| 93 | #define PIDGIN_STOCK_DIALOG_WARNING "pidgin-dialog-warning" | |
|
15458
39c79dc7c965
A lot of status icon changes:
Sean Egan <seanegan@pidgin.im>
parents:
15435
diff
changeset
|
94 | |
|
15519
82e4cfb65343
Finish converting the statusbox. Note the connecting and animation icons are too large. I put out a request to Hylke.
Sean Egan <seanegan@pidgin.im>
parents:
15500
diff
changeset
|
95 | /* StatusBox Animations */ |
|
82e4cfb65343
Finish converting the statusbox. Note the connecting and animation icons are too large. I put out a request to Hylke.
Sean Egan <seanegan@pidgin.im>
parents:
15500
diff
changeset
|
96 | #define PIDGIN_STOCK_ANIMATION_CONNECT0 "pidgin-anim-connect0" |
|
82e4cfb65343
Finish converting the statusbox. Note the connecting and animation icons are too large. I put out a request to Hylke.
Sean Egan <seanegan@pidgin.im>
parents:
15500
diff
changeset
|
97 | #define PIDGIN_STOCK_ANIMATION_CONNECT1 "pidgin-anim-connect1" |
|
82e4cfb65343
Finish converting the statusbox. Note the connecting and animation icons are too large. I put out a request to Hylke.
Sean Egan <seanegan@pidgin.im>
parents:
15500
diff
changeset
|
98 | #define PIDGIN_STOCK_ANIMATION_CONNECT2 "pidgin-anim-connect2" |
|
82e4cfb65343
Finish converting the statusbox. Note the connecting and animation icons are too large. I put out a request to Hylke.
Sean Egan <seanegan@pidgin.im>
parents:
15500
diff
changeset
|
99 | #define PIDGIN_STOCK_ANIMATION_CONNECT3 "pidgin-anim-connect3" |
|
15736
90e6102420f0
throbber for a connecting icon
Sean Egan <seanegan@pidgin.im>
parents:
15733
diff
changeset
|
100 | #define PIDGIN_STOCK_ANIMATION_CONNECT4 "pidgin-anim-connect4" |
|
90e6102420f0
throbber for a connecting icon
Sean Egan <seanegan@pidgin.im>
parents:
15733
diff
changeset
|
101 | #define PIDGIN_STOCK_ANIMATION_CONNECT5 "pidgin-anim-connect5" |
|
90e6102420f0
throbber for a connecting icon
Sean Egan <seanegan@pidgin.im>
parents:
15733
diff
changeset
|
102 | #define PIDGIN_STOCK_ANIMATION_CONNECT6 "pidgin-anim-connect6" |
|
90e6102420f0
throbber for a connecting icon
Sean Egan <seanegan@pidgin.im>
parents:
15733
diff
changeset
|
103 | #define PIDGIN_STOCK_ANIMATION_CONNECT7 "pidgin-anim-connect7" |
|
90e6102420f0
throbber for a connecting icon
Sean Egan <seanegan@pidgin.im>
parents:
15733
diff
changeset
|
104 | #define PIDGIN_STOCK_ANIMATION_CONNECT8 "pidgin-anim-connect8" |
|
15519
82e4cfb65343
Finish converting the statusbox. Note the connecting and animation icons are too large. I put out a request to Hylke.
Sean Egan <seanegan@pidgin.im>
parents:
15500
diff
changeset
|
105 | #define PIDGIN_STOCK_ANIMATION_TYPING0 "pidgin-anim-typing0" |
|
82e4cfb65343
Finish converting the statusbox. Note the connecting and animation icons are too large. I put out a request to Hylke.
Sean Egan <seanegan@pidgin.im>
parents:
15500
diff
changeset
|
106 | #define PIDGIN_STOCK_ANIMATION_TYPING1 "pidgin-anim-typing1" |
|
82e4cfb65343
Finish converting the statusbox. Note the connecting and animation icons are too large. I put out a request to Hylke.
Sean Egan <seanegan@pidgin.im>
parents:
15500
diff
changeset
|
107 | #define PIDGIN_STOCK_ANIMATION_TYPING2 "pidgin-anim-typing2" |
|
82e4cfb65343
Finish converting the statusbox. Note the connecting and animation icons are too large. I put out a request to Hylke.
Sean Egan <seanegan@pidgin.im>
parents:
15500
diff
changeset
|
108 | #define PIDGIN_STOCK_ANIMATION_TYPING3 "pidgin-anim-typing3" |
| 15730 | 109 | #define PIDGIN_STOCK_ANIMATION_TYPING4 "pidgin-anim-typing4" |
|
17147
d5ec5f6ab84c
Make 'typed' icon not have any keys depressed. Should fix #1116
Sean Egan <seanegan@pidgin.im>
parents:
16881
diff
changeset
|
110 | #define PIDGIN_STOCK_ANIMATION_TYPING5 "pidgin-anim-typing5" |
|
15519
82e4cfb65343
Finish converting the statusbox. Note the connecting and animation icons are too large. I put out a request to Hylke.
Sean Egan <seanegan@pidgin.im>
parents:
15500
diff
changeset
|
111 | |
|
15623
bf485c598199
toolbar/menu icons. reduce the imhtmltoolbar spacing. more gaimstock pruning
Sean Egan <seanegan@pidgin.im>
parents:
15577
diff
changeset
|
112 | /* Toolbar (and menu) icons */ |
|
bf485c598199
toolbar/menu icons. reduce the imhtmltoolbar spacing. more gaimstock pruning
Sean Egan <seanegan@pidgin.im>
parents:
15577
diff
changeset
|
113 | #define PIDGIN_STOCK_TOOLBAR_ACCOUNTS "pidgin-accounts" |
|
bf485c598199
toolbar/menu icons. reduce the imhtmltoolbar spacing. more gaimstock pruning
Sean Egan <seanegan@pidgin.im>
parents:
15577
diff
changeset
|
114 | #define PIDGIN_STOCK_TOOLBAR_BGCOLOR "pidgin-bgcolor" |
|
16068
b1dac315ed09
block and unblock have the right icons now
Nathan Walp <nwalp@pidgin.im>
parents:
15997
diff
changeset
|
115 | #define PIDGIN_STOCK_TOOLBAR_BLOCK "pidgin-block" |
|
15623
bf485c598199
toolbar/menu icons. reduce the imhtmltoolbar spacing. more gaimstock pruning
Sean Egan <seanegan@pidgin.im>
parents:
15577
diff
changeset
|
116 | #define PIDGIN_STOCK_TOOLBAR_FGCOLOR "pidgin-fgcolor" |
|
bf485c598199
toolbar/menu icons. reduce the imhtmltoolbar spacing. more gaimstock pruning
Sean Egan <seanegan@pidgin.im>
parents:
15577
diff
changeset
|
117 | #define PIDGIN_STOCK_TOOLBAR_SMILEY "pidgin-smiley" |
|
16454
c913ac4ef44c
Add Hylke's font face icon
Sean Egan <seanegan@pidgin.im>
parents:
16386
diff
changeset
|
118 | #define PIDGIN_STOCK_TOOLBAR_FONT_FACE "pidgin-font-face" |
|
15623
bf485c598199
toolbar/menu icons. reduce the imhtmltoolbar spacing. more gaimstock pruning
Sean Egan <seanegan@pidgin.im>
parents:
15577
diff
changeset
|
119 | #define PIDGIN_STOCK_TOOLBAR_TEXT_SMALLER "pidgin-text-smaller" |
|
bf485c598199
toolbar/menu icons. reduce the imhtmltoolbar spacing. more gaimstock pruning
Sean Egan <seanegan@pidgin.im>
parents:
15577
diff
changeset
|
120 | #define PIDGIN_STOCK_TOOLBAR_TEXT_LARGER "pidgin-text-larger" |
|
18126
c47f97f320d3
Add missing toolbar insert bits
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
17499
diff
changeset
|
121 | #define PIDGIN_STOCK_TOOLBAR_INSERT "pidgin-insert" |
|
15623
bf485c598199
toolbar/menu icons. reduce the imhtmltoolbar spacing. more gaimstock pruning
Sean Egan <seanegan@pidgin.im>
parents:
15577
diff
changeset
|
122 | #define PIDGIN_STOCK_TOOLBAR_INSERT_IMAGE "pidgin-insert-image" |
|
bf485c598199
toolbar/menu icons. reduce the imhtmltoolbar spacing. more gaimstock pruning
Sean Egan <seanegan@pidgin.im>
parents:
15577
diff
changeset
|
123 | #define PIDGIN_STOCK_TOOLBAR_INSERT_LINK "pidgin-insert-link" |
|
bf485c598199
toolbar/menu icons. reduce the imhtmltoolbar spacing. more gaimstock pruning
Sean Egan <seanegan@pidgin.im>
parents:
15577
diff
changeset
|
124 | #define PIDGIN_STOCK_TOOLBAR_MESSAGE_NEW "pidgin-message-new" |
|
16068
b1dac315ed09
block and unblock have the right icons now
Nathan Walp <nwalp@pidgin.im>
parents:
15997
diff
changeset
|
125 | #define PIDGIN_STOCK_TOOLBAR_PENDING "pidgin-pending" |
|
15623
bf485c598199
toolbar/menu icons. reduce the imhtmltoolbar spacing. more gaimstock pruning
Sean Egan <seanegan@pidgin.im>
parents:
15577
diff
changeset
|
126 | #define PIDGIN_STOCK_TOOLBAR_PLUGINS "pidgin-plugins" |
|
bf485c598199
toolbar/menu icons. reduce the imhtmltoolbar spacing. more gaimstock pruning
Sean Egan <seanegan@pidgin.im>
parents:
15577
diff
changeset
|
127 | #define PIDGIN_STOCK_TOOLBAR_TYPING "pidgin-typing" |
|
bf485c598199
toolbar/menu icons. reduce the imhtmltoolbar spacing. more gaimstock pruning
Sean Egan <seanegan@pidgin.im>
parents:
15577
diff
changeset
|
128 | #define PIDGIN_STOCK_TOOLBAR_USER_INFO "pidgin-info" |
|
16068
b1dac315ed09
block and unblock have the right icons now
Nathan Walp <nwalp@pidgin.im>
parents:
15997
diff
changeset
|
129 | #define PIDGIN_STOCK_TOOLBAR_UNBLOCK "pidgin-unblock" |
|
16386
416b510e691e
New select-avatar image from hbons
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16304
diff
changeset
|
130 | #define PIDGIN_STOCK_TOOLBAR_SELECT_AVATAR "pidgin-select-avatar" |
| 16881 | 131 | #define PIDGIN_STOCK_TOOLBAR_SEND_FILE "pidgin-send-file" |
|
22648
e286d795c5f9
Patch from Marcus Lundblad ('mlundblad') to improve audio support in xmpp.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
20147
diff
changeset
|
132 | #ifdef USE_FARSIGHT |
|
e286d795c5f9
Patch from Marcus Lundblad ('mlundblad') to improve audio support in xmpp.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
20147
diff
changeset
|
133 | #define PIDGIN_STOCK_TOOLBAR_CALL "pidgin-call" |
|
e286d795c5f9
Patch from Marcus Lundblad ('mlundblad') to improve audio support in xmpp.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
20147
diff
changeset
|
134 | #endif |
| 15731 | 135 | |
| 136 | /* Tray icons */ | |
| 137 | #define PIDGIN_STOCK_TRAY_AVAILABLE "pidgin-tray-available" | |
| 16808 | 138 | #define PIDGIN_STOCK_TRAY_INVISIBLE "pidgin-tray-invisible" |
| 15731 | 139 | #define PIDGIN_STOCK_TRAY_AWAY "pidgin-tray-away" |
| 140 | #define PIDGIN_STOCK_TRAY_BUSY "pidgin-tray-busy" | |
| 141 | #define PIDGIN_STOCK_TRAY_XA "pidgin-tray-xa" | |
| 142 | #define PIDGIN_STOCK_TRAY_OFFLINE "pidgin-tray-offline" | |
| 143 | #define PIDGIN_STOCK_TRAY_CONNECT "pidgin-tray-connect" | |
| 144 | #define PIDGIN_STOCK_TRAY_PENDING "pidgin-tray-pending" | |
|
18321
a12453d6f114
Uncomment some things that were begging to be uncommented
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
18178
diff
changeset
|
145 | #define PIDGIN_STOCK_TRAY_EMAIL "pidgin-tray-email" |
| 15731 | 146 | |
| 147 | ||
| 10297 | 148 | /*@}*/ |
| 149 | ||
| 150 | /** | |
| 151 | * For using icons that aren't one of the default GTK_ICON_SIZEs | |
| 152 | */ | |
| 19646 | 153 | #define PIDGIN_ICON_SIZE_TANGO_MICROSCOPIC "pidgin-icon-size-tango-microscopic" |
| 15497 | 154 | #define PIDGIN_ICON_SIZE_TANGO_EXTRA_SMALL "pidgin-icon-size-tango-extra-small" |
| 155 | #define PIDGIN_ICON_SIZE_TANGO_SMALL "pidgin-icon-size-tango-small" | |
| 156 | #define PIDGIN_ICON_SIZE_TANGO_MEDIUM "pidgin-icon-size-tango-medium" | |
|
15792
862d8eb17606
make rtl icons work: http://gaim.sf.net/sean/rtl.png
Sean Egan <seanegan@pidgin.im>
parents:
15760
diff
changeset
|
157 | #define PIDGIN_ICON_SIZE_TANGO_LARGE "pidgin-icon-size-tango-large" |
| 15497 | 158 | #define PIDGIN_ICON_SIZE_TANGO_HUGE "pidgin-icon-size-tango-huge" |
| 10297 | 159 | /** |
| 15884 | 160 | * Sets up the purple stock repository. |
| 10297 | 161 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15559
diff
changeset
|
162 | void pidgin_stock_init(void); |
| 10297 | 163 | |
| 15570 | 164 | #endif /* _PIDGIN_STOCK_H_ */ |