Revision: 5236 http://geany.svn.sourceforge.net/geany/?rev=5236&view=rev Author: ntrel Date: 2010-09-16 15:18:56 +0000 (Thu, 16 Sep 2010)
Log Message: ----------- Add main_widgets.project_menu to API (patch by Ji?\197?\153?\195?\173 Techet, thanks).
Modified Paths: -------------- trunk/ChangeLog trunk/src/main.c trunk/src/plugindata.h trunk/src/ui_utils.h
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2010-09-16 15:14:09 UTC (rev 5235) +++ trunk/ChangeLog 2010-09-16 15:18:56 UTC (rev 5236) @@ -15,6 +15,8 @@ Add plugin signals project-dialog-create and project-dialog-confirmed so plugins can append a Project Properties notebook tab (patch by Jiří Techet, thanks). + * src/ui_utils.h, src/plugindata.h, src/main.c: + Add main_widgets.project_menu to API (patch by Jiří Techet, thanks).
2010-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: trunk/src/main.c =================================================================== --- trunk/src/main.c 2010-09-16 15:14:09 UTC (rev 5235) +++ trunk/src/main.c 2010-09-16 15:18:56 UTC (rev 5236) @@ -253,6 +253,7 @@ main_widgets.editor_menu = create_edit_menu1(); main_widgets.tools_menu = ui_lookup_widget(main_widgets.window, "tools1_menu"); main_widgets.message_window_notebook = ui_lookup_widget(main_widgets.window, "notebook_info"); + main_widgets.project_menu = ui_lookup_widget(main_widgets.window, "menu_project1_menu");
ui_widgets.toolbar_menu = create_toolbar_popup_menu1(); ui_init();
Modified: trunk/src/plugindata.h =================================================================== --- trunk/src/plugindata.h 2010-09-16 15:14:09 UTC (rev 5235) +++ trunk/src/plugindata.h 2010-09-16 15:18:56 UTC (rev 5236) @@ -50,7 +50,7 @@ enum { /** The Application Programming Interface (API) version, incremented * whenever any plugin data types are modified or appended to. */ - GEANY_API_VERSION = 195, + GEANY_API_VERSION = 196,
/** The Application Binary Interface (ABI) version, incremented whenever * existing fields in the plugin data types have to be changed or reordered. */
Modified: trunk/src/ui_utils.h =================================================================== --- trunk/src/ui_utils.h 2010-09-16 15:14:09 UTC (rev 5235) +++ trunk/src/ui_utils.h 2010-09-16 15:18:56 UTC (rev 5236) @@ -79,6 +79,8 @@ * See ui_progress_bar_start() for details. */ GtkWidget *progressbar; GtkWidget *message_window_notebook; /**< Message Window notebook. */ + /** Plugins modifying the project can add their items to the Project menu. */ + GtkWidget *project_menu; } GeanyMainWidgets;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.