aboutsummaryrefslogtreecommitdiffstats
path: root/a11y
Commit message (Collapse)AuthorAgeFilesLines
* More whitespace cleanup.Matthew Barnes2009-07-193-11/+11
|
* Fix excessive whitespace.Matthew Barnes2009-07-1341-92/+0
|
* Use AM_CPPFLAGS instead of INCLUDE in all Makefile.am.Matthew Barnes2009-07-016-6/+6
|
* Use G_BEGIN_DECLS / G_END_DECLS macros.Matthew Barnes2009-06-1917-105/+34
|
* More code cleanup.Matthew Barnes2009-06-025-11/+11
|
* Whitespace cleanup.Matthew Barnes2009-05-2915-56/+56
|
* Prefer GLib basic types over C types.Matthew Barnes2009-05-2942-247/+247
|
* Remove trailing whitespace, again.Matthew Barnes2009-05-2982-84/+84
|
* Fix compiler warnings in plugins.Matthew Barnes2009-05-273-3/+6
|
* Fix several types of pedantic compiler warnings.Matthew Barnes2009-05-172-2/+2
|
* Use Behdad's brilliant git.mk to generate .gitignore files.Matthew Barnes2009-05-026-0/+12
|
* Commit the rest of the attachment UI rewriteMatthew Barnes2009-04-286-228/+3
| | | | | Oops, last commit only included the -new- files. This also removes EExpander, which is no longer used.
* Silence a debug message.Matthew Barnes2009-03-092-1/+8
| | | | | | | | | | 2008-03-08 Matthew Barnes <mbarnes@redhat.com> * a11y/e-table/gal-a11y-e-cell-tree.c (ectr_model_row_changed_cb): Silence a debug message. svn path=/trunk/; revision=37387
* Patch from Li Yuan <li.yuan@sun.com> ** Fix for bug #560329 (Fix the ↵Suman Manjunath2008-11-192-1/+8
| | | | | | signature of the 'children-changed' signal emission). svn path=/trunk/; revision=36797
* Change License from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-09-242-2/+22
| | | | svn path=/trunk/; revision=36443
* Change license from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-09-193-26/+34
| | | | svn path=/trunk/; revision=36381
* License changes from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-09-162-2/+22
| | | | svn path=/trunk/; revision=36344
* License changes. Changed license from GPL to LGPL.Sankarasivasubramanian Pasupathilingam2008-09-042-15/+18
| | | | | | More to come. svn path=/trunk/; revision=36255
* Change License from GPL to LGPL. 2nd batch.Sankarasivasubramanian Pasupathilingam2008-09-0347-371/+729
| | | | | | More changes to come. svn path=/trunk/; revision=36247
* ** Fix for bug #534762Philip Withnall2008-08-273-3/+13
| | | | | | | | | | | 2008-08-27 Philip Withnall <philip@tecnocode.co.uk> ** Fix for bug #534762 Change "addressbook" to "address book" in translatable strings. svn path=/trunk/; revision=36117
* License ChangesSankarasivasubramanian Pasupathilingam2008-08-2734-318/+501
| | | | svn path=/trunk/; revision=36116
* updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-2177-77/+77
| | | | svn path=/trunk/; revision=35665
* ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES andMatthew Barnes2008-06-0614-18/+13
| | | | | | | | | | 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
* Link with libeutil.la for e_get_weekday_name().Tor Lillqvist2008-01-252-0/+6
| | | | | | | | | | 2008-01-24 Tor Lillqvist <tml@novell.com> * widgets/Makefile.am (libevolution_widgets_a11y_la_LIBADD): Link with libeutil.la for e_get_weekday_name(). svn path=/trunk/; revision=34884
* ** Fixes bug #392747Matthew Barnes2007-12-032-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | 2007-12-03 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #392747 * e-util/e-utils.c (e_get_month_name), (e_get_weekday_name): New functions cache localized month and weekday names (respectively) for easier retrieval than resorting to strftime(). * a11y/widgets/ea-calendar-item.c (ea_calendar_item_get_column_label): Get the column label via e_get_weekday_name(). * calendar/gui/weekday-picker.c (get_day_text): Convert the day_index to GDateWeekday and call e_get_weekday_name(). * widgets/misc/e-calendar-item.h (struct _ECalendarItem): * widgets/misc/e-calendar-item.c (e_calendar_item_init), (e_calendar_item_draw): Lose the local weekday name cache and just call e_get_weekday_name(). svn path=/trunk/; revision=34627
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-1545-340/+340
| | | | | | | | | 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-296-5/+17
| | | | | | | | | | | | | | | | 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
* ** Fix for bug #471791 Srinivasa Ragavan2007-09-105-8/+19
| | | | svn path=/trunk/; revision=34216
* 2007-09-07 mcrha Fix for bug #473903Milan Crha2007-09-072-1/+10
| | | | svn path=/trunk/; revision=34192
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-0248-96/+96
| | | | | | | | | | 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-046-20/+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-284-3/+12
| | | | | | | | | | | | | 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-262-1/+7
| | | | | | | | | | | 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
* Bug #459413. Just return NULL if parent has gone.Li Yuan2007-07-232-0/+10
| | | | | | | | | | 2007-07-19 Li Yuan <liyuan@tackle> * calendar/ea-day-view-main-item.c: (ea_day_view_main_item_get_name): Bug #459413. Just return NULL if parent has gone. svn path=/trunk/; revision=33831
* Massive code cleanup (bug #429422)Matthew Barnes2007-04-202-16/+19
| | | | svn path=/trunk/; revision=33432
* Fixes #415985 and #416028.Wang Xin2007-03-302-6/+16
| | | | | | | | | 2007-03-30 Wang Xin <jedy.wang@sun.com> * widgets/ea-calendar-item.c: Fixes #415985 and #416028. svn path=/trunk/; revision=33345
* Don't mix declarations and code (#405495).Matthew Barnes2007-03-273-8/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2119-19/+24
| | | | | | | | | | | | | | | | | | | | | | | 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-012-0/+36
| | | | | | | | | | | 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 #400121.Wang Xin2007-01-242-2/+7
| | | | | | | | | 2007-01-24 Wang Xin <jedy.wang@sun.com> * e-text/gal-a11y-e-text.c: Fixes #400121. svn path=/trunk/; revision=33145
* Fixes #351332Matthew Barnes2006-09-192-0/+8
| | | | | | | | | | | 2006-09-18 Matthew Barnes <mbarnes@redhat.com> Fixes #351332 * calendar/ea-gnome-calendar.c: Fix implicit function declarations. svn path=/trunk/; revision=32787
* Fixes #353472Matthew Barnes2006-09-196-0/+22
| | | | | | | | | | | | | | | | 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
* Patch submitted by Pavel Roskin <proski@gnu.org>Li Yuan2006-08-172-1/+8
| | | | | | | | | | | 2006-08-17 Li Yuan <li.yuan@sun.com> Patch submitted by Pavel Roskin <proski@gnu.org> * widgets/ea-expander.h: Fix warning about ignored token after #endif. svn path=/trunk/; revision=32554
* Don't leak summary_string here.Kjartan Maraas2006-08-162-0/+6
| | | | | | | | | 2006-08-16 Kjartan Maraas <kmaraas@gnome.org> * calendar/ea-cal-view-event.c: (ea_cal_view_event_get_name): Don't leak summary_string here. svn path=/trunk/; revision=32550
* Added translator comments to some strings. Fixes bug #331016. Thanks toAndre Klapper2006-07-132-0/+15
| | | | | | | | | 2006-07-13 Andre Klapper <a9016009@gmx.de> * calendar/ea-day-view.c: Added translator comments to some strings. Fixes bug #331016. Thanks to Boby Wang. svn path=/trunk/; revision=32301
* Revert Rajeev's patch for #330728, #332727..Harish Krishnaswamy2006-06-222-1/+6
| | | | | | | | | 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-124-16/+10
| | | | | | | | | | 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-164-0/+34
| | | | | | | | | | 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-154-28/+6
| | | | | | | | | | 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-082-0/+10
| | | | | | | | | | | 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
* Fix for #339136Boby Wang2006-04-287-11/+71
| | | | | | | | | | | | | | | | | | | | | | | | 2006-04-28 Boby Wang <boby.wang@sun.com> Fix for #339136 * calendar/ea-cal-view-event.c: (ea_cal_view_event_get_type), (ea_cal_view_event_class_init), (ea_cal_view_event_init), (ea_cal_view_event_dispose), (ea_cal_view_event_get_index_in_parent), (ea_cal_view_event_ref_state_set): add necessary AtkStateSet to EaCalViewEvent. * calendar/ea-cal-view-event.h: add necessary AtkStateSet to EaCalViewEvent. * calendar/ea-calendar.c: (e_cal_view_a11y_init): replace e_cal_view_get_type with e_calendar_view_get_type * calendar/ea-day-view.c: (ea_day_view_get_type): replace e_cal_view_get_type with e_calendar_view_get_type * calendar/ea-week-view.c: * calendar/ea-week-view.h: change the base class of EaWeekView from GtkAccessible to EaCalView svn path=/trunk/; revision=31924
* Fix for # 333725Boby Wang2006-04-283-8/+15
| | | | | | | | | | | 2006-04-28 Boby Wang <boby.wang@sun.com> Fix for # 333725 * ea-factory.h: Disable accessible code when accessibility is not enabled * gal-a11y-factory.h: Remove some unused code svn path=/trunk/; revision=31922
* Fix for #332821Boby Wang2006-04-276-0/+235
| | | | | | | | | | | | | | 2006-04-27 Boby Wang <boby.wang@sun.com> Fix for #332821 * widgets/Makefile.am: * widgets/ea-expander.[ch]: Add two new files to implement the accessibility of EExpander. * widgets/ea-widgets.[ch]:(e_expander_a11y_init): Implement the accessibility of EExpander. svn path=/trunk/; revision=31911
* reviewed by: Harish Krishnaswamy <kharish@novell.com>Rajeev ramanathan2006-04-242-1/+9
| | | | | | | | | | | | 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
* Fix for #319308Boby Wang2006-03-202-5/+22
| | | | | | | | | | 2006-03-20 Boby Wang <boby.wang@sun.com> Fix for #319308 * addressbook/ea-minicard-view.c: (ea_minicard_view_get_name): add the folder name to the name of current minicard view svn path=/trunk/; revision=31723
* Fix for 331550.Harry Lu2006-03-063-0/+14
| | | | | | | | | | | | 2006-03-06 Harry Lu <harry.lu@sun.com> Fix for 331550. * calendar/ea-day-view.c: (ea_day_view_get_name): check the visibility of gcal before trying to get label. * calendar/ea-week-view.c: (ea_week_view_get_name): ditto. svn path=/trunk/; revision=31655
* reviewed by: Harish Krishnaswamy <kharish@novell.com>Kjartan Maraas2006-01-2711-66/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 e_utf8_strftime() inSimon Zheng2006-01-102-1/+7
| | | | | | | | | | 2006-01-10 Simon Zheng <simon.zheng@sun.com> * widgets/ea-calendar-item.c: use e_utf8_strftime() in evolution-data-server/libedataserver/e-data-server-util.c instead of the copy in evolution/e-util/e-util.c. svn path=/trunk/; revision=31114
* Use g_ascii_strcasecmp() instead of g_strcasecmp() for well-definedness.Tor Lillqvist2005-12-172-1/+7
| | | | | | | | | | 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-282-0/+10
| | | | | | | | | | | | 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-172-4/+9
| | | | | | | | | | | 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-192-7/+17
| | | | | | | | | | | | | | 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
* Cosmetics.Tor Lillqvist2005-06-191-4/+4
| | | | svn path=/trunk/; revision=29547
* Makefile.am addressbook/Makefile.am calendar/Makefile.am UseTor Lillqvist2005-06-195-5/+7
| | | | | | | | | | | | 2005-06-18 Tor Lillqvist <tml@novell.com> * Makefile.am * addressbook/Makefile.am * calendar/Makefile.am * widgets/Makefile.am: Use privsolib_LTLIBRARIES instead of privlib_LTLIBRARIES (see ../ChangeLog). svn path=/trunk/; revision=29545
* Makefile.am addressbook/Makefile.am calendar/Makefile.am Use the fakeTor Lillqvist2005-06-188-72/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-182-2/+3
| | | | | | | | | 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
* Remove stray trailing slash from -I path, confuses gcc on Win32.Tor Lillqvist2005-06-182-1/+6
| | | | | | | | | 2005-06-18 Tor Lillqvist <tml@novell.com> * e-text/Makefile.am (INCLUDES): Remove stray trailing slash from -I path, confuses gcc on Win32. svn path=/trunk/; revision=29527
* Retired GAL from Head. The relevant files have moved inside evolution.Kaushal Kumar2005-06-1735-80/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2919-89/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* change the order of the code to avoid a crash.Li Yuan2005-04-253-2/+12
| | | | | | | | | | | | | | 2005-04-22 Li Yuan <li.yuan@sun.com> * calendar/ea-day-view-main-item.c: (ea_day_view_main_item_destory_cell_data): * calendar/ea-week-view-main-item.c: (ea_week_view_main_item_destory_cell_data): change the order of the code to avoid a crash. Fixes #301885 svn path=/trunk/; revision=29227
* return proper atk_object name and atk_stateset to avoid crash.Yu Mengjie2005-04-073-4/+24
| | | | | | | | | | | | | | | | 2005-04-06 Yu Mengjie <meng-jie.yu@sun.com> * addressbook/ea-minicard-view.c: (ea_minicard_view_get_name), (ea_minicard_view_ref_state_set): return proper atk_object name and atk_stateset to avoid crash. * addressbook/ea-minicard.c: (ea_minicard_get_name), (ea_minicard_ref_state_set): return proper atk_object name and atk_stateset to avoid crash. Fixes #74404 svn path=/trunk/; revision=29177
* 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 72897 and 72797. no need to output the information. add instanceLi Yuan2005-02-255-22/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-23 Li Yuan <li.yuan@sun.com> Fix for 72897 and 72797. * ea-cell-table.c: (ea_cell_table_destroy): no need to output the information. * widgets/ea-calendar-cell.c: (ea_calendar_cell_get_type): add instance init function. (ea_calendar_cell_class_init): add ref_state_set function. (ea_calendar_cell_init): instance init function. (ea_calendar_cell_new): change the cell's role to ATK_ROLE_TABLE_CELL. (ea_calendar_cell_ref_state_set): the ref_state_set function. (atk_component_interface_init), (component_interface_get_extents), (component_interface_grab_focus): implement grab focus function. * widgets/ea-calendar-cell.h: add the state_set variable. * widgets/ea-calendar-item.c: (ea_calendar_item_new): change the item's role to ATK_ROLE_CALENDAR. no need to connect "selection_preview_changed" signal here. (date_range_changed_cb): call ea_calendar_set_focus_object. (ea_calendar_set_focus_object): make the "gail-focus-object" of the item point to the focused cell. svn path=/trunk/; revision=28886
* 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
* Fix for 72781Harry Lu2005-02-223-2/+10
| | | | | | | | | | | | 2005-02-21 Harry Lu <harry.lu@sun.com> Fix for 72781 * addressbook/ea-minicard-view.c: (ea_minicard_view_new): set the role to panel. * addressbook/ea-minicard.c: (ea_minicard_new): ditto. svn path=/trunk/; revision=28842
* Fix for 72088.Harry Lu2005-02-042-1/+20
| | | | | | | | | | | 2005-02-02 Harry Lu <harry.lu@sun.com> Fix for 72088. * calendar/ea-calendar.c: (gnome_calendar_a11y_init): force loading some types so that we can use them. svn path=/trunk/; revision=28704
* Some code clean work.Harry Lu2005-02-049-16/+60
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix for 71924, 71926, 71932 Don't split sentences that need translation.Harry Lu2005-02-025-75/+72
| | | | | | | | | | | | | | | | | 2005-02-01 Harry Lu <harry.lu@sun.com> Fix for 71924, 71926, 71932 Don't split sentences that need translation. Also remove two useless variables. * calendar/ea-cal-view-event.c: (ea_cal_view_event_get_name): * calendar/ea-day-view.c: (ea_day_view_get_name): * calendar/ea-week-view.c: (ea_week_view_get_name), (ea_week_view_get_n_children): * widgets/ea-calendar-item.c: (ea_calendar_item_get_name), (e_calendar_item_get_offset_for_date): svn path=/trunk/; revision=28668
* Fixes #71929Rodrigo Moya2005-01-313-4/+12
| | | | | | | | | | | | 2005-01-31 Rodrigo Moya <rodrigo@novell.com> Fixes #71929 * calendar/ea-day-view.c (ea_day_view_get_name): * calendar/ea-week-view.c (ea_week_view_get_name): don't use spaces before colons. svn path=/trunk/; revision=28631
* fix a typo present in the string tooSivaiah Nallagatla2005-01-292-1/+7
| | | | | | | | | | 2005-01-28 Sivaiah Nallagatla <snallagatla@novell.com> * addressbook/ea-minicard-view.c (ea_minicard_view_get_name) : fix a typo present in the string too svn path=/trunk/; revision=28609
* use ngetext instead of splitting the the sentence to take care ofSivaiah Nallagatla2005-01-282-14/+16
| | | | | | | | | | | | 2005-01-28 Sivaiah Nallagatla <snallagatla@novell.com> * addressbook/ea-minicard-view.c (ea_minicard_view_get_name) : use ngetext instead of splitting the the sentence to take care of different messages for plural vs singular case Fixes #61060 svn path=/trunk/; revision=28596
* 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
* use E_CALENDAR_VIEW, not E_CAL_VIEWJP Rosevear2005-01-163-33/+14
| | | | | | | | | | | | | | | 2005-01-15 JP Rosevear <jpr@novell.com> * calendar/ea-calendar-helpers.c (ea_calendar_helpers_get_cal_view_from): use E_CALENDAR_VIEW, not E_CAL_VIEW Fixes #71306 * calendar/Makefile.am: no need for any idl in this directory, it was not used anywhere svn path=/trunk/; revision=28409
* add ea-combo-button.[ch] to Makefile.Harry Lu2005-01-046-1/+224
| | | | | | | | | | | | 2005-01-04 Harry Lu <harry.lu@sun.com> * widgets/Makefile.am: add ea-combo-button.[ch] to Makefile. * widgets/ea-combo-button.c: * widgets/ea-combo-button.h: implement a11y object for e-combo-button. * widgets/ea-widgets.c: (e_combo_button_a11y_init): set a11y factory. * widgets/ea-widgets.h: add declaration. svn path=/trunk/; revision=28228
* Fix a warning.Harry Lu2004-12-092-2/+8
| | | | | | | | | | | 2004-12-09 Harry Lu <harry.lu@sun.com> Fix a warning. * addressbook/ea-addressbook.c: (ea_addressbook_focus_watcher): use object instead of ATK_OBJECT (minicard). svn path=/trunk/; revision=28093
* Change e_minicard_activiate_editor to e_minicard_activate_editor.Hao Sheng2004-12-022-1/+7
| | | | | | | | | | 2004-12-1 Hao Sheng <hao.sheng@sun.com> * a11y/addressbook/ea-minicard.c: (atk_action_interface_do_action): Change e_minicard_activiate_editor to e_minicard_activate_editor. svn path=/trunk/; revision=28037
* Implement accessible feature for e-minicard and e-mini-card-view. AddSteven Zhang2004-11-086-52/+447
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-08 Steven Zhang <steven.zhang@sun.com> Implement accessible feature for e-minicard and e-mini-card-view. Add get_n_children, ref_child, ref_state_set, atk_selection_interface, and action_interface for ea-minicard-view and ea-minicard *ea-minicard-view.c: (ea_minicard_view_get_n_children), (ea_minicard_view_ref_child), (ea_minicard_view_ref_state_set), (atk_selection_interface_init), (selection_interface_add_selection), (selection_interface_clear_selection), (selection_interface_ref_selection), (selection_interface_get_selection_count), (selection_interface_is_child_selected), (atk_action_interface_init), (atk_action_interface_do_action), (atk_action_interface_get_n_action), (atk_action_interface_get_description), (atk_action_interface_get_name). *ea-minicard.c: (ea_minicard_get_n_children), (ea_minicard_ref_child), (ea_minicard_ref_state_set), (atk_action_interface_init), (atk_action_interface_do_action), (atk_action_interface_get_n_action), (atk_action_interface_get_description), (atk_action_interface_get_name). svn path=/trunk/; revision=27861
* use ngettext for n_events. ditto.Li Yuan2004-11-033-12/+11
| | | | | | | | | | | 2004-11-01 Li Yuan <li.yuan@sun.com> * calendar/ea-day-view.c: (ea_day_view_get_name): use ngettext for n_events. * calendar/ea-week-view.c: (ea_week_view_get_name): ditto. svn path=/trunk/; revision=27805
* for calendar_get_text_for_folder_bar_label has been removed formLi Yuan2004-10-295-5/+124
| | | | | | | | | | | | | | | 2004-10-26 Li Yuan <li.yuan@sun.com> * calendar/ea-day-view.c: (ea_day_view_get_name): * calendar/ea-gnome-calendar.c: (ea_gnome_calendar_get_label_description), (ea_gcal_dates_change_cb): * calendar/ea-gnome-calendar.h: * calendar/ea-week-view.c: (ea_week_view_get_name): for calendar_get_text_for_folder_bar_label has been removed form calendar-commands.c, we implement it ourself. svn path=/trunk/; revision=27763
* Make accessibility name and description translatable.Li Yuan2004-09-3013-55/+401
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-09-23 Li Yuan <li.yuan@sun.com> * calendar/ea-cal-view-event.c: (ea_cal_view_event_get_type), (ea_cal_view_event_get_name), (ea_cal_view_event_get_description): Make accessibility name and description translatable. (atk_action_interface_init), (ea_cal_view_event_do_action), (ea_cal_view_event_get_n_actions), (ea_cal_view_event_action_get_name): Add action interface to ea-cal-view-event so that it can be UI grabbed by GOK. * calendar/ea-cal-view.c: Make accessibility name and description translatable. * calendar/ea-day-view-cell.c: (ea_day_view_cell_new): Change atk role of ea-day-view-cell from ATK_ROLE_TABLE_CELL to ATK_ROLE_UNKNOWN so that it can be UI grabbed by GOK. (atk_component_interface_init), (component_interface_grab_focus): Add a component interface function : grab_focus. When grab focus, present the Evolution GUI to the front. * calendar/ea-day-view-main-item.c: (ea_day_view_main_item_get_description): Make accessibility name and description translatable. (ea_day_view_main_item_time_change_cb): Notify the item_cell is selected. * calendar/ea-day-view.c: (ea_day_view_get_name), (ea_day_view_get_description): Make accessibility name and description translatable. * calendar/ea-gnome-calendar.c: (ea_gnome_calendar_get_name), (ea_gnome_calendar_get_description), (ea_gnome_calendar_ref_child): Make accessibility name and description translatable. * calendar/ea-jump-button.c: (ea_jump_button_get_name), (ea_jump_button_get_description): Make accessibility name and description translatable. * calendar/ea-week-view-cell.c: (ea_week_view_cell_get_name), (atk_component_interface_init), (component_interface_get_extents), (component_interface_grab_focus): Add a component interface function : grab_focus. Add support for different week start days. When grab focus, present the Evolutioon GUI to the front. * calendar/ea-week-view-main-item.c: (ea_week_view_main_item_new): Set the atk role to ATK_ROLE_TABLE. (ea_week_view_main_item_get_description): Make accessibility name and description translatable. (ea_week_view_main_item_time_change_cb): Notify the item_cell is selected. * calendar/ea-week-view.c: (ea_week_view_get_name), (ea_week_view_get_description): Make accessibility name and description translatable. * widgets/ea-calendar-cell.c: (ea_calendar_cell_new): Change atk role of ea-calendar-cell from ATK_ROLE_TABLE_CELL to ATK_ROLE_UNKNOWN so that it can be UI grabbed by GOK. * widgets/ea-calendar-item.c: (ea_calendar_item_class_init), (ea_calendar_item_get_name), (ea_calendar_item_get_description): Make accessibility name and description translatable. (ea_calendar_item_ref_state_set),: Implement ref_state_set so that ea-calendar-item can be UI grabbed by GOK. (ea_calendar_item_destory_cell_data): Fix a crash here. svn path=/trunk/; revision=27434
* 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
* added castRadek Doulik2004-06-111-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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=26289
* 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
* Add $(top_srcdir)/widgets/misc for the e-activity-handler.h stuffRodney Dawes2004-04-302-4/+10
| | | | | | | | | 2004-04-29 Rodney Dawes <dobey@ximian.com> * calendar/Makefile.am (INCLUDES): Add $(top_srcdir)/widgets/misc for the e-activity-handler.h stuff svn path=/trunk/; revision=25697
* If the week view has no spans, there is no visible events in the view.Kidd Wang2004-04-232-0/+9
| | | | | | | * calendar/ea-week-view.c: (ea_week_view_get_n_children): If the week view has no spans, there is no visible events in the view. svn path=/trunk/; revision=25596
* 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
* i'm sick of seeing ?'s in my cvs up listsChris Toshok2004-04-101-0/+2
| | | | svn path=/trunk/; revision=25395
* 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
* fix includeJP Rosevear2004-03-162-1/+5
| | | | | | | | 2004-03-15 JP Rosevear <jpr@ximian.com> * calendar/ea-cal-view.h: fix include svn path=/trunk/; revision=25082
* svn path=/trunk/; revision=25062Hao Sheng2004-03-152-0/+2
| | | | | | | | | 2004-03-15 Hao Sheng <hao.sheng@sun.com> * a11y/addressbook/Makefile.am: * a11y/calendar/Makefile.am: svn path=/trunk/; revision=25062
* Contritbuted by Leon Zhang <leon.zhang@sun.com> add directory addressbook.Hao Sheng2004-03-1511-1/+800
| | | | | | | | | | | | | | | | | | | | | 2003-03-15 Hao Sheng <hao.sheng@sun.com> * Contritbuted by Leon Zhang <leon.zhang@sun.com> * Makefile.am: add directory addressbook. * implement basic accessbility addressbook's minicard. add new directory and Files below: addressbook/ addressbook/Makefile.am addressbook/ea-addressbook.c addressbook/ea-addressbook-view.c addressbook/ea-minicard.c addressbook/ea-minicard-view.c addressbook/ea-addressbook.h addressbook/ea-addressbook-view.h addressbook/ea-minicard.h addressbook/ea-minicard-view.h svn path=/trunk/; revision=25060
* 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
* corret index error in week view. impl. get_index_in_parent emit signalBolian Yin2003-12-107-46/+143
| | | | | | | | | | | | | 2003-12-05 Bolian Yin <bolian.yin@sun.com> * calendar/ea-cal-view-event.c (ea_cal_view_event_get_index_in_parent): corret index error in week view. * calendar/ea-day-view-cell.c: impl. get_index_in_parent * calendar/ea-day-view-main-item.c: emit signal "active-descendant-changed", fix error in selection_interface_ref_selection. * widgets/ea-calendar-cell.c: impl. get_index_in_parent. * widgets/ea-calendar-item.c: change signature of e_calendar_item_get_offset_for_date, emit signal "active-descendant-changed". svn path=/trunk/; revision=23902
* add entries for new source files add cases for jump button. add cases forAndrew Wu2003-12-0912-12/+2163
| | | | | | | | | | | | | | 2003-12-09 Andrew Wu <Yang.Wu@sun.com> * calendar/Makefile.am: add entries for new source files * calendar/ea-calendar-helpers.c: add cases for jump button. * calendar/ea-calendar.c: add cases for week view and week view main item. * calendar/ea-jump-button.c: new impl. * calendar/ea-week-view-cell.c: new impl. * calendar/ea-week-view-main-item.c: new impl. * calendar/ea-week-view.c: add main item as first child. svn path=/trunk/; revision=23892
* shortcut when cal_view is NULL. Change an action name. add check for eventBolian Yin2003-12-091-1/+1
| | | | | | | | | | | | 2003-12-05 Bolian Yin <bolian.yin@sun.com> * calendar/ea-cal-view-event.c (ea_cal_view_event_new): shortcut when cal_view is NULL. * calendar/ea-cal-view.c: Change an action name. * calendar/ea-calendar.c (ea_calendar_focus_watcher): add check for event atk object. * calendar/ea-week-view.c (ea_week_view_get_n_children): correct impl. (get_visible_text_item_count): removed. svn path=/trunk/; revision=23679
* shortcut when cal_view is NULL. Change an action name. add check for eventBolian Yin2003-12-095-21/+44
| | | | | | | | | | | | 2003-12-05 Bolian Yin <bolian.yin@sun.com> * calendar/ea-cal-view-event.c (ea_cal_view_event_new): shortcut when cal_view is NULL. * calendar/ea-cal-view.c: Change an action name. * calendar/ea-calendar.c (ea_calendar_focus_watcher): add check for event atk object. * calendar/ea-week-view.c (ea_week_view_get_n_children): correct impl. (get_visible_text_item_count): removed. svn path=/trunk/; revision=23678
* 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
* Remove hard coded disable deprecated flagsJP Rosevear2003-12-073-3/+7
| | | | | | | | 2003-12-06 JP Rosevear <jpr@ximian.com> * */Makefile.am: Remove hard coded disable deprecated flags svn path=/trunk/; revision=23658
* (SHELL_IDLS): Only get Evolution.idl.Ettore Perazzoli2003-12-042-13/+4
| | | | svn path=/trunk/; revision=23612
* 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 #50538Bolian Yin2003-11-117-9/+1518
| | | | | | | | | | | | | 2003-11-11 Bolian Yin <bolian.yin@sun.com> Fixes #50538 * new files: widgets/ea-calendar-cell.[hc] * widgets/ea-calendar-item: impl. atk selection and atk table interface. * widgets/Makefile.am : use shared object library (.so) svn path=/trunk/; revision=23283
* 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
* don't include toplevel libicalJP Rosevear2003-11-082-1/+4
| | | | | | | | 2003-11-07 JP Rosevear <jpr@ximian.com> * calendar/Makefile.am (INCLUDES): don't include toplevel libical svn path=/trunk/; revision=23227
* Handle some more renamingJP Rosevear2003-11-075-8/+12
| | | | | | | | 2003-11-07 JP Rosevear <jpr@ximian.com> * Handle some more renaming svn path=/trunk/; revision=23213
* Various changes to merge in evolution-data-server reliance.JP Rosevear2003-11-075-46/+50
| | | | svn path=/trunk/; revision=23206
* Fixes # 48509Bolian Yin2003-11-0416-223/+2554
| | | | | | | | | | | | | | | | | 2003-11-04 Bolian Yin <bolian.yin@sun.com> Fixes # 48509 * new files: ea-cell-table.h ea-cell-table.c * calendar/Makefile.am: add entries for new files * calendar/New files added: ea-day-view-main-item.c ea-day-view-main-item.h ea-day-view-cell.c ea-day-view-cell.h * Add debug info and remove some non-C99 compilers warnings. * calendar/ea-cal-view: add action interface. svn path=/trunk/; revision=23180
* *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
* make sure the declation is at the beginning of the block.Larry Ewing2003-10-121-1/+2
| | | | | | | | | 2003-10-11 Larry Ewing <lewing@ximian.com> * gal/a11y/e-text/ChangeLog: make sure the declation is at the beginning of the block. svn path=/trunk/; revision=22868
* 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
* set the role of the atk object in the initialization function ofTim Wo2003-10-102-25/+496
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-09-27 Tim Wo <tim.wo@sun.com> * gal/a11y/e-text/gal-a11y-e-text-factory.c (gal_a11y_e_text_factory_create_accessible): set the role of the atk object in the initialization function of GalA11yEText * gal/a11y/e-text/gal-a11y-e-text.c (is_a_seperator), (find_word_start), (find_word_end), (find_sentence_start), (find_sentence_end), (find_line_start), (find_line_end): 7 new private functions, They are all used by text retrieving functions below. (et_get_text_after_offset): implementation added (et_get_text_at_offset): implementation added (et_get_text_before_offset): implementation added (et_get_character_extents): implementation added (et_get_offset_at_point): implementation added (et_set_caret_offset): use command to modify the cursor position, so that we can be notified and emit "text-caret-moved" signal in function _et_command_cb. (_et_reposition_cb): new function to emit "text-changed" signal for the atk object (_et_command_cb): new function to emit "text-caret-moved" and "text-selection-changed" signals for the atk object (et_real_initialize): new function to deal with initialization of GalA11yEText. It set some signal callbacks and the atk role of the atk object (set GalA11yEText's role to ATK_ROLE_TEXT). (et_class_init): override the virtual function "initialize" in baseclass (AtkObject) with "et_real_initialize" svn path=/trunk/; revision=22856
* INCLUDE path fixes for changes made to libical build.Jeffrey Stedfast2003-10-102-9/+24
| | | | | | | | | 2003-10-09 Jeffrey Stedfast <fejj@ximian.com> * calendar/Makefile.am: INCLUDE path fixes for changes made to libical build. svn path=/trunk/; revision=22843
* some checking code added to ensure that end_offset and start_offset bothTim Wo2003-09-241-45/+118
| | | | | | | | | | | | | | | | | | | | | | | | 2003-09-22 Tim Wo <tim.wo@sun.com> * gal/a11y/e-text/gal-a11y-e-text.c (et_get_text): some checking code added to ensure that end_offset and start_offset both belong to [0, length of the text] and end_offset >= start_offset or it will lead to a crash (et_get_caret_offset):no need to deal with character encoding here, since the widget has already delt with it. (et_get_selection): dealing with character encoding and ensure end_offset >= start_offset, or it will lead to a crash (et_add_selection): we can not get the ETextEventProcessor here, so the old implementation leads to a crash. Modify the parameters "selection_start" and "selection_end" directly instead (et_remove_selection): implementation added (et_set_selection): implementation added (et_set_caret_offset): no need to deal with character encoding here, since the widget has already delt with it. Another change is when offset == -1, move the caret to the end of the text, this keeps the same behavior as GailTextview svn path=/trunk/; revision=22685
* make the code be compliant with C89, or it can't be compiled on solaris.Tim Wo2003-09-181-12/+59
| | | | | | | | | | | | | 2003-09-13 Tim Wo <tim.wo@sun.com> * gal/a11y/e-text/gal-a11y-e-text.c (et_insert_text): make the code be compliant with C89, or it can't be compiled on solaris. (et_copy_text): implementation added (et_cut_text): implementation added (et_delete_text): implementation added (et_paste_text): implementation added svn path=/trunk/; revision=22606
* GalA11yETextFactory should inherit from AtkObjectFactory not AtkObject.Tim Wo2003-09-122-2/+4
| | | | | | | | | | | | | 2003-09-08 Tim Wo <tim.wo@sun.com> * gal/a11y/e-text/gal-a11y-e-text-factory.h: GalA11yETextFactory should inherit from AtkObjectFactory not AtkObject. (#47097). * gal/a11y/e-text/gal-a11y-e-text.c (et_class_init): Set value for "component_parent_iface". (#47097) * gal/e-text/e-text.c (e_text_class_init): Added registration code for GalA11yETextFactory. (#47097) svn path=/trunk/; revision=22551
* addDan Winship2003-09-113-0/+10
| | | | svn path=/trunk/; revision=22518
* add widgets directory; move calendar idl stuff to calendar directory; stopBolian Yin2003-08-2711-56/+564
| | | | | | | | | | | | | | 2003-08-27 Bolian Yin <bolian.yin@sun.com> * Makefile.am: add widgets directory; move calendar idl stuff to calendar directory; stop make a single shared lib for whole a11y stuff. * ea-factory.h: make factory macros available to GOBJECT * calendar/Makefile.am: add calendar idl stuff * calendar/ea-cal-view-event.c: add atkcomponent interface. * calendar/ea-gnome-calendar.c (ea_gcal_switch_view_cb): add details for "children_changed". * new widgets directory for widgets a11y stuff, new files are: widgets/Makefile.am, widgets/ea-calendar-item.c, widgets/ea-calendar-item.h, widgets/ea-widgets.c, widgets/ea-widgets.h svn path=/trunk/; revision=22384
* adapted to changes in ECalViewEvent.Rodrigo Moya2003-08-202-11/+13
| | | | | | | | | 2003-08-20 Rodrigo Moya <rodrigo@ximian.com> * calendar/ea-cal-view-event.c (ea_cal_view_event_get_name): adapted to changes in ECalViewEvent. svn path=/trunk/; revision=22309
* add ea-factory.h into source listBolian Yin2003-08-201-1/+3
| | | | svn path=/trunk/; revision=22306
* setup the a11y directory for evolution accessibility work New files are:Bolian Yin2003-08-2018-0/+2190
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-08-20 Bolian Yin <bolian.yin@sun.com> setup the a11y directory for evolution accessibility work New files are: ChangeLog ea-factory.h Makefile.am calendar/ea-calendar.c calendar/ea-calendar.h calendar/ea-calendar-helpers.c calendar/ea-calendar-helpers.h calendar/ea-cal-view.c calendar/ea-cal-view.h calendar/ea-cal-view-event.c calendar/ea-cal-view-event.h calendar/ea-day-view.c calendar/ea-day-view.h calendar/ea-week-view.c calendar/ea-week-view.h calendar/ea-gnome-calendar.c calendar/ea-gnome-calendar.h calendar/Makefile.am svn path=/trunk/; revision=22302
* add libgal-a11y-2.0.so dependency change the build sequence for a11y partGilbert Fang2003-07-311-0/+94
| | | | | | | | | | | | 2003-07-31 Gilbert Fang <gilbert.fang@sun.com> * gal-2.0.pc.in: add libgal-a11y-2.0.so dependency * gal/Makefile.am: change the build sequence for a11y part * gal/a11y/Makefile.am: change a11y to build as normal so instead of gtk module. * gal/a11y/gal-a11y-factory.h: marcos for a11y factory generation. svn path=/trunk/; revision=22035
* 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-3020-0/+2587
svn path=/trunk/; revision=18959