Mercurial > pidgin.yaz
comparison src/stock.c @ 4866:703e02e52262
[gaim-migrate @ 5196]
Added new typed and typing images to replace the gear.
Missing stock icons now result in critical errors being shown.
Restored the away button icon.
Yay! You may now serve me cheese.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 22 Mar 2003 22:24:33 +0000 |
parents | 0c85078fd371 |
children | aa273fba7b09 |
comparison
equal
deleted
inserted
replaced
4865:3bc5a65728fb | 4866:703e02e52262 |
---|---|
51 { GAIM_STOCK_SEND, NULL, GTK_STOCK_CONVERT }, | 51 { GAIM_STOCK_SEND, NULL, GTK_STOCK_CONVERT }, |
52 { GAIM_STOCK_SMILEY, "buttons", "insert-smiley-small.png" }, | 52 { GAIM_STOCK_SMILEY, "buttons", "insert-smiley-small.png" }, |
53 { GAIM_STOCK_TEXT_BIGGER, "buttons", "text_bigger.png" }, | 53 { GAIM_STOCK_TEXT_BIGGER, "buttons", "text_bigger.png" }, |
54 { GAIM_STOCK_TEXT_NORMAL, "buttons", "text_normal.png" }, | 54 { GAIM_STOCK_TEXT_NORMAL, "buttons", "text_normal.png" }, |
55 { GAIM_STOCK_TEXT_SMALLER, "buttons", "text_smaller.png" }, | 55 { GAIM_STOCK_TEXT_SMALLER, "buttons", "text_smaller.png" }, |
56 { GAIM_STOCK_TYPED, NULL, GTK_STOCK_JUSTIFY_FILL }, | 56 { GAIM_STOCK_TYPED, "gaim", "typed.png" }, |
57 { GAIM_STOCK_TYPING, NULL, GTK_STOCK_EXECUTE }, | 57 { GAIM_STOCK_TYPING, "gaim", "typing.png" }, |
58 { GAIM_STOCK_UPLOAD, NULL, GTK_STOCK_GO_UP }, | 58 { GAIM_STOCK_UPLOAD, NULL, GTK_STOCK_GO_UP }, |
59 { GAIM_STOCK_WARN, NULL, GTK_STOCK_DIALOG_WARNING }, | 59 { GAIM_STOCK_WARN, NULL, GTK_STOCK_DIALOG_WARNING }, |
60 { GAIM_STOCK_IM, NULL, GTK_STOCK_CONVERT }, | 60 { GAIM_STOCK_IM, NULL, GTK_STOCK_CONVERT }, |
61 { GAIM_STOCK_CHAT, NULL, GTK_STOCK_JUMP_TO }, | 61 { GAIM_STOCK_CHAT, NULL, GTK_STOCK_JUMP_TO }, |
62 { GAIM_STOCK_AWAY, "buttons", "away.xpm" } | 62 { GAIM_STOCK_AWAY, "buttons", "away.xpm" } |
63 }; | 63 }; |
64 | 64 |
65 static gint stock_icon_count = sizeof(stock_icons) / sizeof(*stock_icons); | 65 static gint stock_icon_count = sizeof(stock_icons) / sizeof(*stock_icons); |
66 | 66 |
67 static gchar * | 67 static gchar * |
77 else | 77 else |
78 filename = g_build_filename(DATADIR, "pixmaps", "gaim", | 78 filename = g_build_filename(DATADIR, "pixmaps", "gaim", |
79 dir, base, NULL); | 79 dir, base, NULL); |
80 | 80 |
81 if (!g_file_test(filename, G_FILE_TEST_EXISTS)) { | 81 if (!g_file_test(filename, G_FILE_TEST_EXISTS)) { |
82 debug_printf("Unable to load stock pixmap %s\n", base); | 82 g_critical("Unable to load stock pixmap %s\n", base); |
83 | 83 |
84 g_free(filename); | 84 g_free(filename); |
85 | 85 |
86 return NULL; | 86 return NULL; |
87 } | 87 } |