aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2017-12-14 05:05:42 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2017-12-14 05:05:42 +0000
commit3e150612160676a1b8e9dab0f876abd00a018110 (patch)
treef4b06bff85e51c5612637b1a03d2b20d16bcf575
parent5cc8f4cadf34eab567f07ed42b278bf6b76a9704 (diff)
exportcsv.c: display error message if file open failed.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3595 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--ChangeLog5
-rw-r--r--src/exportcsv.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4c5f5e54..b4015f50 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-12-14
+
+ * src/exportcsv.c: exp_csv_file_move(): display error message if
+ file open failed.
+
2017-12-12
* src/addressbook.c: disabled '/Tools/Export to CSV file' menu when
diff --git a/src/exportcsv.c b/src/exportcsv.c
index 8e51cf99..3fa35eed 100644
--- a/src/exportcsv.c
+++ b/src/exportcsv.c
@@ -286,6 +286,8 @@ static gboolean exp_csv_file_move() {
if( ! errFlag ) {
if( exp_csv_export_data( sFile ) == MGU_SUCCESS ) {
retVal = TRUE;
+ } else {
+ sMsg = _( "Cannot write to file." );
}
}
exp_csv_status_show( sMsg );