Add a trailing colon for focus events
authorMike Gorse <mgorse@novell.com>
Tue, 21 Dec 2010 19:45:30 +0000 (14:45 -0500)
committerMike Gorse <mgorse@novell.com>
Tue, 21 Dec 2010 19:45:30 +0000 (14:45 -0500)
atspi/atspi-event-listener.c

index 7fa68cf..1725bc1 100644 (file)
@@ -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);