| 410 command = g_strdup_printf("opera -newwindow \"%s\"", uri); |
410 command = g_strdup_printf("opera -newwindow \"%s\"", uri); |
| 411 else |
411 else |
| 412 command = g_strdup_printf("opera \"%s\"", uri); |
412 command = g_strdup_printf("opera \"%s\"", uri); |
| 413 } else if (!strcmp(web_browser, "kfmclient")) { |
413 } else if (!strcmp(web_browser, "kfmclient")) { |
| 414 command = g_strdup_printf("kfmclient openURL \"%s\"", uri); |
414 command = g_strdup_printf("kfmclient openURL \"%s\"", uri); |
| 415 } else if (!strcmp(web_browser, "galeon")) { |
415 } else if (!strcmp(web_browser, "galeon")) { |
| 416 if (gaim_prefs_get_bool("/gaim/gtk/browsers/new_window")) |
416 if (gaim_prefs_get_bool("/gaim/gtk/browsers/new_window")) |
| 417 command = g_strdup_printf("galeon -w \"%s\"", uri); |
417 command = g_strdup_printf("galeon -w \"%s\"", uri); |
| 418 else |
418 else |
| 419 command = g_strdup_printf("galeon \"%s\"", uri); |
419 command = g_strdup_printf("galeon \"%s\"", uri); |
| 420 } else if (!strcmp(web_browser, "mozilla")) { |
420 } else if (!strcmp(web_browser, "mozilla")) { |
| 421 command = g_strdup_printf("mozilla \"%s\"", uri); |
421 command = g_strdup_printf("mozilla \"%s\"", uri); |
| 422 } else if (!strcmp(web_browser, "custom")) { |
422 } else if (!strcmp(web_browser, "mozilla-firebird")) { |
| |
423 command = g_strdup_printf("mozilla-firebird \"%s\"", uri); |
| |
424 } else if (!strcmp(web_browser, "custom")) { |
| 423 const char *web_command; |
425 const char *web_command; |
| 424 |
426 |
| 425 web_command = gaim_prefs_get_string("/gaim/gtk/browsers/command"); |
427 web_command = gaim_prefs_get_string("/gaim/gtk/browsers/command"); |
| 426 |
428 |
| 427 if (web_command == NULL || *web_command == '\0') { |
429 if (web_command == NULL || *web_command == '\0') { |