Fix it, really, maybe. Sorry.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3518 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
644a9cfbff
commit
92dd6be549
@ -2683,11 +2683,13 @@ GdkColor *document_get_status_color(GeanyDocument *doc)
|
||||
|
||||
if (doc->changed)
|
||||
color = &red;
|
||||
#if defined(HAVE_GIO) && defined(USE_GIO_FILEMON)
|
||||
else if (doc->priv->file_disk_status == FILE_MISSING ||
|
||||
doc->priv->file_disk_status == FILE_CHANGED)
|
||||
{
|
||||
color = &orange;
|
||||
}
|
||||
#endif
|
||||
else if (doc->readonly)
|
||||
color = &green;
|
||||
|
||||
@ -2914,8 +2916,8 @@ gboolean document_check_disk_status(GeanyDocument *doc, gboolean force)
|
||||
break;
|
||||
}
|
||||
|
||||
/*doc->priv->file_disk_status = FILE_OK;
|
||||
ui_update_tab_status(doc);*/
|
||||
doc->priv->file_disk_status = FILE_OK;
|
||||
/*ui_update_tab_status(doc);*/
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user