diff finch/gntsound.c @ 22924:7228a48eda76

This should make the column widths a bit better. Thanks to vekin in #pidgin for reporting.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 13 May 2008 16:52:21 +0000
parents cc8903c59d6b
children f7c5bb2f6623
line wrap: on
line diff
--- a/finch/gntsound.c	Tue May 13 14:24:43 2008 +0000
+++ b/finch/gntsound.c	Tue May 13 16:52:21 2008 +0000
@@ -1028,13 +1028,13 @@
 
 	for (i = 0; i < PURPLE_NUM_SOUNDS; i++) {
 		FinchSoundEvent * event = &sounds[i];
-		
+
 		if (event->label == NULL) {
 			continue;
 		}
 
 		gnt_tree_add_choice(GNT_TREE(tree), GINT_TO_POINTER(i),
-			gnt_tree_create_row(GNT_TREE(tree), "", ""),
+			gnt_tree_create_row(GNT_TREE(tree), event->label, event->def),
 			NULL, NULL);
 	}