LarsGit223 commented on this pull request.


> +
+
+/** Setup the workbench menu.
+ *
+ **/
+gboolean menu_init(void)
+{
+       /* Create menu and root item/label */
+       menu_data.menu = gtk_menu_new();
+       menu_data.root_item = gtk_menu_item_new_with_label(_("Workbench"));
+       gtk_widget_show(menu_data.root_item);
+
+       /* Create new menu item "New Workbench" */
+       menu_data.item_new = gtk_menu_item_new_with_mnemonic(_("_New"));
+       gtk_widget_show(menu_data.item_new);
+       gtk_menu_append(GTK_MENU (menu_data.menu), menu_data.item_new);

Thanks, replaced it.

-- 
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_r134111355

Reply via email to