Mercurial > pidgin.yaz
comparison src/gtkstock.h @ 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 | bc2b9f925979 |
children | a614eb6c7d9d |
comparison
equal
deleted
inserted
replaced
12594:3d34460ecfd6 | 12595:3169cd6727ad |
---|---|
100 /*@}*/ | 100 /*@}*/ |
101 | 101 |
102 /** | 102 /** |
103 * For using icons that aren't one of the default GTK_ICON_SIZEs | 103 * For using icons that aren't one of the default GTK_ICON_SIZEs |
104 */ | 104 */ |
105 #define GAIM_ICON_SIZE_DIALOG_COOL "gaim-icon-size-dialog-cool" | 105 #define GAIM_ICON_SIZE_DIALOG_COOL "gaim-icon-size-dialog-cool" |
106 #define GAIM_ICON_SIZE_LOGO "gaim-icon-size-logo" | 106 #define GAIM_ICON_SIZE_LOGO "gaim-icon-size-logo" |
107 #define GAIM_ICON_SIZE_STATUS "gaim-icon-size-status" | 107 #define GAIM_ICON_SIZE_STATUS "gaim-icon-size-status" |
108 #define GAIM_ICON_SIZE_STATUS_TWO_LINE "gaim-icon-size-status-two-line" | |
109 #define GAIM_ICON_SIZE_STATUS_SMALL "gaim-icon-size-status-small" | |
110 #define GAIM_ICON_SIZE_STATUS_SMALL_TWO_LINE "gaim-icon-size-status-small-two-line" | |
108 | 111 |
109 /** | 112 /** |
110 * Sets up the gaim stock repository. | 113 * Sets up the gaim stock repository. |
111 */ | 114 */ |
112 void gaim_gtk_stock_init(void); | 115 void gaim_gtk_stock_init(void); |