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

LarsGit223 notifications at xxxxx
Sat Aug 19 09:31:24 UTC 2017


LarsGit223 commented on this pull request.



> +			if (context.prj_bookmark != NULL)
+			{
+				popup_context = POPUP_CONTEXT_PRJ_BOOKMARK;
+			}
+			if (context.directory != NULL)
+			{
+				popup_context = POPUP_CONTEXT_DIRECTORY;
+			}
+			if (context.folder != NULL)
+			{
+				popup_context = POPUP_CONTEXT_FOLDER;
+			}
+			if (context.file != NULL)
+			{
+				popup_context = POPUP_CONTEXT_FILE;
+			}

You are right, "POPUP_CONTEXT_FILE" is the most specific situation and "POPUP_CONTEXT_WB_BOOKMARK" the least specific. Changed 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_r134087635
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170819/bca28105/attachment.html>


More information about the Github-comments mailing list