org.a11y.atspi.
config.h.in~
config
configure
-xml/introspection/org.freedesktop.atspi.*
libatk_bridge_la_CFLAGS = $(DBUS_GLIB_CFLAGS) \
$(ATK_CFLAGS) \
-I$(top_srcdir) \
- -I$(top_srcdir)/atk-adaptor/adaptors \
- -DATSPI_INTROSPECTION_PATH=\"$(datarootdir)/$(DEFAULT_ATSPI_INTROSPECTION_PATH)\"
+ -I$(top_srcdir)/atk-adaptor/adaptors
libatk_bridge_la_LDFLAGS = -no-undefined \
-module \
*/
#define SPI_ATK_PATH_PREFIX_LENGTH 34
-#define SPI_ATK_OBJECT_PATH_PREFIX "/org/freedesktop/atspi/accessible/"
+#define SPI_ATK_OBJECT_PATH_PREFIX "/org/a11y/atspi/accessible/"
#define SPI_ATK_OBJECT_PATH_ROOT "root"
#define SPI_ATK_OBJECT_REFERENCE_TEMPLATE SPI_ATK_OBJECT_PATH_PREFIX "%d"
$(DBUS_GLIB_CFLAGS) \
$(ATK_CFLAGS) \
-I$(top_srcdir) \
- -I$(top_srcdir)/atk-adaptor\
- -DATSPI_INTROSPECTION_PATH=\"$(datarootdir)/$(DEFAULT_ATSPI_INTROSPECTION_PATH)\"
+ -I$(top_srcdir)/atk-adaptor
libatk_bridge_adaptors_la_LIBADD =\
$(DBUS_GLIB_LIBS) \
{
droute_path_add_interface (path,
SPI_DBUS_INTERFACE_ACCESSIBLE,
- spi_org_freedesktop_atspi_Accessible,
+ spi_org_a11y_atspi_Accessible,
methods, properties);
};
{
droute_path_add_interface (path,
SPI_DBUS_INTERFACE_ACTION,
- spi_org_freedesktop_atspi_Action, methods, properties);
+ spi_org_a11y_atspi_Action, methods, properties);
};
{
droute_path_add_interface (path,
SPI_DBUS_INTERFACE_APPLICATION,
- spi_org_freedesktop_atspi_Application,
+ spi_org_a11y_atspi_Application,
methods, properties);
};
void
spi_initialize_cache (DRoutePath * path)
{
- droute_path_add_interface (path, SPI_DBUS_INTERFACE_CACHE, spi_org_freedesktop_atspi_Cache, methods, NULL);
+ droute_path_add_interface (path, SPI_DBUS_INTERFACE_CACHE, spi_org_a11y_atspi_Cache, methods, NULL);
g_signal_connect (spi_global_cache,
"object-added",
spi_initialize_collection (DRoutePath * path)
{
droute_path_add_interface (path,
- SPI_DBUS_INTERFACE_COLLECTION, spi_org_freedesktop_atspi_Collection, methods, NULL);
+ SPI_DBUS_INTERFACE_COLLECTION, spi_org_a11y_atspi_Collection, methods, NULL);
};
spi_initialize_component (DRoutePath * path)
{
droute_path_add_interface (path,
- SPI_DBUS_INTERFACE_COMPONENT, spi_org_freedesktop_atspi_Component, methods, NULL);
+ SPI_DBUS_INTERFACE_COMPONENT, spi_org_a11y_atspi_Component, methods, NULL);
};
spi_initialize_document (DRoutePath * path)
{
droute_path_add_interface (path,
- SPI_DBUS_INTERFACE_DOCUMENT, spi_org_freedesktop_atspi_Document, methods, NULL);
+ SPI_DBUS_INTERFACE_DOCUMENT, spi_org_a11y_atspi_Document, methods, NULL);
};
spi_initialize_editabletext (DRoutePath * path)
{
droute_path_add_interface (path,
- SPI_DBUS_INTERFACE_EDITABLE_TEXT, spi_org_freedesktop_atspi_EditableText, methods, NULL);
+ SPI_DBUS_INTERFACE_EDITABLE_TEXT, spi_org_a11y_atspi_EditableText, methods, NULL);
};
{
droute_path_add_interface (path,
SPI_DBUS_INTERFACE_HYPERLINK,
- spi_org_freedesktop_atspi_Hyperlink,
+ spi_org_a11y_atspi_Hyperlink,
methods, properties);
};
spi_initialize_hypertext (DRoutePath * path)
{
droute_path_add_interface (path,
- SPI_DBUS_INTERFACE_HYPERTEXT, spi_org_freedesktop_atspi_Hypertext, methods, NULL);
+ SPI_DBUS_INTERFACE_HYPERTEXT, spi_org_a11y_atspi_Hypertext, methods, NULL);
};
spi_initialize_image (DRoutePath * path)
{
droute_path_add_interface (path,
- SPI_DBUS_INTERFACE_IMAGE, spi_org_freedesktop_atspi_Image, methods, properties);
+ SPI_DBUS_INTERFACE_IMAGE, spi_org_a11y_atspi_Image, methods, properties);
};
{
droute_path_add_interface (path,
SPI_DBUS_INTERFACE_SELECTION,
- spi_org_freedesktop_atspi_Selection,
+ spi_org_a11y_atspi_Selection,
methods, properties);
};
spi_initialize_table (DRoutePath * path)
{
droute_path_add_interface (path,
- SPI_DBUS_INTERFACE_TABLE, spi_org_freedesktop_atspi_Table, methods, properties);
+ SPI_DBUS_INTERFACE_TABLE, spi_org_a11y_atspi_Table, methods, properties);
};
spi_initialize_text (DRoutePath * path)
{
droute_path_add_interface (path,
- SPI_DBUS_INTERFACE_TEXT, spi_org_freedesktop_atspi_Text, methods, properties);
+ SPI_DBUS_INTERFACE_TEXT, spi_org_a11y_atspi_Text, methods, properties);
};
spi_initialize_value (DRoutePath * path)
{
droute_path_add_interface (path,
- SPI_DBUS_INTERFACE_VALUE, spi_org_freedesktop_atspi_Value, NULL, properties);
+ SPI_DBUS_INTERFACE_VALUE, spi_org_a11y_atspi_Value, NULL, properties);
};
{
DBusMessage *message;
*(plug_path++) = '\0';
- message = dbus_message_new_method_call (plug_name, plug_path, "org.freedesktop.atspi.Accessible", "Embedded");
+ message = dbus_message_new_method_call (plug_name, plug_path, "org.a11y.atspi.Accessible", "Embedded");
dbus_message_append_args (message, DBUS_TYPE_STRING, &path, DBUS_TYPE_INVALID);
dbus_connection_send (spi_global_app_data->bus, message, NULL);
}
"/org/at_spi/cache", spi_global_cache);
accpath = droute_add_many (spi_global_app_data->droute,
- "/org/freedesktop/atspi/accessible",
+ "/org/a11y/atspi/accessible",
NULL,
(DRouteGetDatumFunction)
spi_global_register_path_to_object);
/*---------------------------------------------------------------------------*/
-#define ITF_EVENT_OBJECT "org.freedesktop.atspi.Event.Object"
-#define ITF_EVENT_WINDOW "org.freedesktop.atspi.Event.Window"
-#define ITF_EVENT_DOCUMENT "org.freedesktop.atspi.Event.Document"
-#define ITF_EVENT_FOCUS "org.freedesktop.atspi.Event.Focus"
+#define ITF_EVENT_OBJECT "org.a11y.atspi.Event.Object"
+#define ITF_EVENT_WINDOW "org.a11y.atspi.Event.Window"
+#define ITF_EVENT_DOCUMENT "org.a11y.atspi.Event.Document"
+#define ITF_EVENT_FOCUS "org.a11y.atspi.Event.Focus"
/*---------------------------------------------------------------------------*/
/*
* Children changed signal converter and forwarder.
*
- * Klass (Interface) org.freedesktop.atspi.Event.Object
+ * Klass (Interface) org.a11y.atspi.Event.Object
* Major is the signal name.
* Minor is 'add' or 'remove'
* detail1 is the index.
/*
* Generic signal converter and forwarder.
*
- * Klass (Interface) org.freedesktop.atspi.Event.Object
+ * Klass (Interface) org.a11y.atspi.Event.Object
* Major is the signal name.
* Minor is NULL.
* detail1 is 0.
*/
-const char *spi_org_freedesktop_atspi_Accessible =
-"<interface name=\"org.freedesktop.atspi.Accessible\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_Accessible =
+"<interface name=\"org.a11y.atspi.Accessible\" version=\"0.1.7\">"
""
" <property access=\"read\" name=\"name\" type=\"s\" />"
""
"</interface>"
"";
-const char *spi_org_freedesktop_atspi_Action =
-"<interface name=\"org.freedesktop.atspi.Action\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_Action =
+"<interface name=\"org.a11y.atspi.Action\" version=\"0.1.7\">"
""
" <property access=\"read\" name=\"nActions\" type=\"i\" />"
""
"</interface>"
"";
-const char *spi_org_freedesktop_atspi_Application =
-"<interface name=\"org.freedesktop.atspi.Application\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_Application =
+"<interface name=\"org.a11y.atspi.Application\" version=\"0.1.7\">"
""
" <property access=\"read\" name=\"toolkitName\" type=\"s\" />"
""
"</interface>"
"";
-const char *spi_org_freedesktop_atspi_Collection =
-"<interface name=\"org.freedesktop.atspi.Collection\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_Collection =
+"<interface name=\"org.a11y.atspi.Collection\" version=\"0.1.7\">"
""
" <method name=\"GetMatches\">"
" <arg direction=\"in\" name=\"rule\" type=\"(auuasuauusub)\" />"
"</interface>"
"";
-const char *spi_org_freedesktop_atspi_Component =
-"<interface name=\"org.freedesktop.atspi.Component\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_Component =
+"<interface name=\"org.a11y.atspi.Component\" version=\"0.1.7\">"
""
" <method name=\"Contains\">"
" <arg direction=\"in\" name=\"x\" type=\"i\" />"
"</interface>"
"";
-const char *spi_org_freedesktop_atspi_Document =
-"<interface name=\"org.freedesktop.atspi.Document\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_Document =
+"<interface name=\"org.a11y.atspi.Document\" version=\"0.1.7\">"
""
" <method name=\"GetLocale\">"
" <arg direction=\"out\" type=\"s\" />"
"</interface>"
"";
-const char *spi_org_freedesktop_atspi_Hypertext =
-"<interface name=\"org.freedesktop.atspi.Hypertext\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_Hypertext =
+"<interface name=\"org.a11y.atspi.Hypertext\" version=\"0.1.7\">"
""
" <method name=\"GetNLinks\">"
" <arg direction=\"out\" type=\"i\" />"
"</interface>"
"";
-const char *spi_org_freedesktop_atspi_Hyperlink =
-"<interface name=\"org.freedesktop.atspi.Hyperlink\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_Hyperlink =
+"<interface name=\"org.a11y.atspi.Hyperlink\" version=\"0.1.7\">"
""
" <property access=\"read\" name=\"nAnchors\" type=\"n\" />"
""
"</interface>"
"";
-const char *spi_org_freedesktop_atspi_Image =
-"<interface name=\"org.freedesktop.atspi.Image\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_Image =
+"<interface name=\"org.a11y.atspi.Image\" version=\"0.1.7\">"
""
" <property access=\"read\" name=\"imageDescription\" type=\"s\" />"
""
"</interface>"
"";
-const char *spi_org_freedesktop_atspi_Selection =
-"<interface name=\"org.freedesktop.atspi.Selection\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_Selection =
+"<interface name=\"org.a11y.atspi.Selection\" version=\"0.1.7\">"
""
" <property access=\"read\" name=\"nSelectedChildren\" type=\"i\" />"
""
"</interface>"
"";
-const char *spi_org_freedesktop_atspi_Table =
-"<interface name=\"org.freedesktop.atspi.Table\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_Table =
+"<interface name=\"org.a11y.atspi.Table\" version=\"0.1.7\">"
""
" <property access=\"read\" name=\"nRows\" type=\"i\" />"
""
"</interface>"
"";
-const char *spi_org_freedesktop_atspi_Text =
-"<interface name=\"org.freedesktop.atspi.Text\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_Text =
+"<interface name=\"org.a11y.atspi.Text\" version=\"0.1.7\">"
""
" <property access=\"read\" name=\"characterCount\" type=\"i\" />"
""
"</interface>"
"";
-const char *spi_org_freedesktop_atspi_EditableText =
-"<interface name=\"org.freedesktop.atspi.EditableText\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_EditableText =
+"<interface name=\"org.a11y.atspi.EditableText\" version=\"0.1.7\">"
""
" <method name=\"SetTextContents\">"
" <arg direction=\"in\" name=\"newContents\" type=\"s\" />"
"</interface>"
"";
-const char *spi_org_freedesktop_atspi_Cache =
-"<interface name=\"org.freedesktop.atspi.Cache\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_Cache =
+"<interface name=\"org.a11y.atspi.Cache\" version=\"0.1.7\">"
""
" <method name=\"GetItems\">"
" <arg direction=\"out\" name=\"nodes\" type=\"a((so)(so)a(so)assusau)\" />"
"</interface>"
"";
-const char *spi_org_freedesktop_atspi_Value =
-"<interface name=\"org.freedesktop.atspi.Value\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_Value =
+"<interface name=\"org.a11y.atspi.Value\" version=\"0.1.7\">"
""
" <property access=\"read\" name=\"minimumValue\" type=\"d\" />"
""
"</interface>"
"";
-const char *spi_org_freedesktop_atspi_DeviceEventController =
-"<interface name=\"org.freedesktop.atspi.DeviceEventController\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_DeviceEventController =
+"<interface name=\"org.a11y.atspi.DeviceEventController\" version=\"0.1.7\">"
""
" <method name=\"RegisterKeystrokeListener\">"
" <arg direction=\"in\" name=\"listener\" type=\"o\" />"
"</interface>"
"";
-const char *spi_org_freedesktop_atspi_DeviceEventListener =
-"<interface name=\"org.freedesktop.atspi.DeviceEventListener\" version=\"0.1.7\">"
+const char *spi_org_a11y_atspi_DeviceEventListener =
+"<interface name=\"org.a11y.atspi.DeviceEventListener\" version=\"0.1.7\">"
""
" <method name=\"NotifyEvent\">"
" <arg direction=\"in\" name=\"event\" type=\"(uinnisb)\" />"
#define SPI_INTROSPECTION_DATA_H_
-const char *spi_org_freedesktop_atspi_Accessible;
+const char *spi_org_a11y_atspi_Accessible;
-const char *spi_org_freedesktop_atspi_Action;
+const char *spi_org_a11y_atspi_Action;
-const char *spi_org_freedesktop_atspi_Application;
+const char *spi_org_a11y_atspi_Application;
-const char *spi_org_freedesktop_atspi_Collection;
+const char *spi_org_a11y_atspi_Collection;
-const char *spi_org_freedesktop_atspi_Component;
+const char *spi_org_a11y_atspi_Component;
-const char *spi_org_freedesktop_atspi_Document;
+const char *spi_org_a11y_atspi_Document;
-const char *spi_org_freedesktop_atspi_Hypertext;
+const char *spi_org_a11y_atspi_Hypertext;
-const char *spi_org_freedesktop_atspi_Hyperlink;
+const char *spi_org_a11y_atspi_Hyperlink;
-const char *spi_org_freedesktop_atspi_Image;
+const char *spi_org_a11y_atspi_Image;
-const char *spi_org_freedesktop_atspi_Selection;
+const char *spi_org_a11y_atspi_Selection;
-const char *spi_org_freedesktop_atspi_Table;
+const char *spi_org_a11y_atspi_Table;
-const char *spi_org_freedesktop_atspi_Text;
+const char *spi_org_a11y_atspi_Text;
-const char *spi_org_freedesktop_atspi_EditableText;
+const char *spi_org_a11y_atspi_EditableText;
-const char *spi_org_freedesktop_atspi_Cache;
+const char *spi_org_a11y_atspi_Cache;
-const char *spi_org_freedesktop_atspi_Value;
+const char *spi_org_a11y_atspi_Value;
-const char *spi_org_freedesktop_atspi_DeviceEventController;
+const char *spi_org_a11y_atspi_DeviceEventController;
-const char *spi_org_freedesktop_atspi_DeviceEventListener;
+const char *spi_org_a11y_atspi_DeviceEventListener;
#endif /* SPI_INTROSPECTION_DATA_H_ */
#if 0
if (ATK_IS_STREAMABLE_CONTENT (obj))
{
- itf = "org.freedesktop.atspi.StreamableContent";
+ itf = "org.a11y.atspi.StreamableContent";
dbus_message_iter_append_basic (iter, DBUS_TYPE_STRING, &itf);
}
#endif
if (ATK_IS_DOCUMENT (obj))
{
- itf = "org.freedesktop.atspi.Collection";
+ itf = "org.a11y.atspi.Collection";
dbus_message_iter_append_basic (iter, DBUS_TYPE_STRING, &itf);
itf = SPI_DBUS_INTERFACE_DOCUMENT;
dbus_message_iter_append_basic (iter, DBUS_TYPE_STRING, &itf);
spi_dbus_general_error (DBusMessage * message)
{
return dbus_message_new_error (message,
- "org.freedesktop.atspi.GeneralError",
+ "org.a11y.atspi.GeneralError",
"General error");
}
extern int _dbg;
-#define SPI_DBUS_NAME_REGISTRY "org.freedesktop.atspi.Registry"
-#define SPI_DBUS_PATH_REGISTRY "/org/freedesktop/atspi/registry"
-#define SPI_DBUS_INTERFACE_REGISTRY "org.freedesktop.atspi.Registry"
+#define SPI_DBUS_NAME_REGISTRY "org.a11y.atspi.Registry"
+#define SPI_DBUS_PATH_REGISTRY "/org/a11y/atspi/registry"
+#define SPI_DBUS_INTERFACE_REGISTRY "org.a11y.atspi.Registry"
-#define SPI_DBUS_PATH_NULL "/org/freedesktop/atspi/null"
-#define SPI_DBUS_PATH_ROOT "/org/freedesktop/atspi/accessible/root"
+#define SPI_DBUS_PATH_NULL "/org/a11y/atspi/null"
+#define SPI_DBUS_PATH_ROOT "/org/a11y/atspi/accessible/root"
-#define SPI_DBUS_PATH_DEC "/org/freedesktop/atspi/registry/deviceeventcontroller"
-#define SPI_DBUS_INTERFACE_DEC "org.freedesktop.atspi.DeviceEventController"
-#define SPI_DBUS_INTERFACE_DEVICE_EVENT_LISTENER "org.freedesktop.atspi.DeviceEventListener"
+#define SPI_DBUS_PATH_DEC "/org/a11y/atspi/registry/deviceeventcontroller"
+#define SPI_DBUS_INTERFACE_DEC "org.a11y.atspi.DeviceEventController"
+#define SPI_DBUS_INTERFACE_DEVICE_EVENT_LISTENER "org.a11y.atspi.DeviceEventListener"
-#define SPI_DBUS_INTERFACE_CACHE "org.freedesktop.atspi.Cache"
-#define SPI_DBUS_INTERFACE_ACCESSIBLE "org.freedesktop.atspi.Accessible"
-#define SPI_DBUS_INTERFACE_ACTION "org.freedesktop.atspi.Action"
-#define SPI_DBUS_INTERFACE_APPLICATION "org.freedesktop.atspi.Application"
-#define SPI_DBUS_INTERFACE_COLLECTION "org.freedesktop.atspi.Collection"
-#define SPI_DBUS_INTERFACE_COMPONENT "org.freedesktop.atspi.Component"
-#define SPI_DBUS_INTERFACE_DESKTOP "org.freedesktop.atspi.Desktop"
-#define SPI_DBUS_INTERFACE_DOCUMENT "org.freedesktop.atspi.Document"
-#define SPI_DBUS_INTERFACE_EDITABLE_TEXT "org.freedesktop.atspi.EditableText"
-#define SPI_DBUS_INTERFACE_EVENT_KEYBOARD "org.freedesktop.atspi.Event.Keyboard"
-#define SPI_DBUS_INTERFACE_EVENT_MOUSE "org.freedesktop.atspi.Event.Mouse"
-#define SPI_DBUS_INTERFACE_HYPERLINK "org.freedesktop.atspi.Hyperlink"
-#define SPI_DBUS_INTERFACE_HYPERTEXT "org.freedesktop.atspi.Hypertext"
-#define SPI_DBUS_INTERFACE_IMAGE "org.freedesktop.atspi.Image"
-#define SPI_DBUS_INTERFACE_SELECTION "org.freedesktop.atspi.Selection"
-#define SPI_DBUS_INTERFACE_TABLE "org.freedesktop.atspi.Table"
-#define SPI_DBUS_INTERFACE_TEXT "org.freedesktop.atspi.Text"
-#define SPI_DBUS_INTERFACE_VALUE "org.freedesktop.atspi.Value"
-#define SPI_DBUS_INTERFACE_SOCKET "org.freedesktop.atspi.Socket"
+#define SPI_DBUS_INTERFACE_CACHE "org.a11y.atspi.Cache"
+#define SPI_DBUS_INTERFACE_ACCESSIBLE "org.a11y.atspi.Accessible"
+#define SPI_DBUS_INTERFACE_ACTION "org.a11y.atspi.Action"
+#define SPI_DBUS_INTERFACE_APPLICATION "org.a11y.atspi.Application"
+#define SPI_DBUS_INTERFACE_COLLECTION "org.a11y.atspi.Collection"
+#define SPI_DBUS_INTERFACE_COMPONENT "org.a11y.atspi.Component"
+#define SPI_DBUS_INTERFACE_DESKTOP "org.a11y.atspi.Desktop"
+#define SPI_DBUS_INTERFACE_DOCUMENT "org.a11y.atspi.Document"
+#define SPI_DBUS_INTERFACE_EDITABLE_TEXT "org.a11y.atspi.EditableText"
+#define SPI_DBUS_INTERFACE_EVENT_KEYBOARD "org.a11y.atspi.Event.Keyboard"
+#define SPI_DBUS_INTERFACE_EVENT_MOUSE "org.a11y.atspi.Event.Mouse"
+#define SPI_DBUS_INTERFACE_HYPERLINK "org.a11y.atspi.Hyperlink"
+#define SPI_DBUS_INTERFACE_HYPERTEXT "org.a11y.atspi.Hypertext"
+#define SPI_DBUS_INTERFACE_IMAGE "org.a11y.atspi.Image"
+#define SPI_DBUS_INTERFACE_SELECTION "org.a11y.atspi.Selection"
+#define SPI_DBUS_INTERFACE_TABLE "org.a11y.atspi.Table"
+#define SPI_DBUS_INTERFACE_TEXT "org.a11y.atspi.Text"
+#define SPI_DBUS_INTERFACE_VALUE "org.a11y.atspi.Value"
+#define SPI_DBUS_INTERFACE_SOCKET "org.a11y.atspi.Socket"
DBusMessage *spi_dbus_general_error(DBusMessage *message);
DBusMessage *spi_dbus_return_rect(DBusMessage *message, gint ix, gint iy, gint iwidth, gint iheight);
}
if (matchrule)
{
- *matchrule = g_strdup_printf ("type='signal',interface='org.freedesktop.atspi.event.%c%s',member='%s'", toupper(category[0]), category + 1, name);
+ *matchrule = g_strdup_printf ("type='signal',interface='org.a11y.atspi.event.%c%s',member='%s'", toupper(category[0]), category + 1, name);
if (!*matchrule) goto oom;
}
if (categoryp) *categoryp = category;
DBusMessage *reply;
void *p = &event;
- if (sscanf (path, "/org/freedesktop/atspi/listeners/%d", &id) != 1)
+ if (sscanf (path, "/org/a11y/atspi/listeners/%d", &id) != 1)
{
g_warning ("Bad listener path: %s\n", path);
goto done;
SPI_DBUS_INTERFACE_HYPERLINK,
SPI_DBUS_INTERFACE_HYPERTEXT,
SPI_DBUS_INTERFACE_IMAGE,
- "org.freedesktop.atspi.LoginHelper",
+ "org.a11y.atspi.LoginHelper",
SPI_DBUS_INTERFACE_SELECTION,
- "org.freedesktop.atspi.Selector",
+ "org.a11y.atspi.Selector",
SPI_DBUS_INTERFACE_TABLE,
SPI_DBUS_INTERFACE_TEXT,
SPI_DBUS_INTERFACE_VALUE,
int id;
guint *id_val;
- if (sscanf (path, "/org/freedesktop/atspi/accessible/%d", &id) != 1)
+ if (sscanf (path, "/org/a11y/atspi/accessible/%d", &id) != 1)
{
return NULL;
}
char *root_path;
dbus_error_init (&error);
- if (dbind_method_call_reentrant (bus, bus_name, "/org/freedesktop/atspi/tree", spi_interface_tree, "getRoot", &error, "=>o", &root_path))
+ if (dbind_method_call_reentrant (bus, bus_name, "/org/a11y/atspi/tree", spi_interface_tree, "getRoot", &error, "=>o", &root_path))
{
Accessible *obj = cspi_ref_accessible (bus_name, root_path);
if (obj)
CSpiApplication *app = cspi_get_application (app_name);
additions = NULL;
dbus_error_init (&error);
- dbind_method_call_reentrant (bus, app_name, "/org/freedesktop/atspi/tree", spi_interface_tree, "getTree", &error, "=>a(ooaoassusau)", &additions);
+ dbind_method_call_reentrant (bus, app_name, "/org/a11y/atspi/tree", spi_interface_tree, "getTree", &error, "=>a(ooaoassusau)", &additions);
if (error.message)
{
g_warning ("getTree (%s): %s", app_name, error.message);
char *bus_name;
if (type == DBUS_MESSAGE_TYPE_SIGNAL &&
- !strncmp (interface, "org.freedesktop.atspi.Event.", 28))
+ !strncmp (interface, "org.a11y.atspi.Event.", 28))
{
return cspi_dbus_handle_event (bus, message, data);
}
static const char *signal_interfaces[] =
{
- "org.freedesktop.atspi.Event.Object",
- "org.freedesktop.atspi.Event.Window",
- "org.freedesktop.atspi.Event.Mouse",
- "org.freedesktop.atspi.Event.Terminal",
- "org.freedesktop.atspi.Event.Document",
- "org.freedesktop.atspi.Event.Focus",
+ "org.a11y.atspi.Event.Object",
+ "org.a11y.atspi.Event.Window",
+ "org.a11y.atspi.Event.Mouse",
+ "org.a11y.atspi.Event.Terminal",
+ "org.a11y.atspi.Event.Document",
+ "org.a11y.atspi.Event.Focus",
NULL
};
{
return g_strdup_printf (SPI_DBUS_PATH_REGISTRY);
}
- return g_strdup_printf ("/org/freedesktop/atspi/accessible/%d", obj->v.id);
+ return g_strdup_printf ("/org/a11y/atspi/accessible/%d", obj->v.id);
}
dbus_bool_t
char *
cspi_device_listener_get_path (CSpiDeviceListener *listener)
{
- return g_strdup_printf ("/org/freedesktop/atspi/listeners/%d", listener->id);
+ return g_strdup_printf ("/org/a11y/atspi/listeners/%d", listener->id);
}