[Github-comments] [geany/geany-plugins] Connect button-press signal handlers on plugin activation (#639)

Enrico Tröger notifications at xxxxx
Sun Oct 29 22:05:58 UTC 2017


eht16 commented on this pull request.



> @@ -78,6 +79,13 @@ static void ao_mark_word_set_property(GObject *object, guint prop_id,
 	{
 		case PROP_ENABLE_MARKWORD:
 			priv->enable_markword = g_value_get_boolean(value);
+			/* 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())

Uhhh, of course, thanks. Stupid me. Fixed in 71e26d8f69092ddaa2da305bb3cee4f76378a8b5.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/639#discussion_r147596532
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20171029/a91d6666/attachment.html>


More information about the Github-comments mailing list