[geany/geany-plugins] 71e26d: Connect button press handler to open documents only if activated

Enrico Tröger git-noreply at xxxxx
Sun Oct 29 22:03:35 UTC 2017


Branch:      refs/heads/master
Author:      Enrico Tröger <enrico.troeger at uvena.de>
Committer:   Enrico Tröger <enrico.troeger at uvena.de>
Date:        Sun, 29 Oct 2017 22:03:35 UTC
Commit:      71e26d8f69092ddaa2da305bb3cee4f76378a8b5
             https://github.com/geany/geany-plugins/commit/71e26d8f69092ddaa2da305bb3cee4f76378a8b5

Log Message:
-----------
Connect button press handler to open documents only if activated


Modified Paths:
--------------
    addons/src/ao_markword.c

Modified: addons/src/ao_markword.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -82,7 +82,7 @@ static void ao_mark_word_set_property(GObject *object, guint prop_id,
 			/* if the plugin is loaded while Geany is already running, we need to connect the
 			 * button press signal for open documents, if Geany is just booting,
 			 * it happens automatically */
-			if (main_is_realized())
+			if (priv->enable_markword && main_is_realized())
 			{
 				connect_documents_button_press_signal_handler(AO_MARKWORD(object));
 			}



--------------
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