pidgin/gtkxfer.c

branch
soc.2013.gobjectification
changeset 34977
42e9e59fbf0f
parent 34955
854143116575
child 35079
4fb1914491f1
child 36838
9dd39a792240
equal deleted inserted replaced
34976:fa4d47377827 34977:42e9e59fbf0f
469 g_free(wc_filename); 469 g_free(wc_filename);
470 470
471 if (code == SE_ERR_ASSOCINCOMPLETE || code == SE_ERR_NOASSOC) 471 if (code == SE_ERR_ASSOCINCOMPLETE || code == SE_ERR_NOASSOC)
472 { 472 {
473 purple_notify_error(dialog, NULL, 473 purple_notify_error(dialog, NULL,
474 _("There is no application configured to open this type of file."), NULL); 474 _("There is no application configured to open this type of file."),
475 NULL, NULL);
475 } 476 }
476 else if (code < 32) 477 else if (code < 32)
477 { 478 {
478 purple_notify_error(dialog, NULL, 479 purple_notify_error(dialog, NULL,
479 _("An error occurred while opening the file."), NULL); 480 _("An error occurred while opening the file."), NULL, NULL);
480 purple_debug_warning("ft", "filename: %s; code: %d\n", 481 purple_debug_warning("ft", "filename: %s; code: %d\n",
481 purple_xfer_get_local_filename(dialog->selected_xfer), code); 482 purple_xfer_get_local_filename(dialog->selected_xfer), code);
482 } 483 }
483 #else 484 #else
484 const char *filename = purple_xfer_get_local_filename(dialog->selected_xfer); 485 const char *filename = purple_xfer_get_local_filename(dialog->selected_xfer);

mercurial