aboutsummaryrefslogtreecommitdiff
path: root/src/importcsv.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-04-11 03:32:13 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-04-11 03:32:13 +0000
commitfd7f4c285e35f01683efd4bdb60fa400f3393847 (patch)
tree4e682bd072c986b0c880da1f0e6580e465490c2d /src/importcsv.c
parent86de127683c025e785cdd8e323bfa17447a218bd (diff)
added description to the field page of CSV import.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1613 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/importcsv.c')
-rw-r--r--src/importcsv.c17
1 files changed, 13 insertions, 4 deletions
diff --git a/src/importcsv.c b/src/importcsv.c
index 4863c36f..9f26e8ff 100644
--- a/src/importcsv.c
+++ b/src/importcsv.c
@@ -405,10 +405,10 @@ static gint imp_csv_import_data( gchar *csvFile, AddressCache *cache ) {
fullName = address;
person = addritem_create_item_person();
- addritem_person_set_common_name( person, fullName);
- addritem_person_set_first_name( person, firstName);
- addritem_person_set_last_name( person, lastName);
- addritem_person_set_nick_name( person, nickName);
+ addritem_person_set_common_name( person, fullName );
+ addritem_person_set_first_name( person, firstName );
+ addritem_person_set_last_name( person, lastName );
+ addritem_person_set_nick_name( person, nickName );
addrcache_id_person( cache, person );
addrcache_add_person( cache, person );
@@ -717,6 +717,15 @@ static void imp_csv_page_fields( gint pageNum, gchar *pageLbl ) {
gtk_notebook_get_nth_page(GTK_NOTEBOOK( impcsv_dlg.notebook ), pageNum ),
label );
+ hbox = gtk_hbox_new( FALSE, 0 );
+ gtk_box_pack_start( GTK_BOX( vbox ), hbox, FALSE, FALSE, 4 );
+
+ label = gtk_label_new
+ ( _("Reorder address book fields with the Up and Down button.") );
+ gtk_box_pack_start( GTK_BOX( hbox ), label, FALSE, FALSE, 0 );
+ gtk_label_set_justify( GTK_LABEL( label ), GTK_JUSTIFY_LEFT );
+ gtk_label_set_line_wrap( GTK_LABEL( label ), TRUE );
+
hbox = gtk_hbox_new( FALSE, 4 );
gtk_box_pack_start( GTK_BOX( vbox ), hbox, TRUE, TRUE, 0 );