Commit Graph

990 Commits

Author SHA1 Message Date
1d79bf1049 ** See bug #313063.
2005-08-10  Not Zed  <NotZed@Ximian.com>

        ** See bug #313063.

        * e-tree.c (e_tree_class_init): fix the set_scroll_adjustments
        signal to take object, not pointer arguments.  Since glib's
        anality doesn't accept an object pointer as a pointer.  go figure.

svn path=/trunk/; revision=30117
2005-08-15 03:18:01 +00:00
1b28d2f6d5 Add a11y name to the left table of config dialog. Add name to the left
2005-08-03  Li Yuan  <li.yuan@sun.com>

	* menus/gal-view-new-dialog.glade:
	Add a11y name to the left table of config dialog.
	* misc/e-multi-config-dialog.c:
	Add name to the left table of preference dialog.
	* table/e-table-config.c: (e_table_proxy_etable_shown_new),
	(e_table_proxy_etable_available_new):
	Add a11y name to "Show Fields" table and "Available Fields" table.

svn path=/trunk/; revision=29980
2005-08-04 04:56:54 +00:00
187b669d84 Added code to use stock icons instead of -> and <-
2005-07-25  Srinivasa Ragavan <sragavan@novell.com>

	* e-table-config.glade: Added code to use stock icons instead of
	-> and <-

svn path=/trunk/; revision=29867
2005-07-25 04:28:26 +00:00
df07f02cae Added widgets in INCLUDES.
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
2005-06-23 09:11:11 +00:00
0efd94d86f Added from gal/gal/e-table as Gal is retired from Head and e-table files
2005-06-21  Kaushal Kumar  <kakumar@novell.com>

        * table/ChangeLog: Added from gal/gal/e-table as Gal is
        retired from Head and e-table files are moved here.

svn path=/trunk/; revision=29558
2005-06-21 07:14:33 +00:00
510b256281 If only a few rows have changed, emit each as a separate row_changed event
2005-06-08  Not Zed  <NotZed@Ximian.com>

        * e-tree-selection-model.c (etsm_toggle_single_row)
        (etsm_select_single_row): If only a few rows have changed, emit
        each as a separate row_changed event rather than triggering a
        complete redraw of the whole window.

svn path=/trunk/; revision=29551
2005-06-20 10:29:14 +00:00
27a61acf27 Retired GAL from Head. The relevant files have moved inside evolution.
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
2005-06-17 15:20:35 +00:00
2bbaae24e9 Don't hide the tooltip if we don't have a canvas anymore. Patch by: Not
2005-06-01  Kaushal Kumar  <kakumar@novell.com>

        * e-table-item.c (eti_dispose): Don't hide the tooltip if we don't
        have a canvas anymore.
        Patch by: Not Zed

svn path=/trunk/; revision=29436
2005-06-01 03:56:13 +00:00
85bf0e61d2 export ethi_change_sort_state, so we can call it in a11y part.
2005-05-20  Li Yuan  <li.yuan@sun.com>

        * e-table-header-item.c:
        * e-table-header-item.h:
        export ethi_change_sort_state, so we can call it in a11y part.
        * e-tree.c: (e_tree_get_header_item):
        * e-tree.h:
        return the header item of e-tree.

        Fix for #302154.

svn path=/trunk/; revision=29393
2005-05-20 02:21:29 +00:00
a5b8cdfdbe Check for NULL string before passing to dgettext. Fixes a crash on
2005-05-06  Sarfraaz Ahmed <asarfraaz@novell.com>

        * gal/e-table/e-table.c (et_real_construct) : Check for NULL string
        before passing to dgettext. Fixes a crash on Solaris. #260312. Patch
        submitted by Suresh Chandrasekharan <suresh.chandrasekharan@sun.com>

svn path=/trunk/; revision=29280
2005-05-06 04:46:07 +00:00
2decafb544 Port to Windows, initial commit:
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
2005-04-29 14:18:18 +00:00
c66108e0fc selecion fixes for im's.
2005-03-14  Theppitak Karoonboonyanan <theppitak@gmail.com>

        * e-cell-text.c (e_cell_text_retrieve_surrounding_cb)
        (e_cell_text_delete_surrounding_cb): selecion fixes for im's.

svn path=/trunk/; revision=29007
2005-03-14 06:34:27 +00:00
abd62cc802 Fix for #73009.
2005-02-25  Li Yuan  <li.yuan@sun.com>

        Fix for #73009.
        * e-table-config-no-group.glade:
        * e-table-config.glade:

svn path=/trunk/; revision=28906
2005-02-28 02:27:37 +00:00
8b7b24623a Some code clean work.
2005-01-27  Harry Lu <harry.lu@sun.com>

        Some code clean work.

        * e-table-click-to-add.c: (etcta_class_init): move a11y registry
        call to a11y code.
        * e-table.c: (e_table_class_init): ditto.
        * e-tree.c: (e_tree_class_init): ditto.

svn path=/trunk/; revision=28701
2005-02-04 04:49:02 +00:00
d8d481373f add an a11y name for the popup list. make shortcut key ALT+Arrow work.
2005-01-27  Li Yuan  <li.yuan@sun.com>

	* e-cell-combo.c: (e_cell_combo_init), (e_cell_combo_do_popup),
	(e_cell_combo_list_button_press), (e_cell_combo_button_press),
	(e_cell_combo_button_release), (e_cell_combo_key_press):
	add an a11y name for the popup list.
	make shortcut key ALT+Arrow work.
	Fixes #70261
	* e-cell-text.c: (e_cell_text_class_init), (_delete_selection),
	(_insert):
	add "text_inserted" and "text_deleted" signals to notify the
	text has been changed.
	(e_cell_text_get_text_by_view):
	new helper function to get the text being editted.
	* e-cell-text.h:
	add signal declaration.
	* e-cell-toggle.c: (etog_draw):
	add range check for negative values.
	* e-cell-vbox.c: (e_cell_vbox_class_init):
	* e-cell-vbox.h:
	make ECellVboxView public since it will be used in a11y part.
	* e-table-click-to-add.c: (etcta_style_set),
	(create_rect_and_text), (etcta_realize), (etcta_class_init),
	(e_table_click_to_add_commit):
	add "style_set" signal to click_to_add and implement
	the style_set function.
	(etcta_init):
	add a11y name to click to add.
	* e-table-click-to-add.h:
	add "style_set" signal to click_to_add and implement
	the style_set function.
	* e-table-config.c: (config_button_up), (config_button_down):
	check whether the columns are empty.
	* e-table-group-container.c:
	* e-table-group-container.h:
	make ETableGroupContainerChildNode public since it
	will be used in a11y part.
	* e-table-item.c: (eti_init):
	init eti->cols.
	(eti_event):
	at GDK_KEY_PRESS event and GDK_Down key pressed, we check
	view_col value before we pass it to eti_e_cell_event.
	(eti_class_init):
	call the new initialize function
	* e-table.c: (table_canvas_focus_event_cb):
	if canvas has a focused item but the etable does not
	have a cursor row, just focus the first item after check
	whether the click_to_add should get the focus.

svn path=/trunk/; revision=28571
2005-01-27 05:16:19 +00:00
365d63f45a Fixes #38195
2005-01-26  JP Rosevear  <jpr@novell.com>

	Fixes #38195

	* e-cell-combo.c (e_cell_combo_set_popdown_strings): don't convert
	to the locale for gtk widgets now

svn path=/trunk/; revision=28563
2005-01-26 14:28:17 +00:00
9aaf62bf4b Fixes #29309
2004-12-21  JP Rosevear  <jpr@novell.com>

	Fixes #29309

	* e-table-header-item.h: add field chooser dialog data member

	* e-table-header-item.c: remove weak pointer ref
	(ethi_popup_field_chooser): if we already have a dialog, just
	present it, otherwise create a new one and listen for its
	destruction

svn path=/trunk/; revision=28169
2004-12-21 20:47:40 +00:00
ca14465d46 check whether header_canvas and table_canvas is NULL.
2004-11-24  Li Yuan  <li.yuan@sun.com>

        * e-table.c: (e_table_get_cell_geometry):
        check whether header_canvas and table_canvas is NULL.

svn path=/trunk/; revision=27980
2004-11-24 10:34:55 +00:00
236a904db3 if canvas has a focused item but the etable does not have a cursor row,
2004-11-04  Li Yuan  <li.yuan@sun.com>

        * gal/e-table/e-table.c: (table_canvas_focus_event_cb):
        if canvas has a focused item but the etable does not have a cursor row,
        just focus the first item.

svn path=/trunk/; revision=27828
2004-11-04 02:10:17 +00:00
da657db101 return FALSE so we don't kill the focus event chain
2004-10-19  JP Rosevear  <jpr@novell.com>

	* e-table.c (table_canvas_focus_event_cb): return FALSE so we
	don't kill the focus event chain

svn path=/trunk/; revision=27625
2004-10-19 16:12:32 +00:00
89203ea5f6 include scrollbar offset in vertical calculation. don't ask me i just work
2004-08-09  Not Zed  <NotZed@Ximian.com>

        * e-cell-combo.c (e_cell_combo_get_popup_pos): include scrollbar
        offset in vertical calculation.  don't ask me i just work here.
        see #61932.

svn path=/trunk/; revision=26873
2004-08-12 05:10:42 +00:00
0b342f2c84 do not set position, it's already done in .glade, call set_transient_for
2004-08-02  Radek Doulik  <rodo@ximian.com>

	* e-table-config.c (e_table_config_construct): do not set
	position, it's already done in .glade, call set_transient_for
	always (passing NULL is valid as well)

	* e-table-config.glade: * e-table-config-no-group.glade: center
	window on parent, don't let it resize and most importan make it
	dialog window so that set_transient_for works against define views
	dialog

	Fixes #61936

2004-08-02  Radek Doulik  <rodo@ximian.com>

	* gal-define-views-dialog.c: save collection on exit

	Fixes #61936

svn path=/trunk/; revision=26819
2004-08-04 09:16:19 +00:00
201b027d54 added e_table_model_pre_change because we call e_table_model_row_inserted
2004-07-07  Radek Doulik  <rodo@ximian.com>

	* e-table-sorted-variable.c (etsv_add): added
	e_table_model_pre_change because we call
	e_table_model_row_inserted later. It fixes freeze/unfreeze for
	ETableItem assert warning which I run into when fixing #56271

svn path=/trunk/; revision=26632
2004-07-13 10:31:22 +00:00
cc7c47284a Fix some spacing and border width properties on the dialog's widgets to
2004-06-22  Rodney Dawes  <dobey@novell.com>

	* e-table-config.c (do_fields_config_dialog, e_table_config_new):
	Fix some spacing and border width properties on the dialog's widgets
	to make the dialog compliant with the HIG

2004-06-22  Christopher James Lahey  <clahey@ximian.com>

	* e-table-model.[ch]: Added e_table_model_freeze and e_table_model_thaw

	* e-table-config.c (setup_fields): Use e_table_model_freeze and
	e_table_model_thaw

	Fixes #54785

svn path=/trunk/; revision=26460
2004-06-22 21:25:59 +00:00
31e744476c set dialog window position, glade doesn't do that for us anymore as the
2004-06-11  Radek Doulik  <rodo@ximian.com>

	* e-table-config.c (e_table_config_construct): set dialog window
	position, glade doesn't do that for us anymore as the window is
	first hidden, extended and later shown

	* e-table-config-no-group.glade: as below

	* e-table-config.glade: set visibility to false, it will keep the
	dialog hidden until we call gtk_widget_show and thus no resizing
	is visible while we are extending the dialog content

	Fixes #57825

svn path=/trunk/; revision=26311
2004-06-11 15:51:44 +00:00
97adccec5d fixes for compiler warnings
2004-06-10  Radek Doulik  <rodo@ximian.com>

	* e-cell-text.c (layout_with_preedit): removed unused variable

	* e-tree.c (e_tree_get_item): added cast
	added #include <atk/atkregistry.h>

	* e-table-one.c (one_finalize): removed unused variable

	* e-table-item.c: added #include
	"gal/a11y/e-table/gal-a11y-e-table-item.h" for
	gal_a11y_e_table_item_factory_get_type prototype

	* e-table-header-utils.c (e_table_header_draw_button): removed
	unused variable

	* e-table-config.c (get_source_model_col_index): removed unused
	variable

	* e-table-click-to-add.c (finish_editing): added cast
	(etcta_event): ditto

	* e-cell-toggle.c: added #include
	"gal/a11y/e-table/gal-a11y-e-cell-registry.h" to have
	gal_a11y_e_cell_registry_add_cell_type prototype

	* e-cell-text.c (layout_with_preedit): removed unused variable
	(build_layout): ditto
	(ect_event): ditto
	(e_cell_text_commit_cb): ditto

	* e-cell-popup.c: added #include
	"gal/a11y/e-table/gal-a11y-e-cell-registry.h" to have
	gal_a11y_e_cell_registry_add_cell_type prototype

svn path=/trunk/; revision=26284
2004-06-10 15:29:15 +00:00
df7a1be485 add new api for setting the whole selection in one go. See #59546.
2004-06-10  Not Zed  <NotZed@Ximian.com>

        * e-tree-selection-model.c (e_tree_selection_model_select_paths):
        add new api for setting the whole selection in one go.  See
        #59546.

svn path=/trunk/; revision=26277
2004-06-10 04:42:22 +00:00
964fb4ac7a (ensure_nonzero_step_increments): set step increments always to 16
svn path=/trunk/; revision=26269
2004-06-09 15:05:16 +00:00
40256a9748 new helper function to set step_increments (allocate_callback): call
2004-06-09  Radek Doulik  <rodo@ximian.com>

	* e-table-field-chooser.c (ensure_nonzero_step_increments): new
	helper function to set step_increments
	(allocate_callback): call ensure_nonzero_step_increments
	(resize): ditto

	Fixes #48275

svn path=/trunk/; revision=26268
2004-06-09 15:03:56 +00:00
91b30fc6b8 Fixes #51626
2004-04-22  Bruce Tao  <bruce.tao@sun.com>

       Fixes #51626

        * e-table-click-to-add.c: (etcta_event):
       Add an entry for focus_in event, do the same thing as button_press event.

        * e-table-item.c: (eti_event):
       Mask the Ctrl+Tab processing routine.

        * e-table.c: (table_canvas_focus_event_cb), (canvas_vbox_event),
        (click_to_add_event), (e_table_setup_table):
       Enable you to navigate between click_to_add and the existing tasks by
       pressing Ctrl+Tab. However, if there is no existing task, you can still jump
       out of click_to_add by this way.

svn path=/trunk/; revision=25831
2004-05-10 10:13:57 +00:00
a24b80f8fd Don't necessarily set row to 0 if the root node has the cursor (otherwise
2004-05-04  Jeffrey Stedfast  <fejj@ximian.com>

	* e-tree.c (e_tree_find_next): Don't necessarily set row to 0 if
	the root node has the cursor (otherwise message_list_select()
	first unread will actually select the second unread if the first
	unread is the first in the list). Fixes a bug that's been pissing
	me off for years.

svn path=/trunk/; revision=25789
2004-05-04 18:42:04 +00:00
ddc0dc65f5 revert last patch. (eti_attach_cell_views): add some code to reset drags
2004-05-04  Not Zed  <NotZed@Ximian.com>

        * e-table-item.c (eti_event): revert last patch.
        (eti_attach_cell_views): add some code to reset drags and other
        things as if the model changed, so we don't keep trying to run
        things we shouldn't be on the view which might be changing.  This
        may break other things but should fix 57222 and related.

svn path=/trunk/; revision=25779
2004-05-04 09:26:17 +00:00
cf787e7c58 if motion column is beyond our known columns, just ignore it and don't
2004-05-04  Not Zed  <NotZed@Ximian.com>

        * e-table-item.c (eti_event): if motion column is beyond our known
        columns, just ignore it and don't generate a LEAVE_NOTIFY.  uh,
        seems to work, and fixes #57222.

svn path=/trunk/; revision=25778
2004-05-04 09:06:25 +00:00
1f39b9fae6 Changed the int param specs to take a min value of -1 and also defautl to
2004-04-30  Jeffrey Stedfast  <fejj@ximian.com>

	* e-cell-text.c (e_cell_text_class_init): Changed the int param
	specs to take a min value of -1 and also defautl to -1 (-1 means
	off and they should all default to the same value that they
	default to in the init() function). Needed to fix bug #57304.

svn path=/trunk/; revision=25713
2004-04-30 15:52:51 +00:00
1f2d31973e Make the acces key Alt+O work.
Patch by hao.sheng@sun.com

svn path=/trunk/; revision=25004
2004-03-10 06:28:47 +00:00
e0163b782f reset motion_row/motion_col if the model changes. See bug #54757.
2004-02-26  Not Zed  <NotZed@Ximian.com>

        * e-table-item.c (eti_table_model_pre_change): reset
        motion_row/motion_col if the model changes.  See bug #54757.

svn path=/trunk/; revision=24878
2004-02-26 11:45:52 +00:00
2f31296184 Change the shadow type for the arrows here, so that themes that do handle
2004-02-12  Rodney Dawes  <dobey@ximian.com>

	* gal/widgets/gal-combo-box.c (gal_combo_box_init): Change the
	shadow type for the arrows here, so that themes that do handle the
	use of shadow types with arrows, draw things correctly, instead of
	following what the old default gtk+ did in 1.x

2004-02-12  Rodney Dawes  <dobey@ximian.com>

	* e-cell-popup.c (ecp_draw):
	* e-cell-spin-button.c (ecsb_draw):
	* e-table-header-utils.c (e_table_header_draw_button): Change the
	shadow type for the arrows here, so that themes that do handle the
	use of shadow types with arrows, draw things correctly, instead of
	following what the old default gtk+ did in 1.x

2004-02-12  Rodney Dawes  <dobey@ximian.com>

	* e-vscrolled-bar.c (e_vscrolled_bar_init): Change the
	shadow type for the arrows here, so that themes that do handle the
	use of shadow types with arrows, draw things correctly, instead of
	following what the old default gtk+ did in 1.x

svn path=/trunk/; revision=24720
2004-02-12 17:02:31 +00:00
398f56b883 print strikeout/underline
2004-01-27  Radek Doulik  <rodo@ximian.com>

	* e-cell-text.c (ect_print): print strikeout/underline

	Fixes #32240

svn path=/trunk/; revision=24466
2004-01-27 15:18:08 +00:00
0a13fd3702 Fixed bug 51917, add atk support for ClickToAdd
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
2003-12-17 02:35:20 +00:00
ceb9cedfc4 Fixed #50844
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
2003-12-08 05:52:32 +00:00
6434d2b055 Fixed Bug 51252, 51254, 51255. add some code deal with key press event.
2003-11-23 Andrew Wu <yang.wu@sun.com>

       Fixed Bug 51252, 51254, 51255.
        * gal/e-table/e-table-header-item.c:
        (ethi_event):add some code deal with key press event.
        * gal/e-table/e-table-header-item.h
        add a member "selected_col" for keyboard navigation.
        * gal/e-table/e-table.c
        (e_table_setup_header):make header can focus.

svn path=/trunk/; revision=23572
2003-12-02 07:55:14 +00:00
c84cfbc83a Fixes #51139
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
2003-12-02 07:40:28 +00:00
addb2f0ea7 a11y implementations for ECellText. new functions to support corresponding
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
2003-12-02 07:20:04 +00:00
9582e8159c renamespace and move to here build new files
2003-11-17  Mike Kestner  <mkestner@ximian.com>

	* gal/widgets/gtk-combo* : renamespace and move to
	* gal/widgets/gal-combo* : here
	* gal/widgets/Makefile.am : build new files

2003-11-17  Mike Kestner  <mkestner@ximian.com>

	* e-table-config.c : use new gal_combo_* namespace.

svn path=/trunk/; revision=23402
2003-11-17 21:05:15 +00:00
edf5fa2abb Fix for 50800 connect "e_cell_combo_list_button_press" to gtklist.
2003-11-14  Andrew Wu <yang.wu@sun.com>
       Fix for 50800
       * gal/e-table/e-cell-combo.c (e_cell_combo_init):
       connect "e_cell_combo_list_button_press" to gtklist.
       (e_cell_combo_list_button_press):
       deal with the "click" event.
       (e_cell_combo_selection_changed):
       delete the action to selection changed.

svn path=/trunk/; revision=23350
2003-11-14 10:12:31 +00:00
724be060d1 Fix for 50681 send a event to the right cell to pop up something.
2003-11-12  Andrew Wu <yang.wu@sun.com>
        Fix for 50681
        * gal/e-table/e-table-item.c (eti_event):
        send a event to the right cell to pop up something.

svn path=/trunk/; revision=23349
2003-11-14 10:07:26 +00:00
2ba68734fd new files (gal-a11y-e-cell-tree.c/h) added adding 2 new functions to add
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
2003-11-12 05:12:04 +00:00
ad315e4a7d Fixes # 50480
2003-11-11  Bolian Yin  <bolian.yin@sun.com>

        Fixes # 50480

        * e-table-item: add two signals: "selection_model_removed" and "selection_model_added"

svn path=/trunk/; revision=23281
2003-11-11 03:42:17 +00:00
240bdec15b disable apply button when initial dialog. disable apply button after
2003-10-13  Charles Zhang  <charles.zhang@sun.com>

	* e-table-config.c (e_table_config_new): disable apply button
	when initial dialog.
	* e-table-header-item.c (apply_changes): disable apply button
	after applying changes.

svn path=/trunk/; revision=23168
2003-11-03 13:40:49 +00:00
d0524e055c new function to deal with grabing table cell focus
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
2003-11-03 04:20:10 +00:00