comparison pidgin/gaimstock.c @ 15509:23ca11f8a8c4

stock to pidgin
author Sean Egan <seanegan@gmail.com>
date Sat, 03 Feb 2007 08:56:16 +0000
parents d75099d2567e
children 535f002e7b0f
comparison
equal deleted inserted replaced
15508:94031a2b0aaa 15509:23ca11f8a8c4
34 const char *dir; 34 const char *dir;
35 const char *filename; 35 const char *filename;
36 36
37 } const stock_icons[] = 37 } const stock_icons[] =
38 { 38 {
39 { GAIM_STOCK_ABOUT, "buttons", "about_menu.png" }, 39 { PIDGIN_STOCK_ABOUT, "buttons", "about_menu.png" },
40 { GAIM_STOCK_ACCOUNTS, "buttons", "accounts.png" }, 40 { PIDGIN_STOCK_ACCOUNTS, "buttons", "accounts.png" },
41 { GAIM_STOCK_ACTION, NULL, GTK_STOCK_EXECUTE }, 41 { PIDGIN_STOCK_ACTION, NULL, GTK_STOCK_EXECUTE },
42 #if GTK_CHECK_VERSION(2,6,0) 42 #if GTK_CHECK_VERSION(2,6,0)
43 { GAIM_STOCK_ALIAS, NULL, GTK_STOCK_EDIT }, 43 { PIDGIN_STOCK_ALIAS, NULL, GTK_STOCK_EDIT },
44 #else 44 #else
45 { GAIM_STOCK_ALIAS, "buttons", "edit.png" }, 45 { PIDGIN_STOCK_ALIAS, "buttons", "edit.png" },
46 #endif 46 #endif
47 { GAIM_STOCK_BGCOLOR, "buttons", "change-bgcolor-small.png" }, 47 { PIDGIN_STOCK_BGCOLOR, "buttons", "change-bgcolor-small.png" },
48 { GAIM_STOCK_BLOCK, NULL, GTK_STOCK_STOP }, 48 { PIDGIN_STOCK_BLOCK, NULL, GTK_STOCK_STOP },
49 { GAIM_STOCK_UNBLOCK, NULL, GTK_STOCK_STOP /* XXX: */ }, 49 { PIDGIN_STOCK_UNBLOCK, NULL, GTK_STOCK_STOP /* XXX: */ },
50 { GAIM_STOCK_CHAT, NULL, GTK_STOCK_JUMP_TO }, 50 { PIDGIN_STOCK_CHAT, NULL, GTK_STOCK_JUMP_TO },
51 { GAIM_STOCK_CLEAR, NULL, GTK_STOCK_CLEAR }, 51 { PIDGIN_STOCK_CLEAR, NULL, GTK_STOCK_CLEAR },
52 { GAIM_STOCK_CLOSE_TABS, NULL, GTK_STOCK_CLOSE }, 52 { PIDGIN_STOCK_CLOSE_TABS, NULL, GTK_STOCK_CLOSE },
53 #if GTK_CHECK_VERSION(2,6,0) 53 #if GTK_CHECK_VERSION(2,6,0)
54 { GAIM_STOCK_CONNECT, NULL, GTK_STOCK_CONNECT }, 54 { PIDGIN_STOCK_CONNECT, NULL, GTK_STOCK_CONNECT },
55 #else 55 #else
56 { GAIM_STOCK_CONNECT, "icons", "stock_connect_16.png" }, 56 { PIDGIN_STOCK_CONNECT, "icons", "stock_connect_16.png" },
57 #endif 57 #endif
58 { GAIM_STOCK_DEBUG, NULL, GTK_STOCK_PROPERTIES }, 58 { PIDGIN_STOCK_DEBUG, NULL, GTK_STOCK_PROPERTIES },
59 { GAIM_STOCK_DOWNLOAD, NULL, GTK_STOCK_GO_DOWN }, 59 { PIDGIN_STOCK_DOWNLOAD, NULL, GTK_STOCK_GO_DOWN },
60 #if GTK_CHECK_VERSION(2,6,0) 60 #if GTK_CHECK_VERSION(2,6,0)
61 { GAIM_STOCK_DISCONNECT, NULL, GTK_STOCK_DISCONNECT }, 61 { PIDGIN_STOCK_DISCONNECT, NULL, GTK_STOCK_DISCONNECT },
62 #else 62 #else
63 { GAIM_STOCK_DISCONNECT, "icons", "stock_disconnect_16.png" }, 63 { PIDGIN_STOCK_DISCONNECT, "icons", "stock_disconnect_16.png" },
64 #endif 64 #endif
65 { GAIM_STOCK_FGCOLOR, "buttons", "change-fgcolor-small.png" }, 65 { PIDGIN_STOCK_FGCOLOR, "buttons", "change-fgcolor-small.png" },
66 #if GTK_CHECK_VERSION(2,6,0) 66 #if GTK_CHECK_VERSION(2,6,0)
67 { GAIM_STOCK_EDIT, NULL, GTK_STOCK_EDIT }, 67 { PIDGIN_STOCK_EDIT, NULL, GTK_STOCK_EDIT },
68 #else 68 #else
69 { GAIM_STOCK_EDIT, "buttons", "edit.png" }, 69 { PIDGIN_STOCK_EDIT, "buttons", "edit.png" },
70 #endif 70 #endif
71 { GAIM_STOCK_FILE_CANCELED, NULL, GTK_STOCK_CANCEL }, 71 { PIDGIN_STOCK_FILE_CANCELED, NULL, GTK_STOCK_CANCEL },
72 { GAIM_STOCK_FILE_DONE, NULL, GTK_STOCK_APPLY }, 72 { PIDGIN_STOCK_FILE_DONE, NULL, GTK_STOCK_APPLY },
73 { GAIM_STOCK_FILE_TRANSFER, NULL, GTK_STOCK_REVERT_TO_SAVED }, 73 { PIDGIN_STOCK_FILE_TRANSFER, NULL, GTK_STOCK_REVERT_TO_SAVED },
74 { GAIM_STOCK_ICON_AWAY, "icons", "away.png" }, 74 { PIDGIN_STOCK_ICON_AWAY, "icons", "away.png" },
75 { GAIM_STOCK_ICON_AWAY_MSG, "icons", "msgpend.png" }, 75 { PIDGIN_STOCK_ICON_AWAY_MSG, "icons", "msgpend.png" },
76 { GAIM_STOCK_ICON_CONNECT, "icons", "connect.png" }, 76 { PIDGIN_STOCK_ICON_CONNECT, "icons", "connect.png" },
77 { GAIM_STOCK_ICON_OFFLINE, "icons", "offline.png" }, 77 { PIDGIN_STOCK_ICON_OFFLINE, "icons", "offline.png" },
78 { GAIM_STOCK_ICON_ONLINE, "icons", "online.png" }, 78 { PIDGIN_STOCK_ICON_ONLINE, "icons", "online.png" },
79 { GAIM_STOCK_ICON_ONLINE_MSG, "icons", "msgunread.png" }, 79 { PIDGIN_STOCK_ICON_ONLINE_MSG, "icons", "msgunread.png" },
80 { GAIM_STOCK_IGNORE, NULL, GTK_STOCK_DIALOG_ERROR }, 80 { PIDGIN_STOCK_IGNORE, NULL, GTK_STOCK_DIALOG_ERROR },
81 { GAIM_STOCK_IM, "buttons", "send-im.png" }, 81 { PIDGIN_STOCK_IM, "buttons", "send-im.png" },
82 { GAIM_STOCK_IMAGE, "buttons", "insert-image-small.png" }, 82 { PIDGIN_STOCK_IMAGE, "buttons", "insert-image-small.png" },
83 #if GTK_CHECK_VERSION(2,8,0) 83 #if GTK_CHECK_VERSION(2,8,0)
84 { GAIM_STOCK_INFO, NULL, GTK_STOCK_INFO }, 84 { PIDGIN_STOCK_INFO, NULL, GTK_STOCK_INFO },
85 #else 85 #else
86 { GAIM_STOCK_INFO, "buttons", "info.png" }, 86 { PIDGIN_STOCK_INFO, "buttons", "info.png" },
87 #endif 87 #endif
88 { GAIM_STOCK_INVITE, NULL, GTK_STOCK_JUMP_TO }, 88 { PIDGIN_STOCK_INVITE, NULL, GTK_STOCK_JUMP_TO },
89 { GAIM_STOCK_LINK, "buttons", "insert-link-small.png" }, 89 { PIDGIN_STOCK_LINK, "buttons", "insert-link-small.png" },
90 { GAIM_STOCK_LOG, NULL, GTK_STOCK_DND_MULTIPLE }, 90 { PIDGIN_STOCK_LOG, NULL, GTK_STOCK_DND_MULTIPLE },
91 { GAIM_STOCK_MODIFY, NULL, GTK_STOCK_PREFERENCES }, 91 { PIDGIN_STOCK_MODIFY, NULL, GTK_STOCK_PREFERENCES },
92 #if GTK_CHECK_VERSION(2,6,0) 92 #if GTK_CHECK_VERSION(2,6,0)
93 { GAIM_STOCK_PAUSE, NULL, GTK_STOCK_MEDIA_PAUSE }, 93 { PIDGIN_STOCK_PAUSE, NULL, GTK_STOCK_MEDIA_PAUSE },
94 #else 94 #else
95 { GAIM_STOCK_PAUSE, "buttons", "pause.png" }, 95 { PIDGIN_STOCK_PAUSE, "buttons", "pause.png" },
96 #endif 96 #endif
97 { GAIM_STOCK_PENDING, "buttons", "send-im.png" }, 97 { PIDGIN_STOCK_PENDING, "buttons", "send-im.png" },
98 #if GTK_CHECK_VERSION(2,6,0) 98 #if GTK_CHECK_VERSION(2,6,0)
99 { GAIM_STOCK_PLUGIN, NULL, GTK_STOCK_DISCONNECT }, 99 { PIDGIN_STOCK_PLUGIN, NULL, GTK_STOCK_DISCONNECT },
100 #else 100 #else
101 { GAIM_STOCK_PLUGIN, "icons", "stock_disconnect_16.png" }, 101 { PIDGIN_STOCK_PLUGIN, "icons", "stock_disconnect_16.png" },
102 #endif 102 #endif
103 { GAIM_STOCK_POUNCE, NULL, GTK_STOCK_REDO }, 103 { PIDGIN_STOCK_POUNCE, NULL, GTK_STOCK_REDO },
104 { GAIM_STOCK_OPEN_MAIL, NULL, GTK_STOCK_JUMP_TO }, 104 { PIDGIN_STOCK_OPEN_MAIL, NULL, GTK_STOCK_JUMP_TO },
105 { GAIM_STOCK_SEND, "buttons", "send-im.png" }, 105 { PIDGIN_STOCK_SEND, "buttons", "send-im.png" },
106 { GAIM_STOCK_SIGN_ON, NULL, GTK_STOCK_EXECUTE }, 106 { PIDGIN_STOCK_SIGN_ON, NULL, GTK_STOCK_EXECUTE },
107 { GAIM_STOCK_SIGN_OFF, NULL, GTK_STOCK_CLOSE }, 107 { PIDGIN_STOCK_SIGN_OFF, NULL, GTK_STOCK_CLOSE },
108 { GAIM_STOCK_SMILEY, "buttons", "insert-smiley-small.png" }, 108 { PIDGIN_STOCK_SMILEY, "buttons", "insert-smiley-small.png" },
109 { GAIM_STOCK_TEXT_BIGGER, "buttons", "text_bigger.png" }, 109 { PIDGIN_STOCK_TEXT_BIGGER, "buttons", "text_bigger.png" },
110 { GAIM_STOCK_TEXT_NORMAL, "buttons", "text_normal.png" }, 110 { PIDGIN_STOCK_TEXT_NORMAL, "buttons", "text_normal.png" },
111 { GAIM_STOCK_TEXT_SMALLER, "buttons", "text_smaller.png" }, 111 { PIDGIN_STOCK_TEXT_SMALLER, "buttons", "text_smaller.png" },
112 { GAIM_STOCK_TYPED, "gaim", "typed.png" }, 112 { PIDGIN_STOCK_TYPED, "gaim", "typed.png" },
113 { GAIM_STOCK_TYPING, "gaim", "typing.png" }, 113 { PIDGIN_STOCK_TYPING, "gaim", "typing.png" },
114 { GAIM_STOCK_VOICE_CHAT, "gaim", "phone.png" }, 114 { PIDGIN_STOCK_VOICE_CHAT, "gaim", "phone.png" },
115 { GAIM_STOCK_STATUS_INVISIBLE,"gaim", "status-invisible.png" }, 115 { PIDGIN_STOCK_UPLOAD, NULL, GTK_STOCK_GO_UP },
116 { GAIM_STOCK_STATUS_TYPING0, "gaim", "status-typing0.png" },
117 { GAIM_STOCK_STATUS_TYPING1, "gaim", "status-typing1.png" },
118 { GAIM_STOCK_STATUS_TYPING2, "gaim", "status-typing2.png" },
119 { GAIM_STOCK_STATUS_TYPING3, "gaim", "status-typing3.png" },
120 { GAIM_STOCK_STATUS_CONNECT0, "gaim", "status-connect0.png" },
121 { GAIM_STOCK_STATUS_CONNECT1, "gaim", "status-connect1.png" },
122 { GAIM_STOCK_STATUS_CONNECT2, "gaim", "status-connect2.png" },
123 { GAIM_STOCK_STATUS_CONNECT3, "gaim", "status-connect3.png" },
124 { GAIM_STOCK_UPLOAD, NULL, GTK_STOCK_GO_UP },
125 }; 116 };
126 117
127 static const GtkStockItem stock_items[] = 118 static const GtkStockItem stock_items[] =
128 { 119 {
129 { GAIM_STOCK_ALIAS, N_("_Alias"), 0, 0, NULL }, 120 { PIDGIN_STOCK_ALIAS, N_("_Alias"), 0, 0, NULL },
130 { GAIM_STOCK_CHAT, N_("_Join"), 0, 0, NULL }, 121 { PIDGIN_STOCK_CHAT, N_("_Join"), 0, 0, NULL },
131 { GAIM_STOCK_CLOSE_TABS, N_("Close _tabs"), 0, 0, NULL }, 122 { PIDGIN_STOCK_CLOSE_TABS, N_("Close _tabs"), 0, 0, NULL },
132 { GAIM_STOCK_IM, N_("I_M"), 0, 0, NULL }, 123 { PIDGIN_STOCK_IM, N_("I_M"), 0, 0, NULL },
133 { GAIM_STOCK_INFO, N_("_Get Info"), 0, 0, NULL }, 124 { PIDGIN_STOCK_INFO, N_("_Get Info"), 0, 0, NULL },
134 { GAIM_STOCK_INVITE, N_("_Invite"), 0, 0, NULL }, 125 { PIDGIN_STOCK_INVITE, N_("_Invite"), 0, 0, NULL },
135 { GAIM_STOCK_MODIFY, N_("_Modify"), 0, 0, NULL }, 126 { PIDGIN_STOCK_MODIFY, N_("_Modify"), 0, 0, NULL },
136 { GAIM_STOCK_OPEN_MAIL, N_("_Open Mail"), 0, 0, NULL }, 127 { PIDGIN_STOCK_OPEN_MAIL, N_("_Open Mail"), 0, 0, NULL },
137 { GAIM_STOCK_PAUSE, N_("_Pause"), 0, 0, NULL }, 128 { PIDGIN_STOCK_PAUSE, N_("_Pause"), 0, 0, NULL },
138 }; 129 };
139 130
140 static struct SizedStockIcon { 131 static struct SizedStockIcon {
141 const char *name; 132 const char *name;
142 const char *dir; 133 const char *dir;