| 194 * @request: The [class@AuthorizationRequest] instance. |
194 * @request: The [class@AuthorizationRequest] instance. |
| 195 * |
195 * |
| 196 * Emitted when the user has accepted @request. This is typically emitted |
196 * Emitted when the user has accepted @request. This is typically emitted |
| 197 * by the user interface calling [method@AuthorizationRequest.accept]. |
197 * by the user interface calling [method@AuthorizationRequest.accept]. |
| 198 * |
198 * |
| 199 * Since: 3.0.0 |
199 * Since: 3.0 |
| 200 */ |
200 */ |
| 201 signals[SIG_ACCEPTED] = g_signal_new_class_handler( |
201 signals[SIG_ACCEPTED] = g_signal_new_class_handler( |
| 202 "accepted", |
202 "accepted", |
| 203 G_OBJECT_CLASS_TYPE(klass), |
203 G_OBJECT_CLASS_TYPE(klass), |
| 204 G_SIGNAL_RUN_LAST, |
204 G_SIGNAL_RUN_LAST, |
| 215 * @message: (nullable): An optional denial message. |
215 * @message: (nullable): An optional denial message. |
| 216 * |
216 * |
| 217 * Emitted when the user has denied @request. This is typically emitted |
217 * Emitted when the user has denied @request. This is typically emitted |
| 218 * by the user interface calling [method@AuthorizationRequest.deny]. |
218 * by the user interface calling [method@AuthorizationRequest.deny]. |
| 219 * |
219 * |
| 220 * Since: 3.0.0 |
220 * Since: 3.0 |
| 221 */ |
221 */ |
| 222 signals[SIG_DENIED] = g_signal_new_class_handler( |
222 signals[SIG_DENIED] = g_signal_new_class_handler( |
| 223 "denied", |
223 "denied", |
| 224 G_OBJECT_CLASS_TYPE(klass), |
224 G_OBJECT_CLASS_TYPE(klass), |
| 225 G_SIGNAL_RUN_LAST, |
225 G_SIGNAL_RUN_LAST, |
| 234 /** |
234 /** |
| 235 * PurpleAuthorizationRequest:account: |
235 * PurpleAuthorizationRequest:account: |
| 236 * |
236 * |
| 237 * The account that this authorization request is for. |
237 * The account that this authorization request is for. |
| 238 * |
238 * |
| 239 * Since: 3.0.0 |
239 * Since: 3.0 |
| 240 */ |
240 */ |
| 241 properties[PROP_ACCOUNT] = g_param_spec_object( |
241 properties[PROP_ACCOUNT] = g_param_spec_object( |
| 242 "account", "account", |
242 "account", "account", |
| 243 "The account for this authorization request", |
243 "The account for this authorization request", |
| 244 PURPLE_TYPE_ACCOUNT, |
244 PURPLE_TYPE_ACCOUNT, |
| 247 /** |
247 /** |
| 248 * PurpleAuthorizationRequest:username: |
248 * PurpleAuthorizationRequest:username: |
| 249 * |
249 * |
| 250 * The username of the remote user that is requesting authorization. |
250 * The username of the remote user that is requesting authorization. |
| 251 * |
251 * |
| 252 * Since: 3.0.0 |
252 * Since: 3.0 |
| 253 */ |
253 */ |
| 254 properties[PROP_USERNAME] = g_param_spec_string( |
254 properties[PROP_USERNAME] = g_param_spec_string( |
| 255 "username", "username", |
255 "username", "username", |
| 256 "The username of the remote user that is requesting authorization", |
256 "The username of the remote user that is requesting authorization", |
| 257 NULL, |
257 NULL, |
| 260 /** |
260 /** |
| 261 * PurpleAuthorizationRequest:alias: |
261 * PurpleAuthorizationRequest:alias: |
| 262 * |
262 * |
| 263 * The alias of the remote user that is requesting authorization. |
263 * The alias of the remote user that is requesting authorization. |
| 264 * |
264 * |
| 265 * Since: 3.0.0 |
265 * Since: 3.0 |
| 266 */ |
266 */ |
| 267 properties[PROP_ALIAS] = g_param_spec_string( |
267 properties[PROP_ALIAS] = g_param_spec_string( |
| 268 "alias", "alias", |
268 "alias", "alias", |
| 269 "The alias of the remote user that is requesting authorization", |
269 "The alias of the remote user that is requesting authorization", |
| 270 NULL, |
270 NULL, |
| 273 /** |
273 /** |
| 274 * PurpleAuthorizationRequest:message: |
274 * PurpleAuthorizationRequest:message: |
| 275 * |
275 * |
| 276 * The optional message sent from the remote user. |
276 * The optional message sent from the remote user. |
| 277 * |
277 * |
| 278 * Since: 3.0.0 |
278 * Since: 3.0 |
| 279 */ |
279 */ |
| 280 properties[PROP_MESSAGE] = g_param_spec_string( |
280 properties[PROP_MESSAGE] = g_param_spec_string( |
| 281 "message", "message", |
281 "message", "message", |
| 282 "The optional message sent by the remote user", |
282 "The optional message sent by the remote user", |
| 283 NULL, |
283 NULL, |
| 287 * PurpleAuthorizationRequest:add: |
287 * PurpleAuthorizationRequest:add: |
| 288 * |
288 * |
| 289 * Whether or not the user interface should ask the end user to add the |
289 * Whether or not the user interface should ask the end user to add the |
| 290 * remote user after accepting the end user's friend request. |
290 * remote user after accepting the end user's friend request. |
| 291 * |
291 * |
| 292 * Since: 3.0.0 |
292 * Since: 3.0 |
| 293 */ |
293 */ |
| 294 properties[PROP_ADD] = g_param_spec_boolean( |
294 properties[PROP_ADD] = g_param_spec_boolean( |
| 295 "add", "add", |
295 "add", "add", |
| 296 "Whether or not to add the remote user back", |
296 "Whether or not to add the remote user back", |
| 297 FALSE, |
297 FALSE, |