diff options
author | Omair Majid <[email protected]> | 2010-12-07 11:03:42 -0500 |
---|---|---|
committer | Omair Majid <[email protected]> | 2010-12-07 11:03:42 -0500 |
commit | 6f34cafb3e820c3bf1354f4a6405f435aa977429 (patch) | |
tree | f598d4f1ac18f860d4993e9304514201abb1d579 /plugin/icedteanp | |
parent | 6ca1a9a369b10703da9af8f8a1ced0f3b02ae5c2 (diff) |
fix info shown in about:plugins in firefox
2010-12-07 Omair Majid <[email protected]>
* 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.
Diffstat (limited to 'plugin/icedteanp')
-rw-r--r-- | plugin/icedteanp/IcedTeaNPPlugin.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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 <a href=\"" PACKAGE_URL "\">" PLUGIN_NAME "</a> 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: |