comparison src/prefs.c @ 5436:ad445074d239

[gaim-migrate @ 5818] Another big commit. Ugh. I need a very smart regexp. Core/UI split do_error_dialog(), and soon the mail dialogs! Yay! This should work without problems at all, but standard disclaimer.. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 18 May 2003 19:59:02 +0000
parents 19224d2ab31e
children 7e8524b5ff98
comparison
equal deleted inserted replaced
5435:a2f26666de42 5436:ad445074d239
40 #include "gtkplugin.h" 40 #include "gtkplugin.h"
41 #include "gtkdebug.h" 41 #include "gtkdebug.h"
42 #include "prpl.h" 42 #include "prpl.h"
43 #include "proxy.h" 43 #include "proxy.h"
44 #include "sound.h" 44 #include "sound.h"
45 #include "notify.h"
45 46
46 #ifdef _WIN32 47 #ifdef _WIN32
47 #include "win32dep.h" 48 #include "win32dep.h"
48 #endif 49 #endif
49 50
879 880
880 if (!program_is_valid(program)) { 881 if (!program_is_valid(program)) {
881 char *error = g_strdup_printf(_("The entered manual browser " 882 char *error = g_strdup_printf(_("The entered manual browser "
882 "'%s' is not valid. Hyperlinks will " 883 "'%s' is not valid. Hyperlinks will "
883 "not work."), program); 884 "not work."), program);
884 do_error_dialog(error, NULL, GAIM_WARNING); 885 gaim_notify_warning(NULL, NULL, error, NULL);
885 } 886 }
886 887
887 g_strlcpy(web_command, program, sizeof(web_command)); 888 g_strlcpy(web_command, program, sizeof(web_command));
888 889
889 /* carry on normally */ 890 /* carry on normally */