aboutsummaryrefslogtreecommitdiffstats
path: root/a11y/e-table
Commit message (Collapse)AuthorAgeFilesLines
* updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-2125-25/+25
| | | | svn path=/trunk/; revision=35665
* ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES andMatthew Barnes2008-06-062-4/+2
| | | | | | | | | | 2008-06-06 Matthew Barnes <mbarnes@redhat.com> ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES defined. (#536637) svn path=/trunk/; revision=35606
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-1518-136/+136
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* - Fix warnings from sparse.Kjartan Maraas2007-10-291-1/+1
| | | | | | | | | | | | | | | | 2007-10-29 Kjartan Maraas <kmaraas@gnome.org> * addressbook/ea-addressbook.c: * calendar/ea-cal-view.c: (action_interface_get_keybinding): * calendar/ea-calendar.c: * calendar/ea-week-view-main-item.c: (selection_interface_clear_selection): * e-table/gal-a11y-e-cell-tree.c: (ectr_subcell_weak_ref), (gal_a11y_e_cell_tree_get_type): - Fix warnings from sparse. svn path=/trunk/; revision=34450
* 2007-09-07 mcrha Fix for bug #473903Milan Crha2007-09-071-1/+3
| | | | svn path=/trunk/; revision=34192
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-024-8/+8
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* ** Fix for bug #455799Hiroyuki Ikezoe2007-08-041-4/+0
| | | | | | | | | | | | 2007-08-04 Hiroyuki Ikezoe <poincare@ikezoe.net> ** Fix for bug #455799 Remove all .cvsignore and update svn:ignore porperty in whole directories. svn path=/trunk/; revision=33945
* Collect all the required package versions in one place and explicitlyMatthew Barnes2007-07-281-1/+1
| | | | | | | | | | | | | 2007-07-27 Matthew Barnes <mbarnes@redhat.com> * configure.in: Collect all the required package versions in one place and explicitly require GTK+ 2.10 or higher. (#380354) * Adapt various Makefile.am files. svn path=/trunk/; revision=33863
* The return value of g_list_remove() should be received because theHiroyuki Ikezoe2007-07-261-1/+1
| | | | | | | | | | | 2007-07-26 Hiroyuki Ikezoe <poincare@ikezoe.net> * e-table/gal-a11y-e-cell-tree.c: (ectr_subcell_weak_ref): The return value of g_list_remove() should be received because the function returns the new start of the list. svn path=/trunk/; revision=33836
* Don't mix declarations and code (#405495).Matthew Barnes2007-03-272-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-03-27 Matthew Barnes <mbarnes@redhat.com> * a11y/e-table/gal-a11y-e-cell-text.c: * a11y/e-table/gal-a11y-e-cell-vbox.c: * addressbook/gui/component/addressbook-component.c: * addressbook/gui/component/addressbook-view.c: * addressbook/gui/contact-editor/e-contact-editor.c: * addressbook/gui/contact-editor/e-contact-quick-add.c: * addressbook/gui/widgets/e-addressbook-view.c: * addressbook/gui/widgets/eab-contact-display.c: * addressbook/gui/widgets/gal-view-minicard.c: * calendar/gui/alarm-notify/alarm-queue.c: * calendar/gui/dialogs/comp-editor.c: * calendar/gui/dialogs/event-page.c: * calendar/gui/dialogs/memo-page.c: * calendar/gui/dialogs/task-page.c: * calendar/gui/e-cal-popup.c: * calendar/gui/e-meeting-list-view.c: * calendar/gui/e-tasks.c: * calendar/gui/gnome-cal.c: * composer/e-msg-composer.c: * mail/em-folder-browser.c: * mail/em-format.c: * mail/em-popup.c: * plugins/exchange-operations/exchange-account-setup.c: * plugins/exchange-operations/exchange-calendar.c: * plugins/exchange-operations/exchange-config-listener.c: * plugins/exchange-operations/exchange-contacts.c: * plugins/import-ics-attachments/icsimporter.c: * widgets/misc/e-filter-bar.c: * widgets/misc/e-multi-config-dialog.c: * widgets/table/e-cell-checkbox.c: * widgets/table/e-table-header-item.c: Don't mix declarations and code (#405495). svn path=/trunk/; revision=33324
* ** Fixes bug #419524Matthew Barnes2007-03-216-6/+6
| | | | | | | | | | | | | | | | | | | | | | | 2007-03-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #419524 * Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>. * e-util/e-xml-utils.c (e_xml_get_child_by_name_by_lang_list): * mail/em-migrate.c (emm_setup_initial): * shell/e-component-registry.c (query_components): * shell/e-shell-settings-dialog.c (load_pages): * shell/e-shell-window-commands.c (command_quick_reference): * tools/killev.c (main): Use g_get_language_names() instead of gnome_i18n_get_language_list(). * e-util/e-util.c: Remove e_gettext(). * e-util/Makefile.am: Remove e-i18n.h. svn path=/trunk/; revision=33319
* Workaround for crash in bug #330728. Patch from Caolan McNamara.Kjartan Maraas2007-03-011-0/+29
| | | | | | | | | | | 2007-03-01 Kjartan Maraas <kmaraas@gnome.org> * e-table/gal-a11y-e-cell-tree.c: (kill_view_cb), (ectr_subcell_weak_ref), (gal_a11y_e_cell_tree_new): Workaround for crash in bug #330728. Patch from Caolan McNamara. svn path=/trunk/; revision=33268
* Fixes #353472Matthew Barnes2006-09-191-0/+2
| | | | | | | | | | | | | | | | 2006-09-18 Matthew Barnes <mbarnes@redhat.com> Fixes #353472 * widgets/ea-calendar-cell.c: (ea_calendar_cell_finalize) * calendar/ea-week-view-cell.c: (ea_week_view_cell_finalize) * calendar/ea-day-view-cell.c: (ea_day_view_cell_finalize) * calendar/ea-cal-view-event.c: (ea_cal_view_finalize) * e-table/gal-a11y-e-cell-registry.c: (gal_a11y_e_call_registry_finalize) Chain up to parent's finalize() method. svn path=/trunk/; revision=32784
* Revert Rajeev's patch for #330728, #332727..Harish Krishnaswamy2006-06-221-1/+1
| | | | | | | | | 2006-06-22 Harish Krishnaswamy <kharish@novell.com> * e-table/gal-a11y-e-cell-text.c: (ect_check): Revert Rajeev's patch for #330728, #332727.. svn path=/trunk/; revision=32187
* Do not install header files, and make sure they will be included in theLi Yuan2006-06-121-5/+1
| | | | | | | | | | 2006-06-12 Li Yuan <li.yuan@sun.com> * Makefile.am, e-table/Makefile.am, e-text/Makefile.am: Do not install header files, and make sure they will be included in the tarball when make dist. svn path=/trunk/; revision=32110
* Revert the earlier patch. They are needed, after all.Harish Krishnaswamy2006-05-161-0/+18
| | | | | | | | | | 2006-05-16 Harish Krishnaswamy <kharish@novell.com> * Makefile.am, e-table/Makefile.am e-text/Makefile.am: Revert the earlier patch. They are needed, after all. svn path=/trunk/; revision=31990
* Patch submitted by Li Yuan <li.yuan@sun.com> Do not install header files.Harish Krishnaswamy2006-05-151-18/+0
| | | | | | | | | | 2006-05-15 Harish Krishnaswamy <kharish@novell.com> Patch submitted by Li Yuan <li.yuan@sun.com> * Makefile.am, e-table/Makefile.am, e-text/Makefile.am: Do not install header files. svn path=/trunk/; revision=31985
* Fix for #333279.Li Yuan2006-05-081-0/+3
| | | | | | | | | | | 2006-05-08 Li Yuan <li.yuan@sun.com> Fix for #333279. * e-table/gal-a11y-e-table-item.c: (table_is_row_selected): If row<0, just return FALSE. svn path=/trunk/; revision=31959
* reviewed by: Harish Krishnaswamy <kharish@novell.com>Rajeev ramanathan2006-04-241-1/+1
| | | | | | | | | | | | 2006-04-24 Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in> reviewed by: Harish Krishnaswamy <kharish@novell.com> * e-table/gal-a11y-e-cell-text.c: (ect_check) Fixes the corrupted reference to cell_view->ecell Fix for #330728, #332727. svn path=/trunk/; revision=31871
* reviewed by: Harish Krishnaswamy <kharish@novell.com>Kjartan Maraas2006-01-273-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-27 Kjartan Maraas <kmaraas@gnome.org> reviewed by: Harish Krishnaswamy <kharish@novell.com> * addressbook/ea-addressbook.c: Remove extra semi-colons. * calendar/ea-cal-view.c: (ea_cal_view_event_changed_cb), (ea_cal_view_event_added_cb), (action_interface_get_keybinding): Remove unused code and variables. * calendar/ea-day-view-main-item.c: (table_interface_get_row_description): More removal of unused bits * calendar/ea-week-view-main-item.c: (ea_week_view_main_item_get_row_at_index), (ea_week_view_main_item_get_column_at_index), (ea_week_view_main_item_get_row_label), (table_interface_get_n_columns), (table_interface_get_column_description): Same again. * e-table/gal-a11y-e-table-item.c: (gal_a11y_e_table_item_new): And again. * e-table/gal-a11y-e-table.c: (et_ref_child): Remove unused var. * e-table/gal-a11y-e-tree.c: (gal_a11y_e_tree_new): Again. * e-text/gal-a11y-e-text.c: (et_set_selection), (et_real_initialize): Same here too. * widgets/ea-calendar-item.c: (table_interface_get_column_description), (table_interface_get_row_description), (selection_interface_is_child_selected), (ea_calendar_item_get_cell_data): And here too. * widgets/ea-widgets.c: More redundant semi-colons. svn path=/trunk/; revision=31324
* Use g_ascii_strcasecmp() instead of g_strcasecmp() for well-definedness.Tor Lillqvist2005-12-171-1/+1
| | | | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * e-table/gal-a11y-e-cell.c (gal_a11y_e_cell_remove_action_by_name): Use g_ascii_strcasecmp() instead of g_strcasecmp() for well-definedness. svn path=/trunk/; revision=30795
* Fix for #316351Harry Lu2005-09-281-0/+2
| | | | | | | | | | | | 2005-09-27 Harry Lu <harry.lu@sun.com> Fix for #316351 * e-table/gal-a11y-e-cell.c: (idle_do_action), (gal_a11y_e_cell_action_do_action): add a ref/unref pair to make sure the pointer is valid. svn path=/trunk/; revision=30381
* Fixes #313514. For the code change in gnopernicus, we should useLi Yuan2005-08-171-4/+2
| | | | | | | | | | | 2005-08-15 Li Yuan <li.yuan@sun.com> * e-table/gal-a11y-e-table-item.c: (eti_a11y_reset_focus_object): Fixes #313514. For the code change in gnopernicus, we should use atk_focus_tracker_notify here. svn path=/trunk/; revision=30140
* Fixes #310136 #310138. The first items of e-table are column-header. So weLi Yuan2005-07-191-7/+7
| | | | | | | | | | | | | | 2005-07-18 Li Yuan <li.yuan@sun.com> Fixes #310136 #310138. * e-table/gal-a11y-e-table-item.c: (eti_get_index_at), (eti_get_row_at_index), (eti_get_n_rows), (eti_rows_inserted), (eti_rows_deleted), (eti_header_structure_changed): The first items of e-table are column-header. So we should add number of columns when change (row, col) to index, or subtract when change index to (row, col). svn path=/trunk/; revision=29794
* Added widgets in INCLUDES.Kaushal Kumar2005-06-231-2/+2
| | | | | | | | | | | | 2005-06-23 Kaushal Kumar <kakumar@novell.com> * e-util/Makefile.am, widgets/e-timezone-dialog/Makefile.am, addressbook/gui/search/Makefile.am, plugins/groupwise-features/Makefile.am: Added widgets in INCLUDES. Updated the include paths to use misc instead of widgets/misc. svn path=/trunk/; revision=29574
* Makefile.am addressbook/Makefile.am calendar/Makefile.am Use the fakeTor Lillqvist2005-06-181-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-18 Tor Lillqvist <tml@novell.com> * Makefile.am * addressbook/Makefile.am * calendar/Makefile.am * widgets/Makefile.am: Use the fake "bootstrap" libraries on Win32 to get around circular dependencies. Use NO_UNDEFINED. * Makefile.am: No need to pass -I pointing to this directory itself, all inclusions of headers from here are with doublequotes. Link with libeutil. No need to link with REGEX_LIBS. * addressbook/Makefile.am * calendar/Makefile.am * widgets/Makefile.am: Prune out superfluous -I options and -D options for EVOLUTION_* pathname macros that aren't used in the source files in that directory. * addressbook/Makefile.am: Drop A11Y_CFLAGS, its a subset of EVOLUTION_ADDRESSBOOK_CFLAGS anyway. Link with EVOLUTION_ADDRESSBOOK_LIBS. * a11y/addressbook/ea-addressbook.c: Include headers from the same directory as such. * calendar/Makefile.am: Drop A11Y_CFLAGS, its a subset of EVOLUTION_CALENDAR_CFLAGS anyway. Link with EVOLUTION_CALENDAR_LIBS. * e-table/Makefile.am (INCLUDES) * e-text/Makefile.am (INCLUDES): Drop the undefined GNOME_BONOBO_CFLAGS and GNOME_INCLUDEDIR. Drop GNOME_FULL_CFLAGS, it's a subset of EXTRA_GNOME_CFLAGS. * widgets/Makefile.am: E_WIDGETS_CFLAGS is enough. No need for EVOLUTION_CALENDAR_CFLAGS, which . Link with E_WIDGET_LIBS. Drop A11Y_CFLAGS, subset of E_WIDGET_CFLAGS. svn path=/trunk/; revision=29533
* Remove stray trailing slash from -I path, confuses gcc on Win32.Tor Lillqvist2005-06-181-1/+1
| | | | | | | | | 2005-06-18 Tor Lillqvist <tml@novell.com> * e-table/Makefile.am (INCLUDES): Remove stray trailing slash from -I path, confuses gcc on Win32. svn path=/trunk/; revision=29528
* Retired GAL from Head. The relevant files have moved inside evolution.Kaushal Kumar2005-06-1721-59/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-17 Kaushal Kumar <kakumar@novell.com> * Retired GAL from Head. The relevant files have moved inside evolution. Thanks to JP Rosevear for performing the cvs surgery. The files have been moved in the following order. evolution/e-util <- gal/gal/util evolution/a11y <- gal/gal/a11y evolution/a11y/e-table <- gal/gal/a11y/e-table evolution/a11y/e-text <- gal/gal/a11y/e-text evolution/widgets/table <- gal/gal/e-table evolution/widgets/text <- gal/gal/e-text evolution/widgets/misc <- gal/gal/widgets evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps evolution/widgets/menus <- gal/gal/menus Following is the summary of changes done to fix the build:- - New files added to cvs repository, - a11y/e-table/Makefile.am - a11y/e-text/Makefile.am - widgets/table/Makefile.am - widgets/text/Makefile.am - widgets/misc/pixmaps/Makefile.am - iconv-detect.h - iconv-detect.c - Updated configure.in. - Updated all the relevant Makefile.am files. - Updated the include paths to replace all gal references. - Updated the marshal list to suit gal files requirements. svn path=/trunk/; revision=29522
* add two files to sort table items. add table header. ditto.Li Yuan2005-05-204-10/+264
| | | | | | | | | | | | | | | | | | | 2005-05-20 Li Yuan <li.yuan@sun.com> * gal/a11y/e-table/Makefile.am: * gal/a11y/e-table/gal-a11y-e-table-column-header.c: * gal/a11y/e-table/gal-a11y-e-table-column-header.h: add two files to sort table items. * gal/a11y/e-table/gal-a11y-e-cell.c: (gal_a11y_e_cell_get_index_in_parent): add table header. * gal/a11y/e-table/gal-a11y-e-table-item.c: (eti_get_n_children): (eti_ref_child), (eti_get_n_rows), (eti_get_column_header): ditto. Fixes #302154 svn path=/trunk/; revision=29394
* Port to Windows, initial commit:Tor Lillqvist2005-04-2917-79/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-04-29 Tor Lillqvist <tml@novell.com> Port to Windows, initial commit: * configure.in: Check for Win32, define Automake conditional OS_WIN32. Check for regexec() perhaps in separate -lregex, define REGEX_LIBS if so. Require glib-2.0 >= 2.6 (and thus also gtk+-2.0 >= 2.6) so that we can use the gstdio wrappers for full support of non-ASCII filenames on Win32. Don't use -D_REENTRANT on Win32, has ne special meaning. * gal.pc.in: Require gtk+-2.0 >= 2.6 also here for consistency. * gal-zip.in: New file, used to build zipfile format distribution of gal for Win32. * configure.in * Makefile.am: Add gal-zip(.in). * */Makefile.am * */*.c: Harmonize -I and #include conventions. (Of course, this hasn't anything to do with Windows porting as such, I just got carried away...) Use only -I$(top_srcdir). Use paths to gal headers staring with "gal", except for headers from the same directory as the .c file, which are included as such. Include all gal headers using doublequotes. Sort #includes and remove duplicates and obvious redundancies. Include config.h first without any HAVE_CONFIG_H, then system headers, then other GNOME lib headers, than gal's own headers. Just include gtk.h instead of separate gtk*.h headers. Don't include gi18n.h, include e-i18n.h to use e_gettext() consistently. * gal/Makefile.am: Use -no-undefined on Win32 so that libtool agrees to build a shared library. Because of the bidirectional dependency between libgal and libgal-a11y we can build libgal-a11y sanely as a shared library on Win32, so we don't install any separate libgal-a11y at all. So, on Win32, link the stuff that goes into libgal-a11y also into libgal. Link with REGEX_LIBS. * gal/a11y/Makefile.am: See above. Just build a dummy static libgal-a11y on Win32 (can't convince Automake not to build the library at all on one platform using Automake ifdef, apparently). Then (this is a gross hack) explicitly remove the library after installation in the install-data-local rule. * gal/e-table/Makefile.am * gal/e-table/e-table-config.c: Rename ETABLE_GLADEDIR to GAL_GLADEDIR for consistency. * gal/e-table/e-cell-date.c: No localtime_r() in Microsoft's C library, but its localtime() *is* thread-safe. * gal/e-table/e-cell-text.c * gal/e-table/e-cell-tree.c * gal/e-table/e-cell-vbox.c * gal/e-text/e-text.c * gal/widgets/e-unicode.c: Remove unnecessary inclusion of gdkx.h. * gal/e-table/e-cell-tree.c (ect_realize): Instead of the Xlib macro None (whose value is zero), use the corresponding zero-valued enums from the appropriate GDK type. * gal/e-table/e-table-config.c * gal/e-table/e-table-field-chooser.c * gal/menus/gal-define-views-dialog.c * gal/menus/gal-view-instance-save-as-dialog.c * gal/menus/gal-view-new-dialog.c * gal/widgets/e-categories-master-list-array.c * gal/widgets/e-categories-master-list-dialog.c * gal/widgets/e-categories.c: Use g_build_filename() to construct pathnames at run-time instead of compile-time. On Windows the macros GAL_GLADEDIR and GAL_IMAGESDIR expand to function calls, in order to support installing in a freely chosen location. * gal/e-table/e-table-item.c * gal/e-table/e-cell-vbox.c: Instrad of the Xlib GrabSuccess, use GDK_GRAB_SUCCESS (which has the same value). * gal/e-table/e-table-specification.c (e_table_specification_load_from_file) * gal/e-table/e-table.c (e_table_load_specification) * gal/e-table/e-tree-table-adapter.c (open_file) * gal/menus/gal-view-instance.c (load_current_view) * gal/menus/gal-view-instance.c (load_current_view): On Win32, convert filename to the locale character set before passing to xmlParseFile() which doesn't use UTF-8 filenames. Use gstdio wrappers. * gal/util/Makefile.am: Define GAL_PREFIX as $prefix. Define GAL_LOCALEDIR, GAL_GLADEDIR and GAL_IMAGESDIR also here for e-win32-reloc.c. Include e-win32-reloc.c on Win32. * gal/util/e-iconv.c (e_iconv_init): Use g_win32_getlocale() on Windows. * gal/util/e-util.c * gal/util/e-xml-utils.c: Use g_mkstemp() instead of non-portable mkstemp(). Use GLib pathname manipulation functions. Use gstdio wrappers. * gal/util/e-util-private.h: New file. Contains just Win32 bits for now that redefine the directory names from the Makefile as functions calls. * gal/util/e-win32-reloc.c: New file. Contains a minimal DllMain() and functions to support freely chosen installation location on Windows. * gal/util/e-xml-utils.c: No fsync() in the Microsoft C library. * gal/windgets/Makefile.am: Add -I$(top_srcdir)/gal for consistency with the sibling Makefile.am files. * gal/widgets/e-canvas.c: Instead of the Xlib AlreadyGrabbed, use GDK_GRAB_ALREADY_GRABBED. svn path=/trunk/; revision=29249
* return FALSE to let GTK run "F6" handler.Li Yuan2005-04-281-1/+1
| | | | | | | | | | | 2005-04-28 Li Yuan <li.yuan@sun.com> * gal/a11y/e-table/gal-a11y-e-table-click-to-add.c: (etcta_event): return FALSE to let GTK run "F6" handler. Fixes #74181 svn path=/trunk/; revision=29233
* New function to reset focus object. (eti_rows_deleted),Harry Lu2005-03-241-43/+45
| | | | | | | | | | | | | 2005-03-24 Harry Lu <harry.lu@sun.com> * gal/a11y/e-table/gal-a11y-e-table-item.c: (eti_a11y_reset_focus_object): New function to reset focus object. (eti_rows_deleted), (gal_a11y_e_table_item_new), (eti_a11y_cursor_changed_cb): call the new function. Fixes #73920 svn path=/trunk/; revision=29097
* Fix for 72793.Harry Lu2005-02-241-0/+7
| | | | | | | | | | | 2005-02-23 Harry Lu <harry.lu@sun.com> Fix for 72793. * gal/a11y/e-table/gal-a11y-e-cell.c: (gal_a11y_e_cell_grab_focus): for e-cell-vbox's children cell, we grab the e-cell-vbox. svn path=/trunk/; revision=28878
* Some code clean work.Harry Lu2005-02-047-16/+46
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-27 Harry Lu <harry.lu@sun.com> Some code clean work. * gal/a11y/e-table/gal-a11y-e-table-click-to-add.c: (gal_a11y_e_table_click_to_add_init): new function to register type only when a11y is enabled. * gal/a11y/e-table/gal-a11y-e-table-click-to-add.h: * gal/a11y/e-table/gal-a11y-e-table-item.c: (gal_a11y_e_table_item_init): ditto. * gal/a11y/e-table/gal-a11y-e-table.c: (gal_a11y_e_table_init): ditto. * gal/a11y/e-table/gal-a11y-e-table.h: * gal/a11y/e-table/gal-a11y-e-tree.c: (gal_a11y_e_tree_init): ditto. * gal/a11y/e-table/gal-a11y-e-tree.h: * gal/a11y/e-text/gal-a11y-e-text.c: (gal_a11y_e_text_init): ditto. * gal/a11y/e-text/gal-a11y-e-text.h: * gal/a11y/factory.c: useless file removed. * gal/a11y/init.c: useless file removed. * gal/e-text/e-text.c: (e_text_class_init): move a11y registry call to a11y code. svn path=/trunk/; revision=28702
* add gal-a11y-e-cell-vbox.h and gal-a11y-e-cell-vbox.cLi Yuan2005-01-2714-452/+990
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-27 Li Yuan <li.yuan@sun.com> * gal/a11y/e-table/Makefile.am: add gal-a11y-e-cell-vbox.h and gal-a11y-e-cell-vbox.c * gal/a11y/e-table/gal-a11y-e-cell-popup.c: (gal_a11y_e_cell_popup_new): add i18n support to strings. Fixes #70261 * gal/a11y/e-table/gal-a11y-e-cell-text.c: (ect_dispose): disconnect the insert and the delete signal. (ect_check):do some check works. (ect_get_name), (ect_get_text), (ect_get_character_at_offset), (ect_get_caret_offset), (ect_get_character_count), (ect_get_n_selections), (ect_get_selection), (ect_add_selection), (ect_set_caret_offset), (ect_insert_text): use e_cell_text_get_text_by_view instead of e_cell_text_get_text. make get_name work well when e-cell-text is being edited. (ect_do_action_edit): call e_table_item_enter_edit only when the cell is editable. (ect_text_inserted_cb), (ect_text_deleted_cb): emit the text_changed::insert(delete) signal. make gnopernicus know the text_changed. (ect_class_init): add dispose function. (ect_action_init): add the edit action. (gal_a11y_e_cell_text_get_type): no ect_init function now. (cell_text_destroyed): unref the atkobject. (gal_a11y_e_cell_text_new): connect text_inserted and text_deleted singals and make sure the state of editable is right. * gal/a11y/e-table/gal-a11y-e-cell-text.h: add two signal handler id. * gal/a11y/e-table/gal-a11y-e-cell-toggle.c: (gal_a11y_e_cell_toggle_dispose): fix #70261. (model_change_cb): make gnopernicus to report state change signal. (gal_a11y_e_cell_toggle_new):add i18n support to strings. * gal/a11y/e-table/gal-a11y-e-cell-tree.c: (gal_a11y_e_cell_tree_new): add i18n support to strings. Fixes #61688 * gal/a11y/e-table/gal-a11y-e-cell-vbox.c: (ecv_get_n_children), (subcell_destroyed), (ecv_ref_child), (ecv_dispose), (ecv_ref_accessible_at_point), (ecv_class_init), (ecv_init), (ecv_atk_component_iface_init), (gal_a11y_e_cell_vbox_get_type), (gal_a11y_e_cell_vbox_new): * gal/a11y/e-table/gal-a11y-e-cell-vbox.h: implement a11y object of ECellVbox. Fixes #48976 * gal/a11y/e-table/gal-a11y-e-cell.c: function name are changed form eti_* to gal_a11y_e_cell_* (is_valid): check if the cell is valid. (gal_a11y_e_cell_dispose): make sure state_set is null. (gal_a11y_e_cell_get_name): implement the get_name function. (gal_a11y_e_cell_ref_state_set): add VISIBLE state. (gal_a11y_e_cell_get_parent), (gal_a11y_e_cell_get_index_in_parent), (gal_a11y_e_cell_get_extents): use e_tree_get_cell_geometry and e_table_get_cell_geometry instead of e_table_item_get_cell_geometry. (gal_a11y_e_cell_grab_focus): make grab_focus work with e-tree also. (gal_a11y_e_cell_atk_component_iface_init), (gal_a11y_e_cell_class_init): add get_name function. (gal_a11y_e_cell_init): add some state to cell. (idle_do_action): check if cell is valid. (gal_a11y_e_cell_action_do_action): check if cell is valid. (gal_a11y_e_cell_get_type), (gal_a11y_e_cell_construct): ref e-table-item. * gal/a11y/e-table/gal-a11y-e-table-click-to-add.c: (etcta_get_description), (etcta_action_get_name): add i18n support to strings. (etcta_get_name): if etcta has message, return it. (etcta_ref_state_set): implement the ref_state_set function, add SENSITIVE and SHOWING state. (etcta_class_init):add ref_state_set function. (etcta_selection_cursor_changed): call atk_focus_tracker_notify to a11y-e-cell (gal_a11y_e_table_click_to_add_new): connect etcta_selection_cursor_changed to cursor_changed signal. * gal/a11y/e-table/gal-a11y-e-table-item-factory.c: (gal_a11y_e_table_item_factory_create_accessible): parameters of gal_a11y_e_table_item_new have been changed. Fixes #68675 Fixes #70324 Fixes #68681 Fixes #68627 * gal/a11y/e-table/gal-a11y-e-table-item.c: remove the cell_data support. (item_destroyed): add ATK_STATE_DEFUNCT state and unref selection. (eti_ref_state_set): just ref state_set. (eti_dispose): we have unref selection in item_destroyed. remove the cell_data support. (eti_ref_child): remove support for column header. use eti_ref_at instead of atk_table_ref_at. (eti_get_extents): add support for click to add. (eti_ref_accessible_at_point): e-tree and e-table are different here. (cell_destroyed): add a check and unref item. remove the cell_data support. (eti_ref_at): if e-table-item has DEFUNCT state, return NULL. remove the cell_data support. (eti_get_column_header): use column name as the a11y name. set it role as ATK_ROLE_TABLE_COLUMN_HEADER. (table_is_row_selected): use view_to_model_row to convert row when uses source model. (table_get_selected_rows): if e-table-item has DEFUNCT state, return 0. (table_remove_row_selection): use view_to_model_row to convert row when uses source model. (eti_rows_inserted), (eti_rows_deleted): remove the cell_data support. (eti_tree_model_node_changed_cb): emit visible-data-changed signal. for the eti_clear_rows have been removed. (eti_header_structure_changed): remove the cell_data support. (eti_class_init): add eti_ref_state_set, remove eti_get_parent and eti_get_index_in_parent. (eti_init): init parent and index_in_parent. (gal_a11y_e_table_item_new): add some states. get name form parents. init role correctly. add FOCUSED state to focused cell. remove the cell_data support. (eti_a11y_selection_changed_cb): if e-table-item has DEFUNCT state, just return. (eti_a11y_cursor_changed_cb): remove the FOCUESD state form the old cell. (selection_add_selection): if it has been focused already, just return. if another row was focused, clear it first. (selection_ref_selection): use eti_ref_at instead of atk_table_ref_at. (gal_a11y_e_table_item_init): add this function. * gal/a11y/e-table/gal-a11y-e-table-item.h: add gal_a11y_e_table_item_init and change the parameters of gal_a11y_e_table_item_new. * gal/a11y/e-table/gal-a11y-e-table.c: (find_first_table_item): find the first item of the group. (eti_get_accessible), (find_table_item): find the first table item. (init_child_item): ref every group's first item. (et_ref_accessible_at_point): no need to call init_child_item here. just ref the item. (et_get_n_children): add support for multiple ETableItems. (et_ref_child): add support for multiple ETableItems. (et_get_layer): Set AtkLayer as ATK_LAYER_WIDGET for e-table. (et_atk_component_iface_init): add et_get_layer function. (gal_a11y_e_table_new):ref the a11y and widget, and unref it in the idle function to avoid crash. Fixes #71158 * gal/a11y/e-table/gal-a11y-e-tree.c: (init_child_item): just get the a11y object of the child item. (et_get_layer): Set AtkLayer as ATK_LAYER_WIDGET for etree. (et_atk_component_iface_init): add et_get_layer function. * gal/util/e-marshal.list: add support for the text_inserted and text_deleted signal. svn path=/trunk/; revision=28572
* Fixes 59047.Eric Zhao2004-06-211-3/+51
| | | | | | | | | | | | | | | 2004-06-21 Eric Zhao <eric.zhao@sun.com> Fixes 59047. * gal/a11y/e-table/gal-a11y-e-table-item.c: (model_to_view_row), (model_to_view_col), (eti_ref_at), (eti_a11y_cursor_changed_cb): Set the cell's ATK_STATE_SHOWING and ATK_STATE_VISIBLE properties to be TURE, so that gnopernicus can read the whole table line. Also convert the cursor's to position to view format, prevent potential bug. svn path=/trunk/; revision=26436
* fixes to get rid of compiler warningsRadek Doulik2004-06-1110-47/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-10 Radek Doulik <rodo@ximian.com> * gal/a11y/e-table/gal-a11y-e-table-click-to-add.c (idle_do_action): added cast * gal/a11y/e-table/gal-a11y-e-cell-tree.c (gal_a11y_e_cell_tree_new): added cast * gal/a11y/e-table/gal-a11y-e-cell.c: added #include <gtk/gtkwindow.h> * gal/e-text/e-text.c (_get_position): removed unused variable * gal/e-text/e-completion.c: #if 0'ed e_completion_sort * tests/test-text.c (create_entry): removed unused variables added #include "gal/widgets/e-canvas-utils.h" added #include "gal/e-text/e-text-model.h" (create_text): removed unused variables (create_ro_text): ditto * tests/test-table-1.c (create_table): added cast * tests/test-completion.c (main): added cast * gal/a11y/e-text/gal-a11y-e-text.c (et_get_text): return NULL if check fails added #include <string.h> for strlen (et_get_text_after_offset): fixed typo defalut --> default (et_get_text_at_offset): ditto (et_get_character_extents): removed unused variables (et_set_selection): ditto (_et_command_cb): added default: label to quiet compiler * gal/a11y/e-table/gal-a11y-e-table-click-to-add-factory.c (gal_a11y_e_table_click_to_add_factory_create_accessible): return NULL if check fails * gal/a11y/e-table/gal-a11y-e-table-click-to-add.c (idle_do_action): fixed wrong cast (idle_do_action): removed unused variables (etcta_ref_child): return NULL if check fails (gal_a11y_e_table_click_to_add_new): ditto (gal_a11y_e_table_click_to_add_new): removed unused variable * gal/a11y/e-table/gal-a11y-e-table-item-factory.c (gal_a11y_e_table_item_factory_create_accessible): return NULL if fails (gal_a11y_e_table_item_factory_create_accessible): added cast (gal_a11y_e_table_item_factory_create_accessible): removed unused variable * gal/a11y/e-table/gal-a11y-e-table-item.c (eti_dispose): removed unused variable (eti_get_parent): ditto (eti_get_n_children): ditto (eti_ref_child): ditto (eti_get_index_in_parent): ditto (eti_ref_accessible_at_point): return value (NULL) (cell_destroyed): removed unused variable (cell_destroyed): ditto (table_add_row_selection): ditto added #inclued <string.h> for memset, memmove (eti_rows_inserted): removed unused variable (eti_rows_deleted): ditto (eti_header_structure_changed): ditto * gal/a11y/e-table/gal-a11y-e-cell-popup.c (gal_a11y_e_cell_popup_class_init): removed unused variable added #include "gal-a11y-e-cell-registry.h" (popup_cell_action): removed unused variable * gal/a11y/e-table/gal-a11y-e-cell-toggle.c (toggle_cell_action): removed unused variable * gal/a11y/e-table/gal-a11y-e-cell-tree.c: added #include "gal-a11y-e-cell-registry.h" (gal_a11y_e_cell_tree_new): add cast (gal_a11y_e_cell_tree_new): removed unused variable * gal/a11y/e-table/gal-a11y-e-cell-text.c: added #include <string.h> (ect_remove_selection): removed unused variable (ect_copy_text): added cast (ect_delete_text): ditto (ect_paste_text): ditto (ect_init): ditto * gal/a11y/e-table/gal-a11y-e-cell.c (eti_grab_focus): added cast (eti_grab_focus): ditto (eti_grab_focus): return TRUE (grab was successful) added #include <atk/atkstateset.h> * gal/a11y/e-table/gal-a11y-e-tree.c: added #include "gal-a11y-e-table-item.h" (gal_a11y_e_tree_new): removed unused variable * gal/e-text/e-text.c (_do_tooltip): removed unused variable (e_text_event): added cast (primary_clear_cb): removed unused variable (_get_position): ditto (_get_position): ditto #if 0'ed unused prototypes * gal/e-text/e-text-model.c (e_text_model_real_insert_length): removed unused variables * gal/e-text/e-completion.c (e_completion_sort): #if'0 ed, as it's not used anywhere * gal/widgets/e-reflow.c (items_inserted): remove unused variables * gal/widgets/e-categories.c (e_categories_get_property): remove unused variable * gal/widgets/e-categories-master-list-dialog.c (dialog_destroyed): added cast * gal/widgets/e-categories-master-list-combo.c (ecmlc_ecml_changed): remove unused variable * gal/widgets/color-palette.c: include string.h for memset prototype svn path=/trunk/; revision=26288
* clean code to avoid compiler warningsRadek Doulik2004-06-101-2/+4
| | | | | | | | | | | 2004-06-10 Radek Doulik <rodo@ximian.com> * gal/a11y/e-table/gal-a11y-e-table-item.c: clean code to avoid compiler warnings Fixes #59858 svn path=/trunk/; revision=26280
* Fixes #48974.Eric Zhao2004-04-221-1/+4
| | | | | | | | | | | | 2004-04-22 Eric Zhao <eric.zhao@sun.com> Fixes #48974. * gal/a11y/e-table/gal-a11y-e-tree.c: (init_child_item): add a check to see whether the corresponding AtkObject of ETableItem has been initialized. svn path=/trunk/; revision=25580
* Fixes bug #52935.Eric Zhao2004-04-221-3/+106
| | | | | | | | | | | | | | 2004-04-22 Eric Zhao <eric.zhao@sun.com> Fixes bug #52935. * gal/a11y/e-table/gal-a11y-e-table-item.c: (eti_ref_at), (eti_reinit_data), (eti_clear_rows), (eti_tree_model_node_changed_cb), (gal_a11y_e_table_item_new), (eti_a11y_cursor_changed_cb): add cell-data synchronization when the table's model has been changed, prevent data inconsistency. svn path=/trunk/; revision=25579
* add some sanity check here. add atk_state_focused to focused cell, it isYuedong Du2004-04-012-4/+16
| | | | | | | | | | 2004-04-01 Yuedong Du <yuedong.du@sun.com> * gal/a11y/e-table/gal-a11y-e-cell-text.c: (ect_get_caret_offset): add some sanity check here. * gal/a11y/e-table/gal-a11y-e-table-item.c: add atk_state_focused to focused cell, it is must. (gal_a11y_e_table_item_new), (eti_a11y_cursor_changed_cb): svn path=/trunk/; revision=25277
* Fixed bug 51917, add atk support for ClickToAddYuedong Du2003-12-176-15/+464
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-16 Yuedong Du <yuedong.du@sun.com> Fixed bug 51917, add atk support for ClickToAdd * gal/a11y/e-table/Makefile.am: add files. * gal/a11y/e-table/gal-a11y-e-table-click-to-add-factory.c: (gal_a11y_e_table_click_to_add_factory_get_accessible_type), (gal_a11y_e_table_click_to_add_factory_create_accessible), (gal_a11y_e_table_click_to_add_factory_class_init), (gal_a11y_e_table_click_to_add_factory_init), (gal_a11y_e_table_click_to_add_factory_get_type): factory for ClickToAdd * gal/a11y/e-table/gal-a11y-e-table-click-to-add-factory.h: ditto * gal/a11y/e-table/gal-a11y-e-table-click-to-add.c: (etcta_get_n_actions), (etcta_get_description), (etcta_action_get_name), (idle_do_action), (etcta_do_action), (atk_action_interface_init): a "click" action interface. (etcta_get_name), (etcta_get_n_children), (etcta_ref_child): create accessible according to which child is available. Either rect or row. (etcta_class_init), (etcta_init), (gal_a11y_e_table_click_to_add_get_type), (etcta_event): listen to canvas event, emit children-changed signal when it found rect/row was changed. (gal_a11y_e_table_click_to_add_new): * gal/a11y/e-table/gal-a11y-e-table-click-to-add.h: * gal/a11y/e-table/gal-a11y-e-table-item-factory.c: (gal_a11y_e_table_item_factory_create_accessible): * gal/a11y/e-table/gal-a11y-e-table.c: (init_child_item), (et_get_n_children), (et_ref_child): change the trick way to create a11y object for a table item. Because ClickToAdd is also a table item, previous way do not work for clicktoadd. * gal/e-table/e-table-click-to-add.c: (etcta_class_init): atk_register the new a11y factory. svn path=/trunk/; revision=23956
* A small fix from Andrew Wu.Bolian Yin2003-12-081-3/+6
| | | | svn path=/trunk/; revision=23671
* Fixed #50844Andrew Wu2003-12-082-0/+207
| | | | | | | | | | | 2003-12-08 Andrew Wu <yang.wu@sun.com> Fixed #50844 * gal/a11y/e-table/gal-a11y-e-cell-popup.c: * gal/a11y/e-table/gal-a11y-e-cell-popup.h: a11y impl. for e-cell-popup. svn path=/trunk/; revision=23670
* Fixes #51145Bolian Yin2003-12-021-9/+33
| | | | | | | | | | | 2003-12-02 Bolian Yin <bolian.yin@sun.com> Fixes #51145 * gal/a11y/gal-a11y-e-table-item (eti_get_column_header): new impl. (eti_ref_child): add column headers as children svn path=/trunk/; revision=23574
* Fixes #51139Bolian Yin2003-12-021-29/+65
| | | | | | | | | | | | | 2003-12-02 Bolian Yin <bolian.yin@sun.com> Fixes #51139 * gal/a11y/gal-a11y-e-table-item: (gal_a11y_e_table_item_ref_selection) (gal_a11y_e_table_item_unref_selection): new functions. * gal/e-table/e-table-item.c : change the place of emitting ""selection_model_removed" signal. svn path=/trunk/; revision=23571
* a11y implementations for ECellText. new functions to support correspondingTim Wo2003-12-021-80/+137
| | | | | | | | | | | | | | | | | | | | 2003-12-02 Tim Wo <tim.wo@sun.com> * gal/a11y/e-table/gal-a11y-e-cell-text.c: (ect_get_text), (ect_get_character_at_offset), (ect_get_caret_offset), (ect_get_character_count), (ect_get_n_selections), (ect_get_selection), (ect_add_selection), (ect_remove_selection), (ect_set_selection), (ect_set_caret_offset), (ect_set_text_contents), (ect_insert_text), (ect_copy_text), (ect_delete_text), (ect_cut_text), (ect_paste_text), (ect_class_init): a11y implementations for ECellText. * gal/e-table/e-cell-text.c: (e_cell_text_set_selection), (e_cell_text_get_selection), (e_cell_text_copy_clipboard), (e_cell_text_paste_clipboard), (e_cell_text_delete_selection): new functions to support corresponding atk operations. * gal/e-table/e-cell-text.h: some APIs added to support atk operations. svn path=/trunk/; revision=23568
* use table item to get the model. (gal_a11y_e_cell_toggle_new): use tableTim Wo2003-12-023-38/+95
| | | | | | | | | | | | | | | | | | | | | 2003-12-02 Tim Wo <tim.wo@sun.com> * gal/a11y/e-table/gal-a11y-e-cell-toggle.c: (gal_a11y_e_cell_toggle_dispose): use table item to get the model. (gal_a11y_e_cell_toggle_new): use table item to get the model. * gal/a11y/e-table/gal-a11y-e-cell-tree.c: (ectr_model_row_changed_cb): new function to deal with tree cell expansion and collapse (ectr_subcell_weak_ref): destroy the cell_tree a11y instance along with it's subcell's a11y instance. (gal_a11y_e_cell_tree_new): init the atk state of the tree cell, and connect to the model_row_change signal of table model, so that when the tree cell expands or collapses, the corresponding AtkState could be set. * gal/a11y/e-table/gal-a11y-e-cell-tree.h: add one member to save the connected signal id. svn path=/trunk/; revision=23567
* don't assert row=0 as fault, it cause bug 51199.Yuedong Du2003-12-021-6/+9
| | | | | | | | | | 2003-12-01 Yuedong Du <yuedong.du@sun.com> * gal/a11y/e-table/gal-a11y-e-table-item.c: (gal_a11y_e_table_item_new): don't assert row=0 as fault, it cause bug 51199. svn path=/trunk/; revision=23566
* handle the structure changed signal of table model. Thus we can handleYuedong Du2003-12-021-0/+157
| | | | | | | | | | | | | | | 2003-12-01 Yuedong Du <yuedong.du@sun.com> * gal/a11y/e-table/gal-a11y-e-cell-toggle.c: (gal_a11y_e_cell_toggle_dispose): * gal/a11y/e-table/gal-a11y-e-table-item.c: (eti_dispose), (eti_header_structure_changed): handle the structure changed signal of table model. Thus we can handle table column add/remove/delete. (eti_real_initialize): connect to structure-changed signal. (gal_a11y_e_table_item_new): initialize the new added field - columns, which in turn record columns before change. svn path=/trunk/; revision=23563
* override the function in base class, to retrieve the content of the text.Tim Wo2003-11-215-5/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-21 Tim Wo <tim.wo@sun.com> * gal/a11y/e-table/gal-a11y-e-cell-text.c: (ect_get_name): override the function in base class, to retrieve the content of the text. (ect_do_action_edit): begin edit the cell when issuing the action. (ect_class_init): override the "get_name" function. (ect_init): add an action "edit" to the object. (gal_a11y_e_cell_text_get_type): add AtkAction interface to this type. * gal/a11y/e-table/gal-a11y-e-cell-toggle.c (gal_a11y_e_cell_toggle_dispose): disconnect the connected signal when disposing. (gal_a11y_e_cell_toggle_class_init): to override the dispose function. (toggle_cell_action): set position of the click event more precisely. (model_change_cb): set or remove the ATK_STATE_CHECKED flag according to the value in the model when it changes. (gal_a11y_e_cell_toggle_new): init the ATK_STATE_CHECKED flag and connect to the model cell change signal. * gal/a11y/e-table/gal-a11y-e-cell-toggle.h: add one member to save the connected signal id. * gal/a11y/e-table/gal-a11y-e-cell.c: (gal_a11y_e_cell_grab_focus): notify the selection model that the cursor has been changed. * gal/a11y/e-table/gal-a11y-e-table-item.c: (eti_a11y_cursor_changed_cb): emiting a signal to notify the AT applictions that the active descendant has been changed. (#51055) svn path=/trunk/; revision=23466
* don't reset these fields, we need these info to a11y weak ref on each cellYuedong Du2003-11-203-15/+224
| | | | | | | | | | | | | | | | | 2003-11-19 Yuedong Du <yuedong.du@sun.com> * gal/a11y/e-table/gal-a11y-e-cell.c: (eti_dispose): don't reset these fields, we need these info to a11y weak ref on each cell to do cell_destroy() correctly. * gal/a11y/e-table/gal-a11y-e-table-item.c: (eti_dispose), (cell_destroyed), (eti_ref_at), (eti_rows_inserted), (eti_rows_deleted), (eti_real_initialize), (eti_class_init), (gal_a11y_e_table_item_new): handle table model's row-inserted and row-deleted signal * gal/a11y/e-table/gal-a11y-e-tree.c: (init_child_item): sanity check to avoid crash. svn path=/trunk/; revision=23456
* new files (gal-a11y-e-cell-tree.c/h) added adding 2 new functions to addTim Wo2003-11-124-0/+260
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-03 Tim Wo <tim.wo@sun.com> * gal/a11y/e-table/Makefile.am: new files (gal-a11y-e-cell-tree.c/h) added * gal/a11y/e-table/gal-a11y-e-cell.h: adding 2 new functions to add or remove atk states * gal/a11y/e-table/gal-a11y-e-cell.c (eti_dispose): unref the state_set (eti_ref_state_set): new function (eti_class_init): create and initialize the state_set (eti_init): override the "ref_state_set" function in AtkObjectClass with "eti_ref_state_set" (gal_a11y_e_cell_add_state): adding a return value (gal_a11y_e_cell_remove_state): new function * gal/e-table/e-cell-tree.c: (e_cell_tree_class_init): register GalA11yECellText as the a11y implementation for ECellText. (e_cell_tree_view_get_subcell_view): new function to retrieve the cell_view of subcell in ECellTree * gal/e-table/e-cell-tree.h: adding 1 new function to retrieve the cell_view of subcell in ECellTree * gal/a11y/e-table/gal-a11y-e-cell-tree.c: new file. A11y implementation for ECellTree * gal/a11y/e-table/gal-a11y-e-cell-tree.h: new file. A11y implementation for ECellTree svn path=/trunk/; revision=23296
* Fixes # 50480Bolian Yin2003-11-111-2/+100
| | | | | | | | | | 2003-11-11 Bolian Yin <bolian.yin@sun.com> Fixes # 50480 * gal/a11y/e-table/gal-a11y-e-table-item: listen on "selection_model_removed" and "selection_model_added". svn path=/trunk/; revision=23282
* *e-table/gal-a11y-e-table-item: defunct widget checking, selectionBolian Yin2003-11-032-43/+334
| | | | | | | | 2003-10-30 Bolian Yin <bolian.yin@sun.com> *e-table/gal-a11y-e-table-item: defunct widget checking, selection interface svn path=/trunk/; revision=23167
* new function to deal with grabing table cell focusTim Wo2003-11-031-0/+22
| | | | | | | | | | | | 2003-10-30 Tim Wo <tim.wo@sun.com> * gal/a11y/e-table/gal-a11y-e-cell.c (eti_grab_focus): new function to deal with grabing table cell focus (eti_atk_component_iface_init): Override "grab_focus" virtual function with eti_grab_focus of AtkComponent interface. (#50131) * gal/e-table/e-cell-text.c: (e_cell_text_class_init): register GalA11yECellText as the a11y implementation for ECellText. svn path=/trunk/; revision=23166
* add new file for toggle cell a11y object. new a11y object toggle cellYuedong Du2003-10-284-0/+427
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-26 Yuedong Du <yuedong.du@sun.com> * gal/a11y/e-table/Makefile.am: add new file for toggle cell a11y object. * gal/a11y/e-table/gal-a11y-e-cell-toggle.c: new a11y object toggle cell (gal_a11y_e_cell_toggle_get_type), (gal_a11y_e_cell_toggle_class_init), (toggle_cell_action), the implementation of toggle cell action. (gal_a11y_e_cell_toggle_new): * gal/a11y/e-table/gal-a11y-e-cell-toggle.h: ditto * gal/a11y/e-table/gal-a11y-e-cell.c: (_gal_a11y_e_cell_get_action_info), (_gal_a11y_e_cell_destroy_action_info), (gal_a11y_e_cell_add_action), (gal_a11y_e_cell_remove_action), (gal_a11y_e_cell_remove_action_by_name), (gal_a11y_e_cell_action_get_n_actions), (gal_a11y_e_cell_action_get_name), (gal_a11y_e_cell_action_get_description), (gal_a11y_e_cell_action_set_description), (gal_a11y_e_cell_action_get_keybinding), (idle_do_action), (gal_a11y_e_cell_action_do_action), (gal_a11y_e_cell_atk_action_interface_init), (gal_a11y_e_cell_type_add_action_interface), (gal_a11y_e_cell_add_state): helper functions for add a action, stealed from gailcell.c * gal/a11y/e-table/gal-a11y-e-cell.h: * gal/e-table/e-cell-toggle.c: (e_cell_toggle_class_init): register toggle's a11y object. svn path=/trunk/; revision=23095
* add new files. set the right role. new file.Yuedong Du2003-10-118-0/+446
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-11 Yuedong Du <yuedong.du@sun.com> * gal/a11y/e-table/Makefile.am: add new files. * gal/a11y/e-table/gal-a11y-e-cell.c: (gal_a11y_e_cell_construct): set the right role. * gal/a11y/e-table/gal-a11y-e-table-item-factory.c: new file. (gal_a11y_e_table_item_factory_get_accessible_type), (gal_a11y_e_table_item_factory_create_accessible), (gal_a11y_e_table_item_factory_class_init), (gal_a11y_e_table_item_factory_init), (gal_a11y_e_table_item_factory_get_type): factory for the table item a11y object. in create_accessible, we judge the type of widget then set correct role. * gal/a11y/e-table/gal-a11y-e-table-item-factory.h: ditto. * gal/a11y/e-table/gal-a11y-e-tree-factory.c: new file. (gal_a11y_e_tree_factory_get_accessible_type), (gal_a11y_e_tree_factory_create_accessible), (gal_a11y_e_tree_factory_class_init), (gal_a11y_e_tree_factory_init), (gal_a11y_e_tree_factory_get_type): factory for a11y object of etree. Mostly copyed from gal-a11y-e-table-factory.c. * gal/a11y/e-table/gal-a11y-e-tree-factory.h: ditto * gal/a11y/e-table/gal-a11y-e-tree.c: (init_child_item), (et_ref_accessible_at_point), (et_get_n_children), (et_ref_child), (et_class_init), (et_atk_component_iface_init), (et_init), (gal_a11y_e_tree_get_type), (gal_a11y_e_tree_new):a11y object for etree object, mostly copied from gal-a11y-e-table.c. init_child_item set correct role for the table item. * gal/a11y/e-table/gal-a11y-e-tree.h: ditto. * gal/e-table/e-table-item.c: (eti_class_init): register factory for table item a11y object. * gal/e-table/e-tree.c: (e_tree_get_item), (e_tree_class_init): add new access fuction to get the table item of etree. * gal/e-table/e-tree.h: ditto svn path=/trunk/; revision=22867
* call AC_LIBTOOL_WIN32_DLL which is necessary for building shared libraryMasahiro Sakai2003-05-041-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-03 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp> * configure.in: call AC_LIBTOOL_WIN32_DLL which is necessary for building shared library on win32 platform. * gal/Makefile.am (libgal_2_0_la_LDFLAGS): * gal/a11y/Makefile.am (libgal_a11y_2_0_la_LDFLAGS): add -no-undefined which is necessary for building shared library on some platforms (e.g. Win32, BeOS). * gal/a11y/e-table/gal-a11y-e-cell-text.c: don't call undefined functions e_cell_text_get_selection() and e_cell_text_set_selection(). * gal/a11y/Makefile.am (libgal_a11y_2_0_la_LIBADD): add $(top_builddir)/gal/libgal-2.0.la and $(EXTRA_GNOME_LIBS). * gal/Makefile.am: (libgal_2_0_la_LIBADD): add $(EXTRA_GNOME_LIBS). (ui_subdirs): add "." ahead of "a11y". because above change make a11y/libgal-a11y-2.0.la to depend on libgal-2.0.la. * gal/widgets/Makefile.am (test_color_LDADD, test_e_font_LDADD, test_font_loading_LDADD): fix ordering. $(EXTRA_GNOME_LIBS) should be behind other libraries that depend on it. svn path=/trunk/; revision=21097
* gal a11y work from claheyChris Toshok2002-11-3013-0/+1841
svn path=/trunk/; revision=18959