aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-04-11 06:17:31 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-04-11 06:17:31 +0000
commit1cd0b5999ef1ddd33ce5bcb8368d4438129f19fa (patch)
treeabbf3afadb1313e6f4315e3d5cae1927a43e8e2b
parent26360edf874901796f323db1af7402c077f4d1b7 (diff)
scroll CList when reordering in CSV import.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1619 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--ChangeLog4
-rw-r--r--ChangeLog.ja4
-rw-r--r--src/importcsv.c8
3 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4d45c508..bac3630c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2007-04-11
+ * src/importcsv.c: scroll CList when reordering.
+
+2007-04-11
+
* src/importcsv.c: supported tab-separated file.
2007-04-11
diff --git a/ChangeLog.ja b/ChangeLog.ja
index 0de6c174..e083fdd3 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,5 +1,9 @@
2007-04-11
+ * src/importcsv.c: 並べ替え時に CList をスクロールするようにした。
+
+2007-04-11
+
* src/importcsv.c: タブ区切りファイルに対応。
2007-04-11
diff --git a/src/importcsv.c b/src/importcsv.c
index f63a3fae..5271bf00 100644
--- a/src/importcsv.c
+++ b/src/importcsv.c
@@ -305,6 +305,10 @@ static void imp_csv_field_list_up( GtkWidget *button, gpointer data ) {
dest_attr->col = row;
gtk_clist_thaw( clist );
+
+ if (gtk_clist_row_is_visible(clist, row - 1)
+ != GTK_VISIBILITY_FULL)
+ gtk_clist_moveto(clist, row - 1, 0, 0.5, 0);
}
}
@@ -343,6 +347,10 @@ static void imp_csv_field_list_down( GtkWidget *button, gpointer data ) {
dest_attr->col = row;
gtk_clist_thaw( clist );
+
+ if (gtk_clist_row_is_visible(clist, row + 1)
+ != GTK_VISIBILITY_FULL)
+ gtk_clist_moveto(clist, row + 1, 0, 0.5, 0);
}
}