Re: balsa -s should not pop up the window



On 25.05.2011 06:13:09, Peter Bloomfield wrote:
On 05/24/2011 08:27:49 AM Tue, Ildar Mulyukov wrote:
	Hi, colleagues.
I just found out that
$ balsa -s
raises the window. This is obviously wrong: a script should be able to check the queue without interrupting a user.

Plz fix. Thanks. Best regards,

AIRC that's a libunique "feature". Balsa currently uses libunique to avoid creating multiple instances, and when a secondary instance communicates with the primary instance, in this case to find status info, libunique hits the primary instance with gtk_window_set_urgency_hint. Arguably a libunique bug.

The gtk3 branch will in due course migrate from libunique to GtkApplication, which we hope has a saner implementation--time will tell! Patches welcome, as always :)

	Hi Peter!
You got it wrong:
$ balsa --help | grep -- -s,
-s, --get-stats Prints number unread and unsent messages So the expected behavior would be: regardless of existing instance *just show stats and quit*.

The libunique works fine, no claims.

Regards,
--
Ildar  Mulyukov,  free SW designer/programmer
================================================
email: ildar users sourceforge net
home: http://johan-notes.blogspot.com/
ALT Linux Sisyphus
================================================


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]