comparison libgaim/plugin.c @ 14741:fbb2e1657acb

[gaim-migrate @ 17498] This error message seems more clear to me committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 17 Oct 2006 14:30:58 +0000
parents f93d632ac8d8
children 828ef7b19b59
comparison
equal deleted inserted replaced
14740:a169177ffa4e 14741:fbb2e1657acb
360 return NULL; 360 return NULL;
361 } 361 }
362 else if (plugin->info->ui_requirement && 362 else if (plugin->info->ui_requirement &&
363 strcmp(plugin->info->ui_requirement, gaim_core_get_ui())) 363 strcmp(plugin->info->ui_requirement, gaim_core_get_ui()))
364 { 364 {
365 plugin->error = g_strdup_printf("The UI requirement (%s) for this plugin is not met.", 365 plugin->error = g_strdup_printf("You are using %s, but this plugin requires %s.",
366 plugin->info->ui_requirement); 366 gaim_core_get_ui(), plugin->info->ui_requirement);
367 gaim_debug_error("plugins", "%s is not loadable: The UI requirement is not met.", plugin->path); 367 gaim_debug_error("plugins", "%s is not loadable: The UI requirement is not met.", plugin->path);
368 plugin->unloadable = TRUE; 368 plugin->unloadable = TRUE;
369 return plugin; 369 return plugin;
370 } 370 }
371 371