unity-api-bugs team mailing list archive
-
unity-api-bugs team
-
Mailing list archive
-
Message #07281
[Bug 1065732] Re: Application entry in Messaging Menu always starts the application
In case someone else also needs a single application instance library for C# (or for inspiration for other languages), my MIT/X11 licensed implementation can be found here:
https://github.com/meebey/smuxi/commit/b6f538d92417e77445541886768bc50414faf281
Current version:
https://github.com/meebey/smuxi/blob/master/src/Common/SingleApplicationInstance.cs
--
You received this bug notification because you are a member of Unity API
bugs, which is subscribed to Messaging Menu.
https://bugs.launchpad.net/bugs/1065732
Title:
Application entry in Messaging Menu always starts the application
Status in The Messaging Menu:
New
Status in smuxi package in Ubuntu:
Fix Committed
Bug description:
When I ported Smuxi to the new libmessaging-menu library I noticed
that the Messaging Menu is always executing/invoking the application.
This is all good and nice as long as the application supports single-
instance, when not it's a real pain though. Wouldn't it be sufficient
to use the source-activiated event for the application itself, or by
adding a new dedicated app-activated event. This way the application
wouldn't need to deal with IPC at all and just work, I think this
would be in the spirit of the new library to make it easy for
application developers.
Thanks for considering! Besides this, the new lib works great!
To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-messages/+bug/1065732/+subscriptions