changeset 11843:6539e6aa8ae6

[gaim-migrate @ 14134] Don't reset the plugin details when loading or unloading a plugin. I noticed the error reporting when plugins don't load doesn't seem to work, but I didn't do anything to fix it. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Wed, 26 Oct 2005 10:53:16 +0000
parents cdd941172951
children a0956e22fdde
files src/gtkplugin.c
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkplugin.c	Wed Oct 26 10:42:11 2005 +0000
+++ b/src/gtkplugin.c	Wed Oct 26 10:53:16 2005 +0000
@@ -200,10 +200,7 @@
 				    -1);
 		g_free(desc);
 		g_free(error);
-	} else {
-		g_snprintf(buf, sizeof(buf),
-				   "<span size=\"larger\">%s %s</span>\n\n%s",
-				   name, plug->info->version, description);
+		gtk_label_set_markup(GTK_LABEL(plugin_details), buf);
 	}
 	g_free(name);
 	g_free(description);
@@ -213,7 +210,6 @@
  			    0, gaim_plugin_is_loaded(plug),
 			    -1);
 
-	gtk_label_set_markup(GTK_LABEL(plugin_details), buf);
 	gtk_tree_path_free(path);
 	gaim_gtk_plugins_save();
 }