pidgin/pidginstock.h

Thu, 02 Sep 2021 20:18:36 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Thu, 02 Sep 2021 20:18:36 -0500
changeset 41036
c2a9da21b8c0
parent 41034
fe203b2245fb
child 41093
13d97dcd0e67
permissions
-rw-r--r--

Replace the deprecated API in gtkaccount.c

Testing Done:
Verified that all of the dialog buttons still function as intended.

Reviewed at https://reviews.imfreedom.org/r/906/

20147
66f05a854eee applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents: 19859
diff changeset
1 /* pidgin
10297
b36800725b7a [gaim-migrate @ 11480]
Evan Schoenberg <evands@pidgin.im>
parents:
diff changeset
2 *
15572
e069b22c1fc4 headers to pidgin
Sean Egan <seanegan@pidgin.im>
parents: 15570
diff changeset
3 * Pidgin is the legal property of its developers, whose names are too numerous
10297
b36800725b7a [gaim-migrate @ 11480]
Evan Schoenberg <evands@pidgin.im>
parents:
diff changeset
4 * to list here. Please refer to the COPYRIGHT file distributed with this
b36800725b7a [gaim-migrate @ 11480]
Evan Schoenberg <evands@pidgin.im>
parents:
diff changeset
5 * source distribution.
25888
d0fdd378a635 Remove trailing whitespace
Mark Doliner <markdoliner@pidgin.im>
parents: 24970
diff changeset
6 *
10297
b36800725b7a [gaim-migrate @ 11480]
Evan Schoenberg <evands@pidgin.im>
parents:
diff changeset
7 * This program is free software; you can redistribute it and/or modify
b36800725b7a [gaim-migrate @ 11480]
Evan Schoenberg <evands@pidgin.im>
parents:
diff changeset
8 * it under the terms of the GNU General Public License as published by
b36800725b7a [gaim-migrate @ 11480]
Evan Schoenberg <evands@pidgin.im>
parents:
diff changeset
9 * the Free Software Foundation; either version 2 of the License, or
b36800725b7a [gaim-migrate @ 11480]
Evan Schoenberg <evands@pidgin.im>
parents:
diff changeset
10 * (at your option) any later version.
b36800725b7a [gaim-migrate @ 11480]
Evan Schoenberg <evands@pidgin.im>
parents:
diff changeset
11 *
b36800725b7a [gaim-migrate @ 11480]
Evan Schoenberg <evands@pidgin.im>
parents:
diff changeset
12 * This program is distributed in the hope that it will be useful,
b36800725b7a [gaim-migrate @ 11480]
Evan Schoenberg <evands@pidgin.im>
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
b36800725b7a [gaim-migrate @ 11480]
Evan Schoenberg <evands@pidgin.im>
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
b36800725b7a [gaim-migrate @ 11480]
Evan Schoenberg <evands@pidgin.im>
parents:
diff changeset
15 * GNU General Public License for more details.
b36800725b7a [gaim-migrate @ 11480]
Evan Schoenberg <evands@pidgin.im>
parents:
diff changeset
16 *
b36800725b7a [gaim-migrate @ 11480]
Evan Schoenberg <evands@pidgin.im>
parents:
diff changeset
17 * You should have received a copy of the GNU General Public License
b36800725b7a [gaim-migrate @ 11480]
Evan Schoenberg <evands@pidgin.im>
parents:
diff changeset
18 * 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
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
10297
b36800725b7a [gaim-migrate @ 11480]
Evan Schoenberg <evands@pidgin.im>
parents:
diff changeset
20 */
35487
494f09f7f331 Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents: 35486
diff changeset
21
40502
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 39497
diff changeset
22 #if !defined(PIDGIN_GLOBAL_HEADER_INSIDE) && !defined(PIDGIN_COMPILATION)
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 39497
diff changeset
23 # error "only <pidgin.h> may be included directly"
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 39497
diff changeset
24 #endif
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 39497
diff changeset
25
35487
494f09f7f331 Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents: 35486
diff changeset
26 #ifndef _PIDGIN_STOCK_H_
494f09f7f331 Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents: 35486
diff changeset
27 #define _PIDGIN_STOCK_H_
35451
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35417
diff changeset
28 /**
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35417
diff changeset
29 * SECTION:pidginstock
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35417
diff changeset
30 * @section_id: pidgin-pidginstock
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35417
diff changeset
31 * @short_description: <filename>pidginstock.h</filename>
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35417
diff changeset
32 * @title: Stock Resources
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35417
diff changeset
33 */
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35417
diff changeset
34
26727
b8885bab55ab More updates for GTK+ 3.0. This only fixes the single-includes. Fixing all
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 26337
diff changeset
35 #include <gtk/gtk.h>
23967
cc5667bc8f1e Clean up status icon themes a bit
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 23964
diff changeset
36 #include "gtkstatus-icon-theme.h"
14258
d6e21dff9f0d [gaim-migrate @ 16868]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14253
diff changeset
37
10297
b36800725b7a [gaim-migrate @ 11480]
Evan Schoenberg <evands@pidgin.im>
parents:
diff changeset
38 /**************************************************************************/
35472
474e26199560 Removed @name
Ankit Vani <a@nevitus.org>
parents: 35451
diff changeset
39 /* Stock images */
10297
b36800725b7a [gaim-migrate @ 11480]
Evan Schoenberg <evands@pidgin.im>
parents:
diff changeset
40 /**************************************************************************/
35486
fe9a7f6143c1 Remove /*@{*/ and /*@}*/
Ankit Vani <a@nevitus.org>
parents: 35474
diff changeset
41
39497
887deae02283 Add a simple toggle to disable the use of PIDGIN_STOCK on a per file basis
Gary Kramlich <grim@reaperworld.com>
parents: 39147
diff changeset
42 #ifndef PIDGIN_STOCK_DISABLE
887deae02283 Add a simple toggle to disable the use of PIDGIN_STOCK on a per file basis
Gary Kramlich <grim@reaperworld.com>
parents: 39147
diff changeset
43
15577
b8129373f65e More pidgin changes
Sean Egan <seanegan@pidgin.im>
parents: 15572
diff changeset
44 #define PIDGIN_STOCK_ACTION "pidgin-action"
b8129373f65e More pidgin changes
Sean Egan <seanegan@pidgin.im>
parents: 15572
diff changeset
45 #define PIDGIN_STOCK_ALIAS "pidgin-alias"
b8129373f65e More pidgin changes
Sean Egan <seanegan@pidgin.im>
parents: 15572
diff changeset
46 #define PIDGIN_STOCK_AWAY "pidgin-away"
b8129373f65e More pidgin changes
Sean Egan <seanegan@pidgin.im>
parents: 15572
diff changeset
47 #define PIDGIN_STOCK_CHAT "pidgin-chat"
b8129373f65e More pidgin changes
Sean Egan <seanegan@pidgin.im>
parents: 15572
diff changeset
48 #define PIDGIN_STOCK_CLEAR "pidgin-clear"
b8129373f65e More pidgin changes
Sean Egan <seanegan@pidgin.im>
parents: 15572
diff changeset
49 #define PIDGIN_STOCK_CLOSE_TABS "pidgin-close-tab"
b8129373f65e More pidgin changes
Sean Egan <seanegan@pidgin.im>
parents: 15572
diff changeset
50 #define PIDGIN_STOCK_DEBUG "pidgin-debug"
b8129373f65e More pidgin changes
Sean Egan <seanegan@pidgin.im>
parents: 15572
diff changeset
51 #define PIDGIN_STOCK_DISCONNECT "pidgin-disconnect"
b8129373f65e More pidgin changes
Sean Egan <seanegan@pidgin.im>
parents: 15572
diff changeset
52 #define PIDGIN_STOCK_DOWNLOAD "pidgin-download"
b8129373f65e More pidgin changes
Sean Egan <seanegan@pidgin.im>
parents: 15572
diff changeset
53 #define PIDGIN_STOCK_EDIT "pidgin-edit"
b8129373f65e More pidgin changes
Sean Egan <seanegan@pidgin.im>
parents: 15572
diff changeset
54 #define PIDGIN_STOCK_FGCOLOR "pidgin-fgcolor"
35511
201a7fd12507 Use "Cancelled" as spelling of stock item.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 35487
diff changeset
55 #define PIDGIN_STOCK_FILE_CANCELLED "pidgin-file-cancelled"
15577
b8129373f65e More pidgin changes
Sean Egan <seanegan@pidgin.im>
parents: 15572
diff changeset
56 #define PIDGIN_STOCK_FILE_DONE "pidgin-file-done"
b8129373f65e More pidgin changes
Sean Egan <seanegan@pidgin.im>
parents: 15572
diff changeset
57 #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
58 #define PIDGIN_STOCK_INFO "pidgin-info"
15577
b8129373f65e More pidgin changes
Sean Egan <seanegan@pidgin.im>
parents: 15572
diff changeset
59 #define PIDGIN_STOCK_INVITE "pidgin-invite"
b8129373f65e More pidgin changes
Sean Egan <seanegan@pidgin.im>
parents: 15572
diff changeset
60 #define PIDGIN_STOCK_MODIFY "pidgin-modify"
24594
b2da1decae23 Add an ellipsis to the "Add" and "Modify" buttons in the accounts, pounces, and
Alex Willmer <alex@moreati.org.uk>
parents: 24147
diff changeset
61 #define PIDGIN_STOCK_ADD "pidgin-add"
15577
b8129373f65e More pidgin changes
Sean Egan <seanegan@pidgin.im>
parents: 15572
diff changeset
62 #define PIDGIN_STOCK_OPEN_MAIL "pidgin-stock-open-mail"
b8129373f65e More pidgin changes
Sean Egan <seanegan@pidgin.im>
parents: 15572
diff changeset
63 #define PIDGIN_STOCK_PAUSE "pidgin-pause"
b8129373f65e More pidgin changes
Sean Egan <seanegan@pidgin.im>
parents: 15572
diff changeset
64 #define PIDGIN_STOCK_SIGN_OFF "pidgin-sign-off"
b8129373f65e More pidgin changes
Sean Egan <seanegan@pidgin.im>
parents: 15572
diff changeset
65 #define PIDGIN_STOCK_SIGN_ON "pidgin-sign-on"
b8129373f65e More pidgin changes
Sean Egan <seanegan@pidgin.im>
parents: 15572
diff changeset
66 #define PIDGIN_STOCK_TEXT_NORMAL "pidgin-text-normal"
b8129373f65e More pidgin changes
Sean Egan <seanegan@pidgin.im>
parents: 15572
diff changeset
67 #define PIDGIN_STOCK_TYPED "pidgin-typed"
b8129373f65e More pidgin changes
Sean Egan <seanegan@pidgin.im>
parents: 15572
diff changeset
68 #define PIDGIN_STOCK_UPLOAD "pidgin-upload"
34343
225d5c9642d1 Polish back/next stock items a bit
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 30708
diff changeset
69 #define PIDGIN_STOCK_NEXT "pidgin-next"
15458
39c79dc7c965 A lot of status icon changes:
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
70
15497
92f02f4bd5ee Dialog icon changes
Sean Egan <seanegan@pidgin.im>
parents: 15458
diff changeset
71 /* Status icons */
15554
9a0b1403e7f2 Faded idle status icons
Sean Egan <seanegan@pidgin.im>
parents: 15519
diff changeset
72 #define PIDGIN_STOCK_STATUS_AVAILABLE "pidgin-status-available"
9a0b1403e7f2 Faded idle status icons
Sean Egan <seanegan@pidgin.im>
parents: 15519
diff changeset
73 #define PIDGIN_STOCK_STATUS_AVAILABLE_I "pidgin-status-available-i"
9a0b1403e7f2 Faded idle status icons
Sean Egan <seanegan@pidgin.im>
parents: 15519
diff changeset
74 #define PIDGIN_STOCK_STATUS_AWAY "pidgin-status-away"
9a0b1403e7f2 Faded idle status icons
Sean Egan <seanegan@pidgin.im>
parents: 15519
diff changeset
75 #define PIDGIN_STOCK_STATUS_AWAY_I "pidgin-status-away-i"
9a0b1403e7f2 Faded idle status icons
Sean Egan <seanegan@pidgin.im>
parents: 15519
diff changeset
76 #define PIDGIN_STOCK_STATUS_BUSY "pidgin-status-busy"
9a0b1403e7f2 Faded idle status icons
Sean Egan <seanegan@pidgin.im>
parents: 15519
diff changeset
77 #define PIDGIN_STOCK_STATUS_BUSY_I "pidgin-status-busy-i"
9a0b1403e7f2 Faded idle status icons
Sean Egan <seanegan@pidgin.im>
parents: 15519
diff changeset
78 #define PIDGIN_STOCK_STATUS_CHAT "pidgin-status-chat"
16298
61c9650d1ed1 more icon updates
Sean Egan <seanegan@pidgin.im>
parents: 16254
diff changeset
79 #define PIDGIN_STOCK_STATUS_INVISIBLE "pidgin-status-invisible"
15554
9a0b1403e7f2 Faded idle status icons
Sean Egan <seanegan@pidgin.im>
parents: 15519
diff changeset
80 #define PIDGIN_STOCK_STATUS_XA "pidgin-status-xa"
9a0b1403e7f2 Faded idle status icons
Sean Egan <seanegan@pidgin.im>
parents: 15519
diff changeset
81 #define PIDGIN_STOCK_STATUS_XA_I "pidgin-status-xa-i"
9a0b1403e7f2 Faded idle status icons
Sean Egan <seanegan@pidgin.im>
parents: 15519
diff changeset
82 #define PIDGIN_STOCK_STATUS_LOGIN "pidgin-status-login"
9a0b1403e7f2 Faded idle status icons
Sean Egan <seanegan@pidgin.im>
parents: 15519
diff changeset
83 #define PIDGIN_STOCK_STATUS_LOGOUT "pidgin-status-logout"
9a0b1403e7f2 Faded idle status icons
Sean Egan <seanegan@pidgin.im>
parents: 15519
diff changeset
84 #define PIDGIN_STOCK_STATUS_OFFLINE "pidgin-status-offline"
17412
331b8cc4415a Fixes #464
Sean Egan <seanegan@pidgin.im>
parents: 17303
diff changeset
85 #define PIDGIN_STOCK_STATUS_OFFLINE_I "pidgin-status-offline"
15554
9a0b1403e7f2 Faded idle status icons
Sean Egan <seanegan@pidgin.im>
parents: 15519
diff changeset
86 #define PIDGIN_STOCK_STATUS_PERSON "pidgin-status-person"
15760
209681319cac docklet pending status
Sean Egan <seanegan@pidgin.im>
parents: 15739
diff changeset
87 #define PIDGIN_STOCK_STATUS_MESSAGE "pidgin-status-message"
209681319cac docklet pending status
Sean Egan <seanegan@pidgin.im>
parents: 15739
diff changeset
88
209681319cac docklet pending status
Sean Egan <seanegan@pidgin.im>
parents: 15739
diff changeset
89 /* Chat room emblems */
209681319cac docklet pending status
Sean Egan <seanegan@pidgin.im>
parents: 15739
diff changeset
90 #define PIDGIN_STOCK_STATUS_IGNORED "pidgin-status-ignored"
209681319cac docklet pending status
Sean Egan <seanegan@pidgin.im>
parents: 15739
diff changeset
91 #define PIDGIN_STOCK_STATUS_FOUNDER "pidgin-status-founder"
15554
9a0b1403e7f2 Faded idle status icons
Sean Egan <seanegan@pidgin.im>
parents: 15519
diff changeset
92 #define PIDGIN_STOCK_STATUS_OPERATOR "pidgin-status-operator"
9a0b1403e7f2 Faded idle status icons
Sean Egan <seanegan@pidgin.im>
parents: 15519
diff changeset
93 #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
94 #define PIDGIN_STOCK_STATUS_VOICE "pidgin-status-voice"
15497
92f02f4bd5ee Dialog icon changes
Sean Egan <seanegan@pidgin.im>
parents: 15458
diff changeset
95
15623
bf485c598199 toolbar/menu icons. reduce the imhtmltoolbar spacing. more gaimstock pruning
Sean Egan <seanegan@pidgin.im>
parents: 15577
diff changeset
96 /* Toolbar (and menu) icons */
bf485c598199 toolbar/menu icons. reduce the imhtmltoolbar spacing. more gaimstock pruning
Sean Egan <seanegan@pidgin.im>
parents: 15577
diff changeset
97 #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
98 #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
99 #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
100 #define PIDGIN_STOCK_TOOLBAR_FGCOLOR "pidgin-fgcolor"
16454
c913ac4ef44c Add Hylke's font face icon
Sean Egan <seanegan@pidgin.im>
parents: 16386
diff changeset
101 #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
102 #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
103 #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
104 #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
105 #define PIDGIN_STOCK_TOOLBAR_INSERT_IMAGE "pidgin-insert-image"
35935
98e92d543d73 Initial implementation fot the screencap plugin
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35511
diff changeset
106 #define PIDGIN_STOCK_TOOLBAR_INSERT_SCREENSHOT "pidgin-insert-screenshot"
15623
bf485c598199 toolbar/menu icons. reduce the imhtmltoolbar spacing. more gaimstock pruning
Sean Egan <seanegan@pidgin.im>
parents: 15577
diff changeset
107 #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
108 #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
109 #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
110 #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
111 #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
112 #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
113 #define PIDGIN_STOCK_TOOLBAR_UNBLOCK "pidgin-unblock"
16386
416b510e691e New select-avatar image from hbons
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 16304
diff changeset
114 #define PIDGIN_STOCK_TOOLBAR_SELECT_AVATAR "pidgin-select-avatar"
16881
e6bca9e3d85c New Send File icon
Hylke Bons <hbons@pidgin.im>
parents: 16808
diff changeset
115 #define PIDGIN_STOCK_TOOLBAR_SEND_FILE "pidgin-send-file"
23423
05e6ffac284c Update File Transfer icon and use new send fie icon. Fixes #2744.
Daniel Atallah <datallah@pidgin.im>
parents: 22411
diff changeset
116 #define PIDGIN_STOCK_TOOLBAR_TRANSFER "pidgin-transfer"
23704
9b88c9b23aed Use USE_VV instead of USE_FARSIGHT.
Michael Ruprecht <maiku@pidgin.im>
parents: 22679
diff changeset
117 #ifdef USE_VV
23712
a775dab7e038 Create a proper media menu with options for audio, video, and
Michael Ruprecht <maiku@pidgin.im>
parents: 23704
diff changeset
118 #define PIDGIN_STOCK_TOOLBAR_AUDIO_CALL "pidgin-audio-call"
a775dab7e038 Create a proper media menu with options for audio, video, and
Michael Ruprecht <maiku@pidgin.im>
parents: 23704
diff changeset
119 #define PIDGIN_STOCK_TOOLBAR_VIDEO_CALL "pidgin-video-call"
a775dab7e038 Create a proper media menu with options for audio, video, and
Michael Ruprecht <maiku@pidgin.im>
parents: 23704
diff changeset
120 #define PIDGIN_STOCK_TOOLBAR_AUDIO_VIDEO_CALL "pidgin-audio-video-call"
22648
e286d795c5f9 Patch from Marcus Lundblad ('mlundblad') to improve audio support in xmpp.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 20147
diff changeset
121 #endif
24457
adbbdb0532b0 Adds attention UI to Pidgin (can send attentions using a menu item)
Marcus Lundblad <malu@pidgin.im>
parents: 24147
diff changeset
122 #define PIDGIN_STOCK_TOOLBAR_SEND_ATTENTION "pidgin-send-attention"
15731
3819e5d5eeae docklet update
Sean Egan <seanegan@pidgin.im>
parents: 15730
diff changeset
123
3819e5d5eeae docklet update
Sean Egan <seanegan@pidgin.im>
parents: 15730
diff changeset
124 /* Tray icons */
29705
3ccbf39a7f8e Revert some changes to pidginstock.[ch] that are no longer necessary now
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 29653
diff changeset
125 #define PIDGIN_STOCK_TRAY_AVAILABLE "pidgin-tray-available"
16808
c0736ad72fd6 And make them used
Sean Egan <seanegan@pidgin.im>
parents: 16454
diff changeset
126 #define PIDGIN_STOCK_TRAY_INVISIBLE "pidgin-tray-invisible"
15731
3819e5d5eeae docklet update
Sean Egan <seanegan@pidgin.im>
parents: 15730
diff changeset
127 #define PIDGIN_STOCK_TRAY_AWAY "pidgin-tray-away"
3819e5d5eeae docklet update
Sean Egan <seanegan@pidgin.im>
parents: 15730
diff changeset
128 #define PIDGIN_STOCK_TRAY_BUSY "pidgin-tray-busy"
3819e5d5eeae docklet update
Sean Egan <seanegan@pidgin.im>
parents: 15730
diff changeset
129 #define PIDGIN_STOCK_TRAY_XA "pidgin-tray-xa"
3819e5d5eeae docklet update
Sean Egan <seanegan@pidgin.im>
parents: 15730
diff changeset
130 #define PIDGIN_STOCK_TRAY_OFFLINE "pidgin-tray-offline"
3819e5d5eeae docklet update
Sean Egan <seanegan@pidgin.im>
parents: 15730
diff changeset
131 #define PIDGIN_STOCK_TRAY_CONNECT "pidgin-tray-connect"
3819e5d5eeae docklet update
Sean Egan <seanegan@pidgin.im>
parents: 15730
diff changeset
132 #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
133 #define PIDGIN_STOCK_TRAY_EMAIL "pidgin-tray-email"
15731
3819e5d5eeae docklet update
Sean Egan <seanegan@pidgin.im>
parents: 15730
diff changeset
134
39497
887deae02283 Add a simple toggle to disable the use of PIDGIN_STOCK on a per file basis
Gary Kramlich <grim@reaperworld.com>
parents: 39147
diff changeset
135 #endif /* PIDGIN_STOCK_DISABLE */
15731
3819e5d5eeae docklet update
Sean Egan <seanegan@pidgin.im>
parents: 15730
diff changeset
136
35417
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
137 /*
10297
b36800725b7a [gaim-migrate @ 11480]
Evan Schoenberg <evands@pidgin.im>
parents:
diff changeset
138 * For using icons that aren't one of the default GTK_ICON_SIZEs
b36800725b7a [gaim-migrate @ 11480]
Evan Schoenberg <evands@pidgin.im>
parents:
diff changeset
139 */
19646
2c878a0fc2ed pidginstock.c
Sean Egan <seanegan@pidgin.im>
parents: 18321
diff changeset
140 #define PIDGIN_ICON_SIZE_TANGO_MICROSCOPIC "pidgin-icon-size-tango-microscopic"
15497
92f02f4bd5ee Dialog icon changes
Sean Egan <seanegan@pidgin.im>
parents: 15458
diff changeset
141 #define PIDGIN_ICON_SIZE_TANGO_EXTRA_SMALL "pidgin-icon-size-tango-extra-small"
92f02f4bd5ee Dialog icon changes
Sean Egan <seanegan@pidgin.im>
parents: 15458
diff changeset
142 #define PIDGIN_ICON_SIZE_TANGO_SMALL "pidgin-icon-size-tango-small"
92f02f4bd5ee Dialog icon changes
Sean Egan <seanegan@pidgin.im>
parents: 15458
diff changeset
143 #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
144 #define PIDGIN_ICON_SIZE_TANGO_LARGE "pidgin-icon-size-tango-large"
15497
92f02f4bd5ee Dialog icon changes
Sean Egan <seanegan@pidgin.im>
parents: 15458
diff changeset
145 #define PIDGIN_ICON_SIZE_TANGO_HUGE "pidgin-icon-size-tango-huge"
23964
342e3f5bedd9 partially working status icon theme stuff
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 23423
diff changeset
146
26813
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
147 typedef struct _PidginStockIconTheme PidginStockIconTheme;
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
148 typedef struct _PidginStockIconThemeClass PidginStockIconThemeClass;
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
149
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
150 #define PIDGIN_TYPE_STOCK_ICON_THEME (pidgin_stock_icon_theme_get_type ())
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
151 #define PIDGIN_STOCK_ICON_THEME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PIDGIN_TYPE_STOCK_ICON_THEME, PidginStockIconTheme))
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
152 #define PIDGIN_STOCK_ICON_THEME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PIDGIN_TYPE_STOCK_ICON_THEME, PidginStockIconThemeClass))
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
153 #define PIDGIN_IS_STOCK_ICON_THEME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PIDGIN_TYPE_STOCK_ICON_THEME))
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
154 #define PIDGIN_IS_STOCK_ICON_THEME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PIDGIN_TYPE_STOCK_ICON_THEME))
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
155 #define PIDGIN_STOCK_ICON_THEME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PIDGIN_TYPE_STOCK_ICON_THEME, PidginStockIconThemeClass))
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
156
35417
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
157 /**
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
158 * PidginStockIconTheme:
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
159 *
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
160 * extends PidginIconTheme (gtkicon-theme.h)
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
161 * A pidgin stock icon theme.
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
162 * This object represents a Pidgin stock icon theme.
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
163 *
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
164 * PidginStockIconTheme is a PidginIconTheme Object.
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
165 */
26813
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
166 struct _PidginStockIconTheme
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
167 {
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
168 PidginIconTheme parent;
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
169 };
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
170
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
171 struct _PidginStockIconThemeClass
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
172 {
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
173 PidginIconThemeClass parent_class;
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
174 };
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
175
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
176 G_BEGIN_DECLS
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
177
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
178 /**
35417
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
179 * pidgin_stock_icon_theme_get_type:
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
180 *
35474
ff5eccb9f797 Remove @internal
Ankit Vani <a@nevitus.org>
parents: 35472
diff changeset
181 * Returns: The #GType for a stock icon theme.
26813
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
182 */
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
183 GType pidgin_stock_icon_theme_get_type(void);
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
184
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
185 /**
35417
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
186 * pidgin_stock_load_status_icon_theme:
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
187 * @theme: the theme to load, or null to load all the default icons
25888
d0fdd378a635 Remove trailing whitespace
Mark Doliner <markdoliner@pidgin.im>
parents: 24970
diff changeset
188 *
35417
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
189 * Loades all of the icons from the status icon theme into Pidgin stock
23964
342e3f5bedd9 partially working status icon theme stuff
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 23423
diff changeset
190 */
23967
cc5667bc8f1e Clean up status icon themes a bit
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 23964
diff changeset
191 void pidgin_stock_load_status_icon_theme(PidginStatusIconTheme *theme);
23964
342e3f5bedd9 partially working status icon theme stuff
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents: 23423
diff changeset
192
26813
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
193
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
194 void pidgin_stock_load_stock_icon_theme(PidginStockIconTheme *theme);
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
195
10297
b36800725b7a [gaim-migrate @ 11480]
Evan Schoenberg <evands@pidgin.im>
parents:
diff changeset
196 /**
35417
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
197 * pidgin_stock_init:
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
198 *
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15883
diff changeset
199 * Sets up the purple stock repository.
10297
b36800725b7a [gaim-migrate @ 11480]
Evan Schoenberg <evands@pidgin.im>
parents:
diff changeset
200 */
15562
8c8249fe5e3c gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents: 15559
diff changeset
201 void pidgin_stock_init(void);
10297
b36800725b7a [gaim-migrate @ 11480]
Evan Schoenberg <evands@pidgin.im>
parents:
diff changeset
202
26813
c1a058a2466e Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 26727
diff changeset
203 G_END_DECLS
35417
4e34bb5d3681 Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
204
15570
81e9b7d13875 stock to pidgin
Sean Egan <seanegan@pidgin.im>
parents: 15562
diff changeset
205 #endif /* _PIDGIN_STOCK_H_ */

mercurial