[at-spi2-core] Add a trailing colon for focus events



commit 9cd3ed6913a2f95d77a8e4741f1dc241564dde2c
Author: Mike Gorse <mgorse novell com>
Date:   Tue Dec 21 14:45:30 2010 -0500

    Add a trailing colon for focus events

 atspi/atspi-event-listener.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/atspi/atspi-event-listener.c b/atspi/atspi-event-listener.c
index 7fa68cf..1725bc1 100644
--- a/atspi/atspi-event-listener.c
+++ b/atspi/atspi-event-listener.c
@@ -784,6 +784,16 @@ atspi_dbus_handle_event (DBusConnection *bus, DBusMessage *message, void *data)
       converted_type = p;
     }
   }
+  else if (detail [0] == '\0')
+  {
+    p = g_strconcat (converted_type, ":",  NULL);
+    if (p)
+    {
+      g_free (converted_type);
+      converted_type = p;
+    }
+  }
+
   if (detail[0] != '\0')
   {
     p = g_strconcat (converted_type, ":", detail, NULL);



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