comparison src/gtkstock.c @ 12595:3169cd6727ad

[gaim-migrate @ 14925] I've been meaning to spend the time to commit these changes separately, but it's been a couple days without me finding the time... 1. Allow the creation of GaimStatusTypes by passing NULL for the name and/or id. The core uses the default name and/or id. This eliminates quite a bit of duplication in the prpls. 2. Make statuses more consistent. For example, in some prpls, "Busy" was descended from the UNAVAILABLE primitive and on others it was a case of AWAY. Another example... "On Vacation" is definitely an EXTENDED_AWAY not an AWAY. 3. Rename some pixmaps to elminate some special cases. The names of the pixmaps should now match the primitive default IDs. 4. Rename the HIDDEN primitive to INVISIBLE, since we seem to be using that term everywhere. In conjunction with #1, more duplication was eliminated. 5. Add a MOBILE status primitive. It's not used now. It'll be needed in the (hopefully not-too-distant) future, so I'm planning ahead. 6. Shrink the status select for small blist folks. Now if someone can get rid of that stupid extra padding, we'll be set (well, after we deal with imhtml space issues). I've fought with this for many many hours over several days and I can't get it. It's clear that the combo box is requesting more space than is really necessary, but I don't know why. This is really my first go at anything significant status-related. Everyone should check their favorite prpls carefully to make sure I didn't break anything. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Wed, 21 Dec 2005 08:24:17 +0000
parents e0b512d67792
children 851b0bd7eb52
comparison
equal deleted inserted replaced
12594:3d34460ecfd6 12595:3169cd6727ad
270 270
271 /* register custom icon sizes */ 271 /* register custom icon sizes */
272 gtk_icon_size_register(GAIM_ICON_SIZE_LOGO, 330, 90); 272 gtk_icon_size_register(GAIM_ICON_SIZE_LOGO, 330, 90);
273 gtk_icon_size_register(GAIM_ICON_SIZE_DIALOG_COOL, 40, 60); 273 gtk_icon_size_register(GAIM_ICON_SIZE_DIALOG_COOL, 40, 60);
274 gtk_icon_size_register(GAIM_ICON_SIZE_STATUS, 30, 30); 274 gtk_icon_size_register(GAIM_ICON_SIZE_STATUS, 30, 30);
275 gtk_icon_size_register(GAIM_ICON_SIZE_STATUS_TWO_LINE, 30, 30);
276 gtk_icon_size_register(GAIM_ICON_SIZE_STATUS_SMALL, 16, 16);
277 gtk_icon_size_register(GAIM_ICON_SIZE_STATUS_SMALL_TWO_LINE, 24, 24);
275 278
276 g_object_unref(G_OBJECT(icon_factory)); 279 g_object_unref(G_OBJECT(icon_factory));
277 280
278 /* Register the stock items. */ 281 /* Register the stock items. */
279 gtk_stock_add_static(stock_items, G_N_ELEMENTS(stock_items)); 282 gtk_stock_add_static(stock_items, G_N_ELEMENTS(stock_items));