[Github-comments] [geany/geany-plugins] Workbench (#598)
LarsGit223
notifications at xxxxx
Sat Aug 19 08:35:15 UTC 2017
LarsGit223 commented on this pull request.
> + wb_project_add_directory(project, dirname);
+ sidebar_update(SIDEBAR_CONTEXT_DIRECTORY_ADDED, &context);
+ g_free(dirname);
+ }
+ }
+}
+
+
+/* Handle popup menu item "Remove directory" */
+static void popup_menu_on_remove_directory(G_GNUC_UNUSED GtkMenuItem * menuitem, G_GNUC_UNUSED gpointer user_data)
+{
+ SIDEBAR_CONTEXT context;
+
+ if (sidebar_file_view_get_selected_context(&context)
+ &&
+ context.project != NULL && context.directory != NULL)
Adjusted. Logical operator and following conditions are now on one line.
--
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_r134086608
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170819/264b823c/attachment.html>
More information about the Github-comments
mailing list