SF.net SVN: geany-plugins:[2253] trunk/geany-plugins/addons/src/ao_tasks.c
eht16 at users.sourceforge.net
eht16 at xxxxx
Sat Oct 8 15:21:03 UTC 2011
Revision: 2253
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2253&view=rev
Author: eht16
Date: 2011-10-08 15:21:03 +0000 (Sat, 08 Oct 2011)
Log Message:
-----------
Activate and update the task list when the Tasks addon is enabled
Modified Paths:
--------------
trunk/geany-plugins/addons/src/ao_tasks.c
Modified: trunk/geany-plugins/addons/src/ao_tasks.c
===================================================================
--- trunk/geany-plugins/addons/src/ao_tasks.c 2011-10-08 12:45:14 UTC (rev 2252)
+++ trunk/geany-plugins/addons/src/ao_tasks.c 2011-10-08 15:21:03 UTC (rev 2253)
@@ -115,6 +115,8 @@
ao_tasks_hide(AO_TASKS(object));
priv->enable_tasks = new_val;
+ if (priv->enable_tasks && main_is_realized() && ! priv->active)
+ ao_tasks_set_active(AO_TASKS(object));
break;
}
case PROP_SCAN_ALL_DOCUMENTS:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Plugins-Commits
mailing list