comparison src/gtkstock.c @ 10643:868aafbe859b

[gaim-migrate @ 12153] GtkGaimStatusBox, a new status selection widget. It currently sucks. Pretty much just the UI code with enough copy/paste code hacked in from gtkstatusselector to minimally work. Minimally work provided you're only using protocol which have already been updated to handle offline/online as statuses. Which I think is limited to AIM and Yahoo! right now. Anyway, it's cool. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sun, 27 Feb 2005 08:35:11 +0000
parents ec140184437b
children 6240d7fd5b2c
comparison
equal deleted inserted replaced
10642:0376d4c84b9f 10643:868aafbe859b
77 { GAIM_STOCK_TEXT_BIGGER, "buttons", "text_bigger.png" }, 77 { GAIM_STOCK_TEXT_BIGGER, "buttons", "text_bigger.png" },
78 { GAIM_STOCK_TEXT_NORMAL, "buttons", "text_normal.png" }, 78 { GAIM_STOCK_TEXT_NORMAL, "buttons", "text_normal.png" },
79 { GAIM_STOCK_TEXT_SMALLER, "buttons", "text_smaller.png" }, 79 { GAIM_STOCK_TEXT_SMALLER, "buttons", "text_smaller.png" },
80 { GAIM_STOCK_TYPED, "gaim", "typed.png" }, 80 { GAIM_STOCK_TYPED, "gaim", "typed.png" },
81 { GAIM_STOCK_TYPING, "gaim", "typing.png" }, 81 { GAIM_STOCK_TYPING, "gaim", "typing.png" },
82 { GAIM_STOCK_STATUS_ONLINE, "gaim", "status-online.png" },
83 { GAIM_STOCK_STATUS_OFFLINE, "gaim", "status-offline.png" },
84 { GAIM_STOCK_STATUS_AWAY, "gaim", "status-away.png" },
85 { GAIM_STOCK_STATUS_INVISIBLE,"gaim", "status-invisible.png" },
86 { GAIM_STOCK_STATUS_TYPING0, "gaim", "status-typing0.png" },
87 { GAIM_STOCK_STATUS_TYPING1, "gaim", "status-typing1.png" },
88 { GAIM_STOCK_STATUS_TYPING2, "gaim", "status-typing2.png" },
89 { GAIM_STOCK_STATUS_TYPING3, "gaim", "status-typing3.png" },
90 { GAIM_STOCK_STATUS_CONNECT0, "gaim", "status-connect0.png" },
91 { GAIM_STOCK_STATUS_CONNECT1, "gaim", "status-connect1.png" },
92 { GAIM_STOCK_STATUS_CONNECT2, "gaim", "status-connect2.png" },
93 { GAIM_STOCK_STATUS_CONNECT3, "gaim", "status-connect3.png" },
82 { GAIM_STOCK_UPLOAD, NULL, GTK_STOCK_GO_UP }, 94 { GAIM_STOCK_UPLOAD, NULL, GTK_STOCK_GO_UP },
83 { GAIM_STOCK_WARN, NULL, GTK_STOCK_DIALOG_WARNING } 95 { GAIM_STOCK_WARN, NULL, GTK_STOCK_DIALOG_WARNING }
84 }; 96 };
85 97
86 const GtkStockItem stock_items[] = 98 const GtkStockItem stock_items[] =
219 gtk_widget_destroy(win); 231 gtk_widget_destroy(win);
220 232
221 /* register custom icon sizes */ 233 /* register custom icon sizes */
222 gtk_icon_size_register(GAIM_ICON_SIZE_LOGO, 330, 90); 234 gtk_icon_size_register(GAIM_ICON_SIZE_LOGO, 330, 90);
223 gtk_icon_size_register(GAIM_ICON_SIZE_DIALOG_COOL, 40, 60); 235 gtk_icon_size_register(GAIM_ICON_SIZE_DIALOG_COOL, 40, 60);
236 gtk_icon_size_register(GAIM_ICON_SIZE_STATUS, 30, 30);
224 237
225 g_object_unref(G_OBJECT(icon_factory)); 238 g_object_unref(G_OBJECT(icon_factory));
226 239
227 /* Register the stock items. */ 240 /* Register the stock items. */
228 gtk_stock_add_static(stock_items, G_N_ELEMENTS(stock_items)); 241 gtk_stock_add_static(stock_items, G_N_ELEMENTS(stock_items));