summaryrefslogtreecommitdiff
path: root/gtk/a11y
Commit message (Collapse)AuthorAgeFilesLines
* a11y: Expose window type hint as attributeMatthias Clasen2016-03-041-0/+35
| | | | | | This was an old request, maybe still useful. https://bugzilla.gnome.org/show_bug.cgi?id=468122
* Split off a private header for GtkTextBufferMatthias Clasen2015-10-151-0/+1
| | | | This avoids polluting the installed header with private symbols.
* Remove a duplicate stringMatthias Clasen2015-07-261-1/+0
| | | | | dialog-information was twice in the list of accessible labels for icon names.
* a11y: Only emit signals when cells change; not upon creationJoanmarie Diggs2015-04-107-17/+29
| | | | | | | | | | This is a workaround for atspi-atk behaviour. atspi-atk uses signal emission hooks. So it to already catches signal emissions on creation of objects, before anyone could even think of g_signal_connect()ing. https://bugzilla.gnome.org/show_bug.cgi?id=746706
* Fix an AtkStateType emitted for GtkBooleanCellAccessibleJoanmarie Diggs2015-03-261-1/+1
| | | | | | | An apparent copy-and-paste error is resulting in ATs being notified of changes in ATK_STATE_CHECKED when the cell's "sensitive" state changes. https://bugzilla.gnome.org/show_bug.cgi?id=746784
* a11y: Only emit name-changed onceJoanmarie Diggs2015-03-251-5/+3
| | | | | | | We were emitting it twice, once with deleting the old text, once with inserting the new text. https://bugzilla.gnome.org/show_bug.cgi?id=746706
* a11y: Free the cell text after emitting text-changed:delete.Joanmarie Diggs2015-03-251-6/+4
| | | | | | | This is needed because AT-SPI2's ATK bridge exposes the deleted string to ATs. https://bugzilla.gnome.org/show_bug.cgi?id=746706
* a11y: Refactor codeJoanmarie Diggs2015-03-251-19/+11
| | | | | | | | | | | Put the equality check in front. This allows better detection of when an insert or delete needs to be emitted. Also, only emit text-changed:delete if the deleted text is not the empty string. Only emit text-changed:insert if the inserted text is not the empty string. https://bugzilla.gnome.org/show_bug.cgi?id=746706
* a11y: Refactor textcellaccessible codeJoanmarie Diggs2015-03-251-11/+7
| | | | | | | | Compute the new text and its length in advance. This way those computations will not confuse us when they happen in the middle of the actual action. https://bugzilla.gnome.org/show_bug.cgi?id=746706
* a11y: handle atk race condition where widget has been destroyedChristian Hergert2015-03-211-0/+8
| | | | | | | | | | | | | | If the widget has been destroyed since a DBus message had been sent, we could be in a condition that the widget pointer exists but it does not have a window. This bails as if the widget didn't exist if there is no available GdkWindow. We also set the extents to 0 to be defensive since this is a vfunc implementation. https://bugzilla.gnome.org/show_bug.cgi?id=746586
* menu button: Improve accessibilityMatthias Clasen2015-03-131-0/+19
| | | | | | Rework the way we assign an accessible name to menu buttons, to make sure we pick up a label, should the button contain one, and only override the name with "Menu" as a fallback.
* Do not return NULL AtkStateSetPeter Bloomfield2015-02-281-3/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=741511
* Drop nonworking code to set a11y roles of tooltipsMatthias Clasen2015-02-181-10/+1
| | | | This code relied on widget names, and we don't set those anymore.
* gtk: Add support for g_autoptr()Alexander Larsson2015-02-022-0/+76
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=743640
* A11y: fix typo when initializing a container cell accessibleMike Gorse2015-01-261-1/+1
| | | | | | Gtk_container_cell_widget_set should chain up to its parent's set function, not its parent's unset function. This was resulting in accessibles being erroneously marked defunct after being created.
* Fix accessible_class->widget_set initializationMaks Naumov2015-01-131-1/+1
| | | | | | Signed-off-by: Maks Naumov <maksqwe1@ukr.net> https://bugzilla.gnome.org/show_bug.cgi?id=742778
* Split subdirectory file lists offMatthias Clasen2014-11-301-0/+123
| | | | | This moves a little closer to a proper nonrecursive setup, and makes the gtk Makefile.am less monstrous.
* GtkButtonAccessible: Stop emitting state-change signals for ATK_STATE_ARMEDJoanmarie Diggs2014-11-251-22/+0
| | | | | | ATK_STATE_ARMED is now deprecated. There is no replacement. https://bugzilla.gnome.org/show_bug.cgi?id=740438
* Implement support for ATK_STATE_HAS_TOOLTIPJoanmarie Diggs2014-10-221-0/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=738982
* GtkContainerAccessible: avoid resurrecting accessiblesMatthias Clasen2014-10-141-1/+1
| | | | | When removing a child, we don't want to resurrect its accessible needlessly.
* stylecontext: Move private a11y function to private headerBenjamin Otte2014-08-163-0/+3
|
* GtkMenuItemAccessible: use "insert" signalRyan Lortie2014-08-151-10/+11
| | | | | | | Use the "insert" rather than the "add" signal to reliably detect additions of menu items. https://bugzilla.gnome.org/show_bug.cgi?id=372545
* listboxrowaccessible: Avoid assertion failureTimm Bäder2014-08-031-0/+1
| | | | | | | | The next call to gtk_list_box_get_selection_mode just expected the GtkListBoxRow's parent to be a GtkListBox and failed when the row was added to something other than a GtkListBox. https://bugzilla.gnome.org/show_bug.cgi?id=733782
* GtkPopover: Properly update a11y parentMatthias Clasen2014-07-301-9/+8
| | | | | | | When the relative-to widget changes, update the accessible parent of the popovers accessible. https://bugzilla.gnome.org/show_bug.cgi?id=733923
* a11y: unref selected item only if it is not NULLAlejandro Piñeiro2014-07-251-3/+7
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=733610
* a11y: Do not include gtkx.h directlyBenjamin Otte2014-07-122-3/+4
|
* a11y: Remove an outdated commentBenjamin Otte2014-06-101-5/+0
|
* GtkEntryAccessible: Emit signal after insertionJoanmarie Diggs2014-06-101-3/+5
| | | | | | | | | The signal needs to be emitted after the text insertion as at-spi gets the text to compute the inserted text due to the AtkText::insert-text signal not containing it. Also adjust position to reflect changes to the offsets. https://bugzilla.gnome.org/show_bug.cgi?id=731429
* gtk: fix annotation syntax and missing some missing annotationsEvan Nemerson2014-05-272-0/+14
| | | | | | | | These changes clean up various errors and omissions resulting from either slightly incorrect G-I/gtk-doc syntax or missing documentation blocks. https://bugzilla.gnome.org/show_bug.cgi?id=730745
* Deprecate GtkAligmentMatthias Clasen2014-05-232-1/+4
| | | | | | This has been dangling ever since 3.0. https://bugzilla.gnome.org/show_bug.cgi?id=645781
* a11y: build directly into libgtk instead of an internal libraryEvan Nemerson2014-05-231-190/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=730615
* cellarea: don't use focus-line-widthCosimo Cecchi2014-05-091-7/+0
| | | | Use CSS padding instead.
* a11y: Avoid a warningMatthias Clasen2014-05-051-1/+2
| | | | | The listbox row accessible code was giving warnings when parent is NULL, at destruction time.
* a11y: Disable deprecation warnings in AtkMisc implementationBenjamin Otte2014-05-051-0/+3
|
* GtkSpinButton: Implement new AtkValue interfaceMatthias Clasen2014-05-021-0/+67
| | | | | The AtkValue interface has been replaced in ATK 2.12. Implement the new one in addition to the old one.
* GtkScaleButton: Implement new AtkValue interfaceMatthias Clasen2014-05-021-0/+67
| | | | | The AtkValue interface has been replaced in ATK 2.12. Implement the new one in addition to the old one.
* GtkRange: Implement new AtkValue interfaceMatthias Clasen2014-05-021-0/+73
| | | | | The AtkValue interface has been replaced in ATK 2.12. Implement the new one in addition to the old one.
* GtkProgressBar: Implement new AtkValue interfaceMatthias Clasen2014-05-021-0/+22
| | | | | The AtkValue interface has been replaced in ATK 2.12. Implement the new one in addition to the old one.
* GtkPaned: Implement new AtkValue interfaceMatthias Clasen2014-05-021-0/+49
| | | | | The AtkValue interface has been replaced in ATK 2.12. Implement the new one in addition to the old one.
* GtkLevelBar: Implement new AtkValue interfaceMatthias Clasen2014-05-021-4/+50
| | | | | The AtkValue interface has been replaced in ATK 2.12. Implement the new one in addition to the old one.
* list box: Update accessible implementationMatthias Clasen2014-04-063-20/+84
| | | | | Now that multi selection is supported, we can provide a more complete AtkSelection implementation.
* Clean up private headersMatthias Clasen2014-04-051-0/+1
| | | | | This commit adds a few missing private headers, and cleans up some irregularities in the existing ones
* a11y: atk_table_get_row_at_index is deprecatedJonas Danielsson2014-04-011-1/+1
| | | | | | | Do not use deprecated index based AtkTable functions use static helper instead. https://bugzilla.gnome.org/show_bug.cgi?id=727313
* a11y: atk_component_get_position is deprecatedJonas Danielsson2014-04-016-7/+14
| | | | | | Switch to using atk_component_get_extents instead. https://bugzilla.gnome.org/show_bug.cgi?id=727313
* all: Name more idles and timeoutsBastien Nocera2014-03-262-1/+5
| | | | | | | | | | Following up from 438cd857c49242244dda2923ac447f36464b9e72, name more timeouts and idles. The original grep was missing checking for gdk_threads_add_*() functions (at least for some of the files). https://bugzilla.gnome.org/show_bug.cgi?id=726870
* a11y: Move relationset updating to new vfuncBenjamin Otte2014-03-241-23/+68
| | | | | | This way, we don't create lots of cell accessibles when creating the first one (because surely one is the parent/child of another who again is a parent/child of another who again....)
* a11y: Add API to update relationsets of cells to their parentsBenjamin Otte2014-03-243-0/+47
|
* a11y: Don't unref relationsBenjamin Otte2014-03-241-32/+0
| | | | | | | | | Nobody was reffing those related object in the first place and that was causing random crashes. And if somebody had reffed those related objects, they'd have caused reference cycles. https://bugzilla.gnome.org/show_bug.cgi?id=726838
* a11y: Remove weak reference when updating a GtkPopoverAccessible relative-to ↵Carlos Garnacho2014-03-211-0/+2
| | | | | | | | | widget Otherwise the weak reference is left dangling, which later causes issues at the time of destroying that widget. https://bugzilla.gnome.org/show_bug.cgi?id=726749
* a11y: Don't use signalsBenjamin Otte2014-03-132-28/+39
| | | | | | | Instead, call functions directly. Fixes the fact that the signals weren't disconnected even when the accessible was destroyed. https://bugzilla.gnome.org/show_bug.cgi?id=725733