aboutsummaryrefslogtreecommitdiff
path: root/src/prefs_summary_column.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-01-26 05:40:07 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-01-26 05:40:07 +0000
commit980184bb430c44fdd4cd90eef9e230fc379c8d36 (patch)
treeb283d747eb8a6c3efb95cbd722072172fea73893 /src/prefs_summary_column.c
parentbb0652b68897b62a6c323004e569c0f0aaf90e7d (diff)
implemented the toolbar customization of the composition window.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1503 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/prefs_summary_column.c')
-rw-r--r--src/prefs_summary_column.c3
1 files changed, 1 insertions, 2 deletions
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)