Branch: refs/heads/master Author: Nick Treleaven nick.treleaven@btinternet.com Committer: Nick Treleaven nick.treleaven@btinternet.com Date: Fri, 26 Sep 2014 10:44:05 UTC Commit: 4ceb9fb1f27b7a73631566bf0f3df273fe16f7db https://github.com/geany/geany/commit/4ceb9fb1f27b7a73631566bf0f3df273fe16f7...
Log Message: ----------- Add comment about throwing away read-only for renamed documents
Modified Paths: -------------- src/document.c src/documentprivate.h
Modified: src/document.c 1 lines changed, 1 insertions(+), 0 deletions(-) =================================================================== @@ -1655,6 +1655,7 @@ gboolean document_save_file_as(GeanyDocument *doc, const gchar *utf8_fname)
if (new_file) { + // assume user wants to throw away read-only setting sci_set_readonly(doc->editor->sci, FALSE); doc->readonly = FALSE; if (doc->priv->protected > 0)
Modified: src/documentprivate.h 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -93,7 +93,7 @@ typedef struct GeanyDocumentPrivate time_t mtime; /* ID of the idle callback updating the tag list */ guint tag_list_update_source; - /* Whether it's temoporarily protected (read-only and saving is prevented). Does + /* Whether it's temporarily protected (read-only and saving needs confirmation). Does * not imply doc->readonly as writable files can be protected */ gint protected; /* Save pointer to info bars allowing to cancel them programatically (to avoid multiple ones) */
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).