aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
Commit message (Collapse)AuthorAgeFilesLines
* (etms_finalize): CallEttore Perazzoli2002-11-271-1/+26
| | | | | | e_table_memory_store_clear(). svn path=/trunk/; revision=18937
* take GCallback, not GtkSignalFunc. (configure_sort_dialog): show theChris Toshok2002-11-192-214/+19
| | | | | | | | | | | | | | | | | | 2002-11-18 Chris Toshok <toshok@ximian.com> * e-table-config.c (connect_button): take GCallback, not GtkSignalFunc. (configure_sort_dialog): show the custom widget. (configure_group_dialog): same. (configure_fields_dialog): same, also pass G_CALLBACK (func), instead of GTK_SIGNAL_FUNC (func), to connect_button. (setup_gui): pass G_CALLBACK (func), instead of GTK_SIGNAL_FUNC (func), to connect_button. * Makefile.am (glade_DATA): remove e-table-group.glade, since we don't use it anyplace. svn path=/trunk/; revision=18832
* check for table->table_canvas == NULL.Chris Toshok2002-11-172-15/+19
| | | | | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * e-table.c (set_scroll_adjustments): check for table->table_canvas == NULL. * e-table-item.c (eti_dispose): guard eti->tooltip. svn path=/trunk/; revision=18807
* GObject port work.Chris Toshok2002-11-1769-4140/+4783
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * e-cell-checkbox.[ch]: GObject port work. * e-cell-combo.[ch]: same. * e-cell-date.[ch]: same. * e-cell-float.[ch]: same. * e-cell-number.[ch]: same. * e-cell-pixbuf.[ch]: same. * e-cell-popup.[ch]: same. * e-cell-progress.[ch]: same. * e-cell-size.[ch]: same. * e-cell-spin-button.[ch]: same. * e-cell-text.[ch]: same. * e-cell-toggle.[ch]: same. * e-cell-tree.[ch]: same. * e-cell-vbox.[ch]: same. * e-cell.[ch]: same. * e-table-col.c: same. * e-table-column.c: same. * e-table-config-field.[ch]: same. * e-table-config.c: same. * e-table-config.glade: same. * e-table-field-chooser-dialog.[ch]: same. * e-table-field-chooser-item.[ch]: same. * e-table-field-chooser.[ch]: same. * e-table-group-container.[ch]: same. * e-table-group-leaf.[ch]: same. * e-table-group.[ch]: same. * e-table-header-item.[ch]: same. * e-table-header-utils.[ch]: same. * e-table-header.c: same. * e-table-item.[ch]: same. * e-table-scrolled.[ch]: same. * e-table-utils.c: same. * e-table.[ch]: same. * e-tree-memory-callbacks.h: same. * e-tree-scrolled.[ch]: same. * e-tree-sorted-variable.c: same. * e-tree.[ch]: same. * test-check.c: same. * test-cols.c: same. * test-table.c: same. svn path=/trunk/; revision=18801
* fix typo.Chris Toshok2002-11-151-2/+2
| | | | | | | | 2002-11-14 Chris Toshok <toshok@ximian.com> * e-table-header-item.c (ethi_popup_customize_view): fix typo. svn path=/trunk/; revision=18777
* ETableConfig derives from GObject (fix warnings).Chris Toshok2002-11-154-70/+82
| | | | | | | | | | | | | 2002-11-14 Chris Toshok <toshok@ximian.com> * e-table-header-item.c (ethi_popup_customize_view): ETableConfig derives from GObject (fix warnings). * e-table.c: deal with ESorter deriving from GObject. * e-table-sorter.[ch]: this derives from GObject now. svn path=/trunk/; revision=18775
* deal with ESelectionModel no longer deriving from GtkObject.Chris Toshok2002-11-1510-359/+394
| | | | | | | | | | | | | | | | | | | | | | 2002-11-14 Chris Toshok <toshok@ximian.com> * e-table-item.c: deal with ESelectionModel no longer deriving from GtkObject. * e-table.c: same. * e-tree.c: same. * e-table-config.c (do_fields_config_dialog): use GtkDialog's reponse instead of GnomeDialog's button. * e-table-click-to-add.[ch]: GObjectify this. * e-table-selection-model.[ch]: this derives from GObject now. * e-tree-selection-model.[ch]: same. svn path=/trunk/; revision=18773
* this subclasses from GObject now, not GtkObject. don't use GtkObjectChris Toshok2002-11-156-3922/+3925
| | | | | | | | | | | | | | | | | | 2002-11-14 Chris Toshok <toshok@ximian.com> * e-table-without.[ch]: this subclasses from GObject now, not GtkObject. don't use GtkObject (especially casts to it) inside the code. * e-table-config-no-group.glade: libglade-convert. * e-table-config.glade: same. * e-table-field-chooser.glade: same. * e-table-group.glade: same. svn path=/trunk/; revision=18766
* add more marshallers for e-table.Chris Toshok2002-11-141-160/+177
| | | | | | | | 2002-11-13 Chris Toshok <toshok@ximian.com> * gal/util/e-marshal.list: add more marshallers for e-table. svn path=/trunk/; revision=18750
* Forgot two more gtk_object_(un)?ref()s.Ettore Perazzoli2002-11-122-4/+4
| | | | svn path=/trunk/; revision=18703
* Replace gtk_object_(un)?ref() with g_object_(un)?ref(). Likewise.Ettore Perazzoli2002-11-1212-67/+67
| | | | | | | | | | | | | | | | | | * gal/e-table/e-cell-popup.c: Replace gtk_object_(un)?ref() with g_object_(un)?ref(). * gal/e-table/e-cell-text.c: Likewise. * gal/e-table/e-cell-tree.c: Likewise. * gal/e-table/e-cell-vbox.c: Likewise. * gal/e-table/e-table-click-to-add.c: Likewise. * gal/e-table/e-table-config-field.c: Likewise. * gal/e-table/e-table-field-chooser-dialog.c: Likewise. * gal/e-table/e-table-field-chooser-item.c: Likewise. * gal/e-table/e-table-field-chooser.c: Likewise. * gal/e-table/e-table-group-container.c: Likewise. * gal/e-table/e-table-item.c: Likewise. * gal/e-table/e-table-without.c: Likewise. svn path=/trunk/; revision=18702
* correct the GET_CLASS macro.Chris Toshok2002-11-096-6/+6
| | | | | | | | | | | | | | | | | | 2002-11-08 Chris Toshok <toshok@ximian.com> * e-table-memory-store.h: correct the GET_CLASS macro. * e-table-one.h: same. * e-table-sorted.h: same. * e-table-subset.h: same. * e-tree-sorted-variable.h: same. * e-tree-table-adapter.h: same. svn path=/trunk/; revision=18680
* GObjectify GObjectifyMike Kestner2002-11-064-63/+55
| | | | | | | | | 2002-11-05 Mike Kestner <mkestner@ximian.com> * e-table-sorted-variable.[ch] : GObjectify * e-tree-sorted-variable.[ch] : GObjectify svn path=/trunk/; revision=18573
* remove ref/unref G_OBJECT masks ditto ditto ditto ditto ditto ditto dittoMike Kestner2002-11-069-63/+63
| | | | | | | | | | | | | | | | 2002-11-05 Mike Kestner <mkestner@ximian.com> * e-cell-text.c : remove ref/unref G_OBJECT masks * e-table-extras.c : ditto * e-table-header-item.c : ditto * e-table-item.c : ditto * e-table-memory-store.c : ditto * e-table-one.c : ditto * e-tree-sorted.c : ditto * e-tree-table-adapter.c : ditto * e-tree.c : ditto svn path=/trunk/; revision=18572
* GObjectify GObjectify GObjectify use GObject api for models use GObjectMike Kestner2002-11-0624-767/+563
| | | | | | | | | | | | | | | | | | | | | | | 2002-11-05 Mike Kestner <mkestner@ximian.com> * e-table-col.[ch] : GObjectify * e-table-column-specification.[ch] : GObjectify * e-table-config.[ch] : GObjectify * e-table-group-leaf.c : use GObject api for models * e-table-group.c : use GObject api for models * e-table-header-item.c : use GObject api for models * e-table-header.c : use GObject api for models * e-table-selection-model.c : use GObject api for models * e-table-sort-info.[ch] : GObjectify * e-table-sorted.[ch] : GObjectify * e-table-sorter.c : use GObject api for models * e-table-specification.c : use GObject api for models * e-table-state.[ch] : GObjectify * e-table-subset-variable.[ch] : GObjectify * e-table-subset.[ch] : GObjectify * e-table.c : use GObject api for models svn path=/trunk/; revision=18571
* use GObject api for models GObjectify GObjectify GObjectify GObjectifyMike Kestner2002-11-0526-867/+623
| | | | | | | | | | | | | | | | | | | | | 2002-11-05 Mike Kestner <mkestner@ximian.com> * e-table-item.c : use GObject api for models * e-table-memory-callbacks.[ch] : GObjectify * e-table-memory-store.[ch] : GObjectify * e-table-memory.[ch] : GObjectify * e-table-model.[ch] : GObjectify * e-table-one.[ch] : GObjectify * e-table-simple.[ch] : GObjectify * e-tree-memory.[ch] : GObjectify * e-tree-model.[ch] : GObjectify * e-tree-selection-model.c : use GObject api for models * e-tree-simple.[ch] : GObjectify * e-tree-sorted.[ch] : GObjectify * e-tree-table-adapter.[ch] : GObjectify * e-tree.c : use GObject api for models svn path=/trunk/; revision=18553
* use GObject api for ETableHeader use GObject api on ETableHeaderMike Kestner2002-11-0515-327/+297
| | | | | | | | | | | | | | | | | | 2002-11-04 Mike Kestner <mkestner@ximian.com> * e-table-group.c : use GObject api for ETableHeader * e-table-header-item.c : use GObject api on ETableHeader * e-table-header.[ch] : GObjectify * e-table-item.c : use GObject api on ETableHeader * e-table-search.[ch] : GObjectify * e-table-sorted.c : use GObject api for ETableHeader * e-table-sorter.c : use GObject api for ETableHeader * e-table-specification.[ch] : GObjectify * e-table-utils.c : use GObject api for ETableHeader * e-tree-sorted.c : use GObject api for ETableHeader * e-tree.c : use GObject api on Header, Spec, and Search svn path=/trunk/; revision=18531
* gobjectify ETableExtras is now a GObject (e_tree_class_init): removeMike Kestner2002-11-023-35/+18
| | | | | | | | | | 2002-11-01 Mike Kestner <mkestner@ximian.com> * e-table-extras : gobjectify * e-tree.c (et_real_construct): ETableExtras is now a GObject (e_tree_class_init): remove duplicated signals svn path=/trunk/; revision=18490
* merging the gal-2 branch back to the trunk.Mike Kestner2002-11-01108-1507/+1421
| | | | | | merging the gal-2 branch back to the trunk. svn path=/trunk/; revision=18471
* add prototypes for the _change* functions.Chris Toshok2002-10-252-19/+160
| | | | | | | | | | | | | | | | | | 2002-10-24 Chris Toshok <toshok@ximian.com> * e-table-memory-store.h: add prototypes for the _change* functions. * e-table-memory-store.c (e_table_memory_store_change_array): new function, mostly c&p from _insert_array. (e_table_memory_store_change): new function, mostly c&p from _insert. (e_table_memory_store_change_adopt_array): new function, mostly c&p from _insert_adopt_array. (e_table_memory_store_change_adopt): new function, mostly c&p from _insert_adopt. svn path=/trunk/; revision=18432
* call e_tree_state_changeMike Kestner2002-10-251-0/+2
| | | | | | | | 2002-10-24 Mike Kestner <mkestner@ximian.com> * e-tree.c (e_tree_set_state_object): call e_tree_state_change svn path=/trunk/; revision=18428
* don't emit a signal if we couldn't find the view rowJP Rosevear2002-10-221-2/+4
| | | | | | | | | 2002-10-18 JP Rosevear <jpr@ximian.com> * e-table-item.c (eti_cursor_activated): don't emit a signal if we couldn't find the view row svn path=/trunk/; revision=18405
* call drop_timeoutMike Kestner2002-10-041-2/+1
| | | | | | | | 2002-10-02 Mike Kestner <mkestner@ximian.com> * e-table-search.c (e_table_search_destroy): call drop_timeout svn path=/trunk/; revision=18319
* use the fg color array in style, not text color. Change requested by ChrisMike Kestner2002-09-281-2/+2
| | | | | | | | | 2002-09-27 Mike Kestner <mkestner@ximian.com> * e-table-item.c (eti_get_cell_foreground_color): use the fg color array in style, not text color. Change requested by Chris Lahey. svn path=/trunk/; revision=18256
* New api to set the search column on a tree without having to set a sortMike Kestner2002-09-242-0/+23
| | | | | | | | | 2002-09-24 Mike Kestner <mkestner@ximian.com> * e-tree.c (e_tree_set_search_column): New api to set the search column on a tree without having to set a sort column. svn path=/trunk/; revision=18193
* Set the selection model's selection_mode after setting the table model, orDan Winship2002-09-201-5/+2
| | | | | | | | | * e-table.c (et_real_construct): Set the selection model's selection_mode after setting the table model, or things will break in the GTK_SELECTION_SINGLE case if the table doesn't start out empty. svn path=/trunk/; revision=18121
* guard against NULL nodes.Mike Kestner2002-09-201-0/+1
| | | | | | | | 2002-09-18 Mike Kestner <mkestner@ximian.com> * e-tree-model.c (e_tree_model_is_expandable): guard against NULL nodes. svn path=/trunk/; revision=18118
* exit editing on dblclick. ungrab based on grabbed_count. unset grabbed_colMike Kestner2002-09-181-7/+8
| | | | | | | | | | 2002-09-17 Mike Kestner <mkestner@ximian.com> * gal/e-table/e-table-item.c (eti_event): exit editing on dblclick. ungrab based on grabbed_count. unset grabbed_col and grabbed_row on ungrab. svn path=/trunk/; revision=18089
* forgot to commit the po stuff from the release. also bumped the so number.Mike Kestner2002-09-111-1/+1
| | | | | | | | | | | | forgot to commit the po stuff from the release. also bumped the so number. 2002-09-10 Mike Kestner <mkestner@ximian.com> * gal/e-table/e-table-item.c (eti_event): allow keypress handling for cursor_col==-1 as long as cursor_row isn't -1 also so that e-tree searching works without click focusing an item. svn path=/trunk/; revision=18038
* And finally here.Jeffrey Stedfast2002-08-074-74/+6
| | | | | | | | | | | | | | | | | | | 2002-08-06 Jeffrey Stedfast <fejj@ximian.com> * e-tree-table-adapter.c (e_tree_table_adapter_save_expanded_state): And finally here. * e-table-state.c (e_table_state_save_to_file): Same here. * e-table-specification.c (e_table_specification_save_to_file): No need to save to a temp file first here either since e_xml_save_file now does that for us. * e-table.c (e_table_save_specification): No need to handle writing to a temp file first anymore, since I've updated e_xml_save_file() to handle that for us. svn path=/trunk/; revision=17724
* #include <string.h> for memsetJeffrey Stedfast2002-08-075-21/+125
| | | | | | | | | | | | | | | | | | | | 2002-08-06 Jeffrey Stedfast <fejj@ximian.com> * e-cell-progress.c: #include <string.h> for memset * e-table.c (e_table_save_specification): Updated to use e_xml_save_file() instead of xmlSaveFile(). Also fixed to save to a tmp file first. * e-table-specification.c (e_table_specification_save_to_file): Same as above. * e-table-state.c (e_table_state_save_to_file): Same here. * e-tree-table-adapter.c (e_tree_table_adapter_save_expanded_state): And here too. svn path=/trunk/; revision=17717
* (item_key_press): In the case of '-' and '=', checkEttore Perazzoli2002-07-241-0/+6
| | | | | | that no non-Shift modifier is pressed. svn path=/trunk/; revision=17556
* Made these able to find the potential row for a new node which will be theChristopher James Lahey2002-07-191-3/+8
| | | | | | | | | | | | 2002-07-19 Christopher James Lahey <clahey@ximian.com> * e-tree-table-adapter.c (find_next_node, find_first_child_node): Made these able to find the potential row for a new node which will be the last row. (find_row_num): Made this handle find_next_node and find_first_child_node returning n_map. svn path=/trunk/; revision=17517
* Patch by clahey.JP Rosevear2002-06-181-1/+37
| | | | | | | | | | | | | 2002-06-18 JP Rosevear <jpr@ximian.com> Patch by clahey. * e-table.c (et_get_arg): get the use_click_to_add value (et_set_arg): set the use_click_to_add_value, and either display the item or destroy it (e_table_class_init): add the use_click_to_add arg svn path=/trunk/; revision=17218
* Don't draw or interact with the popup button if a cell isn't editableChristopher James Lahey2002-06-159-30/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-06-14 Christopher James Lahey <clahey@ximian.com> * e-cell-popup.c (ecp_draw, ecp_event): Don't draw or interact with the popup button if a cell isn't editable (based on a patch by JPR.) * e-table-col.c, e-table-col.h: Added the compare_col field to this structure. Added a GtkArg to set it. * e-table-column-specification.c, e-table-column-specification.h: Added the compare_col field here. Made it load properly from xml. * e-table-sorting-utils.c: Sort based on the compare_col in the ETableCol instead of the col_idx. * e-table-utils.c (et_col_spec_to_col): Set the compare_col field in the ETableCol properly. * e-table.c, e-table.h: Removed the drag_get_data_row and drag_get_data_col fields since they're not used any longer. (e_table_construct): If specification loading fails, return a NULL ETable instead of just ignoring it. (e_table_drag_highlight): Only destroy table->drop_highlight if it exists. svn path=/trunk/; revision=17190
* Added debugging printfs.Christopher James Lahey2002-06-053-1/+13
| | | | | | | | | | | | | | | 2002-06-05 Christopher James Lahey <clahey@ximian.com> * e-table-field-chooser-item.c: Added debugging printfs. * e-table-header-item.c: Added debugging printfs. (ethi_drag_motion): Don't subtract widget->allocation.* here. It seems that this value is affected by whether the table is using a click to add field. Not sure why. * e-table-item.c (eti_realize): Check for NULL selection here. svn path=/trunk/; revision=17118
* Added debugging printfs.Christopher James Lahey2002-06-053-2/+38
| | | | | | | | | | | | | | | | 2002-06-05 Christopher James Lahey <clahey@ximian.com> * e-tree-model.c (d): Added debugging printfs. * e-tree-sorted.c (ets_proxy_node_changed, ets_proxy_node_data_changed, ets_proxy_node_col_changed, ets_proxy_node_inserted): Added a bunch of e_tree_model_no_change signals where appropriate. * e-tree-table-adapter.c (etta_proxy_node_changed): Added an e_table_model_no_change signal where appropriate. svn path=/trunk/; revision=17116
* Made it so that on realize we grab focus if we have the cursor, sinceChristopher James Lahey2002-06-051-0/+11
| | | | | | | | | | 2002-06-05 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_realize): Made it so that on realize we grab focus if we have the cursor, since otherwise, we'll change our selection on focus in. svn path=/trunk/; revision=17115
* Added this function.Christopher James Lahey2002-06-057-125/+269
| | | | | | | | | | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * e-table-header.c, e-table-header.h (e_table_header_prioritized_column_selected): Added this function. * e-table-utils.c, e-table-utils.h (e_table_util_calculate_current_search_col): Added this function. * e-table.c, e-table.h, e-tree.c: Added a "always_search" argument. If this is off, then searches only occur if there's sort. If it's on, sort takes precendence in doing searches, followed by the highest priority column shown. svn path=/trunk/; revision=17109
* Reenable tooltips if the GAL_DO_TOOLTIPS environment variable is set.Christopher James Lahey2002-06-042-2/+3
| | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_event): Reenable tooltips if the GAL_DO_TOOLTIPS environment variable is set. svn path=/trunk/; revision=17097
* Get the font from the style again when the style changes. (init): ChecksChristopher James Lahey2002-06-045-6/+64
| | | | | | | | | | | | | | | | | | | | | | | | 2002-06-03 Christopher James Lahey <clahey@ximian.com> * e-cell-text.c (ect_style_set): Get the font from the style again when the style changes. (init): Checks for the environment variable GAL_ELLIPSIS and uses that instead of ... if it is set. * e-table-click-to-add.c (finish_editing): e_table_item_leave_edit before committing. (etcta_event): Added a missing break; here. * e-table-item.c (eti_style_set): On style set, free the height cache, request a reflow and a redraw, and call eti_idle_maybe_show_cursor. (e_table_item_compute_location): Don't call eti_get_height here, just use the cached value. * e-tree.c, e-tree.h (e_tree_get_table_adapter): Added this simple accessor function. svn path=/trunk/; revision=17088
* Added would_be_expanded refactoring code out of is_expanded.Christopher James Lahey2002-05-251-16/+22
| | | | | | | | | | | | 2002-05-24 Christopher James Lahey <clahey@ximian.com> * e-tree-table-adapter.c (e_tree_table_adapter_node_would_be_expanded, e_tree_table_adapter_node_is_expanded): Added would_be_expanded refactoring code out of is_expanded. (find_first_child_node_maybe_deleted): Use the new function. svn path=/trunk/; revision=17016
* Check for path being NULL.Christopher James Lahey2002-05-212-2/+17
| | | | | | | | | | | | | 2002-05-21 Christopher James Lahey <clahey@ximian.com> * e-tree-sorted.c (ets_proxy_node_request_collapse): Check for path being NULL. * e-tree-table-adapter.c (e_tree_table_adapter_load_expanded_state): Rebuild the tree after loading the state. svn path=/trunk/; revision=16963
* Changed a lot of direct uses in this file of node->is_expanded to call theChristopher James Lahey2002-05-141-70/+76
| | | | | | | | | | | | | | | | 2002-05-13 Christopher James Lahey <clahey@ximian.com> * e-tree-table-adapter.c: Changed a lot of direct uses in this file of node->is_expanded to call the function e_tree_table_adapter_node_is_expanded instead. (e_tree_table_adapter_node_is_expanded): Improved this function to know if the root node is visible and always return it as being expanded if it's not. It also doesn't bother creating nodes if they don't exist yet, and instead figures out whether they would be expanded if they were to be created and returns that value instead. svn path=/trunk/; revision=16768
* Include string.h here.Christopher James Lahey2002-05-111-0/+2
| | | | | | | | 2002-05-10 Christopher James Lahey <clahey@ximian.com> * e-table-search.c: Include string.h here. svn path=/trunk/; revision=16749
* Switch from gnome_canvas_item_grab to e_canvas_item_grab.Christopher James Lahey2002-05-102-8/+28
| | | | | | | | | | | | | | | | | | | 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
* Bump file version to 2. (This will make older versions of gal ignore theDan Winship2002-05-101-4/+12
| | | | | | | | | | | | | | * e-tree-table-adapter.c (e_tree_table_adapter_save_expanded_state): Bump file version to 2. (This will make older versions of gal ignore the file, fixing the problem where going from evo HEAD to evo 1.0.x makes the folder tree disappear.) Store the default expanded state in the file now to prevent this from happening again in the future. (e_tree_table_adapter_load_expanded_state): Deal with version 2. If the model's default expansion state doesn't match the saved state, ignore the save file. svn path=/trunk/; revision=16736
* Added this function that lets you specify the translation domain.Christopher James Lahey2002-05-038-44/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-02 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h (e_popup_menu_create_with_domain): Added this function that lets you specify the translation domain. From gal/e-table/ChangeLog: 2002-05-02 Christopher James Lahey <clahey@ximian.com> * e-table-click-to-add.c (finish_editing): Add horizontal dividers here too. * e-table-config.c (create_global_store): Translate column headers here. * e-table-header-item.c (ethi_header_context_menu): Use e_popup_menu_create_with_domain here. * e-table-header-utils.c (e_table_header_draw_button): Translate from utf8 here before drawing. * e-table-memory-store.c, e-table-memory-store.h (e_table_memory_store_insert_adopt_array): Changed the name of this function from e_table_memory_store_insert_adopt. (e_table_memory_store_insert_adopt): Added this function which takes a ... list. * e-table-utils.c (et_col_spec_to_col): Translate column titles to utf8 here. svn path=/trunk/; revision=16668
* Added horizontal dividers to this item when in table mode.Christopher James Lahey2002-05-034-26/+28
| | | | | | | | | | | | | | | 2002-05-02 Christopher James Lahey <clahey@ximian.com> * e-table-click-to-add.c: Added horizontal dividers to this item when in table mode. * e-table.c, e-tree.c: Made the background be an e-canvas-background instead of a * e-tree.c, e-tree.h: Added a white_space_event for feature parity with ETable. svn path=/trunk/; revision=16667
* Set the gettext-domain here.Christopher James Lahey2002-05-028-30/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-01 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-completion-view.c (simple_spec), gal/widgets/e-categories-master-list-dialog.c (SPEC), gal/widgets/e-categories.c (INITIAL_SPEC): Set the gettext-domain here. * gal/util/e-i18n.h (E_I18N_DOMAIN): #define as makes sense in the different cases. From gal/e-table/ChangeLog: 2002-05-01 Christopher James Lahey <clahey@ximian.com> * e-table-config.c, e-table-config.h, e-table-specification.c, e-table-specification.h, e-table-utils.c, e-table-utils.h, e-table.c, e-table.h: Made these pay attention to the gettext-domain in the etspec. * e-table-config.c: Set the gettext-domain in the etspec here. From gal/menus/ChangeLog: 2002-05-01 Christopher James Lahey <clahey@ximian.com> * gal-define-views-dialog.c (SPEC), gal-view-instance-save-as-dialog.c (SPEC): Set the gettext-domain here. svn path=/trunk/; revision=16658
* From gal/e-table/ChangeLog:Christopher James Lahey2002-04-301-8/+8
| | | | | | | | | 2002-04-29 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_cursor_change): Redraw a row that is no longer the cursor even if this item isn't getting the new cursor. svn path=/trunk/; revision=16642
* Changed LDFLAGS to LIBS for tests here. Bumped the version number toChristopher James Lahey2002-04-302-0/+39
| | | | | | | | | | | | | | | | 2002-04-29 Christopher James Lahey <clahey@ximian.com> * configure.in: Changed LDFLAGS to LIBS for tests here. Bumped the version number to 0.19.99.15. From gal/e-table/ChangeLog: 2002-04-29 Christopher James Lahey <clahey@ximian.com> * e-tree.c, e-tree.h (e_tree_path_foreach): Added this function which recurses over all nodes, regardless of selection. svn path=/trunk/; revision=16635
* Take an int instead of a double. From a patch by jody@ximian.com.Christopher James Lahey2002-04-271-1/+1
| | | | | | | | | 2002-04-26 Christopher James Lahey <clahey@ximian.com> * e-table-field-chooser-item.c (etfci_maybe_start_drag): Take an int instead of a double. From a patch by jody@ximian.com. svn path=/trunk/; revision=16606
* Only unref etst->sort_info once.Christopher James Lahey2002-04-271-1/+0
| | | | | | | | 2002-04-26 Christopher James Lahey <clahey@ximian.com> * e-table-state.c (etst_destroy): Only unref etst->sort_info once. svn path=/trunk/; revision=16603
* Documented the life cycle requirements of the return value of theseChristopher James Lahey2002-04-272-7/+23
| | | | | | | | | | 2002-04-26 Christopher James Lahey <clahey@ximian.com> * e-table-model.c (e_table_model_value_at), e-tree-model.c (e_tree_model_value_at): Documented the life cycle requirements of the return value of these functions. svn path=/trunk/; revision=16602
* Added calls to e_table_model_pre_change here so that the ETableItemChristopher James Lahey2002-04-261-0/+4
| | | | | | | | | | | 2002-04-26 Christopher James Lahey <clahey@ximian.com> * e-table-memory-store.c (e_table_memory_store_adopt_value_at, etms_set_value_at): Added calls to e_table_model_pre_change here so that the ETableItem doesn't unfreeze more times than it freezes. svn path=/trunk/; revision=16593
* Made these handle the case where all_children_selected_array has a bitChristopher James Lahey2002-04-261-2/+7
| | | | | | | | | | | 2002-04-25 Christopher James Lahey <clahey@ximian.com> * e-tree-selection-model.c (etsm_selected_count_recurse, etsm_foreach_recurse): Made these handle the case where all_children_selected_array has a bit set, but the children of that node aren't filled in. svn path=/trunk/; revision=16590
* Ansification patch from danw.Christopher James Lahey2002-04-2650-74/+74
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-04-25 Christopher James Lahey <clahey@ximian.com> * e-cell-checkbox.c, e-cell-combo.c, e-cell-date.c, e-cell-float.c, e-cell-number.c, e-cell-pixbuf.c, e-cell-popup.c, e-cell-size.c, e-cell-spin-button.c, e-cell-text.c, e-cell-toggle.c, e-cell-tree.c, e-cell.c, e-cell.h, e-table-click-to-add.c, e-table-col.c, e-table-column-specification.c, e-table-config-field.c, e-table-config.c, e-table-extras.c, e-table-field-chooser-dialog.c, e-table-field-chooser-item.c, e-table-field-chooser.c, e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-header-item.c, e-table-header.c, e-table-item.c, e-table-memory-callbacks.c, e-table-model.c, e-table-scrolled.c, e-table-selection-model.c, e-table-sort-info.c, e-table-sorted-variable.c, e-table-sorted.c, e-table-sorter.c, e-table-specification.c, e-table-state.c, e-table-subset-variable.c, e-table-subset.c, e-table-without.c, e-table.c, e-table.h, e-tree-scrolled.c, e-tree-selection-model.c, e-tree-sorted-variable.c, e-tree-sorted.c, e-tree-table-adapter.c, e-tree.c: Ansification patch from danw. svn path=/trunk/; revision=16586
* Changed this to match the new e_table_memory_store_insert functionChristopher James Lahey2002-04-251-1/+1
| | | | | | | | | 2002-04-24 Christopher James Lahey <clahey@ximian.com> * e-table-config.c (create_global_store): Changed this to match the new e_table_memory_store_insert function prototype. svn path=/trunk/; revision=16579
* implement printing (pixbuf_print_height): implement print heightJP Rosevear2002-04-253-18/+53
| | | | | | | | | | | | | | | | 2002-04-24 JP Rosevear <jpr@ximian.com> * e-cell-pixbuf.c (pixbuf_print): implement printing (pixbuf_print_height): implement print height (e_cell_pixbuf_class_init): set printing virtual methods * e-cell-toggle.c (etog_print): remove clipping, default clipping is done by the table, scale based on toggle height * e-table-item.c (e_table_item_calculate_print_widths): make the scale 1:1 svn path=/trunk/; revision=16577
* Bumped version number to 0.19.99.14.Christopher James Lahey2002-04-232-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-04-22 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped version number to 0.19.99.14. * gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h (e_popup_menu_copy_1, e_popup_menu_free_1, e_popup_menu_copy, e_popup_menu_free): Added these functions From gal/e-table/ChangeLog: 2002-04-22 Christopher James Lahey <clahey@ximian.com> * e-table-memory-store.c, e-table-memory-store.h: Renamed the insert functions in this class to make a bit more sense. From gal/menus/ChangeLog: 2002-04-22 Christopher James Lahey <clahey@ximian.com> * gal-view-instance.c, gal-view-instance.h (gal_view_instance_get_popup_menu, gal_view_instance_free_popup_menu): Added these functions. Used to add a current view menu to your popup menus. From gal/shortcut-bar/ChangeLog: 2002-04-22 Christopher James Lahey <clahey@ximian.com> * e-icon-bar.c (e_icon_bar_drag_motion): Removed an unused variable. svn path=/trunk/; revision=16559
* Unref the sort_info.Jeffrey Stedfast2002-04-201-0/+5
| | | | | | | | 2002-04-19 Jeffrey Stedfast <fejj@ximian.com> * e-table-state.c (etst_destroy): Unref the sort_info. svn path=/trunk/; revision=16549
* After unreffing all the pixmaps, free the toggle_view->pixmap_cache.Jeffrey Stedfast2002-04-201-0/+1
| | | | | | | | | 2002-04-19 Jeffrey Stedfast <fejj@ximian.com> * e-cell-toggle.c (etog_kill_view): After unreffing all the pixmaps, free the toggle_view->pixmap_cache. svn path=/trunk/; revision=16548
* Free the priv->search_string and priv itself. More memory leak fixage.Jeffrey Stedfast2002-04-202-0/+9
| | | | | | | | | | | | 2002-04-19 Jeffrey Stedfast <fejj@ximian.com> * e-table-search.c (e_table_search_destroy): Free the priv->search_string and priv itself. More memory leak fixage. * e-tree.c (e_tree_drag_source_unset): Unref site->taget_list so we don't leak memory. svn path=/trunk/; revision=16547
* print the cell in the allotted area (etog_print_height): return the printJP Rosevear2002-04-201-0/+57
| | | | | | | | | | 2002-04-19 JP Rosevear <jpr@ximian.com> * e-cell-toggle.c (etog_print): print the cell in the allotted area (etog_print_height): return the print height svn path=/trunk/; revision=16536
* Bumped version number to 0.19.99.11.Christopher James Lahey2002-04-181-16/+16
| | | | | | | | | | | | | | | | | | | | | 2002-04-17 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped version number to 0.19.99.11. * gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h: Changed this to be API compatible with gal 0.19. Added a bunch of pound defines and added API for toggle and radio menu items. * gal/widgets/e-categories.c: Updated this to match the new EPopupMenu. From gal/e-table/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * e-table-header-item.c: Updated this to match the new EPopupMenu. svn path=/trunk/; revision=16496
* Fixed a memory leak here by using the "selection-done" signal.Christopher James Lahey2002-04-123-13/+49
| | | | | | | | | | | | 2002-04-11 Christopher James Lahey <clahey@ximian.com> * e-table-header-item.c (ethi_header_context_menu): Fixed a memory leak here by using the "selection-done" signal. * e-table.c, e-table.h (white_item_event): Added the "white_space_event" signal. svn path=/trunk/; revision=16439
* Call the parent function after doing all the internal work so that whenChristopher James Lahey2002-03-261-9/+9
| | | | | | | | | | | 2002-03-25 Christopher James Lahey <clahey@ximian.com> * e-table-memory-store.c (e_table_memory_store_insert, e_table_memory_store_insert_adopt, e_table_memory_store_remove): Call the parent function after doing all the internal work so that when the changed signal goes out, our work is already done. svn path=/trunk/; revision=16245
* +2002-03-20 Christopher James Lahey <clahey@ximian.com>Chris Lahey2002-03-221-15/+15
| | | | | | | | | + + * e-table-header-item.c: Adjust this to handle the new EPopupMenu + API. + svn path=/trunk/; revision=16223
* Check for a style_set signal on all the contained GnomeCanvasItems.Christopher James Lahey2002-03-165-0/+52
| | | | | | | | | | | | | | | | | | | | | 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
* Add a GdkPixmap * cache of rendered toggle images. This shouldChristopher James Lahey2002-03-161-48/+130
| | | | | | | | | | 2002-03-15 Christopher James Lahey <clahey@ximian.com> * e-cell-toggle.c: Add a GdkPixmap * cache of rendered toggle images. This should considerably speed up over the wire performance of ECellToggle. svn path=/trunk/; revision=16177
* New function that returns the total minimum width of all the columns.Christopher James Lahey2002-03-164-4/+39
| | | | | | | | | | | | | | | 2002-03-15 Christopher James Lahey <clahey@ximian.com> * e-table-header.c, e-table-header.h (e_table_header_min_width): New function that returns the total minimum width of all the columns. * e-table.c, e-table.h (set_header_width): Call e_table_header_min_width here instead of total_width. (et_size_request): Override the size_request method instead of doing set_usize. svn path=/trunk/; revision=16175
* Implemented capitalization keybindings.Christopher James Lahey2002-03-152-17/+91
| | | | | | | | | | | 2002-03-14 Christopher James Lahey <clahey@ximian.com> * e-cell-text.c: Implemented capitalization keybindings. * e-tree.c (item_key_press): Added parentheses to the default case here. svn path=/trunk/; revision=16168
* Made this return a boolean that returns whether the ETableSearch used theChristopher James Lahey2002-03-154-9/+12
| | | | | | | | | | | | | 2002-03-14 Christopher James Lahey <clahey@ximian.com> * e-table-search.c, e-table-search.h (e_table_search_backspace): Made this return a boolean that returns whether the ETableSearch used the backspace at all. * e-table.c (group_key_press), e-tree.c (item_key_press): Used the new return value from e_table_search_backspace. svn path=/trunk/; revision=16166
* Don't search if any modifier but SHIFT or LOCK is pressed.Ettore Perazzoli2002-03-152-4/+6
| | | | | | | | | | * e-tree.c (item_key_press): Don't search if any modifier but SHIFT or LOCK is pressed. * e-table.c (group_key_press): Don't search if any modifier but SHIFT or LOCK is pressed. svn path=/trunk/; revision=16161
* Added selected_column, focused_column, and unselected_column.Christopher James Lahey2002-03-142-17/+118
| | | | | | | | | 2002-03-13 Christopher James Lahey <clahey@ximian.com> * e-cell-pixbuf.c, e-cell-pixbuf.h (pixbuf_draw): Added selected_column, focused_column, and unselected_column. svn path=/trunk/; revision=16149
* Added this function.Christopher James Lahey2002-03-144-1/+26
| | | | | | | | | | | 2002-03-13 Christopher James Lahey <clahey@ximian.com> * e-table-search.c, e-table-search.h (e_table_search_backspace): Added this function. * e-table.c, e-tree.c: Call the new function on backspace. svn path=/trunk/; revision=16145
* Replaced e_marshal_BOOL__STRING with this since the function it was usedChristopher James Lahey2002-03-135-24/+53
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-13 Christopher James Lahey <clahey@ximian.com> * gal/util/e-util.c, gal/util/e-util.h (e_marshal_BOOL__STRING_INT): Replaced e_marshal_BOOL__STRING with this since the function it was used for has been modified. From gal/e-table/ChangeLog: 2002-03-13 Christopher James Lahey <clahey@ximian.com> * e-table-extras.c (e_string_search): Check for a NULL haystack here. * e-table-search.c, e-table-search.h: Added a parameter to the search signal here to pass in flags. Specifically, added the E_TABLE_SEARCH_FLAGS_CHECK_CURSOR_FIRST flag. Improved the search behavior here. * e-table.c, e-tree.c: Handle the new signature for the search signal here. svn path=/trunk/; revision=16139
* Added ETableSearch support.Christopher James Lahey2002-03-131-50/+164
| | | | | | | | 2002-03-13 Christopher James Lahey <clahey@ximian.com> * e-tree.c: Added ETableSearch support. svn path=/trunk/; revision=16138
* Added support for E_TABLE_MEMORY_STORE_OBJECT which represents a columnChristopher James Lahey2002-03-132-2/+17
| | | | | | | | | | 2002-03-12 Christopher James Lahey <clahey@ximian.com> * e-table-memory-store.c, e-table-memory-store.h: Added support for E_TABLE_MEMORY_STORE_OBJECT which represents a column storing a GtkObject. svn path=/trunk/; revision=16132
* Give the correct height to the subcells instead of overlapping them.Christopher James Lahey2002-03-136-19/+39
| | | | | | | | | | | | | | | | | | | 2002-03-12 Christopher James Lahey <clahey@ximian.com> * e-cell-vbox.c (ecv_draw): Give the correct height to the subcells instead of overlapping them. * e-table-header.c, e-table-header.h (e_table_header_move, eth_calc_widths): Emit the dimension_changed signal with the width of the header. * e-table-memory-store.c (duplicate_value, etms_free_value): Handle NULL pixbufs here. * e-table.c, e-table.h: Connect to the dimension_changed signal and call set_header_width. Did a bit of refactoring here. svn path=/trunk/; revision=16128
* Added e-table-search.lo.Christopher James Lahey2002-03-1214-72/+587
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-12 Christopher James Lahey <clahey@ximian.com> * gal/Makefile.am (libgal_la_LIBADD): Added e-table-search.lo. * gal/util/e-util.c, gal/util/e-util.h (e_marshal_BOOL__STRING): Added this marshal function. From gal/e-table/ChangeLog: 2002-03-12 Christopher James Lahey <clahey@ximian.com> * Makefile.am (libetable_la_SOURCES): Added e-table-search.c. (libetableinclude_HEADERS): Added e-table-search.h. * e-cell.h: Added ETableSearchFun here. * e-table-col.h: Added search here. * e-table-column-specification.c, e-table-column-specification.h: Added search here. * e-table-extras.c, e-table-extras.h (e_table_extras_add_search): Added ETableSearchFuncs here. * e-table-memory-store.c (e_table_memory_store_insert, e_table_memory_store_insert_adopt): Handle row == -1 here. * e-table-search.c, e-table-search.h: New class to reusably handle the semantics of searching for a string. * e-table-simple.c, e-table-simple.h: Added a bunch of simple functions here for if your table is all strings. Should be reusable. * e-table-utils.c (et_col_spec_to_col): Added support for searches here. * e-table.c, e-table.h: Added an ETableSearch here. svn path=/trunk/; revision=16119
* Proxy request_collapse signals.Christopher James Lahey2002-03-121-48/+65
| | | | | | | | | 2002-03-11 Christopher James Lahey <clahey@ximian.com> * e-tree-sorted.c (ets_proxy_node_request_collapse): Proxy request_collapse signals. svn path=/trunk/; revision=16116
* Added e-cell-vbox.lo.Christopher James Lahey2002-03-122-0/+556
| | | | | | | | | | | | | | | | | | 2002-03-11 Christopher James Lahey <clahey@ximian.com> * gal/Makefile.am (libgal_la_LIBADD): Added e-cell-vbox.lo. From gal/e-table/ChangeLog: 2002-03-11 Christopher James Lahey <clahey@ximian.com> * Makefile.am (libetable_la_SOURCES): Added e-cell-vbox.c. (libetableinclude_HEADERS): Added e-cell-vbox.h. * e-cell-vbox.c, e-cell-vbox.h: New ECell to take multiple other ECells and use them all in a vertical series. svn path=/trunk/; revision=16110
* Added this function to take a ... list of column data. The expected numberChristopher James Lahey2002-03-122-0/+24
| | | | | | | | | | | 2002-03-11 Christopher James Lahey <clahey@ximian.com> * e-table-memory-store.c (e_table_memory_store_insert_list): Added this function to take a ... list of column data. The expected number of parameters in the ... is the number of columns in the table. svn path=/trunk/; revision=16109
* Added a pixbuf column type.Christopher James Lahey2002-03-126-38/+69
| | | | | | | | | | | | | | 2002-03-11 Christopher James Lahey <clahey@ximian.com> * e-table-memory-store.c, e-table-memory-store.h (E_TABLE_MEMORY_STORE_PIXBUF): Added a pixbuf column type. * e-table-specification.c, e-table-specification.h: Added horizontal-resize attribute. * e-table.c, e-table.h: Handle horizontal_resize. svn path=/trunk/; revision=16108
* Handle a collapse request by marking all descendents of that node asChristopher James Lahey2002-03-095-125/+193
| | | | | | | | | | | | | | | | | | | | 2002-03-08 Christopher James Lahey <clahey@ximian.com> * e-tree-memory.c (etmm_node_request_collapse): Handle a collapse request by marking all descendents of that node as needing their children recomputed. * e-tree-model.c, e-tree-model.h (e_tree_model_node_request_collapse): Added this signal to request that the view of your tree collapse this node. * e-tree-selection-model.c (etsm_selected_count): Pass the root of the sorted model here instead of the root of the base model. * e-tree-table-adapter.c (etta_proxy_node_request_collapse): Handle a collapse request by collapsing the node in the tree. svn path=/trunk/; revision=15990
* Added a fill_in_children signal.Christopher James Lahey2002-03-082-5/+50
| | | | | | | | | 2002-03-08 Christopher James Lahey <clahey@ximian.com> * e-tree-memory.c, e-tree-memory.h (check_children): Added a fill_in_children signal. svn path=/trunk/; revision=15988
* Re-disable tooltips since they're (still) fantastically obnoxious withDan Winship2002-03-061-2/+0
| | | | | | | * e-table-item.c: Re-disable tooltips since they're (still) fantastically obnoxious with focus-follows-mouse. (OKed by Ettore). svn path=/trunk/; revision=15927
* only call the cell's print method if it has one. Avoids crashing forDamon Chaplin2002-03-051-1/+2
| | | | | | | | | 2002-03-04 Damon Chaplin <damon@ximian.com> * e-cell.c (e_cell_print): only call the cell's print method if it has one. Avoids crashing for unimplemented print methods. svn path=/trunk/; revision=15903
* Added e-table-memory-store.lo.Christopher James Lahey2002-02-2211-184/+1101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-21 Christopher James Lahey <clahey@ximian.com> * gal/Makefile.am (libgal_la_LIBADD): Added e-table-memory-store.lo. From gal/e-table/ChangeLog: 2002-02-21 Christopher James Lahey <clahey@ximian.com> * Makefile.am (libetable_la_SOURCES): Added e-table-memory-store.c. (libetableinclude_HEADERS): Added e-table-memory-store.h. * e-table-config-no-group.glade, e-table-config.glade: Updated these. * e-table-config.c, e-table-config.h: Updated this to have a working field list editor. * e-table-memory-store.c, e-table-memory-store.h: New ETableModel that is a complete store of all the data in your table. No callbacks at all. * e-table-subset-variable.c, e-table-subset-variable.h (e_table_subset_variable_clear): Added this simple function * e-table-subset.c (etss_get_save_id): Made this return the row number g_strdup_printfed if the source model doesn't support save ids. 2002-02-20 Christopher James Lahey <clahey@ximian.com> * e-table-sorter.c, e-table-sorter.h: Connect to the model_rows_inserted, model_rows_deleted, and group_info_changed here. svn path=/trunk/; revision=15783
* Initialize frozen_count to 0.Christopher James Lahey2002-02-201-0/+2
| | | | | | | | | 2002-02-19 Christopher James Lahey <clahey@ximian.com> * e-tree-selection-model.c (e_tree_selection_model_init): Initialize frozen_count to 0. svn path=/trunk/; revision=15765
* Make the defalut for tooltips be on.Christopher James Lahey2002-02-141-2/+1
| | | | | | | | 2002-02-13 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_event): Make the defalut for tooltips be on. svn path=/trunk/; revision=15719
* Cancel tooltip timeouts here.Christopher James Lahey2002-02-131-8/+25
| | | | | | | | 2002-02-12 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_unrealize): Cancel tooltip timeouts here. svn path=/trunk/; revision=15686
* Call scroll_off and in e-tree.c hover_off.Christopher James Lahey2002-02-092-8/+29
| | | | | | | | | 2002-02-08 Christopher James Lahey <clahey@ximian.com> * e-table.c (et_unrealize), e-tree.c (et_unrealize): Call scroll_off and in e-tree.c hover_off. svn path=/trunk/; revision=15618
* *** empty log message ***Chris Lahey2002-02-077-38/+239
| | | | svn path=/trunk/; revision=15588
* Made this function much more readable. Got rid of all the gotos. Fixed aChristopher James Lahey2002-02-012-37/+54
| | | | | | | | | | | | | | | 2002-01-31 Christopher James Lahey <clahey@ximian.com> * e-tree-model.c (e_tree_model_node_find): Made this function much more readable. Got rid of all the gotos. Fixed a case where going backwards during a root search checked the root node first. (e_tree_model_node_real_traverse): Made backwards traversals be postorder, as they should be, instead of preorder. * e-tree.c (find_next_callback): Use an extra callback function here to go from sorted path to model path. svn path=/trunk/; revision=15543
* Make this function take a bitfield of parameters instead of two bools.Christopher James Lahey2002-01-312-6/+12
| | | | | | | | | 2002-01-31 Christopher James Lahey <clahey@ximian.com> * e-tree.c, e-tree.h (e_tree_find_next): Make this function take a bitfield of parameters instead of two bools. svn path=/trunk/; revision=15538
* Added this simple accessor function.Christopher James Lahey2002-01-314-0/+49
| | | | | | | | | | | | | | 2002-01-31 Christopher James Lahey <clahey@ximian.com> * e-tree-selection-model.c, e-tree-selection-model.h (e_tree_selection_model_get_cursor): Added this simple accessor function. * e-tree.c, e-tree.h (e_tree_find_next): Searches from the cursor given the search parameters and moves the cursor if it ever matches. svn path=/trunk/; revision=15537
* New function to do a search through a tree in one direction or the other.Christopher James Lahey2002-01-312-89/+206
| | | | | | | | | | 2002-01-31 Christopher James Lahey <clahey@ximian.com> * e-tree-model.c, e-tree-model.h (e_tree_model_node_find): New function to do a search through a tree in one direction or the other. svn path=/trunk/; revision=15536
* Implement max_width_by_row.Christopher James Lahey2002-01-224-126/+211
| | | | | | | | | | | | | 2002-01-21 Christopher James Lahey <clahey@ximian.com> * e-cell-text.c: Implement max_width_by_row. * e-cell-tree.c: Use max_width_by_row in max_width function. * e-cell.c, e-cell.h (e_cell_max_width_by_row): Added this new method to ECell. svn path=/trunk/; revision=15418
* new file, implements the ECellProgress object.Krisztian Pifko2002-01-172-0/+524
| | | | | | | | | | | | 2002-01-16 Krisztian Pifko <monsta@users.sourceforge.net> * e-cell-progress.c, e-cell-progress.h: new file, implements the ECellProgress object. * Makefile.am (libetable_la_SOURCES, libetableinclude_HEADERS): added e-cell-progress.c and e-cell-progress.h. svn path=/trunk/; revision=15341
* Added #include <libgnome/gnome-defs.h>.Christopher James Lahey2002-01-1728-0/+31
| | | | | | | | | | | | | | | | | 2002-01-16 Christopher James Lahey <clahey@ximian.com> * e-cell-checkbox.h, e-cell-date.h, e-cell-float.h, e-cell-number.h, e-cell-size.h, e-cell-text.h, e-cell-toggle.h, e-cell-tree.h, e-cell.h, e-table-click-to-add.h, e-table-col-dnd.h, e-table-config-field.h, e-table-extras.h, e-table-field-chooser-item.h, e-table-group-container.h, e-table-group-leaf.h, e-table-group.h, e-table-header-item.h, e-table-item.h, e-table-scrolled.h, e-table-sorter.h, e-table-tooltip.h, e-table-tree.h, e-table-utils.h, e-table.h, e-tree-scrolled.h, e-tree-sorted-variable.h, e-tree.h: Added #include <libgnome/gnome-defs.h>. svn path=/trunk/; revision=15339
* New functions for saving selection state and such.Christopher James Lahey2002-01-165-23/+210
| | | | | | | | | | | | | | | | 2002-01-15 Christopher James Lahey <clahey@ximian.com> * e-cell.c, e-cell.h (e_cell_save_state, e_cell_load_state, e_cell_free_state): New functions for saving selection state and such. * e-cell-text.c (ect_save_state): Implemented the new state functions. * e-table-item.c, e-table-item.h: Use the new cell state functions when focusing in or out. Fixes Ximian bug #14968. svn path=/trunk/; revision=15335
* Made the header item here handle horizontal scrolling when adding aChristopher James Lahey2002-01-102-23/+157
| | | | | | | | | | 2002-01-09 Christopher James Lahey <clahey@ximian.com> * e-table-header-item.c, e-table-header-item.h (scroll_timeout): Made the header item here handle horizontal scrolling when adding a column. svn path=/trunk/; revision=15278
* Bumped version number to 0.19.99.0. Bumped GAL_CURRENT. ResetChristopher James Lahey2002-01-093-43/+87
| | | | | | | | | | | | | | | | | 2002-01-09 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped version number to 0.19.99.0. Bumped GAL_CURRENT. Reset GAL_REVISION. From gal/e-table/ChangeLog: 2002-01-09 Christopher James Lahey <clahey@ximian.com> * e-table.c, e-table.h (scroll_timeout), e-tree.c (scroll_timeout): Made these handle horizontal scrolling during drags. svn path=/trunk/; revision=15272
* Collapse nodes that were opened during a drag, unless the drop site is aChristopher James Lahey2002-01-091-3/+53
| | | | | | | | | | 2002-01-09 Christopher James Lahey <clahey@ximian.com> * e-tree.c (collapse_drag): Collapse nodes that were opened during a drag, unless the drop site is a child node. Fixes Ximian bug #4965. svn path=/trunk/; revision=15271
* Merging changes:Christopher James Lahey2001-12-191-11/+2
| | | | | | | | | 2001-12-17 Christopher James Lahey <clahey@ximian.com> * e-cell-toggle.c (etog_set_value): Don't queue a redraw here. the value changed signal will do that automatically. svn path=/trunk/; revision=15160
* Merging changes:Christopher James Lahey2001-12-171-28/+27
| | | | | | | | | 2001-12-12 Christopher James Lahey <clahey@ximian.com> * e-cell-text.c (ect_stop_editing): Change to not editing before committing values. Then commit the values. svn path=/trunk/; revision=15104
* Merging changes:Christopher James Lahey2001-12-171-11/+23
| | | | | | | | | | | | | | | | | 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
* unregister ETableHeaderItem widget as a drag target when unrealizing it.Gustavo Giráldez2001-12-121-0/+2
| | | | | | | | | 2001-12-11 Gustavo Giráldez <gustavo.giraldez@gmx.net> * gal/e-table/e-table-header-item.c (ethi_unrealize): unregister ETableHeaderItem widget as a drag target when unrealizing it. svn path=/trunk/; revision=14996
* Merging files:Christopher James Lahey2001-12-113-1/+8
| | | | | | | | | | | | 2001-12-06 Christopher James Lahey <clahey@ximian.com> * e-table-config.c, e-table-config.h (setup_gui): Set the title of the window here. * e-table-header-item.c (ethi_popup_customize_view): Use a useful string for the header here. svn path=/trunk/; revision=14975
* Merging changes:Christopher James Lahey2001-12-111-2/+0
| | | | | | | | | 2001-12-06 Christopher James Lahey <clahey@ximian.com> * e-table-subset.c (etss_get_view_row): Removed incorrect calls to e_table_model_row_changed here. svn path=/trunk/; revision=14973
* Merging changes:Christopher James Lahey2001-12-111-8/+16
| | | | | | | | | | | 2001-12-05 Christopher James Lahey <clahey@ximian.com> * e-table-header-item.c (ethi_find_col_by_x, ethi_find_col_by_x_nearest): Made these return 0 to the left of all columns and ethi_find_col_by_x return cols - 1 if to the right of all columns. Fixes Ximian bug #14414. svn path=/trunk/; revision=14971
* Merging changes:Christopher James Lahey2001-12-071-0/+2
| | | | | | | | | 2001-12-04 Christopher James Lahey <clahey@ximian.com> * e-tree-selection-model.c (e_tree_selection_model_change_cursor): Unset selection->old_selection here. svn path=/trunk/; revision=14912
* Merging changes:Christopher James Lahey2001-12-055-60/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-12-04 Christopher James Lahey <clahey@ximian.com> * configure.in (GAL_CURRENT): Bumped version number to 0.18.99.0 and CURRENT to 19. 2001-11-21 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-reflow.c, gal/widgets/e-reflow.h: Handle selection_row_changed signal. * gal/widgets/e-selection-model-array.c, gal/widgets/e-selection-model-array.h: Properly send selection_row_changed signals if changing from a single row selected to a single other row selected or if moving the selection_end by a single row. * gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h: Added selection_row_changed signal. (e_selection_model_select_as_key_press): Fixed the case statement here to make MULTIPLE and EXTENDED the same as BROWSE instead of as SINGLE. From gal/e-table/ChangeLog: 2001-11-21 Christopher James Lahey <clahey@ximian.com> * e-table-item.c, e-table-item.h: Handle selection_row_changed signal. Keep track of the old cursor row so that we only redraw two rows when the cursor changes. * e-table.c, e-tree.c: Handle selection_row_changed signal. * e-tree-selection-model.c: Properly send selection_row_changed signals if changing from a single row selected to a single other row selected or if moving the selection_end by a single row. svn path=/trunk/; revision=14870
* Merging changes:Christopher James Lahey2001-12-042-11/+15
| | | | | | | | | | 2001-11-28 Christopher James Lahey <clahey@ximian.com> * e-table.c (context_destroyed), e-tree.c (context_destroyed): Check for et being destroyed here before doing anything. Fixes Ximian bug #15728. svn path=/trunk/; revision=14864
* Merging changes:Christopher James Lahey2001-12-043-53/+410
| | | | | | | | | 2001-12-04 Christopher James Lahey <clahey@ximian.com> * e-table-group.c, e-table.c, e-tree.c: Changed some comments. Added a bunch of documentation here. svn path=/trunk/; revision=14861
* Ungrab and set maybe_in_grab to FALSE before sending the double clickChristopher James Lahey2001-11-151-0/+17
| | | | | | | | | 2001-11-14 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_event): Ungrab and set maybe_in_grab to FALSE before sending the double click signal. svn path=/trunk/; revision=14708
* Handle the case where page up or page down goes off the end of the tableChristopher James Lahey2001-11-152-0/+18
| | | | | | | | | | 2001-11-10 Christopher James Lahey <clahey@ximian.com> * e-table.c (group_key_press), e-tree.c (item_key_press): Handle the case where page up or page down goes off the end of the table or tree. svn path=/trunk/; revision=14702
* Don't select all if the source model doesn't have a root node (it used toChristopher James Lahey2001-11-111-1/+6
| | | | | | | | | | 2001-11-07 Christopher James Lahey <clahey@ximian.com> * e-tree-selection-model.c (etsm_select_all): Don't select all if the source model doesn't have a root node (it used to crash.) Fixes Ximian bug #14542. svn path=/trunk/; revision=14661
* Make a printout here be conditionally compiled (and compiled out byChristopher James Lahey2001-11-111-1/+1
| | | | | | | | | 2001-11-08 Christopher James Lahey <clahey@ximian.com> * e-table-sorter.c (ets_sort_info_changed): Make a printout here be conditionally compiled (and compiled out by default.) svn path=/trunk/; revision=14660
* Fixed stupid bug (U_ macro should always take one argument).Chyla Zbigniew2001-11-091-4/+5
| | | | | | | | | * gal/util/e-unicode-i18n.h: Fixed stupid bug (U_ macro should always take one argument). * gal/e-table/e-table-group-container.c (compute_text): s/_/U_ svn path=/trunk/; revision=14632
* New functions here.Christopher James Lahey2001-11-063-9/+32
| | | | | | | | | | | | | 2001-11-03 Christopher James Lahey <clahey@ximian.com> * e-cell-popup.c, e-cell-popup.h (e_cell_popup_set_shown, e_cell_popup_queue_cell_redraw): New functions here. * e-cell-combo.c: Use e_cell_popup_set_shown to set the popup_shown variable so that ECellPopup can properly request a redraw. svn path=/trunk/; revision=14592
* We should only pre_change here if frozen = 0, otherwise we'll leakChristopher James Lahey2001-11-062-3/+6
| | | | | | | | | | | | | | 2001-11-03 Christopher James Lahey <clahey@ximian.com> * e-tree-memory.c (e_tree_memory_freeze): We should only pre_change here if frozen = 0, otherwise we'll leak pre_changes. Helps fix Ximian bug #14422. * e-tree-sorted.c (ets_proxy_node_data_changed, ets_proxy_node_col_changed): Send a no_change signal here if given a NULL path. Helps fix Ximian bug #14422. svn path=/trunk/; revision=14591
* Bumped the version number to 0.17.99.0. Bumped the soname to 18.Christopher James Lahey2001-11-032-1/+4
| | | | | | | | | | | | | | | | | | | | | 2001-11-03 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the version number to 0.17.99.0. Bumped the soname to 18. * gal/widgets/e-categories.c (e_categories_destroy): Got rid of a GtkWarning here that was due to Gtk+ casting a NULL pointer. Fixes Ximian bug #14327. From gal/e-table/ChangeLog: 2001-11-02 Christopher James Lahey <clahey@ximian.com> * e-cell-popup.c, e-cell-popup.h (e_cell_popup_do_popup): Make ECellPopup not display multiple arrows while the popup is up and the table is in grouped mode. Fixes Ximian bug #14207. svn path=/trunk/; revision=14580
* Fixed the signature of this function.Christopher James Lahey2001-11-011-1/+1
| | | | | | | | | 2001-10-31 Christopher James Lahey <clahey@ximian.com> * e-tree-selection-model.c (etsm_node_deleted): Fixed the signature of this function. svn path=/trunk/; revision=14560
* Bumped the version number to 0.16.99.0 and GAL_CURRENT to 17.Christopher James Lahey2001-11-016-4/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-31 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the version number to 0.16.99.0 and GAL_CURRENT to 17. From gal/e-table/ChangeLog: 2001-10-31 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_unfreeze): Check for unfreezing past 0 here and give a warning. (eti_add_table_model): Call eti_freeze here since eti_table_model_changed will call unfreeze. * e-tree-memory.c (e_tree_memory_node_remove): Send deleted signal after freeing the child. * e-tree-model.c, e-tree-model.h: Added node_deleted signal. removed/deleted signals will always come in pairs in that order with a single pre_change for both of them. * e-tree-selection-model.c (etsm_node_deleted): Clear the tree on deleted here instead of on removed. * e-tree-sorted.c (ets_proxy_node_deleted): Chain deleted here. Chains to NULL node which is fine for now. svn path=/trunk/; revision=14557
* Added frozen_count variable to know not to show the cursor while a changeChristopher James Lahey2001-10-3115-90/+393
| | | | | | | | | | | | | | | | | | | | | | | 2001-10-31 Christopher James Lahey <clahey@ximian.com> * e-table-item.c, e-table-item.h: Added frozen_count variable to know not to show the cursor while a change is going on. * e-table-model.c, e-table-model.h, e-tree-model.c, e-tree-model.h: Added a model_no_change signal to pair with a pre_change if there's no change. * e-table-selection-model.h: Removed an unused frozen field here. * e-table-sorted.c, e-table-subset.c, e-table-subset.h, e-table-without.c, e-tree-memory.c, e-tree-sorted.c, e-tree-table-adapter.c: Made sure pre_changes were all matched by some change. Proxy no_change signal where appropriate. * e-tree-selection-model.c: Keep track of the frozen_count variable to know whether a change is going on. svn path=/trunk/; revision=14523
* Leave edit if commit is called.Christopher James Lahey2001-10-311-8/+16
| | | | | | | | | 2001-10-30 Christopher James Lahey <clahey@ximian.com> * e-table.c (e_table_commit_click_to_add): Leave edit if commit is called. svn path=/trunk/; revision=14487
* Request the right regions here. The range given is inclusive, notChristopher James Lahey2001-10-311-2/+2
| | | | | | | | | | 2001-10-30 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_show_cursor, eti_check_cursor_bounds): Request the right regions here. The range given is inclusive, not inclusive/exclusive. svn path=/trunk/; revision=14479
* Remove point handler and just let GnomeCanvasGroup handle it.Christopher James Lahey2001-10-312-11/+3
| | | | | | | | | | | | 2001-10-30 Christopher James Lahey <clahey@ximian.com> * e-table-click-to-add.c (etcta_class_init): Remove point handler and just let GnomeCanvasGroup handle it. * e-table.c (e_table_commit_click_to_add): Don't commit the click_to_add if there's no click_to_add to commit. svn path=/trunk/; revision=14476
* Bumped the version number here to 0.15.99.10.Christopher James Lahey2001-10-312-0/+8
| | | | | | | | | | | | | | | 2001-10-30 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the version number here to 0.15.99.10. From gal/e-table/ChangeLog: 2001-10-30 Christopher James Lahey <clahey@ximian.com> * e-table.c (e_table_commit_click_to_add): Added this new function to allow the user to specify a commit. svn path=/trunk/; revision=14473
* Fix this to check from initial instead of initial + 1.Christopher James Lahey2001-10-301-1/+1
| | | | | | | | | 2001-10-30 Christopher James Lahey <clahey@ximian.com> * e-tree-sorted.c (check_last_access): Fix this to check from initial instead of initial + 1. svn path=/trunk/; revision=14445
* Bumped the version number here to 0.15.99.9.Christopher James Lahey2001-10-305-44/+72
| | | | | | | | | | | | | | | | | | | | | | | 2001-10-30 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the version number here to 0.15.99.9. From gal/e-table/ChangeLog: 2001-10-30 Christopher James Lahey <clahey@ximian.com> * e-cell-combo.c: Adapt to the changed popup signature. * e-cell-popup.c, e-cell-popup.h: Changed the behavior here to draw the button whenever we have the cursor. Changed the popup virtual method to pass in the row and column popping up. * e-cell.h: Added an E_CELL_CURSOR flag. * e-table-item.c: Pass in the E_CELL_CURSOR flag to event and draw calls as appropriate. svn path=/trunk/; revision=14439
* Ignore buttons 4 and 5 here. Fixes Ximian bug #13853.Christopher James Lahey2001-10-302-12/+16
| | | | | | | | | | 2001-10-29 Christopher James Lahey <clahey@ximian.com> * e-table.c (et_canvas_root_event), e-tree.c (et_canvas_root_event): Ignore buttons 4 and 5 here. Fixes Ximian bug #13853. svn path=/trunk/; revision=14376
* Hide the Help button here since there's nothing connected to it.Christopher James Lahey2001-10-302-2/+21
| | | | | | | | | | | | 2001-10-29 Christopher James Lahey <clahey@ximian.com> * e-table-config.c (setup_gui): Hide the Help button here since there's nothing connected to it. * e-tree-sorted.c (ets_sort_idle): Don't nest ets_sort_idle calls. Fixes Ximian bug #13929. svn path=/trunk/; revision=14368
* Don't go outside the table looking for matches when doing the last_accessChristopher James Lahey2001-10-303-16/+17
| | | | | | | | | | | 2001-10-29 Christopher James Lahey <clahey@ximian.com> * e-table-subset.c (etss_get_view_row), e-tree-sorted.c (check_last_access), e-tree-table-adapter.c (find_row_num): Don't go outside the table looking for matches when doing the last_access search. svn path=/trunk/; revision=14359
* Fix crash here.Christopher James Lahey2001-10-281-1/+1
| | | | | | | | 2001-10-28 Christopher James Lahey <clahey@ximian.com> * e-table.c (table_canvas_focus_event_cb): Fix crash here. svn path=/trunk/; revision=14279
* Removed erroneous comment about needing to handle selection better.Christopher James Lahey2001-10-281-2/+0
| | | | | | | | | 2001-10-28 Christopher James Lahey <clahey@ximian.com> * e-cell-text.c: Removed erroneous comment about needing to handle selection better. svn path=/trunk/; revision=14272
* Chain the cursor_activated signal even if the row is -1.Christopher James Lahey2001-10-272-11/+10
| | | | | | | | | | | | 2001-10-26 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_cursor_activated): Chain the cursor_activated signal even if the row is -1. * e-tree.c (item_cursor_activated): Don't error out here if path is NULL. svn path=/trunk/; revision=14185
* Changed the license announcement at the top of these files.Christopher James Lahey2001-10-272-38/+38
| | | | | | | | | 2001-10-26 Christopher James Lahey <clahey@ximian.com> * e-cell-float.c, e-cell-float.h: Changed the license announcement at the top of these files. svn path=/trunk/; revision=14168
* Changed the license announcement at the top of these files.Christopher James Lahey2001-10-27128-495/+2554
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-26 Christopher James Lahey <clahey@ximian.com> * e-cell-checkbox.c, e-cell-checkbox.h, e-cell-combo.c, e-cell-combo.h, e-cell-date.c, e-cell-date.h, e-cell-number.c, e-cell-number.h, e-cell-pixbuf.c, e-cell-pixbuf.h, e-cell-popup.c, e-cell-popup.h, e-cell-size.c, e-cell-size.h, e-cell-spin-button.c, e-cell-spin-button.h, e-cell-string.c, e-cell-text.c, e-cell-text.h, e-cell-toggle.c, e-cell-toggle.h, e-cell-tree.c, e-cell-tree.h, e-cell.c, e-cell.h, e-table-click-to-add.c, e-table-click-to-add.h, e-table-col-dnd.h, e-table-col.c, e-table-col.h, e-table-column-specification.c, e-table-column-specification.h, e-table-column.c, e-table-config-field.c, e-table-config-field.h, e-table-config.c, e-table-config.h, e-table-defines.h, e-table-example-1.c, e-table-example-2.c, e-table-extras.c, e-table-extras.h, 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.h, e-table-group-container.c, e-table-group-container.h, e-table-group-leaf.c, e-table-group-leaf.h, e-table-group.c, e-table-group.h, e-table-header-item.c, e-table-header-item.h, e-table-header-utils.c, e-table-header-utils.h, e-table-header.c, e-table-header.h, e-table-item.c, e-table-item.h, e-table-memory-callbacks.c, e-table-memory-callbacks.h, e-table-memory.c, e-table-memory.h, e-table-model.c, e-table-model.h, e-table-one.c, e-table-one.h, e-table-scrolled.c, e-table-scrolled.h, e-table-selection-model.c, e-table-selection-model.h, e-table-simple.c, e-table-simple.h, e-table-size-test.c, e-table-sort-info.c, e-table-sort-info.h, e-table-sorted-variable.c, e-table-sorted-variable.h, e-table-sorted.c, e-table-sorted.h, e-table-sorter.c, e-table-sorter.h, e-table-sorting-utils.c, e-table-sorting-utils.h, e-table-specification.c, e-table-specification.h, e-table-state.c, e-table-state.h, e-table-subset-variable.c, e-table-subset-variable.h, e-table-subset.c, e-table-subset.h, e-table-tooltip.h, e-table-tree.h, e-table-utils.c, e-table-utils.h, e-table-without.c, e-table-without.h, e-table.c, e-table.h, e-tree-memory-callbacks.c, e-tree-memory-callbacks.h, e-tree-memory.c, e-tree-memory.h, e-tree-model.c, e-tree-model.h, e-tree-scrolled.c, e-tree-scrolled.h, e-tree-selection-model.c, e-tree-selection-model.h, e-tree-simple.c, e-tree-simple.h, e-tree-sorted-variable.c, e-tree-sorted-variable.h, e-tree-sorted.c, e-tree-sorted.h, e-tree-table-adapter.c, e-tree-table-adapter.h, e-tree.c, e-tree.h, table-test.c, table-test.h, test-check.c, test-cols.c, test-table.c: Changed the license announcement at the top of these files. * e-cell-string.c: Removed unused file. svn path=/trunk/; revision=14154
* Document allow-grouping attribute.Christopher James Lahey2001-10-265-10/+24
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-26 Christopher James Lahey <clahey@ximian.com> * docs/etablexml.txt: Document allow-grouping attribute. * tests/test-table-1.c (SPEC): Updated this to test the allow_grouping=\"false\" attribute. From gal/e-table/ChangeLog: 2001-10-26 Christopher James Lahey <clahey@ximian.com> * e-table-config.c (config_group_info_update, config_fields_info_update): Added some checks for NULL labels here. * e-table-specification.c, e-table-specification.h: Added allow_grouping field. Fixes Ximian bug #13412. * e-table.c, e-table.h: Added allow_grouping field. Set this field for the sort infos from state objects. svn path=/trunk/; revision=14134
* If the root node is hidden and selected, don't count it in the selectedChristopher James Lahey2001-10-262-23/+48
| | | | | | | | | | | | | 2001-10-26 Christopher James Lahey <clahey@ximian.com> * e-tree-selection-model.c (etsm_selected_count): If the root node is hidden and selected, don't count it in the selected path count. * e-tree.c (et_canvas_root_event): Attach to the event handler on the root canvas item instead of the canvas itself when making the ETree leave editing state. svn path=/trunk/; revision=14128
* Fixes Ximian bug #6832.Federico Mena Quintero2001-10-262-5/+76
| | | | | | | | | | | | | | | | | | | | 2001-10-25 Federico Mena Quintero <federico@ximian.com> Fixes Ximian bug #6832. * e-table.c (e_table_setup_table): Use a callback instead of gtk_widget_queue_draw() for focus events, as the latter does not have the correct prototype for an event handler. (group_start_drag): Emit START_DRAG, not KEY_PRESS! (focus_first_etable_item): Focus the first row in the first ETableItem if there is no focused item. * e-tree.c (e_tree_setup_table): Same change as in e_table_setup_table(). (table_canvas_focus_event_cb): Focus the first row in the tree item if there is no focused item. svn path=/trunk/; revision=14124
* Added #include "gal/widgets/e-unicode.h".Christopher James Lahey2001-10-255-41/+157
| | | | | | | | | | | | | | | | | | | | | | | | 2001-10-24 Christopher James Lahey <clahey@ximian.com> * e-cell-combo.c: Added #include "gal/widgets/e-unicode.h". * e-cell-text.c: Added lots of deactivated debugging printfs here. (ect_event): Fixed the flags check here. Set edit->actions to 0 before calling e_text_event_processor_handle_event. * e-table-item.c, e-table-item.h: Use eti_grab and eti_ungrab all over the place. Added lots and lots of deactivated debugging printfs here. (eti_grab, eti_ungrab): New functions to encapsulate grabbing and ungrabbing the cursor and to allow for recursive grabs (refcounting style.) * e-table.c: Added deactivated debugging printfs here. (et_canvas_root_event): Attach to the event handler on the root canvas item instead of the canvas itself when making the ETable leave editing state. Fixes Ximian bug #9737. svn path=/trunk/; revision=14072
* save the UTF-8 strings inside the listitem widgets, but convert to theDamon Chaplin2001-10-241-6/+27
| | | | | | | | | | | | | 2001-10-23 Damon Chaplin <damon@ximian.com> * e-cell-combo.c (e_cell_combo_set_popdown_strings): save the UTF-8 strings inside the listitem widgets, but convert to the locale to use in the label. (e_cell_combo_select_matching_item): (e_cell_combo_update_cell): use the UTF-8 strings instead of the listitem labels. Hopefully fixes bug #7037. svn path=/trunk/; revision=13954
* Got rid of the gc argument to e_table_header_draw_button.Christopher James Lahey2001-10-245-27/+40
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-23 Christopher James Lahey <clahey@ximian.com> * e-table-field-chooser-item.c: Got rid of the gc argument to e_table_header_draw_button. (etfci_font_load): Just use the style font here. * e-table-group-container.c (e_table_group_container_construct): Changed this to just use the font from the style. Fixes Ximian bug #11882. * e-table-header-item.c: Got rid of the gc argument to e_table_header_draw_button. (ethi_font_load): Changed this to just fallback on the font from the style if the fontname is NULL or doesn't load to a font. Fixes Ximian bug #11882. * e-table-header-utils.c, e-table-header-utils.h (e_table_header_draw_button): Got rid of the gc parameter here and changed to use the gc from the style of a button created for this purpose, but not shown. Fixes Ximian bug #13251. svn path=/trunk/; revision=13949
* Got rid of the gc field here and just use the fg_gc from the style forChristopher James Lahey2001-10-232-11/+2
| | | | | | | | | | 2001-10-23 Christopher James Lahey <clahey@ximian.com> * e-table-header-item.c, e-table-header-item.h: Got rid of the gc field here and just use the fg_gc from the style for drawing the buttons. svn path=/trunk/; revision=13936
* Make this check immediately for whether to show the cursor, instead of inChristopher James Lahey2001-10-232-5/+13
| | | | | | | | | | | | | 2001-10-22 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_idle_maybe_show_cursor): Make this check immediately for whether to show the cursor, instead of in the idle handler. * e-tree-table-adapter.c (e_tree_table_adapter_node_set_expanded): Added a pre_change here since we send two changes. svn path=/trunk/; revision=13931
* Call e_tree_model_pre_change here where appropriate.Christopher James Lahey2001-10-231-0/+2
| | | | | | | | | 2001-10-22 Christopher James Lahey <clahey@ximian.com> * e-tree-memory.c (e_tree_memory_sort_node): Call e_tree_model_pre_change here where appropriate. svn path=/trunk/; revision=13929
* Cancel the drag or maybe drag if you have the mouse button down when theChristopher James Lahey2001-10-232-6/+27
| | | | | | | | | | | | | | 2001-10-22 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_cancel_drag_due_to_model_change): Cancel the drag or maybe drag if you have the mouse button down when the pre_change signal comes in. Fixes Ximian bug #11309. * e-table-without.c (add_row, remove_row, e_table_without_show_all): Call e_table_model_pre_change where appropriate here. svn path=/trunk/; revision=13927
* added set_value() class method, which sets the model value based on theDamon Chaplin2001-10-234-37/+65
| | | | | | | | | | | | | | | | | 2001-10-22 Damon Chaplin <damon@ximian.com> * e-cell-text.[hc]: added set_value() class method, which sets the model value based on the text. In ECellText itself it assumes the model value is a char* and passes the text directly. Subclasses may parse the text into some other datatype. Also made the calls the e_cell_text_get_text(), e_cell_text_free_text() and e_cell_text_set_value() public, since we need them in ECellCombo. * e-cell-combo.c (e_cell_combo_select_matching_item): (e_cell_combo_update_cell): use e_cell_text_get_text()/free_text()/ set_value() so it can handle subclasses of ECellText as the child. svn path=/trunk/; revision=13901
* Added a disabled field here.Christopher James Lahey2001-10-237-25/+66
| | | | | | | | | | | | | | | 2001-10-22 Christopher James Lahey <clahey@ximian.com> * e-table-col.c, e-table-col.h, e-table-column-specification.c, e-table-column-specification.h: Added a disabled field here. * e-table-config.c, e-table-field-chooser-item.c: Pay attention to the disabled field here. * e-table-utils.c: Copy the disabled field from the column specification to the col. svn path=/trunk/; revision=13897
* Don't convert to locale here since EText takes UTF8 strings. Fixes XimianChristopher James Lahey2001-10-211-9/+3
| | | | | | | | | | 2001-10-20 Christopher James Lahey <clahey@ximian.com> * e-table-group-container.c (compute_text): Don't convert to locale here since EText takes UTF8 strings. Fixes Ximian bug #8906. svn path=/trunk/; revision=13836
* Check for num_children == -1 here and generate the children if theyChristopher James Lahey2001-10-201-0/+5
| | | | | | | | | | 2001-10-20 Christopher James Lahey <clahey@ximian.com> * e-tree-sorted.c (e_tree_sorted_node_num_children): Check for num_children == -1 here and generate the children if they haven't been. Fixes Ximian bug #12464. svn path=/trunk/; revision=13819
* Added bounds checking in a number of places. (etta_init): Initialize allChristopher James Lahey2001-10-171-17/+41
| | | | | | | | | | | | 2001-10-16 Christopher James Lahey <clahey@ximian.com> * e-tree-table-adapter.c (find_next_node_maybe_deleted, find_first_child_node_maybe_deleted, find_next_node, find_first_child_node, find_row_num): Added bounds checking in a number of places. (etta_init): Initialize all the fields here. svn path=/trunk/; revision=13712
* Use new e_table_header_prioritized_column field.Christopher James Lahey2001-10-138-27/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-12 Christopher James Lahey <clahey@ximian.com> * e-table-click-to-add.c (set_initial_selection): Use new e_table_header_prioritized_column field. * e-table-header.c, e-table-header.h (e_table_header_prioritized_column): New function. Refactors the code from ETableClickToAdd to find the column with the highest priority. * e-table-selection-model.c, e-table-selection-model.h (model_changed_idle): Changed this function to use the e_table_header_prioritized_column function. Added an argument to set the "header" on this selection model. * e-table-utils.h: Indentation cleanup. * e-table.c (et_real_construct): Set the "header" argument on the selection model here. * e-table.h: #include <gal/e-table/e-table-sorter.h> svn path=/trunk/; revision=13633
* Copy the can group state on the sort info here.Christopher James Lahey2001-10-131-0/+4
| | | | | | | | | 2001-10-12 Christopher James Lahey <clahey@ximian.com> * e-table-state.c (e_table_state_duplicate): Copy the can group state on the sort info here. svn path=/trunk/; revision=13625
* Implement these functions as pass through to the child cell.Christopher James Lahey2001-10-117-47/+178
| | | | | | | | | | | | | | | | | | | | 2001-10-10 Christopher James Lahey <clahey@ximian.com> * e-cell-popup.c (ecp_get_bg_color), e-cell-tree.c (ect_get_bg_color): Implement these functions as pass through to the child cell. * e-cell-text.c, e-cell-text.h (ect_get_bg_color): Implemented this using a bg_color_column which can be set through the argument of the same string. * e-cell.c, e-cell.h (e_cell_get_bg_color): Added this function to allow background color to change by cell. * e-table-item.c (eti_get_cell_background_color): Call e_cell_get_bg_color to allow background color to change by cell. svn path=/trunk/; revision=13566
* Added this function.Christopher James Lahey2001-10-102-94/+105
| | | | | | | | | 2001-10-10 Christopher James Lahey <clahey@ximian.com> * e-table.c, e-table.h (e_table_get_selection_model): Added this function. svn path=/trunk/; revision=13548
* Final un-bit rotting. Now actually works.Morten Welinder2001-10-093-37/+100
| | | | svn path=/trunk/; revision=13504
* More bit-rot fighting in example.Morten Welinder2001-10-091-24/+19
| | | | svn path=/trunk/; revision=13502
* Partial bit-rot fight. Sample still does not work.Morten Welinder2001-10-083-11/+56
| | | | svn path=/trunk/; revision=13498
* Check that cell views are realized before doing anything here. FixesChristopher James Lahey2001-10-071-0/+12
| | | | | | | | | | | | 2001-10-06 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_show_cursor, eti_check_cursor_bounds): Check that cell views are realized before doing anything here. Fixes Ximian bug #11919. (eti_check_cursor_on_screen): If the cursor values are all set to -1, don't do anything. svn path=/trunk/; revision=13488
* Handle row and cell changes properly in the uniform_row_height case.Christopher James Lahey2001-10-071-6/+3
| | | | | | | | | | 2001-10-06 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_table_model_row_changed, eti_table_model_cell_changed): Handle row and cell changes properly in the uniform_row_height case. svn path=/trunk/; revision=13485
* Use g_dataset_set_data_full to find out when the context is destroyed.Christopher James Lahey2001-10-062-0/+45
| | | | | | | | | | 2001-10-06 Christopher James Lahey <clahey@ximian.com> * e-tree.c (context_destroyed), e-table.c (context_destroyed): Use g_dataset_set_data_full to find out when the context is destroyed. Fixes Ximian bug #8502 and Ximian bug #11691. svn path=/trunk/; revision=13482
* Got rid of the misused button variable here.Christopher James Lahey2001-10-061-6/+3
| | | | | | | | | 2001-10-05 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_event): Got rid of the misused button variable here. svn path=/trunk/; revision=13468
* Sort the list of categories. (Bug 8088)Jon Trowbridge2001-10-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-05 Jon Trowbridge <trow@ximian.com> * gal/widgets/e-categories-master-list-combo.c (ecmlc_ecml_changed): Sort the list of categories. (Bug 8088) 2001-10-05 Jon Trowbridge <trow@ximian.com> * e-table-without.c (e_table_without_show_all): We need to take the row count from the source model, not from the ETableWithout. This typo is why contacts kept disappearing in the SelectNames dialog. (Bugs 9326, 10916) 2001-10-04 Jon Trowbridge <trow@ximian.com> * e-icon-bar.c (e_icon_bar_add_item): Don't call gdk_pixbuf_ref if image is NULL. * e-shortcut-model.c (e_shortcut_model_real_get_item_info): Check to make sure we don't call gdk_pixbuf_ref on NULL, which causes a warning. svn path=/trunk/; revision=13465
* Fixed the uniform_row_height + confirm_row_hieght_cache crash.Christopher James Lahey2001-10-061-6/+10
| | | | | | | | | 2001-10-05 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_set_arg): Fixed the uniform_row_height + confirm_row_hieght_cache crash. svn path=/trunk/; revision=13452
* Adapted height method to deal with a row of -1.Christopher James Lahey2001-10-0511-96/+234
| | | | | | | | | | | | | | 2001-10-05 Christopher James Lahey <clahey@ximian.com> * e-cell-text, e-cell-pixbuf: Adapted height method to deal with a row of -1. * e-table-group-container.c, e-table-group-container.h, e-table-group-leaf.c, e-table-group-leaf.h, e-table-item.c, e-table-item.h, e-table.c, e-table.h, e-tree.c: Added "uniform_row_height" argument. svn path=/trunk/; revision=13440
* *.c s/->childs/->xmlChildrenNode/g;Michael Meeks2001-10-052-4/+4
| | | | | | | | 2001-10-06 Michael Meeks <michael@ximian.com> * *.c s/->childs/->xmlChildrenNode/g; svn path=/trunk/; revision=13431
* add E_OBJECT_CLASS_ADD_SIGNALS and E_OBJECT_CLASS_TYPE to ease migrationMichael Meeks2001-10-0517-86/+93
| | | | | | | | | | | | | | | 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
* Sometimes put off maybe showing the cursor until an idle callback.Christopher James Lahey2001-10-042-13/+35
| | | | | | | | | | | | | | 2001-10-04 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_idle_maybe_show_cursor): Sometimes put off maybe showing the cursor until an idle callback. * e-tree-selection-model.c (add_model): Use connect_after to connect to all the signals. This means we can assume the sorted tree and table adapters are both done. This also means that those objects cannot assume that the selection is already changed. svn path=/trunk/; revision=13406
* Initialize the hash field. (model_changed_idle): Send cursor changed andChristopher James Lahey2001-10-031-6/+12
| | | | | | | | | | | | 2001-10-03 Christopher James Lahey <clahey@ximian.com> * e-table-selection-model.c (e_table_selection_model_init): Initialize the hash field. (model_changed_idle): Send cursor changed and selection changed signals. (model_pre_change): If there's no cursor here, make sure to set the cursor_id to NULL. svn path=/trunk/; revision=13373
* Pick which field of the row to select based on priority.Christopher James Lahey2001-10-036-13/+43
| | | | | | | | | | | | | | | | | 2001-10-03 Christopher James Lahey <clahey@ximian.com> * e-table-click-to-add.c (set_initial_selection): Pick which field of the row to select based on priority. * e-table-col.c, e-table-col.h: Added the priority field to this class. Adapted the _new functions appropriately. * e-table-column-specification.c, e-table-column-specification.h: Added the priority field to this class. * e-table-utils.c (et_col_spec_to_col): Handle the priority field here. svn path=/trunk/; revision=13370
* Only show the cursor during changes if it was already shown. Fixes XimianChristopher James Lahey2001-10-022-68/+208
| | | | | | | | | | 2001-10-02 Christopher James Lahey <clahey@ximian.com> * e-table-item.c, e-table-item.h: Only show the cursor during changes if it was already shown. Fixes Ximian bug #9810 and Ximian bug #4048. svn path=/trunk/; revision=13297
* Stop the sort idle if the root node gets changed.Christopher James Lahey2001-09-291-5/+15
| | | | | | | | | 2001-09-28 Christopher James Lahey <clahey@ximian.com> * e-tree-sorted.c (ets_proxy_node_changed): Stop the sort idle if the root node gets changed. svn path=/trunk/; revision=13227
* Set the step_increment on the horizontal scrollbars here to 20.Christopher James Lahey2001-09-262-0/+12
| | | | | | | | | 2001-09-26 Christopher James Lahey <clahey@ximian.com> * e-table.c, e-tree.c: Set the step_increment on the horizontal scrollbars here to 20. svn path=/trunk/; revision=13146
* Set cursor_path = NULL here.Christopher James Lahey2001-09-261-0/+2
| | | | | | | | | 2001-09-26 Christopher James Lahey <clahey@ximian.com> * e-tree-selection-model.c (etsm_node_changed, etsm_destroy): Set cursor_path = NULL here. svn path=/trunk/; revision=13144
* Commit patch from Chris to implement e_tree_right_click_up() forEttore Perazzoli2001-09-265-1/+24
| | | | | | correct right-click behavior in single selection mode. svn path=/trunk/; revision=13123
* Attach to the resorted signal instead of the changed signal on the sortedChristopher James Lahey2001-09-253-77/+54
| | | | | | | | | | | | | 2001-09-24 Christopher James Lahey <clahey@ximian.com> * e-tree-selection-model.c (etsm_sorted_node_resorted): Attach to the resorted signal instead of the changed signal on the sorted model. * e-tree-sorted.c, e-tree-sorted.h (e_tree_sorted_node_resorted): Added this signal. svn path=/trunk/; revision=13108
* Use the correct prototype for the signal handler.Federico Mena Quintero2001-09-252-6/+8
| | | | | | | | | | | 2001-09-24 Federico Mena Quintero <federico@ximian.com> * e-table.c (et_canvas_button_press): Use the correct prototype for the signal handler. * e-tree.c (et_canvas_button_press): Likewise. svn path=/trunk/; revision=13105
* Assert that the virtual method is implemented instead of being forgiving.Federico Mena Quintero2001-09-254-111/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-24 Federico Mena Quintero <federico@ximian.com> * e-table-group.c (e_table_group_add): Assert that the virtual method is implemented instead of being forgiving. (e_table_group_add_array): Likewise. (e_table_group_add_all): Likewise. (e_table_group_remove): Likewise. (e_table_group_increment): Likewise. (e_table_group_decrement): Likewise. (e_table_group_row_count): Likewise. (e_table_group_set_focus): Likewise. (e_table_group_get_focus): Likewise. (e_table_group_get_focus_column): Likewise. (e_table_group_get_printable): Likewise. (e_table_group_compute_location): Likewise. (e_table_group_get_cell_geometry): Likewise. (etg_destroy): Clear the fields after we unref them. * e-table-group-leaf.c (etgl_destroy): Clear the fields after we unref them. (e_table_group_leaf_construct): Subsets should not be sunk. Do not ref/sink the subset. * e-table-header.c (e_table_header_add_column): Document the fact that the header assumes ownership of the column. svn path=/trunk/; revision=13102
* Bumped the version number to 0.12.99.0.Christopher James Lahey2001-09-231-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | 2001-09-22 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the version number to 0.12.99.0. From a patch by Damian Ivereigh <damian@cisco.com>: * gal/util/e-util.c, gal/util/e-util.h (e_strftime_fix_am_pm): New function, takes the same arguments as strftime, but does some fixup if the given string is in 12 hour mode but the locale doesn't have AM/PM descriptors. From gal/e-table/ChangeLog: 2001-09-22 Christopher James Lahey <clahey@ximian.com> From a patch by Damian Ivereigh <damian@cisco.com>: * e-cell-date.c: Made this use e_strftime_fix_am_pm instead of strftime. svn path=/trunk/; revision=13081
* Remove the grab if ->grabbed.Ettore Perazzoli2001-09-211-0/+5
| | | | | | * e-table-item.c (eti_unrealize): Remove the grab if ->grabbed. svn path=/trunk/; revision=13024
* Confirm row count here. (etsm_get_row_count): Make sure etsm->model isn'tChristopher James Lahey2001-09-201-1/+5
| | | | | | | | | | 2001-09-19 Christopher James Lahey <clahey@ximian.com> * e-table-selection-model.c (add_model): Confirm row count here. (etsm_get_row_count): Make sure etsm->model isn't NULL here. If it is, it's not an error. Return 0 in this case. svn path=/trunk/; revision=12993
* Bumped version number to 0.11.99.4.Christopher James Lahey2001-09-1713-208/+215
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-16 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped version number to 0.11.99.4. * gal/e-text/e-completion-view.c (e_completion_view_construct), tests/test-table-1.c (create_table): Changed the parameters to e_table_simple_new here to adjust to changes in the interface. * gal/widgets/e-categories-master-list-array.c (ecmla_default): Fixed a memory leak here. * gal/widgets/e-categories.c (e_categories_get_save_id): Added get_save_id here so that selection would be maintained across changes. From gal/e-table/ChangeLog: 2001-09-16 Christopher James Lahey <clahey@ximian.com> * e-table-model.c, e-table-model.h (e_table_model_class_init): Rearranged order of has_save_id and get_save_id to be more consistent with ETree. * e-table-selection-model.c, e-table-selection-model.h: Turned on the code to maintain selection and cursor across changes if the model supports get_save_id. * e-table-simple.c, e-table-simple.h: Changed this interface to take all of the ETableModel functions in the _new function. * e-table-subset.c (etss_has_save_id, etss_get_save_id): Added these to properly proxy the save_id functionality. * e-tree-memory-callbacks.c, e-tree-memory-callbacks.h, e-tree-model.c, e-tree-model.h, e-tree-sorted.c: Made the save_id parameter to get_node_by_id be const char * instead of char *. * e-tree-table-adapter.c (etta_class_init): Rearranged some assignments here to be more consistent. svn path=/trunk/; revision=12869
* Changed this to change state on button down, even if we aren't editing.Christopher James Lahey2001-09-141-14/+11
| | | | | | | | | 2001-09-13 Christopher James Lahey <clahey@ximian.com> * e-cell-toggle.c (etog_event): Changed this to change state on button down, even if we aren't editing. svn path=/trunk/; revision=12803
* Changed which widget to connect signals to to watch for drag & drop. FixesChristopher James Lahey2001-09-111-4/+4
| | | | | | | | | | 2001-09-10 Christopher James Lahey <clahey@ximian.com> * e-tree.c (e_tree_setup_table): Changed which widget to connect signals to to watch for drag & drop. Fixes Ximian bugs #7450 & #8732. svn path=/trunk/; revision=12744
* Fixed a silly little obvious bug.Jon Trowbridge2001-09-081-3/+3
| | | | | | | | | 2001-09-07 Jon Trowbridge <trow@ximian.com> * e-table-without.c (e_table_without_show_all): Fixed a silly little obvious bug. svn path=/trunk/; revision=12695
* Added GDK_BUTTON_PRESS_MASK to our button mask. Fixes Ximian bug #8241.Christopher James Lahey2001-09-081-1/+1
| | | | | | | | | 2001-09-07 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_event): Added GDK_BUTTON_PRESS_MASK to our button mask. Fixes Ximian bug #8241. svn path=/trunk/; revision=12685
* Don't do_something on button_release if we did something on button_press.Christopher James Lahey2001-09-082-2/+8
| | | | | | | | | | 2001-09-07 Christopher James Lahey <clahey@ximian.com> * e-table-item.c, e-table-item.h (eti_event): Don't do_something on button_release if we did something on button_press. Fixes Ximian bug #3742. svn path=/trunk/; revision=12680
* Added e-table-config-no-group.glade.Christopher James Lahey2001-09-083-102/+1734
| | | | | | | | | | | 2001-09-07 Christopher James Lahey <clahey@ximian.com> * Makefile.am: Added e-table-config-no-group.glade. * e-table-config-no-group.glade, e-table-config.c, e-table-config.glade: Removed the fields bit of ETableConfig. svn path=/trunk/; revision=12678
* Added this function.Christopher James Lahey2001-09-082-2/+30
| | | | | | | | | 2001-09-07 Christopher James Lahey <clahey@ximian.com> * e-table-without.c, e-table-without.h (e_table_without_show_all): Added this function. svn path=/trunk/; revision=12677
* Remove debugging message.Ettore Perazzoli2001-09-051-2/+0
| | | | | | * e-tree.c (e_tree_drag_unhighlight): Remove debugging message. svn path=/trunk/; revision=12599
* Strip spaces at the beginning or end as well as changing " " to " ". FixesChristopher James Lahey2001-09-021-3/+13
| | | | | | | | | 2001-09-02 Christopher James Lahey <clahey@ximian.com> * e-cell-date.c (ecd_get_text): Strip spaces at the beginning or end as well as changing " " to " ". Fixes Ximian bug #7683. svn path=/trunk/; revision=12560
* Rename these functions from ecn_get_text and ecn_free_text.Christopher James Lahey2001-09-019-24/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-01 Christopher James Lahey <clahey@ximian.com> * e-cell-float.c (ecf_get_text, ecf_free_text): Rename these functions from ecn_get_text and ecn_free_text. * e-cell-tree.c (ect_height): Make sure the height is a multiple of two here. * e-table-header-item.c, e-table-header-item.h: Added a "tree" argument so that the sorting can be set by right clicking on the header item. * e-table-item.c (eti_table_model_rows_deleted): Added some assertions here. * e-tree-selection-model.c (etsm_find_node_unless_equals): Fixed indentation. * e-tree-table-adapter.c (etta_proxy_node_changed): Rewrote this to be more readable. (e_tree_table_adapter_node_set_expanded): Added an assertion. * e-tree.c, e-tree.h (e_tree_get_spec): Added this function. (e_tree_setup_header): Set the tree argument on the ETableHeaderItem here. svn path=/trunk/; revision=12553
* Fix this memmove. We've already subtracted the count from eti->rows.Christopher James Lahey2001-09-011-1/+2
| | | | | | | | | 2001-08-31 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_table_model_rows_deleted): Fix this memmove. We've already subtracted the count from eti->rows. svn path=/trunk/; revision=12550
* Patch to fix few 64bit issuesGeorge Lebl2001-08-292-20/+20
| | | | | | | | | | | | | | | | | | | | | | Tue Aug 28 18:29:28 2001 George Lebl <jirka@5z.com> Patch to fix few 64bit issues * gal/e-table/e-table-header-item.c (ethi_draw) (ethi_start_drag) gal/widgets/e-categories.c (e_categories_value_at) (e_categories_value_to_string): Use GINT_TO_POINTER and GPOINTER_TO_INT to cast between pointers and ints to fix 64bit issues connected with that. * gal/e-table/e-table-sorting-utils.c (e_table_sorting_utils_tree_check_position) gal/util/e-sorter-array.c (e_sorter_array_append): Use size_t for size not ints to fix crashes * gal/e-text/e-completion-match.c, gal/e-text/e-completion.c: Include <string.h> svn path=/trunk/; revision=12507
* Fixed this memmove to subtract the count as well as the row for the numberChristopher James Lahey2001-08-271-1/+1
| | | | | | | | | | 2001-08-27 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_table_model_rows_deleted): Fixed this memmove to subtract the count as well as the row for the number of rows to move. svn path=/trunk/; revision=12482
* Convert UTF-8 strings to locale's encoding before putting them in canvasChyla Zbigniew2001-08-251-6/+14
| | | | | | | | * e-table-group-container.c (compute_text): Convert UTF-8 strings to locale's encoding before putting them in canvas item. svn path=/trunk/; revision=12472
* Fixed typo.Chyla Zbigniew2001-08-251-1/+1
| | | | | | * e-table.c (e_table_init): Fixed typo. svn path=/trunk/; revision=12467
* Added start_drag signals.Christopher James Lahey2001-08-2511-255/+329
| | | | | | | | | | | | | | | | | | 2001-08-24 Christopher James Lahey <clahey@ximian.com> * e-table-group-container.c, e-table-group-leaf.c, e-table-group-leaf.h, e-table-group.c, e-table-group.h: Added start_drag signals. * e-table-item.c, e-table-item.h (eti_event): Send the start_drag signal. Fixes Ximian bug #807. * e-table.c, e-table.h, e-tree.c, e-tree.h: Added start_drag signal. Made default handler start drag & drop if we're set to automatically handle dnd. Ripped out the code to handle watching events for dnd since start_drag does this now. svn path=/trunk/; revision=12437
* We need to free_gotten_key_func key2, not key! (e_table_without_show):Jon Trowbridge2001-08-212-8/+10
| | | | | | | | | | | | | | | | | | | | 2001-08-20 Jon Trowbridge <trow@ximian.com> * e-table-without.c (check_with_key): We need to free_gotten_key_func key2, not key! (e_table_without_show): Renamed, used to be e_table_without_remove. Double-negative function names are confusing! (e_table_without_hide_adopt): Renamed, used to be e_table_without_add_adopt. (e_table_without_hide): Renamed, used to be e_table_without_add. 2001-08-20 Jon Trowbridge <trow@ximian.com> * configure.in: Increment version number to 0.10.99.5 for changes to ETableWithout api. svn path=/trunk/; revision=12332
* Added these functions.Christopher James Lahey2001-08-212-8/+33
| | | | | | | | | | 2001-08-20 Christopher James Lahey <clahey@ximian.com> * e-table-subset.c, e-table-subset.h (e_table_subset_model_to_view_row, e_table_subset_view_to_model_row): Added these functions. svn path=/trunk/; revision=12317
* Made this object handle NULLs for all the handler functions.Christopher James Lahey2001-08-211-8/+22
| | | | | | | | | 2001-08-20 Christopher James Lahey <clahey@ximian.com> * e-table-without.c: Made this object handle NULLs for all the handler functions. svn path=/trunk/; revision=12316
* Changed the used parity of the return value of check here.Christopher James Lahey2001-08-211-2/+2
| | | | | | | | | | 2001-08-20 Christopher James Lahey <clahey@ximian.com> * e-table-without.c (etw_proxy_model_rows_inserted, etw_proxy_model_changed): Changed the used parity of the return value of check here. svn path=/trunk/; revision=12313
* Chain to the destroy handler in the parent class. Hey, I'm getting used toFederico Mena Quintero2001-08-181-0/+2
| | | | | | | | | 2001-08-18 Federico Mena Quintero <federico@ximian.com> * e-table-without.c (etw_destroy): Chain to the destroy handler in the parent class. Hey, I'm getting used to this :) svn path=/trunk/; revision=12199
* Destroy the hash table and all objects in it, as well as the privChristopher James Lahey2001-08-171-2/+32
| | | | | | | | | 2001-08-17 Christopher James Lahey <clahey@ximian.com> * e-table-without.c (etw_destroy): Destroy the hash table and all objects in it, as well as the priv structure. svn path=/trunk/; revision=12147
* Bumped version number to 0.10.99.4. Fixed some comments.Christopher James Lahey2001-08-172-34/+206
| | | | | | | | | | | | | | | | | | | | | 2001-08-16 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped version number to 0.10.99.4. Fixed some comments. * gal/Makefile.am (libgal_la_LIBADD): Added e-table/e-table-without.lo. From gal/e-table/ChangeLog: 2001-08-16 Christopher James Lahey <clahey@ximian.com> * Makefile.am: Added e-table-without.c and e-table-without.h. * e-table-without.c, e-table-without.h: Got this to compile. Finished the first version of it. svn path=/trunk/; revision=12144
* Adding the first versions of these files. Doesn't work yet.Christopher James Lahey2001-08-172-0/+181
| | | | | | | | | 2001-08-16 Christopher James Lahey <clahey@ximian.com> * e-table-without.c, e-table-without.h: Adding the first versions of these files. Doesn't work yet. svn path=/trunk/; revision=12121
* Destroy, do not unref, the popup_window.Federico Mena Quintero2001-08-151-1/+2
| | | | | | | | | 2001-08-14 Federico Mena Quintero <federico@ximian.com> * e-cell-combo.c (e_cell_combo_destroy): Destroy, do not unref, the popup_window. svn path=/trunk/; revision=12021
* Workaround for Ximian bug #6795. Will prevent a crash and doesn't seem toPeter Williams2001-08-141-1/+1
| | | | | | | | | | | 2001-08-14 Peter Williams <peterw@ximian.com> * e-tree-selection-model.c (etsm_selected_count_recurse): Workaround for Ximian bug #6795. Will prevent a crash and doesn't seem to cause any problems, but the underlying problem still exists. svn path=/trunk/; revision=12010
* Handle GDK_KP_Page_Up, GDK_KP_Page_Down, GDK_KP_Right, and GDK_KP_LeftChristopher James Lahey2001-08-142-4/+6
| | | | | | | | | | 2001-08-14 Christopher James Lahey <clahey@ximian.com> * e-table.c (group_key_press), e-tree.c (item_key_press): Handle GDK_KP_Page_Up, GDK_KP_Page_Down, GDK_KP_Right, and GDK_KP_Left here. svn path=/trunk/; revision=11996
* Got rid of event forwarding for double clicks and releases and such andChristopher James Lahey2001-08-141-6/+1
| | | | | | | | | | 2001-08-14 Christopher James Lahey <clahey@ximian.com> * e-table-click-to-add.c (etcta_event): Got rid of event forwarding for double clicks and releases and such and for single clicks except when first creating the row object. svn path=/trunk/; revision=11993
* If the sort_info can't group, hide the grouping button and label.Christopher James Lahey2001-08-115-10/+47
| | | | | | | | | | | | | | | | | | | | | | 2001-08-10 Christopher James Lahey <clahey@ximian.com> * e-table-config.c (setup_gui): If the sort_info can't group, hide the grouping button and label. * e-table-header-item.c (ethi_header_context_menu): Removed the Group By This Field menu item if the sort_info doesn't support grouping. * e-table-sort-info.c, e-table-sort-info.h (e_table_sort_info_get_can_group, e_table_sort_info_set_can_group): Added these functions. * e-tree.c (e_tree_set_state_object, et_real_construct): Set can_group to FALSE for all our sort infos. (e_tree_get_state_object): Fixed a potential gtk_object_ref (NULL) here. svn path=/trunk/; revision=11896
* new proto and virtual methodJP Rosevear2001-08-104-6/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-10 JP Rosevear <jpr@ximian.com> * gal/widgets/e-canvas-vbox.h: new proto and virtual method * gal/widgets/e-canvas-vbox.c (e_canvas_vbox_real_add_item_start): adds the the item to the beginning (e_canvas_vbox_add_item_start): call the virtual method 2001-08-10 JP Rosevear <jpr@ximian.com> * e-table.c (et_build_groups): add the items to the start or end based on where the click to add should be (e_table_setup_table): ditto (et_real_construct): read additional spec flag * e-table.h: new flag * e-table-specification.c (etsp_init): init new flag (e_table_specification_load_from_node): set click to add end flag (e_table_specification_save_to_node): write out flag * e-table-specification.h: new flag svn path=/trunk/; revision=11880
* Initialize ret_val. (do_drag_motion): Same.Jeffrey Stedfast2001-08-101-2/+2
| | | | | | | | | 2001-08-09 Jeffrey Stedfast <fejj@ximian.com> * e-tree.c (et_drag_drop): Initialize ret_val. (do_drag_motion): Same. svn path=/trunk/; revision=11861
* Added a "header" argument to these structures which just gets passedChristopher James Lahey2001-08-097-26/+186
| | | | | | | | | | | | | | | | | 2001-08-09 Christopher James Lahey <clahey@ximian.com> * e-table-field-chooser-dialog.c, e-table-field-chooser-dialog.h, e-table-field-chooser.c, e-table-field-chooser.h: Added a "header" argument to these structures which just gets passed downwards. * e-table-field-chooser-item.c, e-table-field-chooser-item.h: Added a "header" argument here. Made it so that only rows that aren't already in the header are shown. * e-table-header-item.c: Set the "header" argument on our e-table-field-chooser-dialog. Fixes Ximian bug #2654. svn path=/trunk/; revision=11828
* Chain to the destroy handler in the parent class!Federico Mena Quintero2001-08-094-1/+15
| | | | | | | | | | | | | | | | 2001-08-08 Federico Mena Quintero <federico@ximian.com> * e-cell-pixbuf.c (pixbuf_destroy): Chain to the destroy handler in the parent class! * e-table-field-chooser.c (e_table_field_chooser_destroy): Likewise. Sigh. * e-table-one.c (one_destroy): Likewise. Double sigh. * e-tree-selection-model.c (etsm_destroy): Likewise. Triple sigh. svn path=/trunk/; revision=11811
* Call the super-class destroy function when done.Not Zed2001-08-081-0/+2
| | | | | | | | | 2001-08-08 Not Zed <NotZed@Ximian.com> * e-table-sort-info.c (etsi_destroy): Call the super-class destroy function when done. svn path=/trunk/; revision=11782
* Check for row >= 0 here. (etgl_destroy): Disconnect from all the signalsChristopher James Lahey2001-08-082-15/+50
| | | | | | | | | | | 2001-08-08 Christopher James Lahey <clahey@ximian.com> * e-table-group-leaf.c, e-table-group-leaf.h (etgl_key_press): Check for row >= 0 here. (etgl_destroy): Disconnect from all the signals we connect to on our ETableItem here. svn path=/trunk/; revision=11766
* Implemented this function. Fixes Ximian bug #5353.Christopher James Lahey2001-08-081-6/+50
| | | | | | | | | 2001-08-07 Christopher James Lahey <clahey@ximian.com> * e-tree-selection-model.c (etsm_selected_count): Implemented this function. Fixes Ximian bug #5353. svn path=/trunk/; revision=11753
* Make tree nodes open if you hover over them while drag & dropping.Christopher James Lahey2001-08-081-0/+71
| | | | | | | | | 2001-08-07 Christopher James Lahey <clahey@ximian.com> * e-tree.c: Make tree nodes open if you hover over them while drag & dropping. svn path=/trunk/; revision=11746
* Added scrolling to access nodes that are scrolled off screen for drops.Christopher James Lahey2001-08-073-64/+290
| | | | | | | | | | | | | 2001-08-07 Christopher James Lahey <clahey@ximian.com> * e-tree.c (scroll_timeout): Added scrolling to access nodes that are scrolled off screen for drops. Fixes Ximian bug #5645. * e-table.c, e-table.h (scroll_timeout): Added scrolling to access rows that are scrolled off screen for drops. This doesn't work for some reason, but I'm checking the code in. svn path=/trunk/; revision=11724
* Implemented these functions.Christopher James Lahey2001-08-073-6/+110
| | | | | | | | | | | | 2001-08-06 Christopher James Lahey <clahey@ximian.com> * e-table.c, e-table.h (e_table_drag_highlight, e_table_drag_unhighlight): Implemented these functions. * e-tree.c (e_tree_drag_highlight, e_tree_drag_unhighlight): Implemented these functions. svn path=/trunk/; revision=11713
* Set the hadjustment and vadjustment here. From a patch by KevinChristopher James Lahey2001-08-051-2/+4
| | | | | | | | | | 2001-08-04 Christopher James Lahey <clahey@ximian.com> * e-tree-scrolled.c (e_tree_scrolled_new): Set the hadjustment and vadjustment here. From a patch by Kevin Vandersloot <kfv101@psu.edu>. Fixes Ximian bug #6400. svn path=/trunk/; revision=11684
* Change these to actually subtract the allocation as they should.Christopher James Lahey2001-08-041-3/+6
| | | | | | | | | 2001-08-03 Christopher James Lahey <clahey@ximian.com> * e-tree.c (et_drag_motion, et_drag_drop, et_drag_data_received): Change these to actually subtract the allocation as they should. svn path=/trunk/; revision=11649
* e_tree_table_adapter_node_at_row would have pulled data from one past theChristopher James Lahey2001-08-041-6/+8
| | | | | | | | | | | 2001-08-03 Christopher James Lahey <clahey@ximian.com> * e-tree-table-adapter.c (e_tree_table_adapter_node_at_row): e_tree_table_adapter_node_at_row would have pulled data from one past the end of its array if you asked it to and the root was hidden. Fixed it. Fixes Ximian bug #4761. svn path=/trunk/; revision=11647
* Subtracted 27.Christopher James Lahey2001-08-041-0/+3
| | | | | | | | | 2001-08-03 Christopher James Lahey <clahey@ximian.com> * e-tree.c (et_drag_motion, et_drag_drop, et_drag_data_received): Subtracted 27. svn path=/trunk/; revision=11624
* Make the right and left key presses be marked as handled here (i.e.,Christopher James Lahey2001-08-031-0/+2
| | | | | | | | | | 2001-08-02 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_event): Make the right and left key presses be marked as handled here (i.e., return 1 always.) Fixes Ximian bug #2090. svn path=/trunk/; revision=11592
* Changed all e_table_model_is_cell_editable calls in this file to be on theChristopher James Lahey2001-08-031-3/+3
| | | | | | | | | 2001-08-02 Christopher James Lahey <clahey@ximian.com> * e-table-item.c: Changed all e_table_model_is_cell_editable calls in this file to be on the model column instead of the view column. svn path=/trunk/; revision=11589
* Set et->priv to NULL here just to be sure.Christopher James Lahey2001-08-031-0/+1
| | | | | | | | | 2001-08-02 Christopher James Lahey <clahey@ximian.com> * e-tree.c (et_destroy): Set et->priv to NULL here just to be sure. svn path=/trunk/; revision=11588
* Don't do most of the work in this function if data->data is NULL. FixesChristopher James Lahey2001-08-031-21/+27
| | | | | | | | | | 2001-08-02 Christopher James Lahey <clahey@ximian.com> * e-table-header-item.c (ethi_drag_data_received): Don't do most of the work in this function if data->data is NULL. Fixes Ximian bug #6041. svn path=/trunk/; revision=11587
* Set the et->cursor_loc *before* committing the click-to-add to avoidFederico Mena Quintero2001-08-021-3/+7
| | | | | | | | | | 2001-08-01 Federico Mena Quintero <federico@ximian.com> * e-table.c (group_cursor_change): Set the et->cursor_loc *before* committing the click-to-add to avoid reentrancy issues if the table model changes while the click-to-add is being committed. svn path=/trunk/; revision=11564
* Make this function not crash if x somehow doesn't land on some column.Christopher James Lahey2001-08-021-4/+8
| | | | | | | | | | | | | 2001-08-01 Christopher James Lahey <clahey@ximian.com> * e-table-header-item.c (ethi_change_sort_state): Make this function not crash if x somehow doesn't land on some column. Fixes Ximian bug #5957. * e-table-header-item.c: Removed a bunch of menu items whose functionality won't be ready for 1.0. Fixes Ximian bug #154. svn path=/trunk/; revision=11560
* Made this not query the 0th row if there are 0 rows in the table. FixesChristopher James Lahey2001-08-011-6/+5
| | | | | | | | | 2001-08-01 Christopher James Lahey <clahey@ximian.com> * e-cell-toggle.c (etog_max_width): Made this not query the 0th row if there are 0 rows in the table. Fixes Ximian bug #5640. svn path=/trunk/; revision=11542
* If the CLICK signal gets a return value, so we're going to be return fromJason Leach2001-07-261-1/+4
| | | | | | | | | | 2001-07-25 Jason Leach <jleach@ximian.com> * e-table-item.c (eti_event): If the CLICK signal gets a return value, so we're going to be return from eti_event immediately after, set the eti->click_count to zero. Fixes bug #811. svn path=/trunk/; revision=11420
* Properly ref the font we pass in as an ARG_FONT_E. (_do_tooltip): RemovedJon Trowbridge2001-07-251-0/+1
| | | | | | | | | | | | | | | | | | 2001-07-25 Jon Trowbridge <trow@ximian.com> * gal/e-text/e-text.c (e_text_set_arg): Properly ref the font we pass in as an ARG_FONT_E. (_do_tooltip): Removed some crack. We no longer have to manually ref the font. The ref-counting now happens inside the set_arg function, as it should. (e_text_destroy): Set text->font to NULL after unrefing it. 2001-07-25 Jon Trowbridge <trow@ximian.com> * e-cell-text.c (ect_unrealize): Set text_view->font to NULL after we unref it. svn path=/trunk/; revision=11393
* Handle GDK_KP_* cursor keys as well.Ettore Perazzoli2001-07-231-1/+5
| | | | | | * e-table-item.c (eti_event): Handle GDK_KP_* cursor keys as well. svn path=/trunk/; revision=11302
* Made these functions return -1 if the x and y aren't over any cell at all.Christopher James Lahey2001-07-131-0/+5
| | | | | | | | | 2001-07-12 Christopher James Lahey <clahey@ximian.com> * e-tree.c (e_tree_get_cell_at): Made these functions return -1 if the x and y aren't over any cell at all. svn path=/trunk/; revision=11077
* Ignore set_expanded if the node is the root and root_visible is FALSE.Christopher James Lahey2001-07-132-4/+13
| | | | | | | | | | | | | 2001-07-12 Christopher James Lahey <clahey@ximian.com> * e-tree-table-adapter.c (e_tree_table_adapter_node_set_expanded): Ignore set_expanded if the node is the root and root_visible is FALSE. * e-tree.c (item_key_press): Don't call set_expanded on NULL paths. svn path=/trunk/; revision=11061
* Created this function for key presses that move in some way other thanChristopher James Lahey2001-07-112-8/+8
| | | | | | | | | | | | | | 2001-07-11 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h (e_selection_model_select_as_key_press): Created this function for key presses that move in some way other than just to the next or previous row. (e_selection_model_key_press): Use e_selection_model_select_as_key_press for handling home and end here. svn path=/trunk/; revision=10993
* Made the amount to scroll by smaller here.Christopher James Lahey2001-07-112-4/+4
| | | | | | | | | 2001-07-11 Christopher James Lahey <clahey@ximian.com> * e-table.c (group_key_press), e-tree.c (item_key_press): Made the amount to scroll by smaller here. svn path=/trunk/; revision=10992
* Use e_selection_model_do_something directly for page up and page downChristopher James Lahey2001-07-112-64/+33
| | | | | | | | | | 2001-07-11 Christopher James Lahey <clahey@ximian.com> * e-table.c (group_key_press), e-tree.c (item_key_press): Use e_selection_model_do_something directly for page up and page down instead of emulating a key press. svn path=/trunk/; revision=10990
* Changed the title of this dialog. Fixes bug #2656.Christopher James Lahey2001-07-091-1/+5
| | | | | | | | | | 2001-07-08 Christopher James Lahey <clahey@ximian.com> * e-table-field-chooser-dialog.c (e_table_field_chooser_dialog_init): Changed the title of this dialog. Fixes bug #2656. svn path=/trunk/; revision=10897
* Added checks for if row is outside of the appropriate range.Christopher James Lahey2001-07-071-0/+4
| | | | | | | | | 2001-07-06 Christopher James Lahey <clahey@ximian.com> * e-tree-table-adapter.c (e_tree_table_adapter_node_at_row): Added checks for if row is outside of the appropriate range. svn path=/trunk/; revision=10878
* Set new_value = value here to fix a warning.Christopher James Lahey2001-07-071-0/+1
| | | | | | | | | 2001-07-06 Christopher James Lahey <clahey@ximian.com> * e-cell-spin-button.c (e_cell_spin_button_step_float): Set new_value = value here to fix a warning. svn path=/trunk/; revision=10877