Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect button-press signal handlers on plugin activation #639

Merged
merged 2 commits into from Nov 1, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion addons/src/ao_markword.c
Expand Up @@ -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));
}
Expand Down