aboutsummaryrefslogtreecommitdiff
path: root/src/prefs_template.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2013-06-03 07:25:28 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2013-06-03 07:25:28 +0000
commit1345b496dbb687ef5de04066ddbf4affee4b4cd1 (patch)
tree80e70d0469243c857b9d5bc0cfe2fcebde31fd32 /src/prefs_template.c
parent383459d4f43e54551a329c5c6a91fd2055afcfb7 (diff)
stabilize the order of templates.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3269 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/prefs_template.c')
-rw-r--r--src/prefs_template.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/prefs_template.c b/src/prefs_template.c
index fb535744..9e9d0c01 100644
--- a/src/prefs_template.c
+++ b/src/prefs_template.c
@@ -512,6 +512,7 @@ static GSList *prefs_template_get_list(void)
while ((tmpl = gtk_clist_get_row_data
(GTK_CLIST(templates.clist_tmpls), row)) != NULL) {
+ tmpl->tmplid = row;
tmpl_list = g_slist_append(tmpl_list, tmpl);
row++;
}