aboutdialog: Disable text undo

The text buffers here are not editable, so it
does not make sense to have text undo enabled
for them.

Fixes: #3123
This commit is contained in:
Matthias Clasen 2020-09-06 17:00:43 -04:00
parent 4d45c2669c
commit bc80ed4240

View File

@ -2042,6 +2042,8 @@ text_buffer_new (GtkAboutDialog *about,
gtk_text_buffer_get_end_iter (buffer, &end_iter);
gtk_text_buffer_apply_tag (buffer, tag, &start_iter, &end_iter);
gtk_text_buffer_set_enable_undo (buffer, FALSE);
return buffer;
}