Commit Graph

45 Commits

Author SHA1 Message Date
2c96683a37 move to using gtk_im_context.
2003-04-01  Larry Ewing  <lewing@ximian.com>

	* gal/widgets/e-canvas.c: move to using gtk_im_context.

	* gal/widgets/e-canvas.c: add im_context member.

svn path=/trunk/; revision=20634
2003-04-02 05:46:33 +00:00
1de4b21c42 use gdk_event_copy and gdk_event_free to dup the event.
2003-02-27  Mike Kestner  <mkestner@ximian.com>

	* gal/widgets/e-canvas.c (emit_event): use gdk_event_copy
	and gdk_event_free to dup the event.

svn path=/trunk/; revision=20088
2003-02-27 22:24:38 +00:00
da0afe53d2 remove the grab_cancelled_check_id if it's still active.
2003-02-26  Chris Toshok  <toshok@ximian.com>

	* gal/widgets/e-canvas.c (e_canvas_dispose): remove the
	grab_cancelled_check_id if it's still active.

svn path=/trunk/; revision=20083
2003-02-27 04:13:06 +00:00
183eb85406 lots of GObject work.
2002-11-16  Chris Toshok  <toshok@ximian.com>

	* gal/widgets/color-group.c: lots of GObject work.

	* gal/widgets/color-palette.[ch]: same.

	* gal/widgets/e-canvas-backgruond.[ch]: same.

	* gal/widgets/e-canvas-vbox.[ch]: same.

	* gal/widgets/e-canvas.[ch]: same.

	* e-categories-master-list-array.[ch]: same.

	* e-categories-master-list-combo.[ch]: same.

	* e-categories-master-list-dialog-model.[ch]: same.

	* e-categories-master-list-dialog.[ch]: same.

	* e-categories-master-list-option-menu.[ch]: same.

	* e-categories-master-list.[ch]: same.

	* e-categories.[ch]: same.

	* e-file-selection.[ch]: same.

	* e-gui-utils.c: same.

	* e-hscrollbar.[ch]: same.

	* e-option-menu.[ch]: same.

	* e-popup-menu.[ch]: same.

	* e-printable.[ch]: same.

	* e-reflow-sorted.[ch]: same.

	* e-reflow.[ch]: same.

	* e-scroll-frame.[ch]: same.

	* e-vscrollbar.[ch]: same.

	* gtk-combo-box.[ch]: same.

	* gtk-combo-stack.[ch]: same.

	* gtk-combo-text.[ch]: same.

	* test-e-font.c: same.

	* widget-color-combo.[ch]: same.

	* widget-pixmap-combo.[ch]: same.

svn path=/trunk/; revision=18798
2002-11-16 23:42:18 +00:00
18fc8bd2e8 Replace gtk_object_(un)?ref() with g_object_(un)?ref(). Likewise.
* gal/widgets/color-palette.c: Replace gtk_object_(un)?ref() with
g_object_(un)?ref().
* gal/widgets/e-canvas-utils.c: Likewise.
* gal/widgets/e-canvas.c: Likewise.
* gal/widgets/e-categories-master-list-combo.c: Likewise.
* gal/widgets/e-categories-master-list-dialog-model.c: Likewise.
* gal/widgets/e-categories-master-list-dialog.c: Likewise.
* gal/widgets/e-categories-master-list-option-menu.c: Likewise.
* gal/widgets/e-categories.c: Likewise.
* gal/widgets/e-gui-utils.c: Likewise.
* gal/widgets/e-popup-menu.c: Likewise.
* gal/widgets/e-reflow-sorted.c: Likewise.
* gal/widgets/e-reflow.c: Likewise.
* gal/widgets/e-selection-model.c: Likewise.
* gal/widgets/gtk-combo-box.c: Likewise.
* gal/widgets/widget-pixmap-combo.c: Likewise.

svn path=/trunk/; revision=18705
2002-11-11 19:21:17 +00:00
613453b109 merging the gal-2 branch back to the trunk.
merging the gal-2 branch back to the trunk.

svn path=/trunk/; revision=18471
2002-10-31 21:30:57 +00:00
091d3bbbf8 If grabbed_item is NULL, cancel the timeout.
2002-05-10  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-canvas.c (grab_cancelled_check): If grabbed_item
	is NULL, cancel the timeout.

svn path=/trunk/; revision=16760
2002-05-10 22:00:03 +00:00
57a8777026 Switch from gnome_canvas_item_grab to e_canvas_item_grab.
2002-05-09  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-text/e-text.c: Switch from gnome_canvas_item_grab to
	e_canvas_item_grab.

	* gal/widgets/e-canvas.c, gal/widgets/e-canvas.h
	(e_canvas_item_grab, e_canvas_item_ungrab): Added these functions.

From gal/e-table/ChangeLog:

2002-05-09  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c, e-table-item.h: Switched from
	gnome_canvas_item_grab to e_canvas_item_grab.

svn path=/trunk/; revision=16738
2002-05-09 22:12:01 +00:00
0a226a0483 Ansification patch from danw.
2002-04-25  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-paned/e-paned.c, gal/e-text/e-entry.c,
	gal/util/e-bit-array.c, gal/util/e-sorter-array.c,
	gal/util/e-sorter.c, gal/util/e-text-event-processor.c,
	gal/widgets/color-group.c, gal/widgets/color-palette.c,
	gal/widgets/e-canvas-vbox.c, gal/widgets/e-canvas.c,
	gal/widgets/e-canvas.h,
	gal/widgets/e-categories-master-list-array.c,
	gal/widgets/e-categories-master-list-combo.c,
	gal/widgets/e-categories-master-list-dialog-model.c,
	gal/widgets/e-categories-master-list-dialog.c,
	gal/widgets/e-categories.c, gal/widgets/e-reflow-model.c,
	gal/widgets/e-reflow.c, gal/widgets/e-selection-model-array.c,
	gal/widgets/e-selection-model-simple.c,
	gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h,
	gal/widgets/gtk-combo-box.c, gal/widgets/gtk-combo-stack.c,
	gal/widgets/widget-color-combo.c,
	gal/widgets/widget-pixmap-combo.c: Ansification patch from danw.

svn path=/trunk/; revision=16589
2002-04-25 20:05:40 +00:00
822505f93b If there is a grabbed_item, send all events to it.
2002-04-17  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-canvas.c (emit_event): If there is a grabbed_item,
	send all events to it.

svn path=/trunk/; revision=16492
2002-04-17 19:38:27 +00:00
a020c2bd2f Added widgets/e-option-menu.lo.
2002-03-25  Christopher James Lahey  <clahey@ximian.com>

	* gal/Makefile.am (libgal_la_LIBADD): Added
	widgets/e-option-menu.lo.

	* gal/util/e-util.c, gal/util/e-util.h (e_strdupv): Copied this
	function from glib2.
	(GET_STRING_ARRAY_FROM_ELLIPSIS,
	GET_DUPLICATED_STRING_ARRAY_FROM_ELLIPSIS): Added these macros to
	automate getting a NULL terminated array off of the stack.

	* gal/widgets/Makefile.am (libwidgets_la_SOURCES): Added
	e-option-menu.c.
	(libwidgetsinclude_HEADERS): Added e-option-menu.h.

	* gal/widgets/e-canvas.c (e_canvas_class_init): Reformatted this
	function.

	* gal/widgets/e-gui-utils.c, gal/widgets/e-gui-utils.h
	(e_glade_xml_connect_widget, e_glade_xml_set_sensitive): Two new
	functions to automate pulling a widget from a GladeXML and either
	connecting a signal or setting the sensitivity.

	* gal/widgets/e-option-menu.c, gal/widgets/e-option-menu.h: New
	class to simplify the interface to GtkOptionMenu.

svn path=/trunk/; revision=16246
2002-03-25 19:33:20 +00:00
88a322f15d Check for a style_set signal on all the contained GnomeCanvasItems.
2002-03-15  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-canvas.c (e_canvas_style_set): Check for a
	style_set signal on all the contained GnomeCanvasItems.

From gal/e-table/ChangeLog:

2002-03-15  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-toggle.c: Clear the pixmap cache in e_cell_style_set.

	* e-cell.c, e-cell.h (e_cell_style_set): Added this virtual
	method.

	* e-table-item.c, e-table-item.h: Call e_cell_style_set in out
	style_set signal.

svn path=/trunk/; revision=16180
2002-03-15 23:16:01 +00:00
4ca3db91ac Merging changes:
2001-12-11  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-canvas.c (e_canvas_unrealize): Turn off idle
	handling in the unrealize function instead of the destroy
	function.

From gal/e-table/ChangeLog:

2001-12-11  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c: Turn off idle handling in the unrealize function
	instead of the destroy function.

svn path=/trunk/; revision=15102
2001-12-17 07:50:20 +00:00
df3bc07361 From a patch by Yukihiro Nakai <ynakai@redhat.com>.
2001-11-14  Christopher James Lahey  <clahey@ximian.com>

From a patch by Yukihiro Nakai <ynakai@redhat.com>.

	* gal/widgets/e-canvas.c (e_canvas_realize): Handle
	GDK_IM_PREEDIT_POSITION here.

svn path=/trunk/; revision=14703
2001-11-14 20:56:53 +00:00
dc8927136a Changed the license announcement at the top of these files.
2001-10-26  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-paned/e-hpaned.c, gal/e-paned/e-hpaned.h,
	gal/e-paned/e-paned.c, gal/e-paned/e-paned.h,
	gal/e-paned/e-vpaned.c, gal/e-paned/e-vpaned.h,
	gal/e-text/e-completion-match.c, gal/e-text/e-completion-match.h,
	gal/e-text/e-completion-test.c, gal/e-text/e-completion-view.c,
	gal/e-text/e-completion-view.h, gal/e-text/e-completion.c,
	gal/e-text/e-completion.h, gal/e-text/e-entry-test.c,
	gal/e-text/e-entry.c, gal/e-text/e-entry.h,
	gal/e-text/e-table-text-model.c, gal/e-text/e-table-text-model.h,
	gal/e-text/e-text-model-repos.c, gal/e-text/e-text-model-repos.h,
	gal/e-text/e-text-model-test.c, gal/e-text/e-text-model-uri.c,
	gal/e-text/e-text-model-uri.h, gal/e-text/e-text-model.c,
	gal/e-text/e-text-model.h, gal/e-text/e-text.c,
	gal/e-text/e-text.h, gal/util/e-bit-array.c,
	gal/util/e-bit-array.h, gal/util/e-cache.c, gal/util/e-cache.h,
	gal/util/e-iconv.c, gal/util/e-iconv.h, gal/util/e-sorter-array.c,
	gal/util/e-sorter-array.h, gal/util/e-sorter.c,
	gal/util/e-sorter.h, gal/util/e-text-event-processor-emacs-like.c,
	gal/util/e-text-event-processor-emacs-like.h,
	gal/util/e-text-event-processor-types.h,
	gal/util/e-text-event-processor.c,
	gal/util/e-text-event-processor.h, gal/util/e-util.c,
	gal/util/e-util.h, gal/util/e-xml-utils.c, gal/util/e-xml-utils.h,
	gal/widgets/color-group.c, gal/widgets/color-group.h,
	gal/widgets/color-palette.c, gal/widgets/color-palette.h,
	gal/widgets/e-canvas-utils.c, gal/widgets/e-canvas-utils.h,
	gal/widgets/e-canvas-vbox.c, gal/widgets/e-canvas-vbox.h,
	gal/widgets/e-canvas.c, gal/widgets/e-canvas.h,
	gal/widgets/e-categories-master-list-array.c,
	gal/widgets/e-categories-master-list-array.h,
	gal/widgets/e-categories-master-list-combo.c,
	gal/widgets/e-categories-master-list-combo.h,
	gal/widgets/e-categories-master-list-dialog-model.c,
	gal/widgets/e-categories-master-list-dialog-model.h,
	gal/widgets/e-categories-master-list-dialog.c,
	gal/widgets/e-categories-master-list-dialog.h,
	gal/widgets/e-categories-master-list.c,
	gal/widgets/e-categories-master-list.h,
	gal/widgets/e-categories.c, gal/widgets/e-categories.h,
	gal/widgets/e-colors.c, gal/widgets/e-colors.h,
	gal/widgets/e-cursors.c, gal/widgets/e-cursors.h,
	gal/widgets/e-font.c, gal/widgets/e-font.h,
	gal/widgets/e-gui-utils.c, gal/widgets/e-gui-utils.h,
	gal/widgets/e-hscrollbar.c, gal/widgets/e-hscrollbar.h,
	gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h,
	gal/widgets/e-printable.c, gal/widgets/e-printable.h,
	gal/widgets/e-reflow-model.c, gal/widgets/e-reflow-model.h,
	gal/widgets/e-reflow-sorted.c, gal/widgets/e-reflow-sorted.h,
	gal/widgets/e-reflow.c, gal/widgets/e-reflow.h,
	gal/widgets/e-scroll-frame.c, gal/widgets/e-scroll-frame.h,
	gal/widgets/e-selection-model-array.c,
	gal/widgets/e-selection-model-array.h,
	gal/widgets/e-selection-model-simple.c,
	gal/widgets/e-selection-model-simple.h,
	gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h,
	gal/widgets/e-unicode.c, gal/widgets/e-unicode.h,
	gal/widgets/e-vscrollbar.c, gal/widgets/e-vscrollbar.h,
	gal/widgets/gtk-combo-box.c, gal/widgets/gtk-combo-box.h,
	gal/widgets/gtk-combo-stack.c, gal/widgets/gtk-combo-stack.h,
	gal/widgets/gtk-combo-text.c, gal/widgets/gtk-combo-text.h,
	gal/widgets/test-color.c, gal/widgets/test-e-font.c,
	gal/widgets/test-e-font.h, gal/widgets/test-font-loading.c,
	gal/widgets/widget-color-combo.c,
	gal/widgets/widget-color-combo.h,
	gal/widgets/widget-pixmap-combo.c,
	gal/widgets/widget-pixmap-combo.h,
	src/e-table/e-table-sorted-variable.c, tests/test-define-views.c,
	tests/test-shortcut-bar.c, tests/test-table-1.c,
	tests/test-tree-1.c, tests/test-tree-2.c, tests/test-tree-3.c,
	tests/test-unicode.c: Changed the license announcement at the top
	of these files.

svn path=/trunk/; revision=14158
2001-10-26 18:33:33 +00:00
19c5a95912 Changed some of these gbooleans to be guint : 1s.
2001-10-20  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-text/e-text.h: Changed some of these gbooleans to be
	guint : 1s.

	* gal/widgets/e-canvas.c (e_canvas_item_grab_focus): Send the in
	event here to the new focused item instead of the old one.

svn path=/trunk/; revision=13824
2001-10-20 19:03:03 +00:00
c5f392ca0e add E_OBJECT_CLASS_ADD_SIGNALS and E_OBJECT_CLASS_TYPE to ease migration
2001-10-05  Michael Meeks  <michael@ximian.com>

	* gal/util/e-util.h: add E_OBJECT_CLASS_ADD_SIGNALS and
	E_OBJECT_CLASS_TYPE to ease migration to Gnome 2.0 from
	a single source base.

	* All C files:
	s/object_class->type,/E_OBJECT_CLASS_TYPE (object_class),/g;
	s/gtk_object_class_add_signals([^\(]*)\(([^,]*),([^,]*),([^\)]*)/
	E_OBJECT_CLASS_ADD_SIGNALS\1(\2,\3,\4/;

svn path=/trunk/; revision=13428
2001-10-04 23:52:20 +00:00
e4ec4a3420 cut and paste fixed version of gnome_canvas_button here.
2001-08-21  Chris Toshok  <toshok@ximian.com>

	* gal/widgets/e-canvas.c (e_canvas_button): cut and paste fixed
	version of gnome_canvas_button here.
	(pick_current_item): needed by e_canvas_button, also from
	gnome-canvas.c.
	(gnome_canvas_item_invoke_point): same.
	(e_canvas_class_init): hook button_press_event and
	button_release_event to e_canvas_button.

svn path=/trunk/; revision=12376
2001-08-22 01:20:55 +00:00
23bb03e993 Destroy the tooltip if we're the owner when we're destroyed. Also, keep a
2001-07-07  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-text/e-text.c, gal/e-text/e-text.h (e_text_destroy):
	Destroy the tooltip if we're the owner when we're destroyed.
	Also, keep a reference to the text object in case we get a signal
	on the window after the text object is destroyed.

	* gal/widgets/e-canvas.c (e_canvas_destroy): Hide the tooltip if
	there is one when the canvas is destroyed.

svn path=/trunk/; revision=10888
2001-07-07 22:21:12 +00:00
655592d3a8 Use e_canvas_hide_tooltip and e_canvas_popup_tooltip. Set bold on the
2001-04-15  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-text/e-text.c (tooltip_event): Use e_canvas_hide_tooltip
	and e_canvas_popup_tooltip.  Set bold on the tooltip.

	* gal/widgets/e-canvas.c, gal/widgets/e-canvas.h: Added
	e_canvas_popup_tooltip and e_canvas_hide_tooltip.

svn path=/trunk/; revision=9323
2001-04-15 14:18:02 +00:00
8940bcc90c Fix headers. Ditto. Ditto. Ditto. Ditto. Ditto. Ditto. Same. Ditto. Same
2001-04-04  Kjartan Maraas  <kmaraas@gnome.org>

	* gal/e-text/e-entry.c: Fix headers.
	* gal/e-text/e-table-text-model.[ch]: Ditto.
	* gal/e-text/e-table-text-model-uri.c: Ditto.
	* gal/e-text/e-text-model-uri.[ch]: Ditto.
	* gal/e-text/e-text-model.[ch]: Ditto.
	* gal/e-text/e-text.[ch]: Ditto.
	* gal/util/e-text-event-processor-emacs-like.[ch]: Ditto.
	* gal/util/e-text-event-processor.[ch]: Same.
	* gal/util/e-util.h: Ditto.
	* gal/util/e-xml-utils.[ch]: Same here.
	* gal/widgets/color-group.[ch]: Ditto.
	* gal/widgets/color-palette.[ch]: Ditto.
	* gal/widgets/e-canvas-utils.h: Ditto.
	* gal/widgets/e-canvas-vbox.[ch]: Ditto.
	* gal/widgets/e-canvas.[ch]: Ditto.
	* gal/widgets/e-categories.h: Ditto.
	* gal/widgets/e-colors.[ch]: Ditto.
	* gal/widgets/e-cursors.c: Ditto.
	* gal/widgets/e-gui-utils.c: Ditto
	* gal/widgets/e-popup-menu.[ch]: Same.
	* gal/widgets/e-reflow-sorted.c: Same.
	* gal/widgets/e-reflow.[ch]: Same.
	* gal/widgets/e-selection-model.c: Same
	* gal/widgets/e-unicode.[ch]: Same.
	* gal/widgets/gtk-combo-stack.[ch]: Same.
	* gal/widgets/widget-color-combo.[ch]: Same.
	* gal/widgets/widget-pixmap-combo.[ch]: Same.

svn path=/trunk/; revision=9168
2001-04-04 07:33:09 +00:00
3b21f3119c Make this take an extra argument saying whether or not to grab the
* gal/widgets/e-canvas.c (e_canvas_item_grab_focus): Make this
	take an extra argument saying whether or not to grab the
	widget-level focus.

	* gal/e-text/e-text.c (e_text_event): Update arguments to
	e_canvas_item_grab_focus.

svn path=/trunk/; revision=8745
2001-03-15 22:47:47 +00:00
414408be59 Since gdkevent is a union, casting a smaller struct to a gdkevent caused
2001-02-09  JP Rosevear  <jpr@ximian.com>

	* gal/widgets/e-canvas.c (e_canvas_key): Since gdkevent is a
	union, casting a smaller struct to a gdkevent caused unknown
	memory to be copied around.  fix by copying to a full gdkevent
	structure before calling gdkevent.
	(e_canvas_focus_in): ditto
	(e_canvas_focus_out): ditto

svn path=/trunk/; revision=8153
2001-02-09 22:27:37 +00:00
16b387c97c If there are columns allocated, free them upon a destroy.
2000-12-08  JP Rosevear  <jpr@helixcode.com>

	* e-table-state.c (etst_destroy): If there are columns allocated,
	free them upon a destroy.

2000-12-08  JP Rosevear  <jpr@helixcode.com>

	* gal/widgets/e-canvas.c (e_canvas_destroy): Remove my lame "fix"

svn path=/trunk/; revision=6884
2000-12-09 02:56:48 +00:00
92708e6f44 Destroy the gdkIC if we have one
2000-12-07  JP Rosevear  <jpr@helixcode.com>

	* gal/widgets/e-canvas.c (e_canvas_destroy): Destroy the gdkIC
	if we have one

svn path=/trunk/; revision=6847
2000-12-07 21:33:27 +00:00
a3de274f7c Moved files, fixed header files and paths - Federico
svn path=/trunk/; revision=5513
2000-09-19 22:57:58 +00:00
1aef3474d9 Remove incorrect optimization. Events are read-only!
2000-09-07  Federico Mena Quintero  <federico@helixcode.com>

	* e-canvas.c (emit_event): Remove incorrect optimization.  Events
	are read-only!

svn path=/trunk/; revision=5228
2000-09-07 04:40:06 +00:00
1da0c533d3 Fix silly error of not chaining destructor for canvas.
svn path=/trunk/; revision=4390
2000-07-27 16:25:43 +00:00
490437a884 A few fixes to the ECanvas selection item a miniature cleanup of the event handler.
svn path=/trunk/; revision=4364
2000-07-26 21:00:52 +00:00
4cd310350f Removed some debugging printfs.
2000-07-11  Christopher James Lahey  <clahey@helixcode.com>

	* e-canvas-vbox.c: Removed some debugging printfs.

	* e-canvas.c (e_canvas_unrealize): Call parent unrealize method.

svn path=/trunk/; revision=4102
2000-07-12 01:16:42 +00:00
40e24cdab6 New list class with iterators.
2000-07-03  Christopher James Lahey  <clahey@helixcode.com>

	* e-iterator.c, e-iterator.h, e-list-iterator.c,
	e-list-iterator.h, e-list.c, e-list.h: New list class with
	iterators.

	* e-canvas.c: Made it so that you don't get the same selection in
	the selection list more than once.

svn path=/trunk/; revision=3871
2000-07-03 22:25:47 +00:00
72c913ff20 Add simple deadkey support.
2000-06-29  Jody Goldberg <jgoldberg@home.com>

	* e-canvas.c (e_canvas_init) : Init the InputContext members
	(e_canvas_class_init) : Add a handler for unrealize.
	(e_canvas_focus_in) : enable the input context.
	(e_canvas_focus_out) : enable the input context.
	(e_canvas_realize) : Create an input context.
	(e_canvas_unrealize) : New function to release the input context.

svn path=/trunk/; revision=3817
2000-06-29 22:56:51 +00:00
26f8433aa0 Added a variable to keep track of the cursor. Set the cursor when
2000-06-20  Christopher James Lahey  <clahey@helixcode.com>

	* e-canvas.c, e-canvas.h: Added a variable to keep track of the
	cursor.  Set the cursor when selection_add is called.  Properly
	unset the cursor at the right times.

svn path=/trunk/; revision=3663
2000-06-21 03:45:32 +00:00
798b2b01e6 Grab the focus when setting the cursor.
2000-06-20  Christopher James Lahey  <clahey@helixcode.com>

	* e-canvas.c: Grab the focus when setting the cursor.

svn path=/trunk/; revision=3659
2000-06-21 03:04:43 +00:00
6d460ba3fe Built a system for doing selections and/or a cursor in canvas.
2000-06-20  Christopher James Lahey  <clahey@helixcode.com>

	* e-canvas.c, e-canvas.h: Built a system for doing selections
	and/or a cursor in canvas.

svn path=/trunk/; revision=3655
2000-06-21 00:11:50 +00:00
3f6ddb02e8 Remove reflow idle when being destroyed.
2000-05-09  Christopher James Lahey  <clahey@helixcode.com>

	* e-canvas.c: Remove reflow idle when being destroyed.

svn path=/trunk/; revision=2934
2000-05-09 06:45:50 +00:00
848cacc490 set and reset the GTK_HAS_FOCUS flag. We now get focus_out events
2000-05-02  Damon Chaplin  <damon@helixcode.com>

        * e-canvas.c (e_canvas_focus_in):
        (e_canvas_focus_out): set and reset the GTK_HAS_FOCUS flag. We now get
        focus_out events correctly.

svn path=/trunk/; revision=2758
2000-05-02 22:26:16 +00:00
9ee0c77a74 Add realize. (e_canvas_realize): Set the back pixmap to NULL to reduce
2000-04-16  Anders Carlsson  <andersca@gnu.org>

      * e-canvas.c (e_canvas_class_init): Add realize.
      (e_canvas_realize): Set the back pixmap to NULL to reduce flicker.

svn path=/trunk/; revision=2456
2000-04-16 00:39:00 +00:00
a5fef3a82e Added proper keyboard focus handling.
2000-04-10  Christopher James Lahey  <clahey@helixcode.com>

	* e-canvas.c: Added proper keyboard focus handling.

svn path=/trunk/; revision=2377
2000-04-10 19:33:35 +00:00
228a741d69 minor style clean + kill duff file in POTFILES.
svn path=/trunk/; revision=2198
2000-03-27 22:12:58 +00:00
2589a36ea0 ChangeLog shuffling.
ChangeLog shuffling.

Miguel.

svn path=/trunk/; revision=2174
2000-03-27 02:58:23 +00:00
1f7ba945b1 Rearranged SUBDIRS for dependencies.
2000-03-12  Christopher James Lahey  <clahey@helixcode.com>

        * widgets/Makefile.am: Rearranged SUBDIRS for dependencies.

        * widgets/e-text/e-text-model.c, widgets/e-text-model.h: New
        object which stores a piece of text data.  All methods are
        virtual.

        * widgets/e-text/e-text.c, widgets/e-text/e-text.h: Modified this
        to use an ETextModel for its data.

        * widgets/e-text/Makefile.am: Added e-text-model.c and e-text-model.h.

        * widgets/e-minicard/test-minicard-label.c: Made this work again.

        * widgets/e-minicard/e-minicard.c,
        widgets/e-minicard/e-minicard.h: Made this use an ETableModel to
        get its data.

        * widgets/e-minicard/e-minicard-label.c,
        widgets/e-minicard/e-minicard-label.h: Added the ability to set
        the text model used for the contained text widget.

        * widgets/e-minicard/Makefile.am: Added e-table since e-minicard
        is now dependent on an e-table-model for its data.

        * e-util/e-canvas.c, e-util/e-canvas.h: Fixed some bugs here to
        speed up reflow and to make it fail less often.

        * addressbook/demo, addressbook/demo/.cvsignore,
        addressbook/demo/Makefile.am, addressbook/demo/demo.c,
        addressbook/demo/spec: A new program to test ETable and EMinicard
        integration.

        * configure.in: Added addressbook/demo/Makefile.

        * addressbook/Makefile.am: Added the demo/ subdirectory.

in widgets/e-table/:

2000-03-12  Christopher James Lahey  <clahey@helixcode.com>

        * e-table.c: Made this use an ECanvas.  Fixed a bug where
        e_table_new_from_spec_file was calling e_table_construct instead
        of e_table_construct_from_spec_file.

        * e-table-item.c, e-table-header-item.c, e-table-column-item.c:
        Switched these to use GTK_TYPE_OBJECT and GTK_VALUE_OBJECT instead
        of GTK_TYPE_POINTER and GTK_TYPE_OBJECT.

        * e-cell-text.c: Got rid of a crashing bug.

        * e-table-text-model.c, e-table-text-model.h: A new object which
        is an e-text-model which uses an e-table-model for its data.

        * Makefile.am: Added e-table-text-model.c and
        e-table-text-model.h.

        * .cvsignore: Added table-example-1 and table-example-2.

svn path=/trunk/; revision=2101
2000-03-12 07:59:42 +00:00
0a908b7fe4 Designed a new system for doing hierarchical displays in the canvas. Adds
2000-03-10  Christopher James Lahey  <clahey@helixcode.com>

        * e-util/e-canvas.c, e-util/e-canvas.h: Designed a new system for
        doing hierarchical displays in the canvas.  Adds an extra idle
        loop to the canvas system.

        * widgets/e-minicard/e-minicard.c,
        widgets/e-minicard/e-minicard-label.c,
        widgets/e-minicard/e-minicard-label.h,
        widgets/e-minicard/e-reflow.c, widgets/e-minicard/test-reflow.c,
        widgets/e-text/e-text.c, widgets/e-text/e-text.h: Adapted to use
        the new e-canvas reflow system.

svn path=/trunk/; revision=2096
2000-03-11 00:32:15 +00:00
905f7de48f Use e_canvas_item_grab_focus so that it will work with old versions of
2000-01-28  Christopher James Lahey  <clahey@helixcode.com>

        * widgets/e-minicard-label.c, widgets/e-minicard.c: Use
        e_canvas_item_grab_focus so that it will work with old versions of
        gnome-canvas.

        * widgets/e-canvas.c, widgets/e-canvas.h: Finished working around
        focus bugs.

svn path=/trunk/; revision=1649
2000-01-27 07:51:37 +00:00
7ffbbe3692 Handle shift-tab properly now.
2000-01-25  Christopher James Lahey  <clahey@helixcode.com>

        * widgets/e-reflow.c, widgets/e-minicard.c: Handle shift-tab
        properly now.

        * widgets/e-minicard-label.c: Reindented some areas.

        * widgets/test-reflow.c: Use e-canvas.  Set the back pixmap to
        NULL for the canvas so that scrolling won't flash grey.

        * widgets/e-canvas.c, widgets/e-canvas.h: These subclass
        GnomeCanvas to work around a few bugs so that evolution will work
        well with old versions of gnome-libs.

        * widgets/Makefile.am: Added e-canvas.c and e-canvas.h.

        * addressbook/contact-editor/contact-editor.glade: Not much
        change.  Mostly internal reorganization by glade itself.

svn path=/trunk/; revision=1638
2000-01-26 00:53:50 +00:00