LarsGit223 commented on this pull request.


> +     GError *error = NULL;
+
+       filename = dialogs_create_new_workbench();
+       if (filename == NULL)
+       {
+               return;
+       }
+       wb_globals.opened_wb = workbench_new();
+       workbench_set_filename(wb_globals.opened_wb, filename);
+       if (workbench_save(wb_globals.opened_wb, &error))
+       {
+               menu_item_new_deactivate();
+               menu_item_open_deactivate();
+               menu_item_save_activate();
+               menu_item_settings_activate();
+               menu_item_close_activate();

Yes. Just changed it to work in a similar way like the sidebar and the popup 
menu.

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

Reply via email to