Commit Graph

449 Commits

Author SHA1 Message Date
e8ab14846b Fix cursor column information.
2000-06-20  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-item.c: Fix cursor column information.

svn path=/trunk/; revision=3661
2000-06-21 03:17:22 +00:00
c62863d087 Removed the unfocus method since that's handled by the canvas itself now.
2000-06-20  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-group-container.c, e-table-group-leaf.c,
	e-table-group.c, e-table-group.h: Removed the unfocus method since
	that's handled by the canvas itself now.

	* e-table-item.c, e-table-item.h: Finished adapting ETableItem to
	use the canvas selection/cursor system.  Selection and cursor now
	use row numbers associated with the source model instead of the
	sorted model (if the model they are given is an ETableSubset.)
	This has no effect on the interface, except that unfocus was
	removed and e_table_item_focus was renamed to
	e_table_item_set_cursor.

svn path=/trunk/; revision=3660
2000-06-21 03:07:30 +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
39ea8e12ac Started adapting ETableItem to use the canvas selection/cursor system.
2000-06-20  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-item.c, e-table-item.h: Started adapting ETableItem to
	use the canvas selection/cursor system.

svn path=/trunk/; revision=3656
2000-06-21 00:12:48 +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
9c3a56da17 call e_table_model_row_inserted instead of e_table_model_changed.
2000-06-17  Chris Toshok  <toshok@helixcode.com>

	* e-tree-model.c (e_tree_model_node_insert): call
	e_table_model_row_inserted instead of e_table_model_changed.

svn path=/trunk/; revision=3637
2000-06-19 21:02:18 +00:00
97110efe38 removed debugging messages & unused stuff.
svn path=/trunk/; revision=3632
2000-06-19 07:29:14 +00:00
eae703e085 added support for scroll-wheels.
2000-06-19  Damon Chaplin  <damon@helixcode.com>

	* e-icon-bar-bg-item.c:
	* e-icon-bar.c:
	* e-icon-bar.h:
	* e-vscrolled-bar.c: added support for scroll-wheels.

svn path=/trunk/; revision=3631
2000-06-19 07:26:12 +00:00
c47e316032 Made cells with strikeout on have a line from the left margin to the right
2000-06-17  Christopher James Lahey  <clahey@helixcode.com>

	* e-cell-text.c: Made cells with strikeout on have a line from the
	left margin to the right margin, instead of just over the text.

svn path=/trunk/; revision=3609
2000-06-17 12:39:03 +00:00
2b8fb337a5 Made EText use the font from the canvas's style if one isn't set.
2000-06-17  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/e-text.c: Made EText use the font from the
	canvas's style if one isn't set.

svn path=/trunk/; revision=3607
2000-06-17 12:35:12 +00:00
e67721cbd7 updated to use EText items rather than GtkEntry widgets and added support
2000-06-17  Damon Chaplin  <damon@helixcode.com>

	* widgets/meeting-time-sel/*: updated to use EText items rather than
	GtkEntry widgets and added support for adding new rows.

svn path=/trunk/; revision=3604
2000-06-17 04:13:42 +00:00
bdef37bda3 Moved the reflow signal handling into an idle handler to fix a bug when
2000-06-16  Christopher James Lahey  <clahey@helixcode.com>

	* e-table.c, e-table.h: Moved the reflow signal handling into an
	idle handler to fix a bug when resizing twice in succession.

svn path=/trunk/; revision=3588
2000-06-16 05:39:06 +00:00
cb802b193c print the icon for the tree control.
2000-06-15  Chris Toshok  <toshok@helixcode.com>

	* e-cell-tree.c (ect_print): print the icon for the tree control.

svn path=/trunk/; revision=3579
2000-06-15 21:05:28 +00:00
5ae693645f new function, to generate postscript so i can test tree printing.
2000-06-14  Chris Toshok  <toshok@helixcode.com>

	* e-tree-example-1.c (print_tree): new function, to generate
	postscript so i can test tree printing.
	(create_tree): add print button.

	* e-cell-tree.c (ect_print_height): implement function (in a
	broken way for the time being, heh).
	(ect_print): implement function to draw tree controls and offset
	the subcell's printing.  icons aren't printed yet, just lines.
	(ect_draw): remove old unnecessary comments.  only draw the
	horizontal line in specific instances (well, add a test so a lone
	root node doesn't get the horizontal line.)
	(e_cell_tree_class_init): add print/print_height methods.

svn path=/trunk/; revision=3565
2000-06-14 07:07:38 +00:00
fabd9d91ab Request the value of e_table_is_cell_editable of the model_col instead of
2000-06-14  Christopher James Lahey  <clahey@helixcode.com>

	* e-cell-text.c: Request the value of e_table_is_cell_editable of
	the model_col instead of the view_col.

	* e-table-item.h: Slight style fixup.

svn path=/trunk/; revision=3564
2000-06-14 07:07:37 +00:00
6b9eb3dbe7 Clip the contained text.
2000-06-13  Christopher James Lahey  <clahey@helixcode.com>

	* e-cell-text.c: Clip the contained text.

	* e-table-group-container.c: Did a first pass at grouped
	printing.  This works, but there's no fancy boxes or headers
	around the groups.

	* e-table-item.c: Added will_fit function and added quantize
	function to _height.

svn path=/trunk/; revision=3552
2000-06-13 14:39:13 +00:00
c9bdd525e4 Changed the needed e_marshal functions.
2000-06-13  Christopher James Lahey  <clahey@helixcode.com>

	* e-util.c, e-util.h: Changed the needed e_marshal functions.

	* e-printable.c, e-printable.h: Added a quantize parameter to
	e_printable_height.  Also, added a e_printable_will_fit function.

svn path=/trunk/; revision=3551
2000-06-13 14:37:28 +00:00
9de25e88aa Removed the freeze/thaw stuff for the model. As Chris wisely pointed out,
2000-06-12  Federico Mena Quintero  <federico@helixcode.com>

	* e-table-model.[ch]: Removed the freeze/thaw stuff for the model.
	As Chris wisely pointed out, having freeze/thaw on the model makes
	its state inconsistent from the perspective of the views.

	* e-table-sorted-variable.c: Do not check for a frozen model.
	* e-table-subset.c: Likewise.
	* e-table-subset-variable.c: Likewise.

	* e-table-example-1.c: Removed the ETableModel thaw handler.
	* e-table-example-2.c: Likewise.
	* e-table-simple.c: Likewise.
	* e-table-size-test.c: Likewise.
	* test-check.c: Likewise.
	* test-cols.c: Likewise.
	* test-table.c: Likewise.

svn path=/trunk/; revision=3543
2000-06-13 00:41:47 +00:00
6c12613258 Control does horizontal scrolling...
svn path=/trunk/; revision=3539
2000-06-12 23:33:27 +00:00
0889a3a50e Fix a build problem (e-table now depends on the `misc' widgets, so we
need to build the `misc' directory first) and install a `.desktop'
file and an icon file.  (For now, the icon file is a copy of
`evolution-inbox.png'.)

svn path=/trunk/; revision=3527
2000-06-12 00:41:06 +00:00
c6b6c24c8c Add support for mouse wheel scrolling in EScrollFrame.
2000-06-11  Anders Carlsson  <andersca@gnu.org>

	* e-scroll-frame.c (e_scroll_frame_button_press): Add support
	for mouse wheel scrolling in EScrollFrame.

svn path=/trunk/; revision=3526
2000-06-11 19:32:45 +00:00
ab8f482b21 supply the pixbufs here.
2000-06-10  Chris Toshok  <toshok@helixcode.com>

	* e-tree-example-1.c (create_tree): supply the pixbufs here.

	* e-cell-tree.h: change pixbuf names to open_pixbuf/closed_pixbuf.

	* e-cell-tree.c (e_cell_tree_construct): take open/closed pixbuf
	parameters, and don't #include the .xpm files directly here.
	(e_cell_tree_new): same.
	(ect_draw): use the pixbufs from the ECellTree.

svn path=/trunk/; revision=3522
2000-06-11 05:07:13 +00:00
07707b81af offset events before passing them to our subcell view.
2000-06-10  Chris Toshok  <toshok@helixcode.com>

	* e-cell-tree.c (ect_event): offset events before passing them to
	our subcell view.

svn path=/trunk/; revision=3520
2000-06-11 04:44:27 +00:00
aac3f2c8b6 change things so we focus the cell and select the row, and also dispatch
2000-06-10  Chris Toshok  <toshok@helixcode.com>

	* e-table-item.c (eti_event): change things so we focus the cell
	and select the row, and also dispatch the event to that row/cell.
	This fixes the problem with the tree where you had to click twice
	to activate the tree controls.

	* Makefile.am (libetable_a_SOURCES): remove e-tree-gnode.* and add
	e-tree-simple.*
	(icons): add tree-expanded.xpm and tree-unexpanded.xpm

	* e-cell-tree.c (ect_enter_edit): defer to subcell's view.
	(ect_leave_edit): defer to subcell's view.
	(visible_depth_of_node): visual depth, taking into account that
	the root node of the model might not be displayed.
	(offset_of_node): return the offset used to shift the subcell
	over.
	(ect_draw): don't draw vertical lines if we're the leftmode node
	(a visual root node).  also, don't shift x2 by the subcell offset,
	so we get ellipses like we're supposed to.
	(ect_event): remove GDK_BUTTON_RELEASE from the list of events
	that we care about.

	* e-tree-example-1.c: lots of changes, a more dynamic UI so we can
	test tree model api stuff.

	* e-tree-gnode.c, e-tree-gnode.c: removed files, since their guts
	have been rolled into e-tree-model.c

	* e-tree-model.c, e-tree-model.h: substantially changed.  too much
	to really describe here.  this should really be considered the
	first revision of these files :)

	* e-tree-simple.c, e-tree-simple.h: analogous to e-table-simple, a
	subclass that allows the use of function pointers.

svn path=/trunk/; revision=3519
2000-06-11 04:20:56 +00:00
86e45230bd Small syntactic changes.
2000-06-11  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-model.c: Small syntactic changes.

	* e-table.c: Moved the table header into the scrolled view.

svn path=/trunk/; revision=3517
2000-06-11 04:08:59 +00:00
695591dd93 Make ETable use EScrollFrame instead of GtkScrolledWindow.
svn path=/trunk/; revision=3515
2000-06-10 22:48:14 +00:00
c57de49bb5 Added $(GNOME_PRINT_LIBS) to all of the LDADDs.
2000-06-10  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added $(GNOME_PRINT_LIBS) to all of the LDADDs.

	* e-cell-text.c: Added printing of text cells.

	* e-cell.c, e-cell.h: Added print and print_height methods.

	* e-table-field-chooser.glade: Added a minimum size.

	* e-table-group-container.c: Fixed a rectangle sizing bug.

	* e-table-group-leaf.c: Implemented get_printable.

	* e-table-group.c, e-table-group.h: Added a get_printable method
	to return an EPrintable.

	* e-table-item.c, e-table-item.h: Added a get_printable function
	to return an EPrintable.

	* e-table.c, e-table.h: Added a get_printable function to return
	an EPrintable.

svn path=/trunk/; revision=3511
2000-06-10 21:16:45 +00:00
5dc1015e96 Added e-printable.c and e-printable.h.
2000-06-10  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added e-printable.c and e-printable.h.

	* e-printable.c, e-printable.h: This new class is a printing
	context.  Other classes return an EPrintable which represents a
	context for printing that object.

	* e-util.c, e-util.h: Added
	e_marshal_NONE__OBJECT_DOUBLE_DOUBLE_BOOL and
	e_marshal_DOUBLE__OBJECT_DOUBLE_DOUBLE.

svn path=/trunk/; revision=3510
2000-06-10 21:13:07 +00:00
cf26eac807 Talk, cvs!
svn path=/trunk/; revision=3507
2000-06-10 19:55:08 +00:00
033939c723 Fix pixmap/bitmap leak in ETitleBar.
svn path=/trunk/; revision=3499
2000-06-10 00:49:59 +00:00
e581631a9c New files. A tree model using a GNode structure to store it's info.
2000-06-08  Chris Toshok  <toshok@helixcode.com>

	* e-tree-gnode.c, e-tree-gnode.h: New files.  A tree model using a
	GNode structure to store it's info.

	* e-tree-model.c, e-tree-model.h: New files.  A proxy model
	sitting between a table model and the real tree model (of which
	ETreeGNode is an example).

	* e-cell-tree.c, e-cell-tree.h: New files.  A cell renderer
	capable of wrapping up a subcell and drawing the tree controls for
	expanding/collapsing trees.

	* tree-expanded.xpm, tree-unexpanded.xpm: New files.  the standard
	+ and - icons.

	* e-tree-example-1.c: New file, giving a (pretty poor :) example
	of using ETreeGNode.

	* Makefile.am: at the tree stuff to the build, and build
	tree-example-1.

	* .cvsignore: ignore tree-example-1.

svn path=/trunk/; revision=3483
2000-06-08 23:16:22 +00:00
c04ce4ea11 The field chooser works now.
2000-06-08  Christopher James Lahey  <clahey@helixcode.com>

	* The field chooser works now.

	* e-table-field-chooser-dialog.c: Make the dialog resizable.

	* e-table-field-chooser-item.c: Requested a reflow on
	realization.  Made the correct column get dragged.

	* e-table-field-chooser.c: Set the height correctly.

	* e-table-field-chooser.glade: Replace the GnomeCanvas with an
	ECanvas.

	* e-table-header-item.c: Receive drags from the new dialog.

svn path=/trunk/; revision=3476
2000-06-08 07:55:21 +00:00
2f3245408c More work on the Field Chooser. Not quite done yet.
2000-06-08  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-field-chooser-dialog.c, e-table-field-chooser-dialog.h,
	e-table-field-chooser-item.c, e-table-field-chooser.c,
	e-table-field-chooser.glade, e-table-field-chooser.h,
	e-table-header-item.c, e-table.c: More work on the Field Chooser.
	Not quite done yet.

svn path=/trunk/; revision=3475
2000-06-08 07:07:21 +00:00
104a3d0bff Added e-table-field-chooser*.
2000-06-07  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added e-table-field-chooser*.

	* e-table-defines.h: Moved some things to here.

	* e-table-field-chooser-dialog.c, e-table-field-chooser-dialog.h,
	e-table-field-chooser-item.c, e-table-field-chooser-item.h,
	e-table-field-chooser.c, e-table-field-chooser.glade,
	e-table-field-chooser.glade.h, e-table-field-chooser.h: New dialog
	to drag extra fields from.  (Not yet finished.)

	* e-table-header-item.c, e-table-header-item.h: Changed to
	accommodate e-table-field-chooser.

svn path=/trunk/; revision=3473
2000-06-08 00:40:23 +00:00
85ab673689 Added a "quantum" argument for making the panes move in jumps.
2000-06-07  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-paned/e-hpaned.c, widgets/e-paned/e-paned.c,
	widgets/e-paned/e-paned.h, widgets/e-paned/e-vpaned.c: Added a
	"quantum" argument for making the panes move in jumps.

svn path=/trunk/; revision=3461
2000-06-07 17:49:16 +00:00
06978bc736 Added a right click signal.
2000-06-06  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-group-container.c, e-table-group-leaf.c,
	e-table-group.c, e-table-group.h, e-table-item.c, e-table-item.h,
	e-table.c, e-table.h: Added a right click signal.

	* e-table-sorted-variable.c: Fixed a buffer overrun.

svn path=/trunk/; revision=3437
2000-06-06 05:50:12 +00:00
85e4486c1c Fixed the multiple copies of rows in ETable bug.
2000-06-02  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-sorted-variable.c: Fixed the multiple copies of rows in
	ETable bug.

svn path=/trunk/; revision=3386
2000-06-02 08:14:47 +00:00
f6d3bfae53 Free the finish data.
2000-06-02  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/misc/e-clipped-label.c: Free the finish data.

svn path=/trunk/; revision=3384
2000-06-02 08:00:17 +00:00
cf4ea01866 Free all the item data.
2000-06-02  Christopher James Lahey  <clahey@helixcode.com>

	* e-icon-bar.c: Free all the item data.

svn path=/trunk/; revision=3383
2000-06-02 07:59:37 +00:00
59165ac430 two more pastos
* e-table-group.c (e_table_group_key_press):
	* e-table.c (group_key_press): two more pastos

svn path=/trunk/; revision=3370
2000-06-02 03:48:43 +00:00
ce38de5189 Copy and paste error.
2000-06-01  Christopher James Lahey  <clahey@helixcode.com>

	* e-table.c: Copy and paste error.

	* e-table-item.c: Mixed up parity on eti->editing.

svn path=/trunk/; revision=3368
2000-06-02 03:28:00 +00:00
f9b79bb0f6 Added a "key_press" signal.
2000-06-01  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-group-container.c, e-table-group-leaf.c,
	e-table-group.c, e-table-group.h, e-table-item.c, e-table-item.h,
	e-table.c, e-table.h: Added a "key_press" signal.

svn path=/trunk/; revision=3366
2000-06-02 02:57:39 +00:00
b42e523e9a Remove an offending *.
* e-cell-text.h: Remove an offending *.

svn path=/trunk/; revision=3359
2000-06-02 01:53:19 +00:00
2b418bb61a Made the sort when inserting a signal row be syncronous.
2000-06-01  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-sorted-variable.c: Made the sort when inserting a signal
	row be syncronous.

svn path=/trunk/; revision=3358
2000-06-02 01:52:27 +00:00
f5916a12a6 Added "text_filter" argument that takes a const void * and returns an
2000-06-01  Christopher James Lahey  <clahey@helixcode.com>

	* e-cell-text.c, e-cell-text.h: Added "text_filter" argument that
	takes a const void * and returns an allocated char *.

svn path=/trunk/; revision=3356
2000-06-02 00:45:24 +00:00
9b20ec31fa Accidental commit fix.
svn path=/trunk/; revision=3354
2000-06-02 00:29:48 +00:00
abac1b7524 Copy and paste error.
2000-06-01  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-item.c: Copy and paste  error.

svn path=/trunk/; revision=3353
2000-06-02 00:27:34 +00:00
0a898d1c96 Added e_table_get_selected_view_row.
2000-06-01  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-group-container.c, e-table-group-leaf.c,
	e-table-group.c, e-table-group.h, e-table-item.c, e-table.c,
	e-table.h: Added e_table_get_selected_view_row.

svn path=/trunk/; revision=3351
2000-06-02 00:18:00 +00:00
2f59d46595 Imported GtkScrollFrame from EOG and renamed it to EScrollFrame.
2000-05-31  Federico Mena Quintero  <federico@helixcode.com>

	* widgets/misc/e-scroll-frame.[ch]: Imported GtkScrollFrame from
	EOG and renamed it to EScrollFrame.

	* widgets/misc/Makefile.am (libemiscwidgets_a_SOURCES): Added
	e-scroll-frame.[ch].

svn path=/trunk/; revision=3326
2000-06-01 04:44:48 +00:00
a718dec073 Implemented right-click menus for the shell's shortcut bar (the user
can remove shortcuts now) and added status bar to the shell view.
Also, added an API call to EShortcutBar to get the view type for a
specified group.

svn path=/trunk/; revision=3318
2000-06-01 00:56:00 +00:00