Matthias Clasen
64bcdb78e0
Fix gail_notebook_get_selection_count()
...
This function should return 0 for empty notebooks. Based on
a patch by Mike Gorse, bug 557263.
(cherry picked from commit 7844d3b8db
)
2010-08-09 23:14:58 -04:00
Szilárd Pfeiffer
db2053ac1f
Implement GailAdjustment::get_minimium_increment
...
...and use it in GailRange and GailSpinButton. Bug 625953.
(cherry picked from commit 93fa95e79f
)
2010-08-09 21:24:03 -04:00
Szilárd Pfeiffer
85f8f64d78
Make Gail work with custom treemodels
...
Gail did set the role to ATK_ROLE_TABLE for anything that is
not a GtkTreeStore. The propery way to do this is to look at the
tree model flags for list-onlyness. Bug 580291.
(cherry picked from commit 2686af2fbb
)
2010-08-09 21:23:17 -04:00
Christian Dywan
aa017fae64
Deprecate GtkNotebookPage as used in switch-page
...
Fixes: 618327
2010-07-13 16:55:04 +02:00
Matthias Clasen
cb29d27707
Make GTK+ build against an external gdk-pixbuf
2010-06-26 02:29:29 -04:00
Javier Jardón
8fc7a58504
gail: do not use removed GTK_WIDGET_*SET macros
...
In the absence of new API to port to, left the code commented
with a /* FIXME */ state, for somebody with better gail knowledge
to fix.
2010-06-16 20:44:00 +02:00
Mike Gorse
15482528a5
Implement action interface for gailcell.
...
Bug #580889 .
2010-04-26 16:12:59 +08:00
Mike Gorse
3f78773862
Notify ATK_STATE_ENABLED change when ATK_STATE_SENSITIVE changes if necessary.
...
Bug #615999 .
2010-04-22 12:24:41 +08:00
Javier Jardón
72d5cc8cd5
[docs] Move documentation to inline comments: GailTextUtil and GailMisc
2010-04-18 19:46:29 +02:00
Javier Jardón
32b9aeaadd
Don't use GTK_WIDGET_STATE in internal code anymore
...
Use gtk_widget_get/set_state() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-09 02:40:17 +01:00
Joanmarie Diggs
4759da2634
Add/Remove ATK_STATE_SENSITIVE according to cells' state.
...
Bug #569042 .
2010-03-05 14:48:23 +08:00
Li Yuan
8c30affb6e
Return FALSE in signal handlers to make the signals be propagated
...
Bug #611686 .
2010-03-04 16:30:00 +08:00
Javier Jardón
16a59ad912
Deprecate widget flag: GTK_WIDGET_REALIZED
...
Use gtk_widget_get_realized() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-03 20:41:05 +01:00
Javier Jardón
1fe7d3cefd
Deprecate widget flag: GTK_WIDGET_MAPPED
...
Use gtk_widget_get_mapped() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-03 20:19:03 +01:00
Javier Jardón
214a023e91
Deprecate widget flag: GTK_WIDGET_VISIBLE
...
Use gtk_widget_get_visible() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 07:52:07 +01:00
Javier Jardón
4232115e22
Deprecate widget flag: GTK_WIDGET_HAS_FOCUS
...
Use gtk_widget_has_focus() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 06:11:01 +01:00
Javier Jardón
64f526d34e
Deprecate widget flag: GTK_WIDGET_SENSITIVE
...
Use gtk_widget_get_sensitive() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 05:59:23 +01:00
Javier Jardón
a27d5a2c9e
Deprecate widget flag: GTK_WIDGET_IS_SENSITIVE
...
Use gtk_widget_is_sensitive() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 05:32:51 +01:00
Javier Jardón
4f78f70b15
Deprecate widget flag: GTK_WIDGET_DRAWABLE
...
Use gtk_widget_is_drawable() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 04:55:55 +01:00
Li Yuan
899d425e50
Bug #608410 . Set cursor position after inserting text.
2010-01-29 14:16:24 +08:00
Javier Jardón
56a893ca8c
Deprecate widget flag: GTK_WIDGET_CAN_FOCUS
...
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-01-07 10:05:08 +01:00
Javier Jardón
51e0dd9a82
Deprecate some widget flags
...
Deprecate the following:
GTK_WIDGET_APP_PAINTABLE
GTK_WIDGET_CAN_DEFAULT
GTK_WIDGET_DOUBLE_BUFFERED
GTK_WIDGET_HAS_DEFAULT
GTK_WIDGET_HAS_GRAB
GTK_WIDGET_RECEIVES_DEFAULT
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-01-07 10:04:55 +01:00
Christian Dywan
bb1824c131
Deprecate flag macros for toplevel, state, no window and composite child
...
Deprecate widget flag macros GTK_WIDGET_STATE, GTK_WIDGET_SAVED_STATE,
GTK_WIDGET_FLAGS, GTK_WIDGET_TOPLEVEL, GTK_WIDGET_NO_WINDOW and
GTK_WIDGET_COMPOSITE_CHILD.
Also deprecate the type macros GTK_WIDGET_TYPE, GTK_OBJECT_TYPE_NAME and
GTK_OBJECT_TYPE which have become redundant.
Instances of GTK_WIDGET_TOPLEVEL are replaced with gtk_widget_is_toplevel,
GTK_WIDGET_TYPE is replaced with G_OBJECT_TYPE, GTK_WIDGET_COMPOSITE_CHILD
is replaced with use of the "composite-child" property and uses of
GTK_WIDGET_NO_WINDOW are adjusted to use gtk_widget_get_has_window.
Uses of GTK_WIDGET_SAVED_STATE and GTK_WIDGET_FLAGS inside GtkWidget are
changed to direct flag usage.
Documentation is updated to refer to gtk_widget_set_has_window and
gtk_widget_get_has_window.
Gail and tests are updated as well.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-01-04 07:57:05 +01:00
Christian Dywan
99f63451e0
Use gtk_widget_get_tooltip_text for gtk_tooltips_data_get in Gail
2009-12-17 10:41:11 +01:00
Christian Persch
7abd4d1359
Implement gail_image_get_image_size for storage GICON and ICON_NAME
...
Bug #602724 .
2009-11-27 19:17:23 +01:00
Javier Jardón
20f123531a
Fix compilation warning
...
Use GINT_TO_POINTER() and GPOINTER_TO_INT()
2009-11-09 09:36:49 +01:00
Joanmarie Diggs
a196cb9400
Add RELATION_NODE_PARENT_OF relationship for treeview.
...
Bug 569430.
2009-11-06 16:17:23 +08:00
Nicola Fontana
1e1131c959
Do not use static GTypeInfo and GInterfaceInfo
...
Either g_type_register_static_simple (used by G_DEFINE_TYPE_EXTENDED)
and G_IMPLEMENT_INTERFACE use automatic variables for GTypeInfo and
GInterfaceInfo structs, while tutorials and source code often use
static variables. This commit consistently adopts the former method.
https://bugzilla.gnome.org/show_bug.cgi?id=600158
2009-11-06 01:21:09 +01:00
Christian Dywan
87c0397edc
Don't use deprecated button signal functions in Gail
2009-10-27 22:42:24 +01:00
Javier Jardón
33f53e1d04
Fix a compilation warning
...
Catch the returned value of write()
2009-10-20 20:43:44 +02:00
Matthias Clasen
be22a62160
Cleanups
...
This commit removes dead code, mostly pointed out by clang.
2009-09-10 13:53:28 -04:00
Matthias Clasen
d01dc74a85
Remove a dead assignment
...
Pointed out by clang.
2009-09-09 00:52:01 -04:00
Li Yuan
0780a4975b
Return state_set directly if there is no parent.
...
Bug #592403 . Return state_set directly if there is no parent. Fix crash.
2009-08-21 15:29:51 +08:00
Alejandro Piñeiro Iglesias
f22239c4aa
Report ATK_STATE_SHOWING only when all parents are visible
...
Bug #509650 . Checks if all the predecesors (the parent widget,
his parent, etc) are visible. Only reports ATK_STATE_SHOWING when
all parents are visible.
Signed-off-by: Li Yuan <li.yuan@sun.com>
2009-07-29 11:55:53 +08:00
Li Yuan
ee876f94b1
Remove both SHOWING and SELECTED states when menuitem is not visible
...
Bug #582674 and Bug #574674 . Remove SHOWING state also.
2009-07-24 16:23:57 +08:00
Li Yuan
de718dbe93
Remove ATK_STATE_SHOWING state when menuitem is not visible
...
When the menu is not selected, remove ATK_STATE_SHOWING state. And
emit state change signal if the menu is selected/unselected.
2009-07-24 16:17:59 +08:00
Benjamin Otte
1a385c50f0
fix compile warnings
...
Fallout from running make CFLAGS="-Werror"; mostly missing casts and
constness issues.
2009-06-17 10:28:03 +02:00
Matthias Clasen
3bf1c7adad
More uses of the get_cell_renderers functions
2009-06-16 12:37:33 -04:00
Matthias Clasen
6fc9f57848
Forgot one use in libgail
2009-06-16 11:48:16 -04:00
Behdad Esfahbod
a398c840be
Add git.mk to generate .gitignore files
...
Add four new doc templates that were not in repository.
2009-05-04 14:29:21 -04:00
Li Yuan
5d617ee80b
Emit property-changed:accessible-name for gailcombobox
...
Fix bug #579741 . Emit property-changed:accessible-name when selection
of combobox changed.
2009-05-04 11:38:44 +08:00
Mike Gorse
3f00129e17
Fix Selectable state for gailButton
...
Only remove Selectable state from a GailButton if it is not Focusable (ie,
a TreeView column header); do not add Selectable for all focusable
buttons. Fixes a bug introduced with the fix to 433324.
2009-04-23 14:36:51 +01:00
Matthias Clasen
0dd7155f79
Update README files to refer to git
...
Update various README files to refer to git instead of svn.
Also discontinue ChangeLog files.
2009-03-31 18:49:48 -04:00
Stefan Walter
de60fd8cfd
Use gtk_entry_xxx functions rather than using GtkEntry structure directly.
...
See bug #576801
svn path=/trunk/; revision=22589
2009-03-27 05:22:23 +00:00
Tor Lillqvist
d8ea13216c
Bug 575644 - Cygwin gail build patch
...
2009-03-25 Tor Lillqvist <tml@novell.com>
Bug 575644 - Cygwin gail build patch
* modules/other/gail/Makefile.am
* modules/other/gail/libgail-util/Makefile.am
* modules/other/gail/tests/Makefile.am: Use -no-undefined also on
Cygwin. Patch from "Cygwin ports maintainer".
svn path=/trunk/; revision=22586
2009-03-25 07:18:58 +00:00
Matthias Clasen
ba150f5ecc
2.16.0
...
svn path=/trunk/; revision=22530
2009-03-13 15:06:47 +00:00
Matthias Clasen
fb5722ca96
2.15.5
...
svn path=/trunk/; revision=22448
2009-03-02 20:42:08 +00:00
Li Yuan
a0b3a069f1
Bug #519090 . Add accessibility support to GtkScaleButton. Support action
...
2009-02-26 Li Yuan <li.yuan@sun.com>
* Makefile.am:
* gail.c: (gail_accessibility_module_init):
* gail.h:
* gailscalebutton.c: (gail_scale_button_class_init),
(gail_scale_button_init), (gail_scale_button_initialize),
(atk_action_interface_init), (gail_scale_button_do_action),
(gail_scale_button_get_n_actions),
(gail_scale_button_get_description),
(gail_scale_button_action_get_name),
(gail_scale_button_get_keybinding),
(gail_scale_button_set_description), (atk_value_interface_init),
(gail_scale_button_get_current_value),
(gail_scale_button_get_maximum_value),
(gail_scale_button_get_minimum_value),
(gail_scale_button_get_minimum_increment),
(gail_scale_button_set_current_value),
(gail_scale_button_notify_gtk):
* gailscalebutton.h:
Bug #519090 . Add accessibility support to GtkScaleButton.
Support action and value interfaces. Patch from Jan Arne
Petersen.
svn path=/trunk/; revision=22411
2009-02-26 07:58:30 +00:00
Li Yuan
6bcbd9eb4d
Bug #561631 . Patch from Yue Wang. Ref the button in the idle function to
...
2009-02-26 Li Yuan <li.yuan@sun.com>
* gailbutton.c: (idle_do_action):
Bug #561631 . Patch from Yue Wang. Ref the button in the idle
function to prevent the button being finalized.
svn path=/trunk/; revision=22408
2009-02-26 02:28:12 +00:00
Li Yuan
01aa0c3932
Bug #325809 . Get the cell from the coordinates based on bin_window.
...
2009-02-25 Li Yuan <li.yuan@sun.com>
* gailtreeview.c: (gail_tree_view_ref_accessible_at_point):
Bug #325809 . Get the cell from the coordinates based on
bin_window.
svn path=/trunk/; revision=22405
2009-02-25 09:55:14 +00:00