[balsa/gtk3] Do not send ACTIVATE when asked for status



commit 9682c7f88482a5c34c24682b72d5009a227c6f83
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Sat May 28 08:54:09 2011 -0400

    Do not send ACTIVATE when asked for status

 ChangeLog  |    6 ++++++
 src/main.c |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 5eddba7..345c3f8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-28  Peter Bloomfield
+
+	* src/main.c (balsa_handle_automation_options): do not send
+	ACTIVATE when asked for status; see
+	http://mail.gnome.org/archives/balsa-list/2011-May/msg00015.html
+
 2011-04-16  Peter Bloomfield
 
 	Use GDesktopAppInfo instead of GAppInfo
diff --git a/src/main.c b/src/main.c
index 70bca10..c36aa13 100644
--- a/src/main.c
+++ b/src/main.c
@@ -230,7 +230,7 @@ balsa_handle_automation_options(UniqueApp * app)
 {
     printf("Another Balsa found. Talking to it...\n");
 
-    if (!(opt_compose_email || opt_attach_list))
+    if (!(opt_compose_email || opt_attach_list || cmd_get_stats))
         /* Move the main window to the request's screen */
         unique_app_send_message(app, UNIQUE_ACTIVATE, NULL);
 



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