[Github-comments] [geany/geany-plugins] Workbench (#598)

LarsGit223 notifications at xxxxx
Sat Aug 19 14:37:37 UTC 2017


LarsGit223 commented on this pull request.



> +/** Cleanup menu data/mem.
+ *
+ **/
+void menu_cleanup (void)
+{
+	gtk_container_remove (GTK_CONTAINER(ui_lookup_widget(wb_globals.geany_plugin->geany_data->main_widgets->window, "menubar1")),
+						  menu_data.root_item);
+}
+
+
+/** Activate menu item "New".
+ *
+ **/
+void menu_item_new_activate (void)
+{
+	gtk_widget_set_sensitive(menu_data.item_new, TRUE);

Already solved, see re-factored version of ```menu.c```.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/598#discussion_r134093235
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170819/59a93dde/attachment.html>


More information about the Github-comments mailing list