Revision: 1051 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1051&view=re... Author: eht16 Date: 2009-11-01 17:44:03 +0000 (Sun, 01 Nov 2009)
Log Message: ----------- Initally fill the Bookmark list after the plugin has been enabled.
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:40:09 UTC (rev 1050) +++ trunk/geany-plugins/addons/ChangeLog 2009-11-01 17:44:03 UTC (rev 1051) @@ -5,6 +5,7 @@ * src/ao_bookmarklist.c: Improve handling of the notebook page (closes #2889415). Add a popup menu to the Bookmark list to easily remove set bookmarks. + Initally fill the Bookmark list after the plugin has been enabled.
2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/geany-plugins/addons/src/ao_bookmarklist.c =================================================================== --- trunk/geany-plugins/addons/src/ao_bookmarklist.c 2009-11-01 17:40:09 UTC (rev 1050) +++ trunk/geany-plugins/addons/src/ao_bookmarklist.c 2009-11-01 17:44:03 UTC (rev 1051) @@ -317,6 +317,7 @@ GtkListStore *store; GtkWidget *scrollwin; GtkTreeSortable *sortable; + GeanyDocument *doc; AoBookmarkListPrivate *priv = AO_BOOKMARK_LIST_GET_PRIVATE(bm);
tree = GTK_TREE_VIEW(gtk_tree_view_new()); @@ -372,6 +373,11 @@ priv->store = store; priv->tree = GTK_WIDGET(tree); priv->page = scrollwin; + + /* initial update */ + doc = document_get_current(); + if (doc != NULL) + ao_bookmark_list_update(bm, doc); }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org