fabiocolacio / Marker

🖊 A gtk3 markdown editor
GNU General Public License v3.0
832 stars 75 forks source link

Show more detailed buttons when trying to exit with unsaved changes #331

Open rohmishra opened 3 years ago

rohmishra commented 3 years ago

Marker uses standard cancel_ok gtk dialog buttons when it asks user if changes made to the file are to be save. While informative enough they are not clear in their message.

temp_nodiscardbtn_marker

Options like "Go back" instead of cancel or "Discard" instead of OK would be better suited. Also since accidently discarding might rrsult in unintentional data loss, this message should use GTK_MESSAGE_QUESTION, Question requiring a choice instead of GTK_MESSAGE_WARNING.