* at-bridge/bridge.c: Added registration for separate
"Atktext:text-changed::insert" and "AtkText:text-changed::delete"
signals. If either of the first two parameters to the generic
bridge signal handler are ints, they are passed on as event
details. This allows an AT to determine what text was inserted.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@192
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
+2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
+
+ * at-bridge/bridge.c: Added registration for separate
+ "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
+ signals. If either of the first two parameters to the generic
+ bridge signal handler are ints, they are passed on as event
+ details. This allows an AT to determine what text was inserted.
+
2001-12-21 Bill Haneman <bill.haneman@sun.com>
* registryd/deviceeventcontroller.c:
GObject *gobject;
GSignalQuery signal_query;
const gchar *name;
+ gint detail1 = 0, detail2 = 0;
#ifdef SPI_BRIDGE_DEBUG
gchar *s, *s2;
#endif
#endif
gobject = g_value_get_object (param_values + 0);
-
- spi_atk_emit_eventv (gobject, 0, 0, "object:%s", name);
+ if (G_VALUE_TYPE (param_values + 1) == G_TYPE_INT)
+ detail1 = g_value_get_int (param_values + 1);
+ if (G_VALUE_TYPE (param_values + 2) == G_TYPE_INT)
+ detail2 = g_value_get_int (param_values + 2);
+
+ spi_atk_emit_eventv (gobject, detail1, detail2, "object:%s", name);
return TRUE;
}