astroid
astroid copied to clipboard
astroid.desktop doesn't work with mailto: links
When setting astroid.desktop as the default handler for mailto: links, astroid opens, but without composing a new message. This is because astroid expects the email address to be passed to the --mailto flag, but this argument isn't present in the .desktop file. Adding it there breaks the "normal" way of opening astroid.
Possible fix: if only a single positional argument is given to astroid, treat it as a mailto: link and handle accordingly.
Related to #11.
I'd be fine with that solution.
I had a go at that, but couldn't figure out how to process positional arguments in boost and with the arguments being parsed twice. Might have another look when I get a chance.
Yeah, it is a bit sub-optimal. I think in newer Gtk4 the argument parsing will be different anyway. The weird setup stems from supporting arguments when you run the astroid command when there already is an instance running.
On Fri, Nov 30, 2018 at 10:31 PM Lars Kotthoff [email protected] wrote:
I had a go at that, but couldn't figure out how to process positional arguments in boost and with the arguments being parsed twice. Might have another look when I get a chance.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/astroidmail/astroid/issues/608#issuecomment-443345913, or mute the thread https://github.com/notifications/unsubscribe-auth/AADd-xgpo__1oxjQ7vn2eVpHIRoPf_Swks5u0aPLgaJpZM4Y2tVY .