Not really a hard requirement but since the project plugin settings
can now be also integrated to the project settings dialog, it
looks strange when the project-related items are in the Tools menu.

Signed-off-by: Jiří Techet <[email protected]>
---
 src/main.c     |    1 +
 src/ui_utils.h |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/main.c b/src/main.c
index d0298a3..da5b850 100644
--- a/src/main.c
+++ b/src/main.c
@@ -252,6 +252,7 @@ static void main_init(void)
 	main_widgets.notebook = ui_lookup_widget(main_widgets.window, "notebook1");
 	main_widgets.editor_menu = create_edit_menu1();
 	main_widgets.tools_menu = ui_lookup_widget(main_widgets.window, "tools1_menu");
+	main_widgets.project_menu = ui_lookup_widget(main_widgets.window, "menu_project1_menu");
 
 	ui_widgets.toolbar_menu = create_toolbar_popup_menu1();
 	ui_init();
diff --git a/src/ui_utils.h b/src/ui_utils.h
index d062f7b..1330901 100644
--- a/src/ui_utils.h
+++ b/src/ui_utils.h
@@ -77,6 +77,7 @@ typedef struct GeanyMainWidgets
 	GtkWidget			*progressbar;		/**< Progress bar widget in the status bar to show
 	                                             progress of various actions.
 												 See ui_progress_bar_start() for details. */
+	GtkWidget			*project_menu;		/**< Plugins modifying the project can add their items to the Project menu. */
 }
 GeanyMainWidgets;
 
_______________________________________________
Geany-devel mailing list
[email protected]
http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

Reply via email to