]> Pileus Git - ~andy/gtk/log
~andy/gtk
12 years agoInitial conversion of GailWidget to GtkWidgetAccessible
Matthias Clasen [Sat, 2 Jul 2011 19:23:52 +0000 (15:23 -0400)]
Initial conversion of GailWidget to GtkWidgetAccessible

12 years agoConvert GailContainer to GtkContainerAccessible
Matthias Clasen [Sat, 2 Jul 2011 03:29:06 +0000 (23:29 -0400)]
Convert GailContainer to GtkContainerAccessible

12 years agoConvert GailMenuShell to GtkMenuShellAccessible
Matthias Clasen [Sat, 2 Jul 2011 02:42:25 +0000 (22:42 -0400)]
Convert GailMenuShell to GtkMenuShellAccessible

12 years agoConvert GailMenu to GtkMenuAccessible
Matthias Clasen [Sat, 2 Jul 2011 02:30:54 +0000 (22:30 -0400)]
Convert GailMenu to GtkMenuAccessible

12 years agoConvert GailWindow to GtkWindowAccessible
Matthias Clasen [Sat, 2 Jul 2011 02:10:27 +0000 (22:10 -0400)]
Convert GailWindow to GtkWindowAccessible

While doing this, drop the get_mdi_zorder implementation
that really should come from the window manager side. Dropping
this saves some 500 lines.

12 years agoConvert GailButton to GtkButtonAccessible
Matthias Clasen [Sat, 2 Jul 2011 01:25:53 +0000 (21:25 -0400)]
Convert GailButton to GtkButtonAccessible

This drops the AtkText implementation, and also strips handling
of children out. Instead of listening for enter/leave/press/released,
just listen for state changes on the widget.

12 years agoDrop unneeded includes of gdkkeysyms.h
Matthias Clasen [Fri, 1 Jul 2011 21:08:30 +0000 (17:08 -0400)]
Drop unneeded includes of gdkkeysyms.h

Just a minor cleanup; gtk.h includes this header in GTK+ 3.

12 years agoDrop unneeded includes gailtextutil.h
Matthias Clasen [Fri, 1 Jul 2011 21:05:43 +0000 (17:05 -0400)]
Drop unneeded includes gailtextutil.h

Almost done with getting rid of GailTextUtil.

12 years agoConvert Gail(Sub)MenuItem to GtkAccessible classes
Matthias Clasen [Fri, 1 Jul 2011 20:59:46 +0000 (16:59 -0400)]
Convert Gail(Sub)MenuItem to GtkAccessible classes

This is along the same lines as the previous commit,
with the same caveat.

12 years agoConvert GailCheck(Sub)MenuItem to GtkAccessible classes
Matthias Clasen [Fri, 1 Jul 2011 16:38:39 +0000 (12:38 -0400)]
Convert GailCheck(Sub)MenuItem to GtkAccessible classes

This is along the same lines as the previous commit,
with the same caveat.

12 years agoConvert GailRadio(Sub)MenuItem to GtkAccessible classes
Matthias Clasen [Fri, 1 Jul 2011 15:41:45 +0000 (11:41 -0400)]
Convert GailRadio(Sub)MenuItem to GtkAccessible classes

The way submenus are handled here isn't really right, since
they can come and go at runtime, but I've left it like this
for now. A side-effect is that we can't use
gtk_widget_class_set_accessible_type here, but have to
override get_accessible.

12 years agoAdd a test for menus
Matthias Clasen [Fri, 1 Jul 2011 23:18:18 +0000 (19:18 -0400)]
Add a test for menus

12 years agoConvert GailExpander to GtkExpanderAccessible
Matthias Clasen [Fri, 1 Jul 2011 14:15:36 +0000 (10:15 -0400)]
Convert GailExpander to GtkExpanderAccessible

At the same time, drop the AtkText implementation.
Also, reintroduce a GtkBoxAccessible, since the previous
way of setting the role in get_accessible was affecting
GtkBox subclasses negatively.

Adjust expected test output to match.

12 years agoAdd a placeholder-text test
Matthias Clasen [Fri, 1 Jul 2011 04:51:56 +0000 (00:51 -0400)]
Add a placeholder-text test

Contributed by Joanmarie Diggs.

12 years agoConvert GailStatusbar to GtkStatusbarAccessible
Matthias Clasen [Fri, 1 Jul 2011 04:47:41 +0000 (00:47 -0400)]
Convert GailStatusbar to GtkStatusbarAccessible

And drop the AtkText implementation at the same time.
Update test results to match.

12 years agoConvert GailNotebookPage to GtkNotebookPageAccessible
Matthias Clasen [Fri, 1 Jul 2011 04:10:39 +0000 (00:10 -0400)]
Convert GailNotebookPage to GtkNotebookPageAccessible

At the same time, drop the AtkText implementation, and simplify
accordingly. Test output has been updated to match.

12 years agoDon't overwrite roles
Matthias Clasen [Fri, 1 Jul 2011 04:48:25 +0000 (00:48 -0400)]
Don't overwrite roles

Otherwise, every GtkBox subclass will have to override
get_accessible just to keep their roles.

12 years agoAvoid excessive child_changed::added emissions
Matthias Clasen [Fri, 1 Jul 2011 02:12:31 +0000 (22:12 -0400)]
Avoid excessive child_changed::added emissions

We are listening to page-added and emit child_changed::added
in response to that, so don't let the add_gtk handler add
extraneous extra signal emissions. This fixes the child-handling
test for GtkNotebook.

12 years agoConvert GailNotebook to GtkNotebookAccessible
Matthias Clasen [Fri, 1 Jul 2011 02:11:13 +0000 (22:11 -0400)]
Convert GailNotebook to GtkNotebookAccessible

12 years agoConvert GailTreeView to GtkTreeViewAccessible
Matthias Clasen [Thu, 30 Jun 2011 00:50:50 +0000 (20:50 -0400)]
Convert GailTreeView to GtkTreeViewAccessible

Mostly code rearrangement and cleanup, but also a memory
leak fix in gtk_tree_view_accessible_get_column_description().

12 years agoAdd more children tests
Matthias Clasen [Thu, 30 Jun 2011 02:22:19 +0000 (22:22 -0400)]
Add more children tests

12 years agoConvert GailComboBox to GtkComboBoxAccessible
Matthias Clasen [Wed, 29 Jun 2011 21:31:09 +0000 (17:31 -0400)]
Convert GailComboBox to GtkComboBoxAccessible

12 years agotests: Don't print selection count
Benjamin Otte [Wed, 29 Jun 2011 16:16:23 +0000 (18:16 +0200)]
tests: Don't print selection count

Selection count is tested via assertions and can be inferred from
looking at the number of selected children.

And I'd like to reduce the output of the tests. We're outputting way too
much anyway.

12 years agotests: Make accessibility-dump output selected children by name
Benjamin Otte [Wed, 29 Jun 2011 16:11:07 +0000 (18:11 +0200)]
tests: Make accessibility-dump output selected children by name

And put one child in every row to make diffing easier.

12 years agotests: Fix compiler warnings
Benjamin Otte [Wed, 29 Jun 2011 16:00:37 +0000 (18:00 +0200)]
tests: Fix compiler warnings

12 years agotests: Add assert to accessibility-dump
Benjamin Otte [Wed, 29 Jun 2011 15:34:50 +0000 (17:34 +0200)]
tests: Add assert to accessibility-dump

Check that number of selected children == number of children that
actually are selected. If that's not the case, assert, to avoid people
being careless about adding tests.

12 years agoSilence compiler warnings
Matthias Clasen [Wed, 29 Jun 2011 15:52:12 +0000 (11:52 -0400)]
Silence compiler warnings

12 years agoa11y: Make notebookpage emit child-added signal sync
Benjamin Otte [Wed, 29 Jun 2011 00:15:18 +0000 (02:15 +0200)]
a11y: Make notebookpage emit child-added signal sync

Don't use an idle handler

12 years agoa11y: Keep the gail notebook in the notebook page
Benjamin Otte [Wed, 29 Jun 2011 14:17:07 +0000 (16:17 +0200)]
a11y: Keep the gail notebook in the notebook page

We used to keep the GtkNotebook, but that causes issues at creation time
of the GailNotebook, when the GtkNotebook does not yet have an
accessible set and so it can't be queried.

12 years agoa11y: Redo notebook page management
Benjamin Otte [Wed, 29 Jun 2011 13:23:06 +0000 (15:23 +0200)]
a11y: Redo notebook page management

Previously, the code tried to track the indexes of the pages and keep
them up to date in a list and tracking the index in the
GtkNotebookPage. Now, we store the widget we are tracking in the
GailNotebookPage and keep a hash table of widget=>GailNotebookPage in the
GailNotebook. This frees us from the burden of tracking page changes.

12 years agoa11y: Redo notebok page lifetime management
Benjamin Otte [Wed, 29 Jun 2011 12:42:16 +0000 (14:42 +0200)]
a11y: Redo notebok page lifetime management

It is now done by the GailNotebook. Previously it tried to do it itself.
Also, we now use GtkNotebook::page-removed to track the removal, as
opposed to child::parent-set.

12 years agoa11y: Remove idle handler from menuitem action
Benjamin Otte [Wed, 29 Jun 2011 00:10:28 +0000 (02:10 +0200)]
a11y: Remove idle handler from menuitem action

12 years agoa11y: Remove idle handler for expander actions
Benjamin Otte [Tue, 28 Jun 2011 18:03:35 +0000 (20:03 +0200)]
a11y: Remove idle handler for expander actions

12 years agoa11y: Remove idle handler for combo box action
Benjamin Otte [Tue, 28 Jun 2011 18:02:06 +0000 (20:02 +0200)]
a11y: Remove idle handler for combo box action

12 years agoa11y: Remove idle handler from GailButton
Benjamin Otte [Tue, 28 Jun 2011 17:26:10 +0000 (19:26 +0200)]
a11y: Remove idle handler from GailButton

12 years agoa11y: Use gtk_button_clicked() to click a button.
Benjamin Otte [Tue, 28 Jun 2011 17:21:19 +0000 (19:21 +0200)]
a11y: Use gtk_button_clicked() to click a button.

Don't fiddle with events.

12 years agoa11y: Remove "press" and "release" actions from buttons
Benjamin Otte [Tue, 28 Jun 2011 17:13:43 +0000 (19:13 +0200)]
a11y: Remove "press" and "release" actions from buttons

http://mail.gnome.org/archives/gnome-accessibility-devel/2011-June/msg00020.html
has some details about this.
The main problem is that the internal button states get fiddled with and
that is not a good idea to do from an AT.

Also update tests to reflect that.

12 years agoa11y: Do actions on cells immediately
Benjamin Otte [Tue, 28 Jun 2011 16:34:50 +0000 (18:34 +0200)]
a11y: Do actions on cells immediately

No idle handlers, please.

12 years agoa11y: Use simple code for window name change tracking
Benjamin Otte [Tue, 28 Jun 2011 16:31:32 +0000 (18:31 +0200)]
a11y: Use simple code for window name change tracking

Remove idle handler and omit checking if the name really was changed.
ATs will either have to live with the name not really changoing or we
should check in GtkWindow.

12 years agoAdd more child-handling related tests
Matthias Clasen [Wed, 29 Jun 2011 04:35:24 +0000 (00:35 -0400)]
Add more child-handling related tests

12 years agoEmit the same changed_children details as everybody else
Matthias Clasen [Wed, 29 Jun 2011 03:58:31 +0000 (23:58 -0400)]
Emit the same changed_children details as everybody else

...if any of this was documented...

12 years agoDrop gail-private-macros.h
Matthias Clasen [Wed, 29 Jun 2011 03:42:50 +0000 (23:42 -0400)]
Drop gail-private-macros.h

Nothing like obfuscating an early return behind a macro.

12 years agoAdd a test for scrolled window child count
Matthias Clasen [Wed, 29 Jun 2011 03:24:27 +0000 (23:24 -0400)]
Add a test for scrolled window child count

12 years agoConvert GailScrolledWindow to GtkScrolledWindowAccessible
Matthias Clasen [Wed, 29 Jun 2011 03:13:27 +0000 (23:13 -0400)]
Convert GailScrolledWindow to GtkScrolledWindowAccessible

12 years agoDrop use of gail_return_if_fail
Matthias Clasen [Wed, 29 Jun 2011 02:48:37 +0000 (22:48 -0400)]
Drop use of gail_return_if_fail

12 years agoFix a test crash
Matthias Clasen [Wed, 29 Jun 2011 02:47:21 +0000 (22:47 -0400)]
Fix a test crash

12 years agoRemove old files
Matthias Clasen [Wed, 29 Jun 2011 02:46:40 +0000 (22:46 -0400)]
Remove old files

12 years agoConvert GailScaleButton to GtkScaleButtonAccessible
Matthias Clasen [Wed, 29 Jun 2011 02:45:42 +0000 (22:45 -0400)]
Convert GailScaleButton to GtkScaleButtonAccessible

12 years agoDrop another unused include
Matthias Clasen [Tue, 28 Jun 2011 05:00:00 +0000 (01:00 -0400)]
Drop another unused include

12 years agoConvert GailToggleButton to GtkToggleButtonAccessible
Matthias Clasen [Tue, 28 Jun 2011 04:53:22 +0000 (00:53 -0400)]
Convert GailToggleButton to GtkToggleButtonAccessible

12 years agoNuke GailAdjustment
Matthias Clasen [Tue, 28 Jun 2011 04:39:27 +0000 (00:39 -0400)]
Nuke GailAdjustment

This was a fairly trivial wrapper around GtkAdjustment with
no particularly important reason for existence.

12 years agoGtkAdjustment: add an auxiliary function
Matthias Clasen [Tue, 28 Jun 2011 04:38:20 +0000 (00:38 -0400)]
GtkAdjustment: add an auxiliary function

This is going to be used in AtkValue implementations.

12 years agoDrop an unneeded include
Matthias Clasen [Tue, 28 Jun 2011 03:26:23 +0000 (23:26 -0400)]
Drop an unneeded include

12 years agoConvert GailRadioButton to GtkRadioButtonAccessible
Matthias Clasen [Tue, 28 Jun 2011 03:24:22 +0000 (23:24 -0400)]
Convert GailRadioButton to GtkRadioButtonAccessible

12 years agoGtkLabelAccessible: drop an unneeded include
Matthias Clasen [Tue, 28 Jun 2011 03:00:59 +0000 (23:00 -0400)]
GtkLabelAccessible: drop an unneeded include

We eventually want to get rid of gailmisc, so this is progress.

12 years agoConvert GailPaned to GtkPanedAccessible
Matthias Clasen [Tue, 28 Jun 2011 02:55:54 +0000 (22:55 -0400)]
Convert GailPaned to GtkPanedAccessible

12 years agoConvert GailRange to GtkRangeAccessible
Matthias Clasen [Tue, 28 Jun 2011 02:39:43 +0000 (22:39 -0400)]
Convert GailRange to GtkRangeAccessible

12 years agoGtkTextViewAccessible: get rid of GailTextUtil usage
Matthias Clasen [Mon, 27 Jun 2011 04:52:43 +0000 (00:52 -0400)]
GtkTextViewAccessible: get rid of GailTextUtil usage

Instead, use the newly added GtkTextBuffer functions.

12 years agoGtkTextBuffer: Add accessible api
Matthias Clasen [Mon, 27 Jun 2011 04:51:03 +0000 (00:51 -0400)]
GtkTextBuffer: Add accessible api

These functions match closely to the AtkText interface;
they will be used in the GtkTextView accessible implementation.
Keep them private for now.

12 years agoConvert GailLinkButton to GtkLinkButtonAccessible
Matthias Clasen [Mon, 27 Jun 2011 03:48:54 +0000 (23:48 -0400)]
Convert GailLinkButton to GtkLinkButtonAccessible

12 years agoConvert GailImage to GtkImageAccessible
Matthias Clasen [Mon, 27 Jun 2011 03:16:26 +0000 (23:16 -0400)]
Convert GailImage to GtkImageAccessible

12 years agoConvert GailProgressBar to GtkProgressBarAccessible
Matthias Clasen [Mon, 27 Jun 2011 03:00:20 +0000 (23:00 -0400)]
Convert GailProgressBar to GtkProgressBarAccessible

12 years agoConvert GailScrollbar to GtkScrollbarAccessible
Matthias Clasen [Mon, 27 Jun 2011 02:32:34 +0000 (22:32 -0400)]
Convert GailScrollbar to GtkScrollbarAccessible

12 years agoUpdate test results for recent changes
Matthias Clasen [Mon, 27 Jun 2011 02:14:28 +0000 (22:14 -0400)]
Update test results for recent changes

12 years agoConvert GailFrame to GtkFrameAccessible
Matthias Clasen [Mon, 27 Jun 2011 02:13:15 +0000 (22:13 -0400)]
Convert GailFrame to GtkFrameAccessible

12 years agoRemove GailBox
Matthias Clasen [Mon, 27 Jun 2011 01:52:35 +0000 (21:52 -0400)]
Remove GailBox

It was only setting a role, and we can do that just as well
in get_accessible().

12 years agoRemove GailCalendar
Matthias Clasen [Mon, 27 Jun 2011 01:44:42 +0000 (21:44 -0400)]
Remove GailCalendar

This was just setting a role, which we can do just as well
in get_accessible().

12 years agoAdapt to expected output to recent changes
Matthias Clasen [Mon, 27 Jun 2011 01:39:28 +0000 (21:39 -0400)]
Adapt to expected output to recent changes

12 years agoDrop GailSeparator
Matthias Clasen [Mon, 27 Jun 2011 01:36:11 +0000 (21:36 -0400)]
Drop GailSeparator

Instead, just set a suitable role on a GtkWidgetAccessible.

12 years agoConvert GailArrow to GtkArrowAccessible
Matthias Clasen [Mon, 27 Jun 2011 01:28:37 +0000 (21:28 -0400)]
Convert GailArrow to GtkArrowAccessible

12 years agoConvert GailScale to GtkScaleAccessible
Matthias Clasen [Mon, 27 Jun 2011 01:14:08 +0000 (21:14 -0400)]
Convert GailScale to GtkScaleAccessible

12 years agotests: Update range tests for slider value in description
Benjamin Otte [Mon, 27 Jun 2011 01:00:26 +0000 (03:00 +0200)]
tests: Update range tests for slider value in description

12 years agostylecontext: #include <math.h> when using math functions
Benjamin Otte [Mon, 27 Jun 2011 00:59:19 +0000 (02:59 +0200)]
stylecontext: #include <math.h> when using math functions

12 years agoa11y: Make it compile again
Benjamin Otte [Mon, 27 Jun 2011 00:58:57 +0000 (02:58 +0200)]
a11y: Make it compile again

Overriding CFLAGS is a bad idea. Use INCLUDES instead.

12 years agoa11y: Update tests after removing AtkText from GailExpander
Benjamin Otte [Mon, 27 Jun 2011 00:58:47 +0000 (02:58 +0200)]
a11y: Update tests after removing AtkText from GailExpander

12 years agoa11y: Update tests after removing AtkText from GailRange
Benjamin Otte [Mon, 27 Jun 2011 00:57:35 +0000 (02:57 +0200)]
a11y: Update tests after removing AtkText from GailRange

12 years agoGtkTextviewAccessible: some initial cleanup and code rearrangement
Matthias Clasen [Mon, 27 Jun 2011 00:46:26 +0000 (20:46 -0400)]
GtkTextviewAccessible: some initial cleanup and code rearrangement

12 years agoGtkEntryAccessible: Slight simplification of attribute handling
Matthias Clasen [Mon, 27 Jun 2011 00:42:54 +0000 (20:42 -0400)]
GtkEntryAccessible: Slight simplification of attribute handling

Make this use the same convenience function as is used elsewhwere.

12 years agoGtkLabelAccessible: avoid some pointless variables
Matthias Clasen [Sun, 26 Jun 2011 04:38:20 +0000 (00:38 -0400)]
GtkLabelAccessible: avoid some pointless variables

12 years agoInitial move GailTextView -> GtkTextViewAccessible
Matthias Clasen [Sun, 26 Jun 2011 03:08:26 +0000 (23:08 -0400)]
Initial move GailTextView -> GtkTextViewAccessible

This just does the renaming, and drops the factory.

12 years agotests: Add an a11y test for scales
Benjamin Otte [Sun, 26 Jun 2011 21:07:11 +0000 (23:07 +0200)]
tests: Add an a11y test for scales

12 years agogail: Remove AtkText implementation from GailScale
Benjamin Otte [Sun, 26 Jun 2011 21:00:49 +0000 (23:00 +0200)]
gail: Remove AtkText implementation from GailScale

AtkText should only be implemented by text editing widgets. For just
giving out a small text string, AtkObject::name should be used.

12 years agocellareacontext: Don't ever return -1 for preferred sized
Benjamin Otte [Sun, 26 Jun 2011 20:52:14 +0000 (22:52 +0200)]
cellareacontext: Don't ever return -1 for preferred sized

People don't check for -1 when computing size requests. Document this
new behavior.

12 years agoRevert 'Insert an LRM, to prevent -20 to come out as 20- in RTL'
Benjamin Otte [Sat, 25 Jun 2011 17:49:37 +0000 (19:49 +0200)]
Revert 'Insert an LRM, to prevent -20 to come out as 20- in RTL'

Correct text direction for printing of doubles should be (and is) done
by printf() and friend and not enforced by GtkScale.

This reverts commit 5eb2aac9474e1e8d035af1cbb4bc6756539af335

https://bugzilla.gnome.org/show_bug.cgi?id=322571

12 years agoa11y: Export the printed value of a scale as the description.
Benjamin Otte [Sat, 25 Jun 2011 17:47:46 +0000 (19:47 +0200)]
a11y: Export the printed value of a scale as the description.

12 years agoa11y: Remove AtkText implementation from GailMenuitem
Benjamin Otte [Fri, 24 Jun 2011 21:17:28 +0000 (23:17 +0200)]
a11y: Remove AtkText implementation from GailMenuitem

AtkText should only be implemented by text editing widgets. For just
giving out a small text string, AtkObject::name should be used.

12 years agoa11y: Remove AtkText implementation from GailExpander
Benjamin Otte [Fri, 24 Jun 2011 21:03:15 +0000 (23:03 +0200)]
a11y: Remove AtkText implementation from GailExpander

AtkText should only be implemented by text editing widgets. For just
giving out a small text string, AtkObject::name should be used.

12 years agoAdd some texts for text selection signals
Matthias Clasen [Sun, 26 Jun 2011 02:44:46 +0000 (22:44 -0400)]
Add some texts for text selection signals

Test that we do emit ::text_caret_moved and ::text_selection_changed
as expected.

12 years agoMinor optimization
Matthias Clasen [Sun, 26 Jun 2011 02:44:07 +0000 (22:44 -0400)]
Minor optimization

No need to get the cursor position twice in a row.

12 years agoGtkLabelAccessible: some selection handling fixes
Matthias Clasen [Sun, 26 Jun 2011 02:43:02 +0000 (22:43 -0400)]
GtkLabelAccessible: some selection handling fixes

Don't move the cursor to 0 when removing the selection,
and don't overlook growing selections.

12 years agoGtkLabel: optimize away some ::notify emissions
Matthias Clasen [Sun, 26 Jun 2011 02:42:17 +0000 (22:42 -0400)]
GtkLabel: optimize away some ::notify emissions

12 years agoSkip line-related tests for GtkEntry
Matthias Clasen [Sun, 26 Jun 2011 02:03:12 +0000 (22:03 -0400)]
Skip line-related tests for GtkEntry

GtkEntry sets single-paragraph mode on its pango layout,
so the results for line-related navigation don't match.

12 years agoGtkEntryAccessible: shorten some function names
Matthias Clasen [Sun, 26 Jun 2011 01:53:00 +0000 (21:53 -0400)]
GtkEntryAccessible: shorten some function names

Just cosmetics

12 years agoRemove a bit of dead code
Matthias Clasen [Sun, 26 Jun 2011 01:35:10 +0000 (21:35 -0400)]
Remove a bit of dead code

12 years agoGtkEntryAccessible: Clean up the AtkAction implementation a bit
Matthias Clasen [Sun, 26 Jun 2011 01:26:51 +0000 (21:26 -0400)]
GtkEntryAccessible: Clean up the AtkAction implementation a bit

No functional changes.

12 years agoPurge traces of insert idle handler
Matthias Clasen [Sun, 26 Jun 2011 01:05:12 +0000 (21:05 -0400)]
Purge traces of insert idle handler

12 years agoGtkEntryAccessible: Rework text_changed handling
Matthias Clasen [Sun, 26 Jun 2011 01:00:02 +0000 (21:00 -0400)]
GtkEntryAccessible: Rework text_changed handling

No more signal emission from an idle.

12 years agoFix up signal ordering issues in GtkEntry
Matthias Clasen [Sat, 25 Jun 2011 22:49:54 +0000 (18:49 -0400)]
Fix up signal ordering issues in GtkEntry

Ensure that text and selection boundaries are in a
consistent state when we emit notifications, that ::insert-text
and ::delete-text are emitted before any changes, and that
::changed is emitted after property notifications when inserting
or deleting text.

12 years agoAdd a test for entry signals
Matthias Clasen [Sat, 25 Jun 2011 22:47:51 +0000 (18:47 -0400)]
Add a test for entry signals

These tests check that text and selection boundaries are in a
consistent state when we emit notifications, that ::insert-text
and ::delete-text are emitted before any changes, and that
::changed is emitted after property notifications when inserting
or deleting text.

12 years agoGtkEntryAccessible: port from GailTextUtil to GtkPango
Matthias Clasen [Sat, 25 Jun 2011 18:43:59 +0000 (14:43 -0400)]
GtkEntryAccessible: port from GailTextUtil to GtkPango

Also clean up and rearrange the code.
As a side-effect, the no-longer-existing stipple attributes
are dropped.  Update test results to match.