cvs server: Diffing .
Index: bridge.c
===================================================================
RCS file: /cvs/gnome/at-spi/atk-bridge/bridge.c,v
retrieving revision 1.57
diff -u -p -r1.57 bridge.c
--- bridge.c	16 Dec 2002 18:03:45 -0000	1.57
+++ bridge.c	14 Feb 2003 10:47:34 -0000
@@ -74,6 +74,8 @@ static guint atk_signal_active_descendan
    static guint atk_signal_column_deleted;
 */
 
+static guint atk_signal_link_selected;
+
 static Accessibility_Registry spi_atk_bridge_get_registry (void);
 static void     spi_atk_bridge_do_registration         (void);
 static void     spi_atk_bridge_toplevel_added          (AtkObject             *object,
@@ -131,6 +133,8 @@ spi_atk_bridge_init_event_type_consts ()
   atk_signal_active_descendant_changed = 
          g_signal_lookup ("active_descendant_changed", 
 		          ATK_TYPE_OBJECT);
+  atk_signal_link_selected = g_signal_lookup ("link_selected", 
+					      ATK_TYPE_HYPERTEXT);
 }
 
 static int
@@ -360,6 +364,7 @@ spi_atk_register_event_listeners (void)
   add_signal_listener ("Gtk:AtkTable:column-reordered");
   add_signal_listener ("Gtk:AtkTable:column-deleted");
   add_signal_listener ("Gtk:AtkTable:model-changed");
+  add_signal_listener ("Gtk:AtkHypertext:link-selected");
 /*
  * May add the following listeners to implement preemptive key listening for GTK+
  *
@@ -740,6 +745,12 @@ spi_atk_bridge_signal_listener (GSignalI
       s_ao = spi_accessible_new (ao);
       c_obj = BONOBO_OBJREF (s_ao);
       spi_init_any_object (&any, &c_obj);
+    }
+  else if (signal_query.signal_id == atk_signal_link_selected)
+    {
+      if (G_VALUE_TYPE (param_values + 1) == G_TYPE_INT)
+        detail1 = g_value_get_int (param_values + 1);
+      g_print ("At %d in %s\n", __LINE__, __FILE__);
     }
   else
     {
