* src/compose.c
compose_wrap_paragraph() becomes
compose_beautify_paragraph()
Patch by Colin
+2005-09-02 [paul] 1.9.13cvs79
+
+ * src/compose.c
+ compose_wrap_paragraph() becomes
+ compose_beautify_paragraph()
+ Patch by Colin
+
2005-09-02 [cleroy] 1.9.13cvs78
* src/folderview.c
2005-09-02 [cleroy] 1.9.13cvs78
* src/folderview.c
( cvs diff -u -r 1.204.2.56 -r 1.204.2.57 src/prefs_common.c; ) > 1.9.13cvs76.patchset
( cvs diff -u -r 1.179.2.64 -r 1.179.2.65 src/imap.c; cvs diff -u -r 1.395.2.120 -r 1.395.2.121 src/summaryview.c; ) > 1.9.13cvs77.patchset
( cvs diff -u -r 1.207.2.61 -r 1.207.2.62 src/folderview.c; ) > 1.9.13cvs78.patchset
( cvs diff -u -r 1.204.2.56 -r 1.204.2.57 src/prefs_common.c; ) > 1.9.13cvs76.patchset
( cvs diff -u -r 1.179.2.64 -r 1.179.2.65 src/imap.c; cvs diff -u -r 1.395.2.120 -r 1.395.2.121 src/summaryview.c; ) > 1.9.13cvs77.patchset
( cvs diff -u -r 1.207.2.61 -r 1.207.2.62 src/folderview.c; ) > 1.9.13cvs78.patchset
+( cvs diff -u -r 1.382.2.158 -r 1.382.2.159 src/compose.c; ) > 1.9.13cvs79.patchset
MICRO_VERSION=13
INTERFACE_AGE=0
BINARY_AGE=0
MICRO_VERSION=13
INTERFACE_AGE=0
BINARY_AGE=0
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
static void compose_attach_parts (Compose *compose,
MsgInfo *msginfo);
static void compose_attach_parts (Compose *compose,
MsgInfo *msginfo);
-static void compose_wrap_paragraph (Compose *compose,
+static void compose_beautify_paragraph (Compose *compose,
GtkTextIter *par_iter,
gboolean force);
static void compose_wrap_all (Compose *compose);
GtkTextIter *par_iter,
gboolean force);
static void compose_wrap_all (Compose *compose);
compose_ext_editor_cb(compose, 0, NULL);
break;
case A_LINEWRAP_CURRENT:
compose_ext_editor_cb(compose, 0, NULL);
break;
case A_LINEWRAP_CURRENT:
- compose_wrap_paragraph(compose, NULL, TRUE);
+ compose_beautify_paragraph(compose, NULL, TRUE);
break;
case A_LINEWRAP_ALL:
compose_wrap_all_full(compose, TRUE);
break;
case A_LINEWRAP_ALL:
compose_wrap_all_full(compose, TRUE);
g_warning("alloc error scanning URIs\n"); \
}
g_warning("alloc error scanning URIs\n"); \
}
-static void compose_wrap_paragraph(Compose *compose, GtkTextIter *par_iter, gboolean force)
+static void compose_beautify_paragraph(Compose *compose, GtkTextIter *par_iter, gboolean force)
{
GtkTextView *text = GTK_TEXT_VIEW(compose->text);
GtkTextBuffer *buffer;
{
GtkTextView *text = GTK_TEXT_VIEW(compose->text);
GtkTextBuffer *buffer;
- debug_print("compose_wrap_paragraph(): quote_str = '%s'\n", quote_str);
+ debug_print("compose_beautify_paragraph(): quote_str = '%s'\n", quote_str);
startq_offset = gtk_text_iter_get_offset(&iter);
} else {
if (startq_offset == -1)
startq_offset = gtk_text_iter_get_offset(&iter);
} else {
if (startq_offset == -1)
gtk_text_buffer_get_start_iter(buffer, &iter);
while (!gtk_text_iter_is_end(&iter))
gtk_text_buffer_get_start_iter(buffer, &iter);
while (!gtk_text_iter_is_end(&iter))
- compose_wrap_paragraph(compose, &iter, force);
+ compose_beautify_paragraph(compose, &iter, force);
undo_unblock(compose->undostruct);
}
undo_unblock(compose->undostruct);
}
if (action == 1)
compose_wrap_all_full(compose, TRUE);
else
if (action == 1)
compose_wrap_all_full(compose, TRUE);
else
- compose_wrap_paragraph(compose, NULL, TRUE);
+ compose_beautify_paragraph(compose, NULL, TRUE);
}
static void compose_toggle_autowrap_cb(gpointer data, guint action,
}
static void compose_toggle_autowrap_cb(gpointer data, guint action,
mark = gtk_text_buffer_create_mark(buffer, NULL, iter, FALSE);
mark = gtk_text_buffer_create_mark(buffer, NULL, iter, FALSE);
-/* compose_wrap_all_full(compose, FALSE); */
- compose_wrap_paragraph(compose, iter, FALSE);
+ compose_beautify_paragraph(compose, iter, FALSE);
gtk_text_buffer_get_iter_at_mark(buffer, iter, mark);
gtk_text_buffer_delete_mark(buffer, mark);
gtk_text_buffer_get_iter_at_mark(buffer, iter, mark);
gtk_text_buffer_delete_mark(buffer, mark);