| 394 { |
394 { |
| 395 return finch_notify_common(PURPLE_NOTIFY_URI, PURPLE_NOTIFY_MSG_INFO, |
395 return finch_notify_common(PURPLE_NOTIFY_URI, PURPLE_NOTIFY_MSG_INFO, |
| 396 _("URI"), url, NULL, NULL); |
396 _("URI"), url, NULL, NULL); |
| 397 } |
397 } |
| 398 |
398 |
| 399 static PurpleNotifyUiOps ops = |
399 static PurpleNotifyUiOps ops = { |
| 400 { |
400 .notify_message = finch_notify_message, |
| 401 finch_notify_message, |
401 .notify_formatted = finch_notify_formatted, |
| 402 finch_notify_formatted, |
402 .notify_searchresults = finch_notify_searchresults, |
| 403 finch_notify_searchresults, |
403 .notify_searchresults_new_rows = finch_notify_sr_new_rows, |
| 404 finch_notify_sr_new_rows, |
404 .notify_userinfo = finch_notify_userinfo, |
| 405 finch_notify_userinfo, |
405 .notify_uri = finch_notify_uri, |
| 406 finch_notify_uri, |
406 .close_notify = finch_close_notify, |
| 407 finch_close_notify, /* The rest of the notify-uiops return a GntWidget. |
|
| 408 These widgets should be destroyed from here. */ |
|
| 409 NULL, |
|
| 410 NULL, |
|
| 411 NULL, |
|
| 412 NULL |
|
| 413 |
|
| 414 }; |
407 }; |
| 415 |
408 |
| 416 PurpleNotifyUiOps *finch_notify_get_ui_ops() |
409 PurpleNotifyUiOps *finch_notify_get_ui_ops() |
| 417 { |
410 { |
| 418 return &ops; |
411 return &ops; |