Mercurial > pidgin.yaz
comparison src/gtkplugin.c @ 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 | 9d3ab7919ee0 |
children | f1f7c83d7b6c |
comparison
equal
deleted
inserted
replaced
11842:cdd941172951 | 11843:6539e6aa8ae6 |
---|---|
198 gtk_list_store_set (GTK_LIST_STORE (model), &iter, | 198 gtk_list_store_set (GTK_LIST_STORE (model), &iter, |
199 1, desc, | 199 1, desc, |
200 -1); | 200 -1); |
201 g_free(desc); | 201 g_free(desc); |
202 g_free(error); | 202 g_free(error); |
203 } else { | 203 gtk_label_set_markup(GTK_LABEL(plugin_details), buf); |
204 g_snprintf(buf, sizeof(buf), | |
205 "<span size=\"larger\">%s %s</span>\n\n%s", | |
206 name, plug->info->version, description); | |
207 } | 204 } |
208 g_free(name); | 205 g_free(name); |
209 g_free(description); | 206 g_free(description); |
210 | 207 |
211 | 208 |
212 gtk_list_store_set (GTK_LIST_STORE (model), &iter, | 209 gtk_list_store_set (GTK_LIST_STORE (model), &iter, |
213 0, gaim_plugin_is_loaded(plug), | 210 0, gaim_plugin_is_loaded(plug), |
214 -1); | 211 -1); |
215 | 212 |
216 gtk_label_set_markup(GTK_LABEL(plugin_details), buf); | |
217 gtk_tree_path_free(path); | 213 gtk_tree_path_free(path); |
218 gaim_gtk_plugins_save(); | 214 gaim_gtk_plugins_save(); |
219 } | 215 } |
220 | 216 |
221 static void prefs_plugin_sel (GtkTreeSelection *sel, GtkTreeModel *model) | 217 static void prefs_plugin_sel (GtkTreeSelection *sel, GtkTreeModel *model) |