/soc/2013/ankitkv/gobjectification: 88a9488af4e8: Fixed pidgin's...
Ankit Vani
a at nevitus.org
Tue Sep 17 12:49:15 EDT 2013
Changeset: 88a9488af4e8c6903272e7c40a47b7b6a138cf5d
Author: Ankit Vani <a at nevitus.org>
Date: 2013-09-17 22:18 +0530
Branch: soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/88a9488af4e8
Description:
Fixed pidgin's plugin list display
diffstat:
pidgin/gtkplugin.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (29 lines):
diff --git a/pidgin/gtkplugin.c b/pidgin/gtkplugin.c
--- a/pidgin/gtkplugin.c
+++ b/pidgin/gtkplugin.c
@@ -275,6 +275,7 @@ update_plugin_list(void *data)
0, purple_plugin_is_loaded(plug),
1, desc,
2, plug,
+ 3, purple_plugin_info_get_error(info),
-1);
g_free(desc);
}
@@ -540,7 +541,7 @@ static void prefs_plugin_sel (GtkTreeSel
authorlist = purple_plugin_info_get_authors(info);
if (authorlist)
- authors = g_strjoinv(", ", (gchar **)authorlist);
+ authors = g_strjoinv(",\n", (gchar **)authorlist);
gtk_label_set_text(plugin_authors, authors);
g_free(authors);
@@ -853,7 +854,7 @@ void pidgin_plugin_dialog_show()
gtk_widget_set_sensitive(pref_button, FALSE);
gtk_window_set_role(GTK_WINDOW(plugin_dialog), "plugins");
- ls = gtk_list_store_new(3, G_TYPE_BOOLEAN, G_TYPE_STRING, G_TYPE_POINTER);
+ ls = gtk_list_store_new(4, G_TYPE_BOOLEAN, G_TYPE_STRING, G_TYPE_POINTER, G_TYPE_BOOLEAN);
gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(ls),
1, GTK_SORT_ASCENDING);
More information about the Commits
mailing list