Revision: 1052 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1052&view=re... Author: eht16 Date: 2009-11-04 18:53:38 +0000 (Wed, 04 Nov 2009)
Log Message: ----------- Prevent updating the bookmark list if it is disabled.
Modified Paths: -------------- trunk/geany-plugins/addons/ChangeLog trunk/geany-plugins/addons/src/ao_bookmarklist.c
Modified: trunk/geany-plugins/addons/ChangeLog =================================================================== --- trunk/geany-plugins/addons/ChangeLog 2009-11-01 17:44:03 UTC (rev 1051) +++ trunk/geany-plugins/addons/ChangeLog 2009-11-04 18:53:38 UTC (rev 1052) @@ -1,3 +1,9 @@ +2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de> + + * src/ao_bookmarklist.c: + Prevent updating the bookmark list if it is disabled. + + 2009-11-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/addons.c:
Modified: trunk/geany-plugins/addons/src/ao_bookmarklist.c =================================================================== --- trunk/geany-plugins/addons/src/ao_bookmarklist.c 2009-11-01 17:44:03 UTC (rev 1051) +++ trunk/geany-plugins/addons/src/ao_bookmarklist.c 2009-11-04 18:53:38 UTC (rev 1052) @@ -414,7 +414,10 @@
void ao_bookmark_list_update_marker(AoBookmarkList *bm, GeanyEditor *editor, SCNotification *nt) { - if (nt->nmhdr.code == SCN_MODIFIED && nt->modificationType == SC_MOD_CHANGEMARKER) + AoBookmarkListPrivate *priv = AO_BOOKMARK_LIST_GET_PRIVATE(bm); + + if (priv->enable_bookmarklist && + nt->nmhdr.code == SCN_MODIFIED && nt->modificationType == SC_MOD_CHANGEMARKER) { if (sci_is_marker_set_at_line(editor->sci, nt->line, 1)) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org