diff options
Diffstat (limited to 'src/compose.c')
-rw-r--r-- | src/compose.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |