Sat, 02 Jan 2021 22:05:09 -0600
Remove the buddy pounces api
This feature has more or less been stalkerware since its inception and the
only useful feature that came of it was offline message emulation which isn't
necessary for most networks nowadays.
Testing Done:
Compiled and ran locally.
Reviewed at https://reviews.imfreedom.org/r/322/
|
20147
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19859
diff
changeset
|
1 | /* pidgin |
| 10297 | 2 | * |
| 15572 | 3 | * Pidgin is the legal property of its developers, whose names are too numerous |
| 10297 | 4 | * to list here. Please refer to the COPYRIGHT file distributed with this |
| 5 | * source distribution. | |
|
25888
d0fdd378a635
Remove trailing whitespace
Mark Doliner <markdoliner@pidgin.im>
parents:
24970
diff
changeset
|
6 | * |
| 10297 | 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by | |
| 9 | * the Free Software Foundation; either version 2 of the License, or | |
| 10 | * (at your option) any later version. | |
| 11 | * | |
| 12 | * This program is distributed in the hope that it will be useful, | |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | * GNU General Public License for more details. | |
| 16 | * | |
| 17 | * You should have received a copy of the GNU General Public License | |
| 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 | 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 | 38 | /**************************************************************************/ |
| 35472 | 39 | /* Stock images */ |
| 10297 | 40 | /**************************************************************************/ |
| 35486 | 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 | 44 | #define PIDGIN_STOCK_ACTION "pidgin-action" |
| 45 | #define PIDGIN_STOCK_ALIAS "pidgin-alias" | |
| 46 | #define PIDGIN_STOCK_AWAY "pidgin-away" | |
| 47 | #define PIDGIN_STOCK_CHAT "pidgin-chat" | |
| 48 | #define PIDGIN_STOCK_CLEAR "pidgin-clear" | |
| 49 | #define PIDGIN_STOCK_CLOSE_TABS "pidgin-close-tab" | |
| 50 | #define PIDGIN_STOCK_DEBUG "pidgin-debug" | |
| 51 | #define PIDGIN_STOCK_DISCONNECT "pidgin-disconnect" | |
| 52 | #define PIDGIN_STOCK_DOWNLOAD "pidgin-download" | |
| 53 | #define PIDGIN_STOCK_EDIT "pidgin-edit" | |
| 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 | 56 | #define PIDGIN_STOCK_FILE_DONE "pidgin-file-done" |
| 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 | 59 | #define PIDGIN_STOCK_INVITE "pidgin-invite" |
| 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 | 62 | #define PIDGIN_STOCK_OPEN_MAIL "pidgin-stock-open-mail" |
| 63 | #define PIDGIN_STOCK_PAUSE "pidgin-pause" | |
| 64 | #define PIDGIN_STOCK_SIGN_OFF "pidgin-sign-off" | |
| 65 | #define PIDGIN_STOCK_SIGN_ON "pidgin-sign-on" | |
| 66 | #define PIDGIN_STOCK_TEXT_NORMAL "pidgin-text-normal" | |
| 67 | #define PIDGIN_STOCK_TYPED "pidgin-typed" | |
| 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 | 71 | /* Status icons */ |
| 15554 | 72 | #define PIDGIN_STOCK_STATUS_AVAILABLE "pidgin-status-available" |
| 73 | #define PIDGIN_STOCK_STATUS_AVAILABLE_I "pidgin-status-available-i" | |
| 74 | #define PIDGIN_STOCK_STATUS_AWAY "pidgin-status-away" | |
| 75 | #define PIDGIN_STOCK_STATUS_AWAY_I "pidgin-status-away-i" | |
| 76 | #define PIDGIN_STOCK_STATUS_BUSY "pidgin-status-busy" | |
| 77 | #define PIDGIN_STOCK_STATUS_BUSY_I "pidgin-status-busy-i" | |
| 78 | #define PIDGIN_STOCK_STATUS_CHAT "pidgin-status-chat" | |
| 16298 | 79 | #define PIDGIN_STOCK_STATUS_INVISIBLE "pidgin-status-invisible" |
| 15554 | 80 | #define PIDGIN_STOCK_STATUS_XA "pidgin-status-xa" |
| 81 | #define PIDGIN_STOCK_STATUS_XA_I "pidgin-status-xa-i" | |
| 82 | #define PIDGIN_STOCK_STATUS_LOGIN "pidgin-status-login" | |
| 83 | #define PIDGIN_STOCK_STATUS_LOGOUT "pidgin-status-logout" | |
| 84 | #define PIDGIN_STOCK_STATUS_OFFLINE "pidgin-status-offline" | |
| 17412 | 85 | #define PIDGIN_STOCK_STATUS_OFFLINE_I "pidgin-status-offline" |
| 15554 | 86 | #define PIDGIN_STOCK_STATUS_PERSON "pidgin-status-person" |
| 15760 | 87 | #define PIDGIN_STOCK_STATUS_MESSAGE "pidgin-status-message" |
| 88 | ||
| 89 | /* Chat room emblems */ | |
| 90 | #define PIDGIN_STOCK_STATUS_IGNORED "pidgin-status-ignored" | |
| 91 | #define PIDGIN_STOCK_STATUS_FOUNDER "pidgin-status-founder" | |
| 15554 | 92 | #define PIDGIN_STOCK_STATUS_OPERATOR "pidgin-status-operator" |
| 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 | 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" |
|
bf485c598199
toolbar/menu icons. reduce the imhtmltoolbar spacing. more gaimstock pruning
Sean Egan <seanegan@pidgin.im>
parents:
15577
diff
changeset
|
101 | #define PIDGIN_STOCK_TOOLBAR_SMILEY "pidgin-smiley" |
|
16454
c913ac4ef44c
Add Hylke's font face icon
Sean Egan <seanegan@pidgin.im>
parents:
16386
diff
changeset
|
102 | #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
|
103 | #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
|
104 | #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
|
105 | #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
|
106 | #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
|
107 | #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
|
108 | #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
|
109 | #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
|
110 | #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
|
111 | #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
|
112 | #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
|
113 | #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
|
114 | #define PIDGIN_STOCK_TOOLBAR_UNBLOCK "pidgin-unblock" |
|
16386
416b510e691e
New select-avatar image from hbons
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16304
diff
changeset
|
115 | #define PIDGIN_STOCK_TOOLBAR_SELECT_AVATAR "pidgin-select-avatar" |
| 16881 | 116 | #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
|
117 | #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
|
118 | #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
|
119 | #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
|
120 | #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
|
121 | #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
|
122 | #endif |
|
24457
adbbdb0532b0
Adds attention UI to Pidgin (can send attentions using a menu item)
Marcus Lundblad <malu@pidgin.im>
parents:
24147
diff
changeset
|
123 | #define PIDGIN_STOCK_TOOLBAR_SEND_ATTENTION "pidgin-send-attention" |
| 15731 | 124 | |
| 125 | /* 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
|
126 | #define PIDGIN_STOCK_TRAY_AVAILABLE "pidgin-tray-available" |
| 16808 | 127 | #define PIDGIN_STOCK_TRAY_INVISIBLE "pidgin-tray-invisible" |
| 15731 | 128 | #define PIDGIN_STOCK_TRAY_AWAY "pidgin-tray-away" |
| 129 | #define PIDGIN_STOCK_TRAY_BUSY "pidgin-tray-busy" | |
| 130 | #define PIDGIN_STOCK_TRAY_XA "pidgin-tray-xa" | |
| 131 | #define PIDGIN_STOCK_TRAY_OFFLINE "pidgin-tray-offline" | |
| 132 | #define PIDGIN_STOCK_TRAY_CONNECT "pidgin-tray-connect" | |
| 133 | #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
|
134 | #define PIDGIN_STOCK_TRAY_EMAIL "pidgin-tray-email" |
| 15731 | 135 | |
|
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
|
136 | #endif /* PIDGIN_STOCK_DISABLE */ |
| 15731 | 137 | |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
138 | /* |
| 10297 | 139 | * For using icons that aren't one of the default GTK_ICON_SIZEs |
| 140 | */ | |
| 19646 | 141 | #define PIDGIN_ICON_SIZE_TANGO_MICROSCOPIC "pidgin-icon-size-tango-microscopic" |
| 15497 | 142 | #define PIDGIN_ICON_SIZE_TANGO_EXTRA_SMALL "pidgin-icon-size-tango-extra-small" |
| 143 | #define PIDGIN_ICON_SIZE_TANGO_SMALL "pidgin-icon-size-tango-small" | |
| 144 | #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
|
145 | #define PIDGIN_ICON_SIZE_TANGO_LARGE "pidgin-icon-size-tango-large" |
| 15497 | 146 | #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
|
147 | |
|
26813
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 _PidginStockIconTheme PidginStockIconTheme; |
|
c1a058a2466e
Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26727
diff
changeset
|
149 | 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
|
150 | |
|
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_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
|
152 | #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
|
153 | #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
|
154 | #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
|
155 | #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
|
156 | #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
|
157 | |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
158 | /** |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
159 | * PidginStockIconTheme: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
160 | * |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
161 | * 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
|
162 | * 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 | * 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
|
164 | * |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
165 | * 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
|
166 | */ |
|
26813
c1a058a2466e
Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26727
diff
changeset
|
167 | struct _PidginStockIconTheme |
|
c1a058a2466e
Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26727
diff
changeset
|
168 | { |
|
c1a058a2466e
Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26727
diff
changeset
|
169 | PidginIconTheme parent; |
|
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 | |
|
c1a058a2466e
Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26727
diff
changeset
|
172 | struct _PidginStockIconThemeClass |
|
c1a058a2466e
Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26727
diff
changeset
|
173 | { |
|
c1a058a2466e
Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26727
diff
changeset
|
174 | 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
|
175 | }; |
|
c1a058a2466e
Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26727
diff
changeset
|
176 | |
|
c1a058a2466e
Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26727
diff
changeset
|
177 | 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
|
178 | |
|
c1a058a2466e
Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26727
diff
changeset
|
179 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
180 | * 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
|
181 | * |
| 35474 | 182 | * 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
|
183 | */ |
|
c1a058a2466e
Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26727
diff
changeset
|
184 | 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
|
185 | |
|
c1a058a2466e
Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26727
diff
changeset
|
186 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
187 | * 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
|
188 | * @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
|
189 | * |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
190 | * 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
|
191 | */ |
|
23967
cc5667bc8f1e
Clean up status icon themes a bit
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23964
diff
changeset
|
192 | 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
|
193 | |
|
26813
c1a058a2466e
Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26727
diff
changeset
|
194 | |
|
c1a058a2466e
Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26727
diff
changeset
|
195 | 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
|
196 | |
| 10297 | 197 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
198 | * 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
|
199 | * |
| 15884 | 200 | * Sets up the purple stock repository. |
| 10297 | 201 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15559
diff
changeset
|
202 | void pidgin_stock_init(void); |
| 10297 | 203 | |
|
26813
c1a058a2466e
Make it possible to load non-status icons using a PidginStockIconTheme.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
26727
diff
changeset
|
204 | 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
|
205 | |
| 15570 | 206 | #endif /* _PIDGIN_STOCK_H_ */ |