Mercurial > pidgin
annotate src/gtkstock.h @ 11686:0914f135760a
[gaim-migrate @ 13972]
This fixes the dancing conversation dialog when the typing icon
appears and disappears with a relatively small system font.
Additionally, it does less widget creation and destruction by creating
a persistent GtkImage widget in the menubar which is merely painted
with the appropriate stock icon.
The most straightforward way I saw to solve this was add a "blank"
menu icon to the stock icon system.
committer: Tailor Script <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Mon, 17 Oct 2005 20:48:46 +0000 |
parents | b33eccbc3a10 |
children | c9188d3eb9d3 |
rev | line source |
---|---|
10297 | 1 /** |
2 * @file gtkstock.h GTK+ Stock resources | |
3 * @ingroup gtkui | |
4 * | |
5 * gaim | |
6 * | |
7 * Gaim is the legal property of its developers, whose names are too numerous | |
8 * to list here. Please refer to the COPYRIGHT file distributed with this | |
9 * source distribution. | |
10 * | |
11 * This program is free software; you can redistribute it and/or modify | |
12 * it under the terms of the GNU General Public License as published by | |
13 * the Free Software Foundation; either version 2 of the License, or | |
14 * (at your option) any later version. | |
15 * | |
16 * This program is distributed in the hope that it will be useful, | |
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 * GNU General Public License for more details. | |
20 * | |
21 * You should have received a copy of the GNU General Public License | |
22 * along with this program; if not, write to the Free Software | |
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
24 */ | |
25 #ifndef _GAIM_STOCK_H_ | |
26 #define _GAIM_STOCK_H_ | |
27 | |
28 /**************************************************************************/ | |
29 /** @name Stock images */ | |
30 /**************************************************************************/ | |
31 /*@{*/ | |
32 #define GAIM_STOCK_ABOUT "gaim-about" | |
33 #define GAIM_STOCK_ACCOUNTS "gaim-accounts" | |
34 #define GAIM_STOCK_ALIAS "gaim-alias" | |
35 #define GAIM_STOCK_AWAY "gaim-away" | |
36 #define GAIM_STOCK_BGCOLOR "gaim-bgcolor" | |
37 #define GAIM_STOCK_BLOCK "gaim-block" | |
38 #define GAIM_STOCK_CHAT "gaim-chat" | |
11271
b33eccbc3a10
[gaim-migrate @ 13454]
Richard Laager <rlaager@wiktel.com>
parents:
10643
diff
changeset
|
39 #define GAIM_STOCK_CLEAR "gaim-clear" |
10297 | 40 #define GAIM_STOCK_DIALOG_AUTH "gaim-dialog-auth" |
41 #define GAIM_STOCK_DIALOG_COOL "gaim-dialog-cool" | |
42 #define GAIM_STOCK_DIALOG_ERROR "gaim-dialog-error" | |
43 #define GAIM_STOCK_DIALOG_INFO "gaim-dialog-info" | |
44 #define GAIM_STOCK_DIALOG_QUESTION "gaim-dialog-question" | |
45 #define GAIM_STOCK_DIALOG_WARNING "gaim-dialog-warning" | |
46 #define GAIM_STOCK_DOWNLOAD "gaim-download" | |
47 #define GAIM_STOCK_EDIT "gaim-edit" | |
48 #define GAIM_STOCK_FGCOLOR "gaim-fgcolor" | |
49 #define GAIM_STOCK_FILE_CANCELED "gaim-file-canceled" | |
50 #define GAIM_STOCK_FILE_DONE "gaim-file-done" | |
51 #define GAIM_STOCK_FILE_TRANSFER "gaim-file-transfer" | |
52 #define GAIM_STOCK_ICON_AWAY "gaim-icon-away" | |
53 #define GAIM_STOCK_ICON_AWAY_MSG "gaim-icon-away-msg" | |
54 #define GAIM_STOCK_ICON_CONNECT "gaim-icon-away-connect" | |
55 #define GAIM_STOCK_ICON_OFFLINE "gaim-icon-offline" | |
56 #define GAIM_STOCK_ICON_ONLINE "gaim-icon-online" | |
57 #define GAIM_STOCK_ICON_ONLINE_MSG "gaim-icon-online-msg" | |
58 #define GAIM_STOCK_IGNORE "gaim-ignore" | |
59 #define GAIM_STOCK_IM "gaim-im" | |
60 #define GAIM_STOCK_IMAGE "gaim-image" | |
61 #define GAIM_STOCK_INFO "gaim-info" | |
62 #define GAIM_STOCK_INVITE "gaim-invite" | |
63 #define GAIM_STOCK_LINK "gaim-link" | |
64 #define GAIM_STOCK_LOGO "gaim-logo" | |
11686 | 65 #define GAIM_STOCK_MENU_ICON_BLANK "gaim-menu-icon-blank" |
10297 | 66 #define GAIM_STOCK_MODIFY "gaim-modify" |
67 #define GAIM_STOCK_OPEN_MAIL "gaim-stock-open-mail" | |
68 #define GAIM_STOCK_PAUSE "gaim-pause" | |
69 #define GAIM_STOCK_SEND "gaim-send" | |
70 #define GAIM_STOCK_SIGN_OFF "gaim-sign-off" | |
71 #define GAIM_STOCK_SIGN_ON "gaim-sign-on" | |
72 #define GAIM_STOCK_SMILEY "gaim-smiley" | |
10643 | 73 #define GAIM_STOCK_STATUS_ONLINE "gaim-status-online" |
74 #define GAIM_STOCK_STATUS_AWAY "gaim-status-away" | |
75 #define GAIM_STOCK_STATUS_INVISIBLE "gaim-status-invisible" | |
76 #define GAIM_STOCK_STATUS_OFFLINE "gaim-status-offline" | |
77 #define GAIM_STOCK_STATUS_TYPING0 "gaim-status-typing0" | |
78 #define GAIM_STOCK_STATUS_TYPING1 "gaim-status-typing1" | |
79 #define GAIM_STOCK_STATUS_TYPING2 "gaim-status-typing2" | |
80 #define GAIM_STOCK_STATUS_TYPING3 "gaim-status-typing3" | |
81 #define GAIM_STOCK_STATUS_CONNECT0 "gaim-status-connect0" | |
82 #define GAIM_STOCK_STATUS_CONNECT1 "gaim-status-connect1" | |
83 #define GAIM_STOCK_STATUS_CONNECT2 "gaim-status-connect2" | |
84 #define GAIM_STOCK_STATUS_CONNECT3 "gaim-status-connect3" | |
10297 | 85 #define GAIM_STOCK_TEXT_BIGGER "gaim-text-bigger" |
86 #define GAIM_STOCK_TEXT_NORMAL "gaim-text-normal" | |
87 #define GAIM_STOCK_TEXT_SMALLER "gaim-text-smaller" | |
88 #define GAIM_STOCK_TYPED "gaim-typed" | |
89 #define GAIM_STOCK_TYPING "gaim-typing" | |
90 #define GAIM_STOCK_UPLOAD "gaim-upload" | |
91 #define GAIM_STOCK_WARN "gaim-warn" | |
92 /*@}*/ | |
93 | |
94 /** | |
95 * For using icons that aren't one of the default GTK_ICON_SIZEs | |
96 */ | |
97 #define GAIM_ICON_SIZE_DIALOG_COOL "gaim-icon-size-dialog-cool" | |
98 #define GAIM_ICON_SIZE_LOGO "gaim-icon-size-logo" | |
10643 | 99 #define GAIM_ICON_SIZE_STATUS "gaim-icon-size-status" |
10297 | 100 |
101 /** | |
102 * Sets up the gaim stock repository. | |
103 */ | |
104 void gaim_gtk_stock_init(void); | |
105 | |
106 #endif /* _GAIM_STOCK_H_ */ |