From 6f34cafb3e820c3bf1354f4a6405f435aa977429 Mon Sep 17 00:00:00 2001 From: Omair Majid Date: Tue, 7 Dec 2010 11:03:42 -0500 Subject: fix info shown in about:plugins in firefox 2010-12-07 Omair Majid * Makefile.am (PLUGIN_VERSION): Change to IcedTea-Web ($(PLUGIN_DIR)/%.o): Define PLUGIN_NAME and PACKAGE_URL. * configure.ac (AC_INTIT): Add url. * plugin/icedteanp/IcedTeaNPPlugin.cc (PLUGIN_NAME): Removed. (PLUGIN_FULL_NAME): New definition. (PLUGIN_DESC): Add link to IcedTea-Web wiki page. (NP_GetValue): Return PLUGIN_FULL_NAME instead of PLUGIN_NAME. --- plugin/icedteanp/IcedTeaNPPlugin.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugin/icedteanp') diff --git a/plugin/icedteanp/IcedTeaNPPlugin.cc b/plugin/icedteanp/IcedTeaNPPlugin.cc index a1fb809..3213206 100644 --- a/plugin/icedteanp/IcedTeaNPPlugin.cc +++ b/plugin/icedteanp/IcedTeaNPPlugin.cc @@ -87,8 +87,8 @@ exception statement from your version. */ __LINE__, g_thread_self (), first, second, third) // Plugin information passed to about:plugins. -#define PLUGIN_NAME "IcedTea NPR Web Browser Plugin (using " PLUGIN_VERSION ")" -#define PLUGIN_DESC "The " PLUGIN_NAME " executes Java applets." +#define PLUGIN_FULL_NAME PLUGIN_NAME " (using " PLUGIN_VERSION ")" +#define PLUGIN_DESC "The " PLUGIN_NAME " executes Java applets." #define PLUGIN_MIME_DESC \ "application/x-java-vm:class,jar:IcedTea;" \ @@ -2275,7 +2275,7 @@ NP_GetValue (void* future, NPPVariable variable, void* value) { case NPPVpluginNameString: PLUGIN_DEBUG ("NP_GetValue: returning plugin name.\n"); - *char_value = g_strdup (PLUGIN_NAME); + *char_value = g_strdup (PLUGIN_FULL_NAME); break; case NPPVpluginDescriptionString: -- cgit v1.2.3