[Github-comments] [geany/geany] Make build_get/set_(current_)menu_item functions symmetrical (#1225)

elextr notifications at xxxxx
Mon Sep 12 05:51:04 UTC 2016


You never want to set the current build command, thats the point, why do
you want to set a command in an unknown source?

"Current" is a state, not a thing, it may be different after the next user
input.  You then don't know what you set.

On 12 September 2016 at 15:47, Matthew Brush <notifications at github.com>
wrote:

> That set_current functionality should not be added is the main point.
>
> It's the only way to set the current build command, that's the rationale :)
>
> An alternative would be a function like build_get_current_source() to get
> the current build source and then use that the set it.
>
>> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/geany/geany/pull/1225#issuecomment-246255156>, or mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/AAxgTT3kIokRylbrJo60os1T6MidhAGMks5qpOd0gaJpZM4J6CEe>
> .
>


-- 
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/pull/1225#issuecomment-246255517
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160911/15ed0d52/attachment.html>


More information about the Github-comments mailing list