diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-12-26 06:24:24 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-12-26 06:24:24 +0000 |
commit | 81e59201385b28d3c6690f48f031d090acc0de31 (patch) | |
tree | 5e5115daf5e278c91c7e0e83fdf49026a49151f6 | |
parent | e4eb7ddd1d987340e339b2a59d7ed0be46d79166 (diff) |
only add modified flag when files are manually attached.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@862 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.ja | 5 | ||||
-rw-r--r-- | src/compose.c | 4 |
3 files changed, 12 insertions, 2 deletions
@@ -1,5 +1,10 @@ 2005-12-26 + * src/compose.c: only add modified flag when files are manually + attached. + +2005-12-26 + * libsylph/utils.c: subst_for_filename(): added more characters to be substituted (for Win32). generate_mime_boundary(): replaced subst_char() with subst_chars(). diff --git a/ChangeLog.ja b/ChangeLog.ja index fb900bc8..3698fc79 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -1,5 +1,10 @@ 2005-12-26 + * src/compose.c: ファイルが手動で添付された場合のみ修正済みフラグを + 追加するようにした。 + +2005-12-26 + * libsylph/utils.c: subst_for_filename(): 置換する文字を追加(Win32 のため)。 generate_mime_boundary(): subst_char() を subst_chars() diff --git a/src/compose.c b/src/compose.c index 6df784aa..7b463bb3 100644 --- a/src/compose.c +++ b/src/compose.c @@ -1905,8 +1905,6 @@ static void compose_attach_append(Compose *compose, const gchar *file, } fclose(fp); - compose_changed_cb(NULL, compose); - if (!compose->use_attach) { GtkItemFactory *ifactory; @@ -5948,6 +5946,7 @@ static void compose_attach_cb(gpointer data, guint action, GtkWidget *widget) utf8_filename = conv_filename_to_utf8(file); compose_attach_append(compose, file, utf8_filename, NULL); + compose_changed_cb(NULL, compose); g_free(utf8_filename); g_free(file); } @@ -6558,6 +6557,7 @@ static void compose_attach_drag_received_cb (GtkWidget *widget, path = (gchar *)cur->data; filename = conv_filename_to_utf8(path); compose_attach_append(compose, path, filename, content_type); + compose_changed_cb(NULL, compose); g_free(filename); g_free(path); } |