[geany/geany] de559e: Make document_save_file() show the Save As dialog ...

Nick Treleaven nick.treleaven at xxxxx
Wed Nov 2 15:27:47 UTC 2011

  Branch: refs/heads/master
  Home:   https://github.com/geany/geany

  Commit: de559ef5d4150e2485ef3ffb865e9c9d3249bcd8
  Author: Nick Treleaven <nick.treleaven at btinternet.com>
  Date:   2011-11-02 (Wed, 02 Nov 2011)

  Changed paths:
    M src/build.c
  M src/callbacks.c
  M src/dialogs.c
  M src/document.c

  Log Message:
  Make document_save_file() show the Save As dialog when necessary

Previously an error message was shown if doc->file_name is NULL.

The Save As dialog is now shown if the document does not have an
absolute path. This is because the user should confirm where to save
the document in this case.

Although this changes plugin API behaviour, it seems the best way to
ensure the Save As dialog is always shown when needed so the user
knows where the document has been saved.

More information about the Commits mailing list