[geany/geany-plugins] 4f6fb6: git-changebar: Update diff on save
Colomban Wendling
git-noreply at xxxxx
Wed May 27 00:56:33 UTC 2015
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Wed, 27 May 2015 00:56:33 UTC
Commit: 4f6fb6acfc3a5a6cfe1ca2ff7ba0da3e592efbcb
https://github.com/geany/geany-plugins/commit/4f6fb6acfc3a5a6cfe1ca2ff7ba0da3e592efbcb
Log Message:
-----------
git-changebar: Update diff on save
If the document was saved as, we need to check for the new location.
Modified Paths:
--------------
git-changebar/src/gcb-plugin.c
Modified: git-changebar/src/gcb-plugin.c
2 lines changed, 2 insertions(+), 0 deletions(-)
===================================================================
@@ -1192,6 +1192,8 @@ plugin_init (GeanyData *data)
G_CALLBACK (on_document_activate), NULL);
plugin_signal_connect (geany_plugin, NULL, "document-reload", TRUE,
G_CALLBACK (on_document_activate), NULL);
+ plugin_signal_connect (geany_plugin, NULL, "document-save", TRUE,
+ G_CALLBACK (on_document_activate), NULL);
plugin_signal_connect (geany_plugin, NULL, "geany-startup-complete", TRUE,
G_CALLBACK (on_startup_complete), NULL);
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list