| 237 g_free(command_line); |
237 g_free(command_line); |
| 238 g_free(quoted); |
238 g_free(quoted); |
| 239 } |
239 } |
| 240 else |
240 else |
| 241 { |
241 { |
| 242 purple_notify_error(NULL, NULL, _("Unable to send e-mail"), |
242 purple_notify_error(NULL, NULL, _("Unable to send email"), |
| 243 _("The evolution executable was not found in the PATH.")); |
243 _("The evolution executable was not found in the PATH.")); |
| 244 } |
244 } |
| 245 } |
245 } |
| 246 else |
246 else |
| 247 { |
247 { |
| 248 purple_notify_error(NULL, NULL, _("Unable to send e-mail"), |
248 purple_notify_error(NULL, NULL, _("Unable to send email"), |
| 249 _("An e-mail address was not found for this buddy.")); |
249 _("An email address was not found for this buddy.")); |
| 250 } |
250 } |
| 251 } |
251 } |
| 252 |
252 |
| 253 static void |
253 static void |
| 254 blist_node_extended_menu_cb(PurpleBlistNode *node, GList **menu) |
254 blist_node_extended_menu_cb(PurpleBlistNode *node, GList **menu) |
| 282 |
282 |
| 283 mail = gevo_get_email_for_buddy(buddy); |
283 mail = gevo_get_email_for_buddy(buddy); |
| 284 |
284 |
| 285 if (mail != NULL) |
285 if (mail != NULL) |
| 286 { |
286 { |
| 287 act = purple_menu_action_new(_("Send E-Mail"), |
287 act = purple_menu_action_new(_("Send Email"), |
| 288 PURPLE_CALLBACK(menu_item_send_mail_activate_cb), NULL, NULL); |
288 PURPLE_CALLBACK(menu_item_send_mail_activate_cb), NULL, NULL); |
| 289 *menu = g_list_append(*menu, act); |
289 *menu = g_list_append(*menu, act); |
| 290 g_free(mail); |
290 g_free(mail); |
| 291 } |
291 } |
| 292 } |
292 } |