From 980184bb430c44fdd4cd90eef9e230fc379c8d36 Mon Sep 17 00:00:00 2001 From: hiro Date: Fri, 26 Jan 2007 05:40:07 +0000 Subject: implemented the toolbar customization of the composition window. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1503 ee746299-78ed-0310-b773-934348b2243d --- src/prefs_summary_column.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/prefs_summary_column.c') diff --git a/src/prefs_summary_column.c b/src/prefs_summary_column.c index 46ae20c8..080cae36 100644 --- a/src/prefs_summary_column.c +++ b/src/prefs_summary_column.c @@ -450,12 +450,11 @@ static void prefs_summary_column_add(void) if (!shown_clist->selection) row = 0; else - row = GPOINTER_TO_INT(shown_clist->selection->data) + 1; + row = GPOINTER_TO_INT(shown_clist->selection->data); name = gettext(col_name[type]); row = gtk_clist_insert(shown_clist, row, (gchar **)&name); gtk_clist_set_row_data(shown_clist, row, GINT_TO_POINTER(type)); - gtk_clist_select_row(shown_clist, row, -1); } static void prefs_summary_column_remove(void) -- cgit v1.2.3