Mercurial > pidgin.yaz
comparison src/desktopitem.h @ 10274:3016b1b32339
[gaim-migrate @ 11424]
Don't allow sending oversized messages on MSN - they wouldn't get there, and
the switchboard server would disconnect us. Also fix up the oversized message
truncation which should have been truncating the messages anyway.
Add support for sending strikethrough on MSN (not that anyone can actually
enter strikethrough tags yet)
And a slight change to the building of chat user status icons.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 27 Nov 2004 19:39:25 +0000 |
parents | 14dbb26ef738 |
children |
comparison
equal
deleted
inserted
replaced
10273:891141c68573 | 10274:3016b1b32339 |
---|---|
113 #define GAIM_DESKTOP_ITEM_SORT_ORDER "SortOrder" /* strings */ | 113 #define GAIM_DESKTOP_ITEM_SORT_ORDER "SortOrder" /* strings */ |
114 #define GAIM_DESKTOP_ITEM_URL "URL" /* string */ | 114 #define GAIM_DESKTOP_ITEM_URL "URL" /* string */ |
115 #define GAIM_DESKTOP_ITEM_DOC_PATH "X-GNOME-DocPath" /* string */ | 115 #define GAIM_DESKTOP_ITEM_DOC_PATH "X-GNOME-DocPath" /* string */ |
116 | 116 |
117 /** | 117 /** |
118 * This function loads 'filename' and turns it into a GnomeDesktopItem. | 118 * This function loads 'filename' and turns it into a GaimDesktopItem. |
119 * | 119 * |
120 * @param filename The filename or directory path to load the GaimDesktopItem from | 120 * @param filename The filename or directory path to load the GaimDesktopItem from |
121 * | 121 * |
122 * @return The newly loaded item, or NULL on error. | 122 * @return The newly loaded item, or NULL on error. |
123 */ | 123 */ |
131 * how the 'Exec' field should be handeled. | 131 * how the 'Exec' field should be handeled. |
132 * | 132 * |
133 * @param item A desktop item | 133 * @param item A desktop item |
134 * | 134 * |
135 * @return The type of the specified 'item'. The returned memory | 135 * @return The type of the specified 'item'. The returned memory |
136 * remains owned by the GnomeDesktopItem and should not be freed. | 136 * remains owned by the GaimDesktopItem and should not be freed. |
137 */ | 137 */ |
138 GaimDesktopItemType gaim_desktop_item_get_entry_type (const GaimDesktopItem *item); | 138 GaimDesktopItemType gaim_desktop_item_get_entry_type (const GaimDesktopItem *item); |
139 | 139 |
140 /** | 140 /** |
141 * Gets the value of an attribute of the item, as a string. | 141 * Gets the value of an attribute of the item, as a string. |
147 */ | 147 */ |
148 const char *gaim_desktop_item_get_string (const GaimDesktopItem *item, | 148 const char *gaim_desktop_item_get_string (const GaimDesktopItem *item, |
149 const char *attr); | 149 const char *attr); |
150 | 150 |
151 /** | 151 /** |
152 * Creates a copy of a GnomeDesktopItem. The new copy has a refcount of 1. | 152 * Creates a copy of a GaimDesktopItem. The new copy has a refcount of 1. |
153 * Note: Section stack is NOT copied. | 153 * Note: Section stack is NOT copied. |
154 * | 154 * |
155 * @param item The item to be copied | 155 * @param item The item to be copied |
156 * | 156 * |
157 * @return The new copy | 157 * @return The new copy |