Ignore documents with no absolute path when saving session files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2425 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
d8bca75e41
commit
a17610af72
@ -14,6 +14,8 @@
|
|||||||
Rename filename parameter utf8_filename.
|
Rename filename parameter utf8_filename.
|
||||||
* src/keybindings.c:
|
* src/keybindings.c:
|
||||||
Check file on disk for changes (with timeout) when pressing a key.
|
Check file on disk for changes (with timeout) when pressing a key.
|
||||||
|
* src/keyfile.c:
|
||||||
|
Ignore documents with no absolute path when saving session files.
|
||||||
|
|
||||||
|
|
||||||
2008-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
2008-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
||||||
|
@ -109,7 +109,7 @@ void configuration_save_session_files(GKeyFile *config)
|
|||||||
for (i = 0; i < max; i++)
|
for (i = 0; i < max; i++)
|
||||||
{
|
{
|
||||||
idx = document_get_n_idx(i);
|
idx = document_get_n_idx(i);
|
||||||
if (idx >= 0 && doc_list[idx].file_name)
|
if (idx >= 0 && g_path_is_absolute(DOC_FILENAME(idx)))
|
||||||
{
|
{
|
||||||
gchar *fname;
|
gchar *fname;
|
||||||
filetype *ft = doc_list[idx].file_type;
|
filetype *ft = doc_list[idx].file_type;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user