| 582 */ |
582 */ |
| 583 command = g_strdup_printf("%s %s", web_command, uri); |
583 command = g_strdup_printf("%s %s", web_command, uri); |
| 584 } |
584 } |
| 585 } |
585 } |
| 586 |
586 |
| 587 if (!program_is_valid(command)) { |
587 if (!gaim_program_is_valid(command)) { |
| 588 gchar *tmp = g_strdup_printf(_("The browser \"%s\" is invalid."), |
588 gchar *tmp = g_strdup_printf(_("The browser \"%s\" is invalid."), |
| 589 command); |
589 command); |
| 590 gaim_notify_error(NULL, NULL, _("Unable to open URL"), tmp); |
590 gaim_notify_error(NULL, NULL, _("Unable to open URL"), tmp); |
| 591 g_free(tmp); |
591 g_free(tmp); |
| 592 |
592 |