Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Fri, 27 Feb 2015 21:10:09 UTC Commit: e3db73709b77ac60293f1ed428c89f451a613db1 https://github.com/geany/geany-plugins/commit/e3db73709b77ac60293f1ed428c89f...
Log Message: ----------- git-changebar: Fix repository refreshing when reloading a document
Modified Paths: -------------- git-changebar/src/gcb-plugin.c
Modified: git-changebar/src/gcb-plugin.c 10 lines changed, 1 insertions(+), 9 deletions(-) =================================================================== @@ -847,14 +847,6 @@ on_document_activate (GObject *obj, }
static void -on_document_reload (GObject *obj, - GeanyDocument *doc, - gpointer user_data) -{ - update_diff_push (doc, FALSE); -} - -static void on_git_head_changed (GFileMonitor *monitor, GFile *file, GFile *other_file, @@ -1071,7 +1063,7 @@ plugin_init (GeanyData *data) plugin_signal_connect (geany_plugin, NULL, "document-open", TRUE, G_CALLBACK (on_document_activate), NULL); plugin_signal_connect (geany_plugin, NULL, "document-reload", TRUE, - G_CALLBACK (on_document_reload), NULL); + G_CALLBACK (on_document_activate), NULL);
/* update for the current document in case we are loaded in the middle * of a session */
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).