aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
Commit message (Collapse)AuthorAgeFilesLines
* Changed the filter function back to being args to be more consistent withChristopher James Lahey2001-01-132-42/+44
| | | | | | | | | 2001-01-12 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.h, e-cell-text.h: Changed the filter function back to being args to be more consistent with the rest of the object. svn path=/trunk/; revision=7465
* New function. Tells whether a key should begin editing. (ect_event,Miguel de Icaza2001-01-122-9/+23
| | | | | | | | | | | 2001-01-12 Miguel de Icaza <miguel@ximian.com> * e-cell-text.c (key_begins_editing): New function. Tells whether a key should begin editing. (ect_event, GDK_KEY_PRESS/RELEASE): check whether we should start editing. svn path=/trunk/; revision=7445
* Implement new function API. Remove Gtk arguments for this. (ect_height):Miguel de Icaza2001-01-122-22/+32
| | | | | | | | | | | | 2001-01-12 Miguel de Icaza <miguel@ximian.com> * e-cell-text.c (e_cell_text_set_filter): Implement new function API. Remove Gtk arguments for this. (ect_height): Pass all the extra information Dan requested. (ect_print): Pass all the extra information Dan requested. (build_current_cell): ditto. svn path=/trunk/; revision=7444
* Close #758 2001-01-12 Miguel de Icaza <miguel@ximian.com>Miguel de Icaza2001-01-121-46/+64
| | | | | | | * e-table-header-item.c (ethi_change_sort_state): Moved the sort-on-click logic to its own function. svn path=/trunk/; revision=7438
* *** empty log message ***Miguel de Icaza2001-01-122-6/+119
| | | | svn path=/trunk/; revision=7437
* Added selection_mode argument.Christopher James Lahey2001-01-125-52/+114
| | | | | | | | | | | | | | | | 2001-01-11 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c, e-table-selection-model.h: Added selection_mode argument. * e-table-specification.c, e-table-specification.h: Added a selection_mode field that is set based on the selection-mode attribute in the ETableSpecification element. * e-table.c (et_real_construct): Set the selection model's selection mode based on the ETableSpecification. svn path=/trunk/; revision=7427
* Made this the same size as an ETableItem with all text items. Made theChristopher James Lahey2001-01-111-22/+26
| | | | | | | | | | 2001-01-10 Christopher James Lahey <clahey@helixcode.com> * e-table-click-to-add.c: Made this the same size as an ETableItem with all text items. Made the background color white. These need to be made themeable. svn path=/trunk/; revision=7370
* Added expansions field and loading and saving of that field.Christopher James Lahey2001-01-113-9/+41
| | | | | | | | | | | 2001-01-10 Christopher James Lahey <clahey@helixcode.com> * e-table-state.c, e-table-state.h: Added expansions field and loading and saving of that field. * e-table.c: Load and save expansion data. svn path=/trunk/; revision=7366
* Unfinished sorted variable model for ETree.Christopher James Lahey2001-01-102-0/+517
| | | | | | | | | 2001-01-10 Christopher James Lahey <clahey@helixcode.com> * e-tree-sorted-variable.c, e-tree-sorted-variable.h: Unfinished sorted variable model for ETree. svn path=/trunk/; revision=7355
* Removed an unused variable. (e_utf8_from_gtk_string_sized): Made ib constChristopher James Lahey2001-01-091-2/+3
| | | | | | | | | | 2001-01-06 Christopher James Lahey <clahey@helixcode.com> * gal/widgets/e-unicode.c (e_utf8_xml1_decode): Removed an unused variable. (e_utf8_from_gtk_string_sized): Made ib const here. svn path=/trunk/; revision=7307
* Fixed sorting. needs_sorting was getting set to 0 when sorted happens, butChristopher James Lahey2001-01-062-30/+3
| | | | | | | | | | | | 2001-01-06 Christopher James Lahey <clahey@helixcode.com> * e-table-sorter.c, e-table-sorter.h (ets_sort): Fixed sorting. needs_sorting was getting set to 0 when sorted happens, but needs_sorting tells you whether or not the sorter is sorted or not, not whether the sorting has happened. Documented the needs_sorting variable. svn path=/trunk/; revision=7281
* Broke font and fontset parts of EFont into separate functions. PossiblyLauris Kaplinski2001-01-061-2/+52
| | | | | | fixed bug #857 (needs some more testing) svn path=/trunk/; revision=7279
* Fixed the border bug. Borders draw properly now.Christopher James Lahey2001-01-051-2/+2
| | | | | | | | | 2001-01-04 Christopher James Lahey <clahey@helixcode.com> * gal/e-text/e-text.c (e_text_draw): Fixed the border bug. Borders draw properly now. svn path=/trunk/; revision=7263
* bump versionJP Rosevear2001-01-051-0/+174
| | | | | | | | | | | | | | | | 2001-01-04 JP Rosevear <jpr@helixcode.com> * configure.in: bump version * gal/widgets/gal-categories.glade: Glade file for category editor * gal/widgets/e-categories.[hc]: A category editor dialog taken and renamed from evolution * gal/widgets/Makefile.am: Build new files and install glade stuff svn path=/trunk/; revision=7260
* Added functions for encoding utf8 safely into libxml brokennessLauris Kaplinski2001-01-032-0/+100
| | | | svn path=/trunk/; revision=7225
* Add support here for "cursor_pos". (et_get_arg): Handle ARG_CURSOR_POS.Miguel de Icaza2000-12-292-5/+35
| | | | | | | | | | | | | | | 2000-12-29 Miguel de Icaza <miguel@helixcode.com> * gal/e-text/e-entry.c: Add support here for "cursor_pos". (et_get_arg): Handle ARG_CURSOR_POS. (et_set_arg): ditto. * gal/e-text/e-text.c: Add new argument: "cursor_pos". (e_text_get_arg): Handle ARG_CURSOR_POS. (e_text_set_arg): Handle ARG_CURSOR_POS. (e_text_class_init): Add. svn path=/trunk/; revision=7192
* Removed a bunch of unused code.Christopher James Lahey2000-12-271-217/+0
| | | | | | | | | 2000-12-27 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c (ect_draw, ect_event): Removed a bunch of unused code. svn path=/trunk/; revision=7179
* Added a "draw_background" argument. Set the default for theChristopher James Lahey2000-12-272-2/+19
| | | | | | | | | | | | | 2000-12-26 Christopher James Lahey <clahey@helixcode.com> * gal/e-text/e-entry.c: Added a "draw_background" argument. Set the default for the "draw_background" argument to the contained EText to TRUE. * gal/e-text/e-text.c: Changed the default for the "draw_background" argument to FALSE. svn path=/trunk/; revision=7176
* Connect to the "changed" and "activate" signals on the EText to the proxyMiguel de Icaza2000-12-261-0/+22
| | | | | | | | | | | 2000-12-26 Miguel de Icaza <miguel@helixcode.com> * gal/e-text/e-entry.c: Connect to the "changed" and "activate" signals on the EText to the proxy routines. (e_entry_proxy_changed): Proxy this to our signals. (e_entry_proxy_activate): ditto. svn path=/trunk/; revision=7173
* Always have some text. Fixes crash.Miguel de Icaza2000-12-262-1/+1
| | | | | | | | | | 2000-12-25 Miguel de Icaza <miguel@helixcode.com> * gal/e-text/e-text.c (e_text_init): Always have some text. Fixes crash. * gal/widgets/e-reflow.c (set_empty): Set draw_background to FALSE. svn path=/trunk/; revision=7172
* Always have some text. Fixes crash.Miguel de Icaza2000-12-262-5/+7
| | | | | | | | 2000-12-25 Miguel de Icaza <miguel@helixcode.com> * gal/e-text/e-text.c (e_text_init): Always have some text. Fixes crash. svn path=/trunk/; revision=7171
* draw_background=FALSEMiguel de Icaza2000-12-262-0/+3
| | | | svn path=/trunk/; revision=7170
* Set draw_background to FALSE.Miguel de Icaza2000-12-252-0/+6
| | | | | | | | | 2000-12-25 Miguel de Icaza <miguel@helixcode.com> * e-meeting-time-sel.c (e_meeting_time_selector_attendee_add): Set draw_background to FALSE. svn path=/trunk/; revision=7168
* Set draw_background to FALSE.Miguel de Icaza2000-12-251-0/+1
| | | | | | | | | | | | | 2000-12-25 Miguel de Icaza <miguel@helixcode.com> * e-cell-text.c (ect_show_tooltip): Set draw_background to FALSE. * e-table-group-container.c (etgc_add): ditto. * e-table-click-to-add.c (etcta_realize): ditto. (e_table_click_to_add_commit): ditto. svn path=/trunk/; revision=7165
* Made the code CanvasItem correct: the code should not draw at arbitraryMiguel de Icaza2000-12-251-6/+16
| | | | | | | | | | | | | | | 2000-12-25 Miguel de Icaza <miguel@helixcode.com> * gal/e-text/e-text.c (e_text_draw): Made the code CanvasItem correct: the code should not draw at arbitrary positions in the GdkWindow, it should instead draw from item->x1, item->y1 to item->y1, item->y2 (Chris, we need to talk about this, I think my current fix is passable, but might not be fully correct. Specially the interpretation of the width, height arguments). (e_text_class_init): Fix name. (e_text_set_arg): Use correct name. svn path=/trunk/; revision=7163
* Pass draw_background = FALSEMiguel de Icaza2000-12-252-0/+5
| | | | | | | | 2000-12-25 Miguel de Icaza <miguel@helixcode.com> * e-icon-bar.c (e_icon_bar_add_item): Pass draw_background = FALSE svn path=/trunk/; revision=7162
* add api docs.Chris Toshok2000-12-252-0/+57
| | | | | | | | | | 2000-12-24 Chris Toshok <toshok@helixcode.com> * e-cell-tree.c: add api docs. * e-tree-simple.c: add api docs. svn path=/trunk/; revision=7161
* Handle draw background. (e_text_draw): Support both border drawing andMiguel de Icaza2000-12-253-50/+106
| | | | | | | | | | | | | 2000-12-24 Miguel de Icaza <miguel@helixcode.com> * gal/e-text/e-text.c (e_text_set_arg): Handle draw background. (e_text_draw): Support both border drawing and background drawing. * gal/e-text/e-entry.c (et_get_arg, et_set_arg): Reduce code size by casting once. (et_set_arg, et_get_arg): Add ARG_DRAW_BORDERS handling. svn path=/trunk/; revision=7159
* Destroy text and pixbuf if they exist whether or not is_pixbuf is set.Christopher James Lahey2000-12-237-27/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-23 Christopher James Lahey <clahey@helixcode.com> * e-table-col.c, e-table-col.h (etc_destroy): Destroy text and pixbuf if they exist whether or not is_pixbuf is set. (e_table_col_new_with_pixbuf): Make new_with_pixbuf take a title argument which is for when you can't display pixmaps. * e-table-column-specification.c (e_table_column_specification_load_from_node): Don't translate the pixbuf string attribute. * e-table-sort-info.c, e-table-sort-info.h (e_table_sort_info_load_from_node): Added a state_version parameter to the load_from_node function. This lets the loader specify which version of ETableState is being processed. If it's less than .05, use the old nested version. If it's greater, use the new flat version. (e_table_sort_info_save_to_node): Changed this to store a list of group and leaf nodes instead of nesting the group nodes and leaf nodes one inside the other. This is much easier to understand and requires less typing when creating a new ETableSpecification's initial ETableState. * e-table-state.c: Changed the state-version parameter to 0.1. (e_table_state_load_from_node): Use e_xml_get_double_prop_by_name_with_default so that we can specify a state-version default of 0.1 for people writing ETableStates by hand. Pass the state-version to e_table_sort_info_load_from_node. * e-table.c (et_col_spec_to_col): Pass the title from the ETableColumnSpecification to the ETableCol even if it's a pixbuf column. svn path=/trunk/; revision=7138
* translationsJP Rosevear2000-12-233-10/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-22 JP Rosevear <jpr@helixcode.com> * gui/goto-dialog.glade.h: translations * gui/goto-dialog.glade: new glade file for goto dialog * gui/gnome-cal.c (setup_widgets): Set date navigator attributes * gui/calendar-commands.h: remove prototype * gui/goto.h: Add prototype * gui/Makefile.am: Add glade file stuff * gui/gnome-cal.c (setup_widgets): Use accessors to configure the calendar item properly 2000-12-22 JP Rosevear <jpr@helixcode.com> * e-calendar-item.h: add prototypes * e-calendar-item.c (e_calendar_item_init): Set max_days_selected to 1 and days_to_start_week_selection to -1 as documented in header (e_calendar_item_set_arg): use new accessor methods (e_calendar_item_get_arg): ditto (e_calendar_item_get_max_days_sel): accessor (e_calendar_item_set_max_days_sel): ditto (e_calendar_item_get_days_start_week_sel): ditto (e_calendar_item_set_days_start_week_sel): ditto (e_calendar_item_class_init): add display_popup argument (e_calendar_item_init): initialize display_popup member (e_calendar_item_get_arg): get display_popup member (e_calendar_item_set_arg): set display_popup member (e_calendar_item_button_press): only show the popup menu if the member is set (e_calendar_item_get_display_popup): acessor (e_calendar_item_set_display_popup): ditto svn path=/trunk/; revision=7132
* Set the minimum width of newly created children.Christopher James Lahey2000-12-195-42/+69
| | | | | | | | | | | | | | | | | | | | | 2000-12-19 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c (etgc_add): Set the minimum width of newly created children. (e_table_group_container_construct): Use function e_table_header_get_column_by_col_idx instead of e_table_header_get_column since we're passing in a col_idx. * e-table-header.c, e-table-header.h: New function e_table_header_get_column_by_col_idx which searches for a column in the ETableHeader with a certain model column (col_idx). * e-table-sorted-variable.c (etsv_compare), (etsv_sort), e-table-sorter.c (ets_sort): Use function e_table_header_get_column_by_col_idx instead of e_table_header_get_column since we're passing in a col_idx. svn path=/trunk/; revision=7079
* ditto.Miguel de Icaza2000-12-191-2/+2
| | | | | | | | | | | 2000-12-19 Miguel de Icaza <miguel@helixcode.com> * gal/widgets/widget-pixmap-combo.h: ditto. * gal/widgets/widget-color-combo.h: Fix parent class. It should have been GtkComboBoxClass, not GnomeCanvasClass. svn path=/trunk/; revision=7077
* Upped the version number to 0.4.1. Bumped the GAL_REVISION to 1.Christopher James Lahey2000-12-161-8/+0
| | | | | | | | | | | | | | | | 2000-12-15 Christopher James Lahey <clahey@helixcode.com> * configure.in: Upped the version number to 0.4.1. Bumped the GAL_REVISION to 1. 2000-12-14 Christopher James Lahey <clahey@helixcode.com> * gal/widgets/e-canvas-vbox.c (e_canvas_vbox_event): Don't allow the arrow keys to let you scroll off of the table. * NEWS: Changed the NEWS format. svn path=/trunk/; revision=7049
* #include <time.h>Federico Mena Quintero2000-12-153-1/+5
| | | | | | | | 2000-12-14 Federico Mena Quintero <federico@helixcode.com> * e-dateedit.h: #include <time.h> svn path=/trunk/; revision=7034
* Removed the set cursor and get cursor methods from ETableGroup.Christopher James Lahey2000-12-155-93/+6
| | | | | | | | | | | | | | | 2000-12-14 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-group.h: Removed the set cursor and get cursor methods from ETableGroup. * e-table.c (e_table_get_cursor_row, e_table_set_cursor_row): Changed this to use the ETableSelection directly instead of going through the grouping structure. This seems to fix a bug in evolution's folder list for some people. svn path=/trunk/; revision=7018
* call set_style and use the appropriate style for the text to determine ifChris Toshok2000-12-151-1/+4
| | | | | | | | | | 2000-12-14 Chris Toshok <toshok@helixcode.com> * e-cell-text.c (ect_show_tooltip): call set_style and use the appropriate style for the text to determine if the tooltip should be shown. svn path=/trunk/; revision=7016
* Commented out an unused variable to fix a warning.Christopher James Lahey2000-12-151-0/+2
| | | | | | | | | 2000-12-14 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c (eti_realize): Commented out an unused variable to fix a warning. svn path=/trunk/; revision=7014
* Added eti_visibility_notify. Didn't get it to work properly, so it's #ifChristopher James Lahey2000-12-141-0/+25
| | | | | | | | | 2000-12-13 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c (eti_realize): Added eti_visibility_notify. Didn't get it to work properly, so it's #if 0ed out. svn path=/trunk/; revision=6991
* Changed the color from yellow to light gray.Christopher James Lahey2000-12-142-2/+7
| | | | | | | | | | | | | 2000-12-13 Christopher James Lahey <clahey@helixcode.com> * gal/e-text/e-text.c (_do_tooltip): Changed the color from yellow to light gray. * gal/widgets/e-canvas-vbox.c (e_canvas_vbox_event): Made it so that e-canvas-vbox doesn't eat all the keyboard events. This means widget navigation keys work properly. svn path=/trunk/; revision=6989
* Changed the background color of the tooltips to light gray.Christopher James Lahey2000-12-142-2/+2
| | | | | | | | | | | | 2000-12-13 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c (ect_show_tooltip): Changed the background color of the tooltips to light gray. * e-table-item.c (eti_event): Changed the tooltip timeout to 100 milliseconds. svn path=/trunk/; revision=6988
* remove the silly logic - we pop up a tooltip regardless of where the mouseChris Toshok2000-12-142-7/+30
| | | | | | | | | | | | | | | | | | | 2000-12-13 Chris Toshok <toshok@helixcode.com> * e-cell-tree.c (ect_show_tooltip): remove the silly logic - we pop up a tooltip regardless of where the mouse cursor hovers. just make sure it appears in the right place. (ect_event): reverse the change we make to the event after passing it to our subcell. this fixes the problem of the tree reacting twice to events (once with flags == 0, and once with flags == E_CELL_EDITING). * e-table-item.c (eti_event): destroy the tooltip window on a motion event. this can (and does) happen when we get a tooltip on a tree cell and the cursor isn't over the area where the tooltip pops up. svn path=/trunk/; revision=6979
* New function to calculate the extra pixels per column header.Christopher James Lahey2000-12-146-27/+82
| | | | | | | | | | | | | | | | | | | | | | 2000-12-13 Christopher James Lahey <clahey@helixcode.com> * e-table-header-utils.c, e-table-header-utils.h (e_table_header_width_extras): New function to calculate the extra pixels per column header. * e-table-header.c, e-table-header.h: Added a "width_extras" argument which is used to calculate the correct minimum widths for each column header after adding padding. * e-table-item.c (_do_tooltip): Destroy the old tooltip window when creating the new one. (eti_event): Destroy the old tooltip window if the person presses a key. Don't handle the tab key. * e-table.c (et_state_to_header): Set the ETableHeader's width_extras argument. svn path=/trunk/; revision=6978
* only return TRUE in the BUTTON_PRESS case if the node was expandable.Chris Toshok2000-12-141-1/+1
| | | | | | | | | 2000-12-13 Chris Toshok <toshok@helixcode.com> * e-cell-tree.c (ect_event): only return TRUE in the BUTTON_PRESS case if the node was expandable. svn path=/trunk/; revision=6977
* cut&paste from e-table-sorted-variable.c and massage names a bit to makeChris Toshok2000-12-141-1/+208
| | | | | | | | | | | | | | 2000-12-13 Chris Toshok <toshok@helixcode.com> * e-table-sorter.c (qsort_callback_complex), (ets_sort_build_subset), (ets_sort_subset), (ets_sort_free_subset), (sort_groups_compare), (ets_sort_by_group): cut&paste from e-table-sorted-variable.c and massage names a bit to make sort group sorting work. (ets_sort): if the ETableModel has sort groups, sort using the sort group. svn path=/trunk/; revision=6975
* Fixed some warnings.Christopher James Lahey2000-12-121-1/+2
| | | | | | | | 2000-12-12 Christopher James Lahey <clahey@helixcode.com> * e-search-bar.c (esb_pack_menubar): Fixed some warnings. svn path=/trunk/; revision=6940
* Made selected rows ignore their color specification.Christopher James Lahey2000-12-121-1/+1
| | | | | | | | | 2000-12-11 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c (ect_draw): Made selected rows ignore their color specification. svn path=/trunk/; revision=6935
* Emit double_click signal with the model column, not the view column.Dan Winship2000-12-121-1/+1
| | | | | | | * e-table-item.c (eti_event): Emit double_click signal with the model column, not the view column. svn path=/trunk/; revision=6909
* Split the lines in this cell before testing whether we're to the right ofChristopher James Lahey2000-12-101-8/+12
| | | | | | | | | | 2000-12-09 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c (_blink_scroll_timeout): Split the lines in this cell before testing whether we're to the right of the right edge of the text data (since that test uses the split lines.) svn path=/trunk/; revision=6892
* cell should be edit cast to a CurrentCell, not data cast to a CurrentCell.Christopher James Lahey2000-12-101-1/+1
| | | | | | | | | 2000-12-09 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c (_blink_scroll_timeout): cell should be edit cast to a CurrentCell, not data cast to a CurrentCell. Fixed this. svn path=/trunk/; revision=6890
* Added the actions parameter to ect_event. Added an actions field toChristopher James Lahey2000-12-108-62/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-09 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c: Added the actions parameter to ect_event. Added an actions field to CellEdit. Handle CellEdit properly in the ect_event function to do grabbing and ungrabbing when appropriate. Set the actions field in CellEdit when appropriate in e_cell_text_view_command. * e-cell-toggle.c, e-cell-tree.c, e-cell.c, e-cell.h: Added a ECellActions enum, a ECellActions actions parameter to e_cell_event and added the actions parameter to all the handlers of the event method including having ECellTree pass it on to its child cell. * e-table-header-item.c: Use the NULL cursor instead of the E_CURSORS_ARROW cursor. * e-table-item.c, e-table-item.h: Added grabbed_row and grabbed_col fields to ETableItem (-1 on either means ungrabbed.) Pay attention to them in the find_cell function. Handle the actions parameter of e_cell_event and grab or ungrab the pointer to a given cell if requested. This is done using the new function eti_e_cell_event (which is internal to e-table-item.c,) instead of the old e_cell_event function call. Fake an ungrabbed table when calling find_cell from within the compute_location method. svn path=/trunk/; revision=6889
* Unref the object instead of destroying it.Federico Mena Quintero2000-12-104-4/+4
| | | | | | | | | | | | | | | 2000-12-09 Federico Mena Quintero <federico@helixcode.com> * e-table-sorted.c (e_table_sorted_new): Unref the object instead of destroying it. * e-table-sorted-variable.c (e_table_sorted_variable_new): Likewise. * e-table-subset.c (e_table_subset_new): Likewise. * e-table-subset-variable.c (e_table_subset_variable_new): Likewise. svn path=/trunk/; revision=6888
* If there are columns allocated, free them upon a destroy.JP Rosevear2000-12-092-5/+3
| | | | | | | | | | | | | 2000-12-08 JP Rosevear <jpr@helixcode.com> * e-table-state.c (etst_destroy): If there are columns allocated, free them upon a destroy. 2000-12-08 JP Rosevear <jpr@helixcode.com> * gal/widgets/e-canvas.c (e_canvas_destroy): Remove my lame "fix" svn path=/trunk/; revision=6884
* Work to get a Gtk-Doc infrastructure in place for Gal.Miguel de Icaza2000-12-099-50/+45
| | | | | | | | Work to get a Gtk-Doc infrastructure in place for Gal. Miguel. svn path=/trunk/; revision=6883
* Call the parent class destroyer as wellJP Rosevear2000-12-092-0/+8
| | | | | | | | | 2000-12-08 JP Rosevear <jpr@helixcode.com> * e-calendar.c (e_calendar_destroy): Call the parent class destroyer as well svn path=/trunk/; revision=6881
* set "sort_info" on our sorter when we get a new sort_info to keep thingsChris Toshok2000-12-082-4/+60
| | | | | | | | | | | | | | | | | | | 2000-12-07 Chris Toshok <toshok@helixcode.com> * e-table.c (e_table_set_state_object): set "sort_info" on our sorter when we get a new sort_info to keep things in sync. * e-table-sorter.c (ets_set_arg): new function, allowing the setting of "sort_info". (ets_get_arg): new function, allowing the getting of "sort_info". (ets_class_init): fill in GtkObject::set_arg and get_arg. (ets_sort): set ets->needs_sorting to 0 so we don't sort unnecessarily. (e_table_sorter_model_to_sorted): we may have ets->backsorted (and should use it if we do) even if we didn't need to sort. (e_table_sorter_sorted_to_model): same, except ets->sorted. svn path=/trunk/; revision=6857
* Add column and GdkEvent * parameters to the double click signal.Christopher James Lahey2000-12-0810-330/+62
| | | | | | | | | | | | | | | | | | 2000-12-07 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-group.h, e-table-item.c, e-table.c, e-table.h: Add column and GdkEvent * parameters to the double click signal. * e-table-header-item: Unref the ETableFullHeader when we're done with it. * e-table-scrolled.c, e-table-scrolled.h: Remove all of the proxies and add a function e_table_scrolled_get_table and a gtk argument "table". svn path=/trunk/; revision=6850
* Destroy the gdkIC if we have oneJP Rosevear2000-12-081-0/+5
| | | | | | | | | 2000-12-07 JP Rosevear <jpr@helixcode.com> * gal/widgets/e-canvas.c (e_canvas_destroy): Destroy the gdkIC if we have one svn path=/trunk/; revision=6847
* Free the xmlDoc when we are done with it. (e_table_state_save_to_file):Federico Mena Quintero2000-12-083-5/+13
| | | | | | | | | | | | | | | | | | 2000-12-07 Federico Mena Quintero <federico@helixcode.com> * e-table-state.c (e_table_state_save_to_string): Free the xmlDoc when we are done with it. (e_table_state_save_to_file): Ditto. * e-table.c (e_table_get_state): Unref the state object; why was it being sunk instead? (e_table_save_state): Ditto. (e_table_load_state): Ditto. (e_table_set_state): Ditto. * e-table-header-item.c (ethi_destroy): Free the ethi->dnd_code. svn path=/trunk/; revision=6837
* pass along the column's width to e_cell_show_tooltip.Chris Toshok2000-12-075-17/+14
| | | | | | | | | | | | | | | | | | | | | | | 2000-12-06 Chris Toshok <toshok@helixcode.com> * e-table-item.c (_do_tooltip): pass along the column's width to e_cell_show_tooltip. * e-cell-text.c (ect_show_tooltip): add col_width argument, and set cell.width = col_width - 8 (to mimic what happens in build_current_cell, but with a possibly altered width). * e-cell.c (e_cell_show_tooltip): add col_width argument, and pass along to virtual function. (ec_show_tooltip): add col_width argument. * e-cell.h: change prototype of e_cell_show_tooltip to include a width parameter. * e-cell-tree.c (ect_show_tooltip): send the width - the subcell's offset to e_cell_show_tooltip. svn path=/trunk/; revision=6831
* Adapted these to accept the new flags parameter to e_cell_event.Christopher James Lahey2000-12-076-29/+48
| | | | | | | | | | | | | | | | 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c, e-cell-toggle.c, e-cell-tree.c: Adapted these to accept the new flags parameter to e_cell_event. * e-cell.c, e-cell.h: Added a flags parameter to e_cell_event. * e-table-item.c: Send all e_cell_event calls a E_CELL_EDITABLE flag. Add a new e_cell_event to the button press event that happens before selecting the appropriate row and which does not have the E_CELL_EDITABLE flag set. svn path=/trunk/; revision=6823
* Removed incorrect e-list.h include.Christopher James Lahey2000-12-071-1/+0
| | | | | | | | 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * gal-view-collection.h: Removed incorrect e-list.h include. svn path=/trunk/; revision=6819
* Missed this file during the last commit.Chris Lahey2000-12-071-2/+4
| | | | svn path=/trunk/; revision=6817
* Added a GalViewCollection argument to the new function here.Christopher James Lahey2000-12-075-30/+58
| | | | | | | | | | | | | | | 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * menus/gal-view-menus.c, menus/gal-view-menus.h: Added a GalViewCollection argument to the new function here. From meeting-time-sel/ChangeLog: 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * e-meeting-time-sel.c: Fixed a bunch of warnings. svn path=/trunk/; revision=6816
* Added gal-view-collection.c, gal-view-etable.c, gal-view-factory-etable.c,Christopher James Lahey2000-12-0717-157/+868
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added gal-view-collection.c, gal-view-etable.c, gal-view-factory-etable.c, gal-view-factory.c, gal-view-collection.h, gal-view-etable.h, gal-view-factory-etable.h, and gal-view-factory.h. * gal-define-views-dialog.c, gal-define-views-dialog.h: Rewrote this to take a GalViewCollection. This now passes its collection to the new view dialog but still doesn't get its list of views from the collection. * gal-define-views-model.c: Changed this to use the gal_view_get_title function instead of the "title" gtk argument. * gal-define-views.glade, gal-define-views.glade.h: Changed this dialog to be a bit cleaner. * gal-view-collection.c, gal-view-collection.h: A collection of views and view factories. * gal-view-etable.c, gal-view-etable.h: An implementation of the view class. This stores an ETableSpecification and the current ETableState. * gal-view-factory-etable.c, gal-view-factory-etable.h: An implementation of the view factory class. This stores an ETableSpecification and creates GalViewEtables when requested. * gal-view-factory.c, gal-view-factory.h: A new virtual class. Its primary job is to return new GalViews. * gal-view-new-dialog.c, gal-view-new-dialog.h: Added a collection argument to the new function here so that it can get a list of factories to choose from. * gal-view-new-dialog.glade, gal-view-new-dialog.glade.h: Added a CList for the list of factories to choose from. * gal-view.c, gal-view.h: Changed this to be a virtual class. svn path=/trunk/; revision=6811
* Fixed warning in compute_elision_length.Christopher James Lahey2000-12-072-18/+0
| | | | | | | | | | | 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * e-table-header-utils.c: Fixed warning in compute_elision_length. * e-table-header.c, e-table-header.h: Removed e_table_header_selection_ok method here. svn path=/trunk/; revision=6810
* disconnect the "group_info_changed" signal on the old sort_info andDan Winship2000-12-071-2/+12
| | | | | | | | | * e-table.c (e_table_set_state_object): disconnect the "group_info_changed" signal on the old sort_info and connect it to the new one. (Noticed because of a gtk warning in et_destroy, but probably fixes some actual bug(s) too.) svn path=/trunk/; revision=6809
* Move the correct offset when memmoving. Patch provided by Richard HultJP Rosevear2000-12-051-1/+1
| | | | | | | | | | 2000-12-05 JP Rosevear <jpr@helixcode.com> * e-tree-model.c (e_tree_model_node_remove): Move the correct offset when memmoving. Patch provided by Richard Hult <rhult@hem.passagen.se>. svn path=/trunk/; revision=6795
* NULL-terminate gal_view_menus_apply's BonoboUIVerb array to prevent aDan Winship2000-12-052-0/+7
| | | | | | | | * menus/gal-view-menus.c: NULL-terminate gal_view_menus_apply's BonoboUIVerb array to prevent a crash. (Why are there gal* things in the evolution sources?) svn path=/trunk/; revision=6777
* need to zero out the bits corresponding to the rows not selected in theChris Toshok2000-12-041-1/+13
| | | | | | | | | | | | 2000-12-04 Chris Toshok <toshok@helixcode.com> * e-table-selection-model.c (e_table_selection_model_select_all): need to zero out the bits corresponding to the rows not selected in the last full 32 bit mask. This fixes a crash in the subscribe UI (or potentially anywhere that uses selection_model_select_all/selection_model_foreach.) svn path=/trunk/; revision=6770
* Federico gets into pixel-perfect neurosis. Xmag is my best friend.Federico Mena Quintero2000-12-036-273/+546
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-01 Federico Mena Quintero <federico@helixcode.com> Federico gets into pixel-perfect neurosis. Xmag is my best friend. * e-table-item.c (eti_draw): Set the focus_gc stipple origin to match the upper-left corner of the focus rectangle. This way focusing will look consistent even among rows/columns with odd pixel sizes. Also, make the focus rectangle span the whole cell; there was one blank pixel column to the left of the rectangle. * e-table-header-utils.c: New file with utilities for drawing header buttons. This is so that ETableHeaderItem and ETableFieldChooserItem can share the same code. (e_table_header_compute_height): New function to compute the height of a column button. (make_composite_pixmap): New function to composite a pixbuf against a solid background and make a pixmap out of the result. This does some ultra-fancy fading-out of the original pixbuf if the destination area is smaller than the source. (compute_elision_length): New function to compute the elision length in O(n log n) instead of O(n^2), for n = strlen (str). (e_table_header_draw_button): New function to draw a header button. (e_table_draw_elided_string): New function to draw a string elided to a maximum width. * e-table-defines.h (HEADER_PADDING): Made the default padding be 1; now a header button's height is content_height + 2 * (HEADER_PADDING + style->ythickness). This is the correct way to measure button heights. * e-table-field-chooser-item.c (etfci_find_button): Use e_table_header_compute_height(). (etfci_reflow): Likewise. (etfci_draw): Use e_table_header_draw_button(). (etfci_start_drag): Likewise. (etfci_draw): Likewise. (etfci_start_drag): Likewise. (etfci_button_height): Removed function. (draw_button): Removed function. * e-table-header-item.c (draw_button): Removed function. (e_table_header_item_get_height): Use e_table_header_compute_height(). (ethi_draw): e_table_header_draw_button(). (ethi_start_drag): Likewise. (make_shaped_window_from_xpm): Fixed misspelling in function name. (draw_button): Removed function. * Makefile.am: Added e-table-header-utils.[ch]. svn path=/trunk/; revision=6766
* Move away from unicode_iconv*. We still need libunicode for utf8Dan Winship2000-11-301-25/+9
| | | | | | | | | | | | | | | | | | | | | | | | strings functions, but that will go away eventually. * configure.in: Add a check for libiconv, which is required if your system doesn't have iconv in libc, or has glibc 2.1.2. Bump the gal version number to 0.2.99.3 * tests/Makefile.am (LDADD): add ICONV_LIBS * gal/widgets/Makefile.am (libwidgets_la_LDFLAGS): Add ICONV_LIBS * gal/widgets/e-unicode.c: Use iconv rather than libunicode for iconv()ing. (e_unicode_init): No longer needed * gal/widgets/e-font.c: Use iconv rather than libunicode for iconv()ing. (e_iconv_{from,to}_gdk_font): renamed from e_uiconv... * gal/widgets/test-e-font.c: No longer need to e_unicode_init(). svn path=/trunk/; revision=6719
* ShushJP Rosevear2000-11-291-1/+2
| | | | svn path=/trunk/; revision=6709
* updated to emit "changed" when appropriate, which turned out to beDamon Chaplin2000-11-275-465/+1185
| | | | | | | | | | | | | | | 2000-10-26 Damon Chaplin <damon@helixcode.com> * e-dateedit.[hc]: updated to emit "changed" when appropriate, which turned out to be amazingly difficult :( Also added e_date_edit_get/set_date() to get/set just the date. Added e_date_edit_date_is_valid() & e_date_edit_time_is_valid() so you can check if the user has tried to enter an invalid date. (All the get_date/time functions return the last valid date entered.) * test-dateedit.c: updated a bit. svn path=/trunk/; revision=6672
* Removed e_table_col_get_arrow and e_table_col_set_arrow.Christopher James Lahey2000-11-262-28/+0
| | | | | | | | | 2000-11-25 Christopher James Lahey <clahey@helixcode.com> * e-table-col.c: Removed e_table_col_get_arrow and e_table_col_set_arrow. svn path=/trunk/; revision=6669
* Documented.Miguel de Icaza2000-11-256-29/+212
| | | | | | | | | | | | | | | | | | 2000-11-25 Miguel de Icaza <miguel@helixcode.com> * e-cell.c: Documented. 2000-11-24 Miguel de Icaza <miguel@helixcode.com> * e-cell-toggle.c (etog_queue_redraw): Documented. * e-cell-text.c: Removed list of unused arguments. Add docs. * e-cell-checkbox.c (e_cell_checkbox_new): Add docs. * e-table-simple.c (e_table_simple_new): Add docs. svn path=/trunk/; revision=6665
* inline documentation added.Miguel de Icaza2000-11-253-152/+430
| | | | | | | | | | | | 2000-11-24 Miguel de Icaza <miguel@helixcode.com> * e-table-header.c: inline documentation added. * e-table-col.c Added inline documentation. * e-table-model.c: Added some inline documentation. svn path=/trunk/; revision=6664
* Save the children - FedericoFederico Mena Quintero2000-11-234-11/+19
| | | | svn path=/trunk/; revision=6652
* Fixed some typos to get the table to display properly.Christopher James Lahey2000-11-222-3/+3
| | | | | | | | | | | | 2000-11-22 Christopher James Lahey <clahey@helixcode.com> * gal-define-views-dialog.c: Fixed some typos to get the table to display properly. * gal-view-new-dialog.c: Fixed the string for loading the glade file for this dialog. svn path=/trunk/; revision=6649
* AdaptMiguel de Icaza2000-11-181-3/+3
| | | | svn path=/trunk/; revision=6610
* Add Makefile.am and .cvsignoreMiguel de Icaza2000-11-182-0/+19
| | | | svn path=/trunk/; revision=6609
* Added widgets/menus that contains the gal-view-menus.c code from Gal thatMiguel de Icaza2000-11-181-1/+2
| | | | | | | | | | | | | 2000-11-18 Miguel de Icaza <miguel@helixcode.com> * Added widgets/menus that contains the gal-view-menus.c code from Gal that depended on Bonobo. * configure.in: Update list of Makefiles; * widgets/Makefile.am: Update. svn path=/trunk/; revision=6608
* Removed test for Bonobo here.Miguel de Icaza2000-11-181-1/+0
| | | | | | | | | | | 2000-11-18 Miguel de Icaza <miguel@helixcode.com> * configure.in (gnomelocaledir): Removed test for Bonobo here. * gal/menus/gal-view-menus.c: Removed this file, and moved into Evolution. svn path=/trunk/; revision=6607
* Updated version number.Christopher James Lahey2000-11-143-17/+25
| | | | | | | | | | | | | 2000-11-13 Christopher James Lahey <clahey@helixcode.com> * configure.in: Updated version number. * gal/e-table/e-tree-model.c, gal/e-table/e-tree-model.h: Added freeze and thaw functions. * gal/menus/gal-define-views-dialog.c: Fixed some warnings. svn path=/trunk/; revision=6563
* Added a bunch of .lo s from the menus directory.Christopher James Lahey2000-11-1211-14/+929
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-11 Christopher James Lahey <clahey@helixcode.com> * gal/Makefile.am: Added a bunch of .lo s from the menus directory. From gal/menus: 2000-11-11 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added gal-define-views-model.c, gal-define-views-model.h, gal-view-new-dialog.c, gal-view-new-dialog.h, gal-view-new-dialog.glade, gal-view-new-dialog.glade.h, gal-view.c, and gal-view.h. * gal-define-views-dialog.c, gal-define-views-dialog.h: Connect up the New button. Use an ETable. * gal-define-views.glade, gal-define-views.glade.h: Put in custom object for the ETable * gal-define-views-model.c, gal-define-views-model.h: New model for list of views. * gal-view-menus.c: Close the define views dialog when it's done. * gal-view-new-dialog.c, gal-view-new-dialog.glade, gal-view-new-dialog.glade.h, gal-view-new-dialog.h: New class for creating a new view. * gal-view.c, gal-view.h: New class for representing a single view in the define views model. svn path=/trunk/; revision=6544
* Made the underline show up properly in the main menu bar.Christopher James Lahey2000-11-111-3/+23
| | | | | | | | | 2000-11-10 Christopher James Lahey <clahey@helixcode.com> * e-search-bar.c: Made the underline show up properly in the main menu bar. svn path=/trunk/; revision=6532
* Switched from using gtk_menu_item_new_with_label for the menu header toChristopher James Lahey2000-11-101-1/+1
| | | | | | | | | 2000-11-10 Christopher James Lahey <clahey@helixcode.com> * e-search-bar.c: Switched from using gtk_menu_item_new_with_label for the menu header to using gnome_stock_menu_item. svn path=/trunk/; revision=6530
* Changed the gal version number and the gal so number. Added check forChristopher James Lahey2000-11-103-2/+236
| | | | | | | | | | | | | | | | | | | | | | 2000-11-09 Christopher James Lahey <clahey@helixcode.com> * configure.in: Changed the gal version number and the gal so number. Added check for bonobo. * gal/Makefile.am: Added gal-view-menus.lo. * gal/widgets/e-unicode.c: Removed some unused variables. From gal/menus/ChangeLog: 2000-11-09 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added gal-view-menus.c and gal-view-menus.h. * gal-view-menus.c, gal-view-menus.h: New files to create the view menus. svn path=/trunk/; revision=6528
* Fixed two spacing problems: first, changed the spacing around the end ofAnna Marie Dirks2000-11-101-2/+4
| | | | | | | | | | 2000-11-08 Anna Marie Dirks <anna@helixcode.com> * e-search-bar.c: Fixed two spacing problems: first, changed the spacing around the end of the text-entry widget so that the text entry is always aligned with the beginning of the scrollbar; second, trimmed down the space between the widgets in the search bar. svn path=/trunk/; revision=6522
* Added decomposing case insensitive utf-8 strstrLauris Kaplinski2000-11-082-4/+1493
| | | | svn path=/trunk/; revision=6498
* gal/widgets/e-unicode.h: END_GNOME_DECLS, not BEGINJulian Missig2000-11-071-1/+1
| | | | svn path=/trunk/; revision=6469
* Changed this to match the new EPopupMenu structre.Christopher James Lahey2000-11-071-16/+16
| | | | | | | | | 2000-11-06 Christopher James Lahey <clahey@helixcode.com> * e-table-header-item.c: Changed this to match the new EPopupMenu structre. svn path=/trunk/; revision=6467
* Add a submenu field to struct EPopupMenu.Jeffrey Stedfast2000-11-072-34/+46
| | | | | | | | | | | | | | | 2000-11-06 Jeffrey Stedfast <fejj@helixcode.com> * gal/widgets/e-popup-menu.h: Add a submenu field to struct EPopupMenu. * gal/widgets/e-popup-menu.c (e_popup_menu_create): If the menu item has a submenu field, create the submenu and attach it. * configure.in: Bumped the micro-version because of some changes to e-popup-menu's structure. svn path=/trunk/; revision=6461
* Fixed the argument comment. Removed an old enum that's not used here.Christopher James Lahey2000-11-071-9/+4
| | | | | | | | | 2000-11-06 Christopher James Lahey <clahey@helixcode.com> * e-search-bar.h: Fixed the argument comment. Removed an old enum that's not used here. svn path=/trunk/; revision=6457
* Added e-search-bar.c and e-search-bar.h.Christopher James Lahey2000-11-072-0/+384
| | | | | | | | | | | 2000-11-06 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-search-bar.c and e-search-bar.h. * e-search-bar.c, e-search-bar.h: Moved this from e-addressbook-search. svn path=/trunk/; revision=6454
* Removed unnecessary .cvsignore files.Christopher James Lahey2000-11-064-9/+5
| | | | | | | | | 2000-11-05 Christopher James Lahey <clahey@helixcode.com> * e-paned/.cvsignore, e-table/.cvsignore, e-text/.cvsignore: Removed unnecessary .cvsignore files. svn path=/trunk/; revision=6412
* New files for the new define views dialog.Christopher James Lahey2000-11-063-0/+573
| | | | | | | | | | | 2000-11-05 Christopher James Lahey <clahey@helixcode.com> * .cvsignore, Makefile.am, gal-define-views-dialog.c, gal-define-views-dialog.h, gal-define-views.glade, gal-define-views.glade.h: New files for the new define views dialog. svn path=/trunk/; revision=6410
* Made it compile again.Chris Lahey2000-11-041-2/+2
| | | | svn path=/trunk/; revision=6376
* Turned on proper handling of insert and delete.Christopher James Lahey2000-11-041-1/+1
| | | | | | | | | 2000-11-03 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c: Turned on proper handling of insert and delete. svn path=/trunk/; revision=6375
* Removed the "time_changed" signal, since it was never being emitted in theFederico Mena Quintero2000-11-043-59/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-02 Federico Mena Quintero <federico@helixcode.com> * e-dateedit.h (EDateEditClass): Removed the "time_changed" signal, since it was never being emitted in the first place. Time values *are* both date and time together anyways, so whenever one changes we should notify about the whole date/time value being changed. Renamed the remaining "date_changed" signal to just "changed". * e-dateedit.c (e_date_edit_class_init): Do not create the "time_changed" signal; rename the other one to "changed". (set_time): Moved the core functionality from e_date_edit_set_time() to here. This function just sets the widgets' values without emitting any signals. (e_date_edit_set_time): Emit the "changed" signal unconditionally. This is to be consistent with the rest of the GTK+ widgets, and it actually makes writing client code easier. (e_date_edit_new): Use set_time(). (on_date_popup_now_button_clicked): Do not emit the signal here. (on_date_popup_none_button_clicked): Likewise. (e_date_edit_set_time_of_day): Emit the signal, since we do not call e_date_edit_set_time(). svn path=/trunk/; revision=6367
* Since we insert at the parent->child position, we need to account forNot Zed2000-11-031-39/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-03 Not Zed <NotZed@HelixCode.com> * e-tree-model.c (e_tree_model_node_insert): Since we insert at the parent->child position, we need to account for expanded nodes above this node to properly calculate the absolute row position of the node. (e_tree_model_node_insert): If we're inserting at the end of this node, then we just use the position directly. (e_tree_model_node_remove): Completely rewritten. Now we delete all nodes at once, which should be >> faster, unfortunately still have to signal each removal, which is >> SLOW :( Its still about 2-3x faster than it was (for 25K nodes). (child_free): Free all data/subnodes of a given path, no unlinking. (e_tree_model_node_remove): If we are removing a lot of nodes [>1000 or >1/4 total nodes], then use model_changed, rather then removing each node. Yay. Now its about 500x faster than it was, for 25K nodes. (etree_pre_change): Signal handler, so we can find out when we are in a pre-change state. (etree_changed): Likewise to find when we have finished. (e_tree_model_construct): Link to the model*changed signals so we know when we are in pre/changed state. (e_tree_model_node_insert): Only perform a row_inserted if not in pre_change state. Another significant speed improvement (200-500%) on big trees. (e_tree_model_node_remove): Do not emit row_deleted (or model_changed), if we are in the pre_change state. (add_visible_descendents_to_array): Likewise for row_inserted. (e_tree_model_node_sort): And here too, for consistency. svn path=/trunk/; revision=6363
* Updated these unused glade files to better match the versions in the code.Christopher James Lahey2000-11-035-100/+130
| | | | | | | | | | | | | | 2000-11-02 Christopher James Lahey <clahey@helixcode.com> * e-table-config.glade, e-table-config.glade.h: Updated these unused glade files to better match the versions in the code. * e-table.c, e-table.h: Added e_table_selected_count and "selection_change" signal. * e-tree-model.c: Fixed an out of order svn path=/trunk/; revision=6354
* modified or added a bunch of .cvsignore to ignore generated files, whichGediminas Paulauskas2000-11-013-0/+9
| | | | | | | | | * modified or added a bunch of .cvsignore to ignore generated files, which are not in repository. * call *textdomain() in various files only when ENABLE_NLS is defined svn path=/trunk/; revision=6310
* #include <string.h> to get rid of warning. Same here.Kjartan Maraas2000-10-313-0/+7
| | | | | | | | | 2000-10-30 Kjartan Maraas <kmaraas@gnome.org> * e-calendar-item.c: #include <string.h> to get rid of warning. * e-clipped-label.c: Same here. svn path=/trunk/; revision=6287
* Do not unref the cal_popup since we already destroyed it.Federico Mena Quintero2000-10-282-1/+6
| | | | | | | | | 2000-10-27 Federico Mena Quintero <federico@helixcode.com> * e-dateedit.c (e_date_edit_destroy): Do not unref the cal_popup since we already destroyed it. svn path=/trunk/; revision=6244
* Added an "allow_newlines" argument.Christopher James Lahey2000-10-276-23/+99
| | | | | | | | | | | | | 2000-10-27 Christopher James Lahey <clahey@helixcode.com> * gal/e-text/e-entry.c, gal/e-text/e-text-event-processor-emacs-like.c, gal/e-text/e-text-event-processor-emacs-like.h, gal/e-text/e-text-event-processor.c, gal/e-text/e-text-event-processor.h, gal/e-text/e-text.c: Added an "allow_newlines" argument. svn path=/trunk/; revision=6226
* If we are inserting into the root level, we dont have to search the wholeNot Zed2000-10-271-1/+6
| | | | | | | | | | 2000-10-27 Not Zed <NotZed@HelixCode.com> * e-tree-model.c (e_tree_model_node_insert): If we are inserting into the root level, we dont have to search the whole array for a parent node we'll never find. svn path=/trunk/; revision=6218
* remove the save_id here, so we don't save state for nodes that no longerChris Toshok2000-10-261-9/+6
| | | | | | | | | | | | | 2000-10-25 Chris Toshok <toshok@helixcode.com> * e-tree-model.c (e_tree_model_node_remove): remove the save_id here, so we don't save state for nodes that no longer exist. (etree_destroy): remove the foreach, since all the save_id's should have been removed by now (don't destroy a tree without destroying the root node.) also, make sure to call g_hash_table_destroy. svn path=/trunk/; revision=6202
* Made the column on the right click and click signals be the model columnChristopher James Lahey2000-10-261-2/+2
| | | | | | | | | 2000-10-25 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c: Made the column on the right click and click signals be the model column instead of the view column. svn path=/trunk/; revision=6172
* Add "click" to the list of etable signals we proxy.Dan Winship2000-10-262-0/+23
| | | | | | | * e-table-scrolled.c: Add "click" to the list of etable signals we proxy. svn path=/trunk/; revision=6170
* make ETreeModel opaque, and switch from using g_new0 and g_free forChris Toshok2000-10-252-97/+135
| | | | | | | | | | | | | | | 2000-10-24 Chris Toshok <toshok@helixcode.com> * e-tree-model.c: make ETreeModel opaque, and switch from using g_new0 and g_free for ETreePath's to using g_mem_chunk routines. (e_tree_model_node_remove): free the path's save_id. * (e_tree_model_set_expanded_default): add method to add default expanded status for parent nodes. (etree_set_expanded_recurse): make this more efficient. e-tree-model.h: make ETreeModel opaque. add prototype for e_tree_model_set_expanded_default. svn path=/trunk/; revision=6156
* Destroy the tooltip timeout on object destruction.Christopher James Lahey2000-10-241-1/+8
| | | | | | | | | 2000-10-23 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c: Destroy the tooltip timeout on object destruction. svn path=/trunk/; revision=6137
* Made it so that it doesn't recalculate all the rows if a row is changed,Christopher James Lahey2000-10-222-4/+36
| | | | | | | | | | | 2000-10-22 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c: Made it so that it doesn't recalculate all the rows if a row is changed, inserted or deleted. * e-table-subset.c: Added debugging code (turned off). svn path=/trunk/; revision=6102
* Made it so that rows inserted with their children nodes already in theChristopher James Lahey2000-10-221-1/+3
| | | | | | | | | | 2000-10-21 Christopher James Lahey <clahey@helixcode.com> * e-table-sorted-variable.c: Made it so that rows inserted with their children nodes already in the tree get placed before their children nodes instead of after. svn path=/trunk/; revision=6101
* Added e_table_set_state_object which loads the state from the givenChristopher James Lahey2000-10-222-4/+6
| | | | | | | | | 2000-10-20 Christopher James Lahey <clahey@helixcode.com> * e-table.c, e-table.h: Added e_table_set_state_object which loads the state from the given ETableState object. svn path=/trunk/; revision=6099
* remove timeouts on destroy so they don't try to write to freed dataDan Winship2000-10-202-0/+13
| | | | svn path=/trunk/; revision=6032
* Made the number keys on the number pad work in ETexts and ECellTexts.Christopher James Lahey2000-10-191-1/+108
| | | | | | | | | 2000-10-19 Christopher James Lahey <clahey@helixcode.com> * gal/e-text/e-text-event-processor-emacs-like.c: Made the number keys on the number pad work in ETexts and ECellTexts. svn path=/trunk/; revision=6027
* Switched to saving the version as a double instead of a string.Christopher James Lahey2000-10-191-1/+1
| | | | | | | | | 2000-10-18 Christopher James Lahey <clahey@helixcode.com> * e-table-state.c: Switched to saving the version as a double instead of a string. svn path=/trunk/; revision=6019
* Fixed ETableFieldChooser row heights a bit.Christopher James Lahey2000-10-194-30/+88
| | | | | | | | | | | | | | | 2000-10-18 Christopher James Lahey <clahey@helixcode.com> * e-table-field-chooser-item.c, e-table-field-chooser-item.h: Fixed ETableFieldChooser row heights a bit. * e-table-header-item.c: Formatting clean up. * e-table-state.c: Added saving of the version of the ETableState. This way, if we change the format of an ETableState, we can detect old version numbers. svn path=/trunk/; revision=6016
* Made EEntry accept focus properly.Christopher James Lahey2000-10-191-0/+11
| | | | | | | | 2000-10-18 Christopher James Lahey <clahey@helixcode.com> * gal/e-text/e-entry.c: Made EEntry accept focus properly. svn path=/trunk/; revision=6015
* Make text a different color if !(flags & E_CELL_FOCUSED).Christopher James Lahey2000-10-194-2/+17
| | | | | | | | | | | | | | | | | 2000-10-18 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c: Make text a different color if !(flags & E_CELL_FOCUSED). * e-cell.h: Added E_CELL_FOCUSED to flags. * e-table-item.c: Changed the background color of selected cells if the widget is focused. Send E_CELL_FOCUSED to flags if the widget is focused. * e-table.c: Repaint the window if focus changes. svn path=/trunk/; revision=6010
* Sped up signal propogation.Christopher James Lahey2000-10-192-2/+52
| | | | | | | | 2000-10-18 Christopher James Lahey <clahey@helixcode.com> * e-table-subset.c, e-table-subset.h: Sped up signal propogation. svn path=/trunk/; revision=6006
* Fixed the color of the background rectangle. Made the rectangle start atChristopher James Lahey2000-10-191-0/+16
| | | | | | | | | | 2000-10-18 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Fixed the color of the background rectangle. Made the rectangle start at the bottom of the table so that the row lines are still there. svn path=/trunk/; revision=5993
* Make background color of ETable match the background color of item rows.Christopher James Lahey2000-10-181-1/+1
| | | | | | | | | 2000-10-18 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Make background color of ETable match the background color of item rows. svn path=/trunk/; revision=5989
* Removed an unnecessary glade include file.Christopher James Lahey2000-10-184-1/+29
| | | | | | | | | | | | | 2000-10-18 Christopher James Lahey <clahey@helixcode.com> * e-table-field-chooser-dialog.h: Removed an unnecessary glade include file. * e-table-field-chooser.c: Make sure that glade is initialized. * e-table.c, e-table.h: Added a white background to the ETable. svn path=/trunk/; revision=5988
* Moved the glade file directories.Christopher James Lahey2000-10-181-1/+2
| | | | | | | | | | 2000-10-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Moved the glade file directories. * e-table-header-item.c: Removed an unused variable. svn path=/trunk/; revision=5982
* Reworked some of the height stuff?Christopher James Lahey2000-10-171-14/+12
| | | | | | | | 2000-10-16 Christopher James Lahey <clahey@helixcode.com> * e-table-header-item.c: Reworked some of the height stuff? svn path=/trunk/; revision=5943
* Choose a better size for the e-table-header-itemIain Holmes2000-10-171-17/+53
| | | | svn path=/trunk/; revision=5942
* get the next child before traversing/calling func.Chris Toshok2000-10-161-2/+5
| | | | | | | | | 2000-10-15 Chris Toshok <toshok@helixcode.com> * e-tree-model.c (e_tree_model_node_traverse): get the next child before traversing/calling func. svn path=/trunk/; revision=5937
* get rid of ENode type, as everything in it is now in ETreePath, and addChris Toshok2000-10-162-139/+257
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-15 Chris Toshok <toshok@helixcode.com> * e-tree-model.c: get rid of ENode type, as everything in it is now in ETreePath, and add parent/sibling/child pointers to ETreePath. everywhere where GNode/ENode were used, we just use ETreePath now. (e_tree_path_depth): new function. (e_tree_path_insert): new function. (e_tree_path_unlink): new function. (e_tree_model_node_traverse): new function. (etree_get_first_child): new virtual function impl. (etree_get_last_child): same. (e_tree_model_class_init): fill in function pointers for get_first_child/get_last_child. (e_tree_model_node_get_first_child): new function. (e_tree_model_node_get_last_child): new function. (e_tree_model_node_depth): g_node_depth -> e_tree_path_depth. (e_tree_model_node_insert): modify to use ETreePath and new e_tree_path functions. Prepends and appends are now both constant time. (child_remove): modify for e_tree_model_node_traverse. (e_tree_model_node_remove): same, and use e_tree_path functions. (e_tree_model_node_insert_before): add a loop here to figure out the position, since it's the only place we care about the child position. (e_tree_model_node_sort): rework to accomodate new e_tree_path functions, and put the e_tree_model_node_set_expanded calls in a separate loop after all the children have been added. * e-tree-model.h: add prototypes and virtual functions for more tree traversal operations (get_first_child, get_last_child), as well as a new function to traverse depth first the descendents of a node (e_tree_model_node_traverse), much like g_node_traverse (G_IN_ORDER). Also, ETreePath is an opaque type now, and is not a GNode. svn path=/trunk/; revision=5932
* Made it so that ETable won't use a state with 0 columns.Christopher James Lahey2000-10-161-2/+14
| | | | | | | | | 2000-10-15 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Made it so that ETable won't use a state with 0 columns. svn path=/trunk/; revision=5931
* Fixed these to use the new ascending attribute as a boolean instead of anChristopher James Lahey2000-10-145-11/+11
| | | | | | | | | | | | | 2000-10-13 Christopher James Lahey <clahey@helixcode.com> * e-table-example-1.c, e-table-example-2.c, e-table-size-test.c, test-table.c: Fixed these to use the new ascending attribute as a boolean instead of an int. * e-table-sort-info.c: Changed the ascending attribute to a boolean ("true"/"false") instead of an int (1/0). svn path=/trunk/; revision=5903
* Added e-table-config-field.lo.Christopher James Lahey2000-10-1411-228/+704
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-13 Christopher James Lahey <clahey@helixcode.com> * gal/Makefile.am: Added e-table-config-field.lo. * tests/test-tree-2.c: Changed this to use cursor-mode in the xml instead of the no longer existing gtk argument. From gal/e-table/ChangeLog: 2000-10-13 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-table-config-field.c and e-table-config-field.h. * e-table-column-specification.c: Cleaned this up a bit. Made it leak less memory. * e-table-config-field.c, e-table-config-field.h: New files. This is the configuration widgets for sorting or grouping. * e-table-config.c, e-table-config.h: Nuked these and replaced them with a widget that handles all the ETable configuration. * e-table-config.glade, e-table-config.glade.h: Updated this a bit to match what's actually being used better. This isn't used in actual code. * e-table-header-item.c, e-table-header-item.h: Added a pointer to the table in the header item structure so that we can launch the configuration from the header item right click menu. Made the header item launch the ETable configuration dialog. * e-table.c, e-table.h: Keep the spec given to us around. Added a get_state_object function which returns an ETableState *. Set the "table" argument on the header item. svn path=/trunk/; revision=5901
* NULL is not a valid argument to `xmlNewDoc'. Was this code everEttore Perazzoli2000-10-141-1/+3
| | | | | | tested *at all*? svn path=/trunk/; revision=5899
* Fixed gdk-font refcountingIain Holmes2000-10-133-34/+51
| | | | | | | Added font_e argument to e-text Fixed the header-item drawing the pixmap incorrectly svn path=/trunk/; revision=5894
* Added e_container_focus_nth_entry.Christopher James Lahey2000-10-132-0/+33
| | | | | | | | | 2000-10-12 Christopher James Lahey <clahey@helixcode.com> * gal/widgets/e-gui-utils.c, gal/widgets/e-gui-utils.h: Added e_container_focus_nth_entry. svn path=/trunk/; revision=5893
* when there are 0 columns, don't assert.Jeffrey Stedfast2000-10-121-1/+1
| | | | | | | | 2000-10-12 Jeffrey Stedfast <fejj@helixcode.com> * e-table-item.c: when there are 0 columns, don't assert. svn path=/trunk/; revision=5876
* Make saving state work properly.Christopher James Lahey2000-10-121-3/+41
| | | | | | | | 2000-10-11 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Make saving state work properly. svn path=/trunk/; revision=5859
* fixed to recalculate min_cell_width/height in case the show_week_numbersDamon Chaplin2000-10-124-45/+211
| | | | | | | | | | | | | 2000-10-11 Damon Chaplin <damon@helixcode.com> * e-calendar-item.c (e_calendar_item_recalc_sizes): fixed to recalculate min_cell_width/height in case the show_week_numbers option is changed. * e-dateedit.c: added support for hiding the date field, and added get/set_time_of_day() functions to get/set just the time. svn path=/trunk/; revision=5854
* Fixed the parity on the cursor-mode check.Christopher James Lahey2000-10-111-1/+1
| | | | | | | | | 2000-10-11 Christopher James Lahey <clahey@helixcode.com> * e-table-specification.c: Fixed the parity on the cursor-mode check. svn path=/trunk/; revision=5847
* Changed these to use the default cells.Christopher James Lahey2000-10-116-50/+13
| | | | | | | | | | | | | | | | | | | | | | | 2000-10-11 Christopher James Lahey <clahey@helixcode.com> * tests/test-tree-1.c, tests/test-tree-2.c, tests/test-tree-3.c: Changed these to use the default cells. From gal/e-table/ChangeLog: 2000-10-11 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c, e-cell-text.h, e-cell-tree.c, e-cell-tree.h: Got rid of the model parameter to e_cell_text_new and e_cell_tree_new as they aren't used. * e-table-extras.c: Added default "integer" compare and default "tree-string", "string", and "checkbox" cells. * e-table.c: Made this use the draw-grid, cursor-mode, and _click-to-add-message fields from the xml. svn path=/trunk/; revision=5841
* Example spec file. Not used. Just an example of what you can do.Christopher James Lahey2000-10-111-0/+21
| | | | | | | | | 2000-10-11 Christopher James Lahey <clahey@helixcode.com> * spec.xml: Example spec file. Not used. Just an example of what you can do. svn path=/trunk/; revision=5839
* Changed these to match the new ETable system.Christopher James Lahey2000-10-1119-308/+1292
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-11 Christopher James Lahey <clahey@helixcode.com> * tests/test-tree-1.c, tests/test-tree-2.c, tests/test-tree-3.c: Changed these to match the new ETable system. * gal/Makefile.am: Added e-table-column-specification.lo, e-table-extras.lo, e-table-specification.lo, and e-table-state.lo. From gal/e-table/ChangeLog: 2000-10-11 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-table-column-specification.c, e-table-column-specification.h, e-table-extras.c, e-table-extras.h, e-table-specification.c, e-table-specification.h, e-table-state.c, and e-table-state.h. Removed some duplicated .h files. * e-cell-tree.c: Ref, sink, and unref the subcell instead of destroying it when done. * e-table-column-specification.c, e-table-column-specification.h: New class which describes a column without having a table get instantiated. * e-table-config.c: Changed get_specification to get_state to get this to compile. * e-table-defines.h, e-table-item.h: Moved the definition of ETableCursorMode from e-table-item.h to e-table-defines.h. * e-table-extras.c, e-table-extras.h: New class which acts as a set of 3 hash tables. All from char * and to alternately, ECells, GCompareFuncs, and GdkPxibufs. * e-table-scrolled.c, e-table-scrolled.h: Changed this to match the new ETable function declarations. * e-table-sort-info.c, e-table-sort-info.h: Added functions for saving to and loading from xml. * e-table-specification.c, e-table-specification.h: New class which describes a table without having to instantiate it. * e-table-state.c, e-table-state.h: New class which describes the state of a table without having to instantiate the table. * e-table.c, e-table.h: Changed this to accept both a state and a specification instead of just a specification. You then save only the state. The specification stays exactly the same. Also, you no longer need to pass in an ETableHeader. Most of the information contained in the ETableHeader are in the specification. However you may need to translate some of the strings in the specification to objects. If you need anything other than the builtin choices, you need to create an ETableExtras and pass it in. * e-tree-model.c: Removed an unused variable. svn path=/trunk/; revision=5837
* Removed the assertion that there must be at least 1 column. No way toNot Zed2000-10-095-2/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-06 Not Zed <NotZed@HelixCode.com> * e-table-item.c (eti_header_structure_changed): Removed the assertion that there must be at least 1 column. No way to remove all columns otherwise (which the header allows). * e-table.c (et_xml_config_header): Reconfigure header based on xml nodes for header. (et_real_set_specification): Just configure the header only, dont try to recreate everything. 2000-10-05 Not Zed <NotZed@HelixCode.com> * e-table-scrolled.c (e_table_scrolled_set_specification): Set the spec on a scrolled etable. (e_table_scrolled_load_specification): Likewise for load. * e-table.c (et_real_set_specification): Allow you to set the specification after the widget was created. (et_real_construct): Changed to use et_real_set_specification to set the spec. (e_table_load_specification): New frunction, load the speficication from a specific file. (e_table_set_specification): NEw function to set the specification from a string. svn path=/trunk/; revision=5795
* Added missing BEGIN/END_GNOME_DECLSLauris Kaplinski2000-10-091-0/+5
| | | | svn path=/trunk/; revision=5790
* set cursors to NULL after destroying them, to avoid any possibility ofDamon Chaplin2000-10-081-0/+5
| | | | | | | | | | 2000-10-07 Damon Chaplin <damon@helixcode.com> * gal/e-text/e-text.c (e_text_unrealize): set cursors to NULL after destroying them, to avoid any possibility of BadCursor. (e_text_event): just return if the EText item is destroyed. svn path=/trunk/; revision=5780
* Emit the selection/cursor "changed" signals.Jeffrey Stedfast2000-10-051-0/+19
| | | | | | | | | | | 2000-10-04 Jeffrey Stedfast <fejj@helixcode.com> * e-table-selection-model.c (e_table_selection_model_invert_selection): Emit the selection/cursor "changed" signals. (e_table_selection_model_select_all): Same. svn path=/trunk/; revision=5724
* Select all elements of the etable.Jeffrey Stedfast2000-10-054-0/+67
| | | | | | | | | | | | | | | | 2000-10-04 Jeffrey Stedfast <fejj@helixcode.com> * e-table-selection-model.c (e_table_selection_model_select_all): Select all elements of the etable. (e_table_selection_model_invert_selection): Invert the current selection. * e-table.c (e_table_select_all): New convenience function to select all elements in an e-table. (e_table_invert_selection): New convenience function to invert the current selection in an e-table. svn path=/trunk/; revision=5719
* Changed to take into account the sort group, if the table has one.xNot Zed2000-10-047-18/+428
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-04 Not Zed <NotZed@HelixCode.com> * e-table-sorted-variable.c (etsv_add): Changed to take into account the sort group, if the table has one.x (etsv_insert_idle): Clear the insert count if we hit an idle loop. (etsv_sort_idle): Reset the insert count if we perform a sort. (etsv_add): If we are adding a lot (>ETSV_INSERT_MAX) items, without hitting an idle loop, assume we're better off performing a sort instead. Use another idle handler to reset the count. 2000-10-03 Not Zed <NotZed@HelixCode.com> * e-table-sorted-variable.c (etsv_sort_by_group): Sort based on the sort_group stuff. * e-tree-model.c (e_tree_init): Setup the group sort info string. (etree_destroy): And free it. (build_sort_group): Build a string for this node. 2000-09-29 Not Zed <NotZed@HelixCode.com> * e-cell-tree.c (e_cell_tree_get_node): Changed to take the source model, not the tree model. The source model may be a subset, and it needs to remap the rows for us. (ect_draw): (ect_event): (ect_max_width): (ect_print): Changed callers. * e-table-sorted-variable.c (etsv_sort_subset): (etsv_sort_build_subset): (etsv_sort_free_subset): Functions to perfom grouping of sorts for sorts that have row_sort_group returning useful info. (etsv_sort): Use the complex sort routines if we need to. * e-table-model.c (e_table_model_row_sort_group): Return a sort-id for a given row. (e_table_model_has_sort_group): Return if the sort-id provides any useful information. svn path=/trunk/; revision=5705
* Put in 3 more dialog boxes in these files.Christopher James Lahey2000-10-042-75/+1811
| | | | | | | | | Tue Oct 3 18:28:09 2000 Christopher James Lahey <clahey@helixcode.com> * e-table-config.glade, e-table-config.glade.h: Put in 3 more dialog boxes in these files. svn path=/trunk/; revision=5696
* change/add prototypes and a typedef for ETreePathCompareFunc.Chris Toshok2000-10-032-49/+99
| | | | | | | | | | | | | | | | | | | | | | 2000-10-02 Chris Toshok <toshok@helixcode.com> * e-tree-model.h: change/add prototypes and a typedef for ETreePathCompareFunc. * e-tree-model.c (e_tree_model_node_set_compare_function): new function, used to set the comparison function for sorted nodes. Eventually sorting entail just calling this function, with the tree maintaining the sort. (e_tree_model_node_sort): use a helper function (e_tree_model_node_compare) to allow the e-tree user's comparison function to take mode reasonable paramaters. also, fix it so the previous expanded state is kept with the node. i can't believe i wrote it the way it originally was. also, don't take the comparison function here. it's set in e_tree_model_node_set_compare_function. svn path=/trunk/; revision=5674
* don't screw things up if we sort a collapsed node.Chris Toshok2000-10-031-2/+5
| | | | | | | | | 2000-10-02 Chris Toshok <toshok@helixcode.com> * e-tree-model.c (e_tree_model_node_sort): don't screw things up if we sort a collapsed node. svn path=/trunk/; revision=5673
* nukeChris Toshok2000-10-032-1181/+0
| | | | | | | | | | | | | | | | | | | | | | 2000-10-02 Chris Toshok <toshok@helixcode.com> * gal/e-table/e-tree-example-1.c: nuke * gal/e-table/e-tree-example-2.c: nuke * tests/test-tree-1.c: move gal/e-table/e-tree-example-1.c here. * tests/test-tree-2.c: move gal/e-table/e-tree-example-2.c here. * tests/Makefile.am: new file. * tests/.cvsignore: same. * configure.in: AC_OUTPUT (tests/Makefile) * Makefile.am (SUBDIRS): add tests dir. svn path=/trunk/; revision=5671
* flip black and gray, the way i intended them to be.Chris Toshok2000-10-032-4/+4
| | | | | | | | | | 2000-10-02 Chris Toshok <toshok@helixcode.com> * tree-unexpanded.xpm: flip black and gray, the way i intended them to be. * tree-expanded.xpm: same. svn path=/trunk/; revision=5665
* reinstate file.Chris Toshok2000-10-035-24/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-02 Chris Toshok <toshok@helixcode.com> * tree-expanded.xpm: reinstate file. * tree-unexpanded.xpm: same. * e-tree-example-1.c (main): remove calls to e_cursor_*, and don't create pixbufs. let's the tree give us the defaults. * e-tree-model.c (e_tree_model_node_changed): call e_table_model_row_changed on the node's row (if it's visible). (e_tree_model_node_inserted): call e_table_model_row_inserted on the new node's row, if it's visible. (e_tree_model_node_removed): call e_table_model_row_removed on the old node's row, if it was visible. * e-cell-tree.c (e_cell_tree_construct): allow open_pixbuf and closed_pixbuf to be NULL, and default them to the xpm data in rtee-{un}expanded.xpm. (ect_destroy): call gdk_pixbuf_unref on our open/closed pixbufs. * tree-expanded.xpm, tree-unexpanded.xpm: make the + and - a little lighter than straight black. svn path=/trunk/; revision=5660
* better i18n of strftime strings.Damon Chaplin2000-09-303-9/+20
| | | | | | | | | 2000-09-30 Damon Chaplin <damon@helixcode.com> * e-calendar-item.c: * e-dateedit.c: better i18n of strftime strings. svn path=/trunk/; revision=5645
* fixed use of date strings to support i18n better.Damon Chaplin2000-09-303-53/+97
| | | | | | | | | | | | 2000-09-25 Damon Chaplin <damon@helixcode.com> * e-meeting-time-sel-item.c: * e-meeting-time-sel.c: fixed use of date strings to support i18n better. (e_meeting_time_selector_update_attendees_list_positions): updated to use e_canvas_item_move_absolute() to position the EText items. svn path=/trunk/; revision=5644
* updated to use new EShortcutBar signals for DnD.Damon Chaplin2000-09-305-14/+98
| | | | | | | | | | | | | | | | | | 2000-09-30 Damon Chaplin <damon@helixcode.com> * test-shortcut-bar.c: updated to use new EShortcutBar signals for DnD. * e-group-bar.c (e_group_bar_add_group): show the new windows if the EGroupBar is realized, handle the position argument properly, and fixed the window z-order code. * e-shortcut-bar.c (e_shortcut_bar_add_group): pass group_num to the e_group_bar_add_group() function. * e-icon-bar-bg-item.c (e_icon_bar_bg_item_draw): fixed SEGV when trying to drag into a group with no items. svn path=/trunk/; revision=5643
* Get the title bar for the folder view to use TigerT's pin icon for theEttore Perazzoli2000-09-293-56/+209
| | | | | | button when appropriate. svn path=/trunk/; revision=5636
* Changed.Christopher James Lahey2000-09-291-0/+0
| | | | | | | | Fri Sep 29 10:05:58 2000 Christopher James Lahey <clahey@helixcode.com> * e-table.dia: Changed. svn path=/trunk/; revision=5635
* New file. Approximate UML description of ETable.Christopher James Lahey2000-09-291-0/+0
| | | | | | | | Thu Sep 28 20:01:53 2000 Christopher James Lahey <clahey@helixcode.com> * e-table.dia: New file. Approximate UML description of ETable. svn path=/trunk/; revision=5628
* Fix a stupid crash in ::destroy that was my fault.Ettore Perazzoli2000-09-292-2/+7
| | | | svn path=/trunk/; revision=5624
* Fudge the location of a click in the tooltip, so that it selects theIain Holmes2000-09-273-10/+38
| | | | | | | | | | | | | | | | | | | | | | | | 2000-09-27 Iain Holmes <iain@helixcode.com> * e-cell-text.c: Fudge the location of a click in the tooltip, so that it selects the current cell. Pass keyboard events to the e-table. * e-table-item.c: Don't show the tooltip if the cell is being editted. Also don't destroy the tooltip until the button release event (other wise the e-table-item starts a select) 2000-09-25 Iain Holmes <iain@helixcode.com> * e-table-header-item.c (draw_button): Calculate the vertical offset correctly to centre text. 2000-09-25 Iain Holmes <iain@helixcode.com> * e-table-header-item.c (ethi_popup_best_fit): Fill this out to call the "request_width" signal and set the new size. svn path=/trunk/; revision=5599
* Fixed emission for "shortcut_dragged".Ettore Perazzoli2000-09-272-1/+7
| | | | svn path=/trunk/; revision=5594
* drag/drop signals need to be added to the same object that is passed toChris Toshok2000-09-271-9/+9
| | | | | | | | | | | | 2000-09-26 Chris Toshok <toshok@helixcode.com> * gal/e-table/e-table.c (e_table_setup_table): drag/drop signals need to be added to the same object that is passed to gtk_drag_begin in e_table_drag_begin. namely, the ETable. (et_drag_data_received): fix typo - should emit TABLE_DRAG_DATA_RECEIVED, not TABLE_DRAG_MOTION. svn path=/trunk/; revision=5590
* Make the shortcut bar not alter the model by itself on a drag and dropEttore Perazzoli2000-09-263-6/+72
| | | | | | | | | | operation; instead, just emit some newly created dnd signals. The code using the library will then dispatch this to the appropriate data structures. Also, disconnect the model signals on ::destroy. svn path=/trunk/; revision=5574
* add save_state stuff to ETreeModel, and prototypes for the public methods.Chris Toshok2000-09-262-7/+213
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-25 Chris Toshok <toshok@helixcode.com> * gal/e-table/e-tree-model.h: add save_state stuff to ETreeModel, and prototypes for the public methods. * gal/e-table/e-tree-model.c: add save_id to the ENode. (expanded_remove_func): new function, iterator to delete the save id's. (etree_destroy): iterate over expanded_state. (etree_set_expanded): if the node has a save id, make sure to update both the collapsed and expanded counts. (e_tree_model_node_insert_id): convenience function that inserts a node and sets its id. (e_tree_model_node_sort): remove extra spew. (save_expanded_state_func): new function, iterator for saving expanded state. (e_tree_model_save_expanded_state): new function. (get_string_value): helper function for loading. (e_tree_model_load_expanded_state): new function. (e_tree_model_node_set_save_id): sets the save id for a node, adding it to the hashtable if it's not already there. if the id was there previously, set the expanded flag of the node accordingly. svn path=/trunk/; revision=5573
* Fix include typo.Ariel Rios2000-09-251-1/+1
| | | | | | | | 2000-09-24 Ariel Rios <ariel@arcavia.com> * e-tree-model.c: Fix include typo. svn path=/trunk/; revision=5566
* fix sorting - need to update the row_array as well as the actual structureChris Toshok2000-09-251-4/+20
| | | | | | | | | | 2000-09-24 Chris Toshok <toshok@helixcode.com> * e-tree-model.c (e_tree_model_node_sort): fix sorting - need to update the row_array as well as the actual structure of the GNodes. svn path=/trunk/; revision=5564
* use pixmaps instead of GtkArrows to look better. Also set the canvasDamon Chaplin2000-09-258-247/+290
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-23 Damon Chaplin <damon@helixcode.com> * e-calendar.c: use pixmaps instead of GtkArrows to look better. Also set the canvas window's background when realized so that we can set the button reliefs to none. 2000-09-22 Damon Chaplin <damon@helixcode.com> * test-dateedit.c: updated a bit, adding a few EDateEdits with different options. * e-calendar-item.c (e_calendar_item_set_selection): aborted any current selection operation and initialize all of the selection fields. (e_calendar_item_unmap): new function to abort any current selection operation. Otherwise GnomeCanvas gets in a muddle about grabs. * e-dateedit.c: marked some strftime()/strptime() format strings for translation and used "%m/%d/%Y" instead of "%x" so we get the complete year number. Also changed e_date_edit_get_time() so it returns -2 if it can't parse the date or time, and -1 if it is explicitly set to None. (e_date_edit_parse_date): new function to parse the date string and add on the current century if a year of 0-99 is entered. 2000-09-21 Damon Chaplin <damon@helixcode.com> * e-dateedit.c (on_date_button_clicked): only check return of strptime for NULL. It should now select the correct day set in the popup. * e-calendar.c: * e-calendar-item.c: * test-calendar.c: removed support for buttons within the ECalendar. It is cleaner to add them outside it, as EDateEdit does. svn path=/trunk/; revision=5561
* Fixed operation of the keypad keys in EText and ECellText.Christopher James Lahey2000-09-221-6/+23
| | | | | | | | | 2000-09-22 Christopher James Lahey <clahey@helixcode.com> * gal/e-text/e-text-event-processor-emacs-like.c: Fixed operation of the keypad keys in EText and ECellText. svn path=/trunk/; revision=5548
* Typo caused readability problems with ETable.Christopher James Lahey2000-09-211-1/+1
| | | | | | | | 2000-09-21 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c: Typo caused readability problems with ETable. svn path=/trunk/; revision=5536
* Changed the #ifndef used so that it doesn't collide with one inside ofChristopher James Lahey2000-09-211-3/+3
| | | | | | | | | | 2000-09-21 Christopher James Lahey <clahey@helixcode.com> * gal/widgets/e-gui-utils.h: Changed the #ifndef used so that it doesn't collide with one inside of evolution. The entire name of this file should change soon. svn path=/trunk/; revision=5535
* Moved files, fixed header files and paths - FedericoFederico Mena Quintero2000-09-2080-172/+176
| | | | svn path=/trunk/; revision=5513
* set this to 4 to specify how much X/Open we want with that.Dan Winship2000-09-192-1/+6
| | | | | | | * e-dateedit.c (_XOPEN_SOURCE): set this to 4 to specify how much X/Open we want with that. svn path=/trunk/; revision=5491
* Added check for gnome-app-lib. Removed directories that have been moved toChristopher James Lahey2000-09-18155-38212/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added check for gnome-app-lib. Removed directories that have been moved to gal. From addressbook/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am, contact-editor/Makefile.am, ename/Makefile.am, gui/component/Makefile.am, gui/widgets/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * backend/ebook/e-card.c, backend/pas/pas-backend-file.c, contact-editor/e-contact-editor-address.c, contact-editor/e-contact-editor-categories.c, contact-editor/e-contact-editor-categories.h, contact-editor/e-contact-editor-fullname.c, contact-editor/e-contact-editor.c, contact-editor/e-contact-save-as.c, ename/e-address-western.c, ename/test-ename-western-gtk.c, gui/component/addressbook-factory.c, gui/component/addressbook.c, gui/component/e-cardlist-model.h, gui/component/e-ldap-storage.c, gui/component/select-names/e-select-names-bonobo.c, gui/component/select-names/e-select-names-manager.c, gui/component/select-names/e-select-names-model.c, gui/component/select-names/e-select-names-table-model.c, gui/component/select-names/e-select-names-table-model.h, gui/component/select-names/e-select-names-text-model.h, gui/component/select-names/e-select-names.c, gui/component/select-names/e-select-names.h, gui/search/e-addressbook-search-dialog.c, gui/widgets/e-addressbook-model.h, gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard-label.c, gui/widgets/e-minicard-view-widget.c, gui/widgets/e-minicard-view-widget.h, gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h, gui/widgets/e-minicard-widget.h, gui/widgets/e-minicard.c, gui/widgets/test-minicard-label.c, gui/widgets/test-reflow.c, printing/e-contact-print.c: Fixed the #include lines to deal properly with gal. From calendar/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * gui/calendar-model.h, gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view-event-item.c, gui/e-week-view.c, gui/event-editor.c, gui/gncal-todo.c, gui/gnome-cal.c, gui/main.c, gui/print.c, gui/dialogs/task-editor.c: Fixed the #include lines to deal properly with gal. * gui/check-filled.xpm: New file since we can't include it from e-table anymore. From camel/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * camel-folder-search.c, camel-folder-search.h, camel-remote-store.c, providers/imap/camel-imap-folder.c, providers/imap/camel-imap-store.c: Fixed the #include lines to deal properly with gal. From composer/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-msg-composer-address-dialog.c, e-msg-composer-address-entry.c, e-msg-composer-attachment.c, e-msg-composer-hdrs.c, e-msg-composer.c: Fixed the #include lines to deal properly with gal. From e-util/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed all the files moved to gal. * e-dialog-widgets.c: Fixed the #include lines to deal properly with gal. * e-gui-utils.c, e-gui-utils.h: Removed all of the functionality that was moved to gal. * e-canvas-utils.c, e-canvas-utils.h, e-canvas-vbox.c, e-canvas-vbox.h, e-canvas.c, e-canvas.h, e-cursors.c, e-cursors.h, e-font.c, e-font.h, e-popup-menu.c, e-popup-menu.h, e-printable.c, e-printable.h, e-unicode.c, e-unicode.h, e-util.c, e-util.h, e-xml-utils.c, e-xml-utils.h: Moved to gal. From filter/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * filter-editor.c, filter-filter.c, filter-folder.c, filter-input.c, filter-message-search.c, filter-option.c, filter-rule.c, score-editor.c, vfolder-editor.c, vfolder-rule.c: Fixed the #include lines to deal properly with gal. From mail/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * component-factory.c, folder-browser-factory.c, folder-browser.c, mail-callbacks.c, mail-config-gui.c, mail-display.c, mail-display.h, main.c, message-list.c, message-list.h: Fixed the #include lines to deal properly with gal. From po/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * POTFILES.in: Removed files that have been moved to gal. From shell/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-component-registry.c, e-corba-storage-registry.c, e-corba-storage.c, e-folder-type-registry.c, e-folder.c, e-local-folder.c, e-local-storage.c, e-shell-folder-creation-dialog.c, e-shell-folder-selection-dialog.c, e-shell-folder-title-bar.c, e-shell-view.c, e-shell.c, e-shortcuts-view.c, e-shortcuts.c, e-storage-set-view.c, e-storage-set-view.h, e-storage-set.c, e-storage.c, evolution-local-storage.c, evolution-session.c, evolution-shell-client.c, evolution-shell-component-client.c, evolution-shell-component.c, evolution-shell-view.c, evolution-storage-listener.c, evolution-storage.c, main.c: Fixed the #include lines to deal properly with gal. From widgets/meeting-time-sel/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-meeting-time-sel-list-item.c, e-meeting-time-sel.c, e-meeting-time-sel.h: Fixed the #include lines to deal properly with gal. If you've read this far, you deserve a prize. The first email in my mailbox with the subject "What a commit message!" (and your physical mailing address somewhere in the message) will receive a free Helix Code T-shirt mailed to anywhere within the continental United States. I cannot be held responsible for problems with email systems anywhere. This is supposed to be for fun, so please don't make a fuss if something goes wrong and your mail doesn't reach me. Find my email elsewhere in this message, and if it's been more than a few days, you're probably too late. From widgets/misc/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-calendar-item.c, e-calendar.c, e-calendar.h, e-title-bar.c: Fixed the #include lines to deal properly with gal. * e-scroll-frame.c, e-scroll-frame.h: Moved to gal. From widgets/shortcut-bar/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-icon-bar.c, e-icon-bar.h, e-shortcut-bar.c, e-shortcut-model.c, test-shortcut-bar.c: Fixed the #include lines to deal properly with gal. From widgets/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed directories that have been moved to gal. * e-paned/.cvsignore, e-paned/Makefile.am, e-paned/e-hpaned.c, e-paned/e-hpaned.h, e-paned/e-paned.c, e-paned/e-paned.h, e-paned/e-vpaned.c, e-paned/e-vpaned.h: Moved to gal. * e-reflow/.cvsignore, e-reflow/Makefile.am, e-reflow/e-reflow-sorted.c, e-reflow/e-reflow-sorted.h, e-reflow/e-reflow.c, e-reflow/e-reflow.h: Moved to gal. * e-table/.cvsignore, e-table/ChangeLog, e-table/LICENSE, e-table/Makefile.am, e-table/ROADMAP.e-table, e-table/TODO, e-table/add-col.xpm, e-table/arrow-down.xpm, e-table/arrow-up.xpm, e-table/check-empty.xpm, e-table/check-filled.xpm, e-table/clip.png, e-table/e-cell-checkbox.c, e-table/e-cell-checkbox.h, e-table/e-cell-string.c, e-table/e-cell-text.c, e-table/e-cell-text.h, e-table/e-cell-toggle.c, e-table/e-cell-toggle.h, e-table/e-cell-tree.c, e-table/e-cell-tree.h, e-table/e-cell.c, e-table/e-cell.h, e-table/e-table-click-to-add.c, e-table/e-table-click-to-add.h, e-table/e-table-col-dnd.h, e-table/e-table-col.c, e-table/e-table-col.h, e-table/e-table-column-model.h, e-table/e-table-column.c, e-table/e-table-config.c, e-table/e-table-config.glade, e-table/e-table-config.glade.h, e-table/e-table-config.h, e-table/e-table-defines.h, e-table/e-table-example-1.c, e-table/e-table-example-2.c, e-table/e-table-field-chooser-dialog.c, e-table/e-table-field-chooser-dialog.h, e-table/e-table-field-chooser-item.c, e-table/e-table-field-chooser-item.h, e-table/e-table-field-chooser.c, e-table/e-table-field-chooser.glade, e-table/e-table-field-chooser.glade.h, e-table/e-table-field-chooser.h, e-table/e-table-group-container.c, e-table/e-table-group-container.h, e-table/e-table-group-leaf.c, e-table/e-table-group-leaf.h, e-table/e-table-group.c, e-table/e-table-group.glade, e-table/e-table-group.glade.h, e-table/e-table-group.h, e-table/e-table-header-item.c, e-table/e-table-header-item.h, e-table/e-table-header.c, e-table/e-table-header.h, e-table/e-table-item.c, e-table/e-table-item.h, e-table/e-table-model.c, e-table/e-table-model.h, e-table/e-table-one.c, e-table/e-table-one.h, e-table/e-table-scrolled.c, e-table/e-table-scrolled.h, e-table/e-table-selection-model.c, e-table/e-table-selection-model.h, e-table/e-table-simple.c, e-table/e-table-simple.h, e-table/e-table-size-test.c, e-table/e-table-sort-info.c, e-table/e-table-sort-info.h, e-table/e-table-sorted-variable.c, e-table/e-table-sorted-variable.h, e-table/e-table-sorted.c, e-table/e-table-sorted.h, e-table/e-table-sorter.c, e-table/e-table-sorter.h, e-table/e-table-subset-variable.c, e-table/e-table-subset-variable.h, e-table/e-table-subset.c, e-table/e-table-subset.h, e-table/e-table-text-model.c, e-table/e-table-text-model.h, e-table/e-table-tooltip.h, e-table/e-table-tree.h, e-table/e-table.c, e-table/e-table.h, e-table/e-tree-example-1.c, e-table/e-tree-example-2.c, e-table/e-tree-model.c, e-table/e-tree-model.h, e-table/e-tree-simple.c, e-table/e-tree-simple.h, e-table/image1.png, e-table/image2.png, e-table/image3.png, e-table/remove-col.xpm, e-table/sample.table, e-table/table-test.c, e-table/table-test.h, e-table/test-check.c, e-table/test-cols.c, e-table/test-table.c: Moved to gal. * e-text/.cvsignore, e-text/Makefile.am, e-text/e-entry-test.c, e-text/e-entry.c, e-text/e-entry.h, e-text/e-text-event-processor-emacs-like.c, e-text/e-text-event-processor-emacs-like.h, e-text/e-text-event-processor-types.h, e-text/e-text-event-processor.c, e-text/e-text-event-processor.h, e-text/e-text-model.c, e-text/e-text-model.h, e-text/e-text-test.c, e-text/e-text.c, e-text/e-text.h: Moved to gal. i.e., ... changed evolution to work with gal. svn path=/trunk/; revision=5490
* Leak prevention.Morten Welinder2000-09-181-2/+8
| | | | | | | | | 2000-09-17 Morten Welinder <terra@diku.dk> * src/widgets/e-colors.c (e_color_init): Don't leak if called twice. svn path=/trunk/; revision=5489
* Added e-reflow-sorted and e-reflow and fixed the #includes.Christopher James Lahey2000-09-181-4/+4
| | | | | | | | | | 2000-09-17 Christopher James Lahey <clahey@helixcode.com> * src/widgets/Makefile.am, src/widgets/e-reflow-sorted.c, src/widgets/e-reflow.c: Added e-reflow-sorted and e-reflow and fixed the #includes. svn path=/trunk/; revision=5487
* doh!Jody Goldberg2000-09-181-6/+6
| | | | | | | | | | | 2000-09-17 Jody Goldberg <jgoldberg@home.com> * src/widgets/e-colors.c (e_color_init) : doh! * configure.in : Add a version. * src/Makefile.am (libgal_la_LIBADD) : Update the set of lo files. svn path=/trunk/; revision=5486
* Added the src/widgets/pixmaps/ directory.Christopher James Lahey2000-09-181-0/+2
| | | | | | | | | | | | | | | | | 2000-09-17 Christopher James Lahey <clahey@helixcode.com> * configure.in, src/widgets/Makefile.am: Added the src/widgets/pixmaps/ directory. * po/ChangeLog: Necessary for make distcheck. * src/util/Makefile.am (libgalinclude_HEADERS): Fixed a typo of e-xml-utils.c to e-xml-utils.h. * src/widgets/pixmaps/.cvsignore, src/widgets/pixmaps/Makefile.am: Make this a full fledged directory for make distcheck purposes. svn path=/trunk/; revision=5484
* Removed duplicate $(EXTRA_GNOME_CFLAGS).Christopher James Lahey2000-09-181-1/+1
| | | | | | | | | | | | | | | | 2000-09-17 Christopher James Lahey <clahey@helixcode.com> * src/e-table/Makefile.am: Removed duplicate $(EXTRA_GNOME_CFLAGS). * src/util/Makefile.am: Added e-xml-utils.c and e-xml-utils.h. * src/widgets/Makefile.am: Added e-printable.c and e-printable.h. * src/widgets/e-printable.c: Fixed the include directory for e-util.h. svn path=/trunk/; revision=5483
* Fixed e-table #includes so that it would compile.Chris Lahey2000-09-1833-65/+65
| | | | svn path=/trunk/; revision=5482
* Changed #include lines to get e-text to compile.Chris Lahey2000-09-184-9/+9
| | | | svn path=/trunk/; revision=5481
* Move srcs from gnumeric andJody Goldberg2000-09-184-97/+191
| | | | | | Rename to e-colors and e-cursor svn path=/trunk/; revision=5480
* Remove e_create_image_widget functionJP Rosevear2000-09-183-50/+3
| | | | | | | | | | 2000-09-17 JP Rosevear <jpr@helixcode.com> * src/widgets/e-gui-utils.c: Remove e_create_image_widget function * src/widgets/e-canvas-vbox.c: Fix headers svn path=/trunk/; revision=5479
* Better calculations for tooltip positionsIain Holmes2000-09-187-20/+41
| | | | svn path=/trunk/; revision=5477
* Added some missing #includes.Christopher James Lahey2000-09-167-6/+16
| | | | | | | | | | | | 2000-09-16 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c: Added some missing #includes. * e-cell-tree.c: Removed an unused variable. * e-table-item.c: Added some missing casts. svn path=/trunk/; revision=5470
* Removed g_printIain Holmes2000-09-163-2/+4
| | | | svn path=/trunk/; revision=5469
* If the cursor is inside the subcell, call the show_tooltip on it.Iain Holmes2000-09-1618-87/+841
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-15 Iain Holmes <iain@helixcode.com> * e-cell-tree.c (ect_show_tooltip): If the cursor is inside the subcell, call the show_tooltip on it. * e-table-header-item.c (draw_button): Draw the arrow first, then take it's size into account when calculating how to draw the text. Use ellipsis if the text it too long. 2000-09-15 Iain Holmes <iain@helixcode.com> * e-table-header-item.c (draw_button): Fix a crash by passing the canvas widget to gtk_paint_box. Reported by Radek. 2000-09-14 Iain Holmes <iain@helixcode.com> * e-table-header-item.c (set_cursor): The column isn't resizable if it is the last, or if all other columns after it are not resizable. * e-cell-text.c (ect_max_width): Correctly calculate the width of the line of text. Unbuild the current cell and unref the lines as well. (build_current_cell): Initialize cell->style to 0; 2000-09-14 Iain Holmes <iain@helixcode.com> * e-table-item.c: Start timers for the tooltip to appear, on motion events. * e-cell.[ch]: Add a new show_tooltip method. * e-cell-text.c (ect_show_tooltip): Show the tooltip. svn path=/trunk/; revision=5466
* Fix a crash in draw_button.Iain Holmes2000-09-153-4/+10
| | | | svn path=/trunk/; revision=5444
* typo/compile fixPeter Williams2000-09-153-4/+4
| | | | svn path=/trunk/; revision=5441
* Fix some crashes Make double clicking on the header dividers automaticallyIain Holmes2000-09-1525-54/+517
| | | | | | | | | | | Fix some crashes Make double clicking on the header dividers automatically size the header to it's best fit. When dragging onto the header check the dragged item is a header object. Check the column is resizeable before setting the cursor to <-> Use the font and themes to draw the table and items. svn path=/trunk/; revision=5438
* fix path.Michael Meeks2000-09-142-1/+5
| | | | | | | | | | | | | | | | 2000-09-14 Michael Meeks <michael@helixcode.com> * gui/component/Makefile.am (evolution_addressbook_LDADD): fix path. * gui/component/addressbook.c: update include. * gui/component/addressbook-factory.c: update include. * gui/widgets/e-minicard-view.h: update include. * gui/search/e-addressbook-search-dialog.c: update include path. svn path=/trunk/; revision=5418
* Added widgets/e-reflow/Makefile. ReplacedChristopher James Lahey2000-09-144-1/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-13 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added widgets/e-reflow/Makefile. Replaced addressbook/gui/minicard/Makefile with addressbook/gui/widgets/Makefile. From addressbook/ChangeLog: 2000-09-13 Christopher James Lahey <clahey@helixcode.com> * gui/widgets/*, gui/minicard/*: Moved gui/minicard to gui/widgets, except for e-reflow.c, e-reflow.h, e-reflow-sorted.c, and e-reflow-sorted.h. * gui/widgets/Makefile.am: Added e-reflow to the INCLUDES list and libereflow.a to a bunch of LDADD lines. * gui/component/Makefile.am (evolution_addressbook_LDADD): Added libereflow.a here. * gui/Makefile.am (SUBDIRS): Replaced minicard with widgets. From widgets/ChangeLog: 2000-09-13 Christopher James Lahey <clahey@helixcode.com> * Makefile.am (SUBDIRS): Added e-reflow. * e-reflow/e-reflow.c, e-reflow/e-reflow.h: Moved from addressbook/gui/minicard/. * e-reflow/Makefile.am, e-reflow/.cvsignore: New files for a new directory. svn path=/trunk/; revision=5414
* Use underscores for untranslated characters fro Gtk+Lauris Kaplinski2000-09-131-52/+42
| | | | svn path=/trunk/; revision=5391
* Add a bunch of compile flags to the compilation of `tree-example-2'Ettore Perazzoli2000-09-122-0/+11
| | | | | | because it uses GNOME VFS so it needs them. svn path=/trunk/; revision=5366
* Made bold text calculate widths properly.Christopher James Lahey2000-09-123-34/+88
| | | | | | | | 2000-09-11 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c: Made bold text calculate widths properly. svn path=/trunk/; revision=5331
* Made page up and page down active in the ETable.Christopher James Lahey2000-09-113-6/+92
| | | | | | | | 2000-09-11 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Made page up and page down active in the ETable. svn path=/trunk/; revision=5319
* Added e_utf8_gtk_editable_get_text and e_utf8_gtk_editable_set_text.Christopher James Lahey2000-09-112-10/+36
| | | | | | | | | 2000-09-11 Christopher James Lahey <clahey@helixcode.com> * e-unicode.c, e-unicode.h: Added e_utf8_gtk_editable_get_text and e_utf8_gtk_editable_set_text. svn path=/trunk/; revision=5316
* added e-dateedit.[hc] and the test-dateedit app.Damon Chaplin2000-09-118-8/+1258
| | | | | | | | | | | | | | | | | | | 2000-09-11 Damon Chaplin <damon@helixcode.com> * Makefile.am (libemiscwidgets_a_SOURCES): added e-dateedit.[hc] and the test-dateedit app. * e-dateedit.[hc]: new widget to use instead of GnomeDateEdit. It uses the new ECalendar widget for the calendar and also supports "None", "Today" and "Now" buttons, and goes away with a single click. * test-dateedit.c: app to test the EDateEdit widget. * e-calendar-item.c: updated to support the EDateEdit better, mainly by adding the "move_selection_when_moving" arg so we can turn it off to keep the same day selected when changing the months shown. svn path=/trunk/; revision=5304
* Fixed the ETableModel callbacks.Christopher James Lahey2000-09-103-24/+28
| | | | | | | | 2000-09-09 Christopher James Lahey <clahey@helixcode.com> * e-tree-simple.c: Fixed the ETableModel callbacks. svn path=/trunk/; revision=5293
* Some UTF-8 fixes and experimental 16-bit unicode font supportLauris Kaplinski2000-09-093-10/+14
| | | | svn path=/trunk/; revision=5279
* Added base ETableModel functions.Christopher James Lahey2000-09-099-74/+498
| | | | | | | | | | | | | | 2000-09-08 Christopher James Lahey <clahey@helixcode.com> * e-tree-example-1.c: Added base ETableModel functions. * e-tree-example-2.c: Added base ETableModel functions. Made it never return NULL as a string, instead return "". * e-tree-simple.c, e-tree-simple.h: Require base ETableModel functions. svn path=/trunk/; revision=5266
* remove consts from the EPopupMenu structure: the caller may want to modifyDan Winship2000-09-091-4/+4
| | | | | | | | * e-popup-menu.h: remove consts from the EPopupMenu structure: the caller may want to modify its own EPopupMenu before calling e_popup_menu_run. svn path=/trunk/; revision=5261
* Bunch of unicode related changesLauris Kaplinski2000-09-082-9/+38
| | | | svn path=/trunk/; revision=5235
* Merge in the colour combo emhancements.Jody Goldberg2000-09-071-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-06 Jody Goldberg <jgoldberg@home.com> * color-group.c (color_group_new_named) : strdup the name if it is supplied by the user. (color_group_class_init) : Use the destroy method. 2000-09-03 Michael Levy <mlevy@genoscope.cns.fr> * color-group.c : Re-write of color-combo-group.c to allow for arbitrary widgets to share a common color history. * widget-color-combo.c : Extracted all the code required to make the color table and moved it to a new object (ColorPalette). Changed the ColorCombo so that it uses the ColorPalette (and the shared color hsitory provided by the groupped ColorPalettes). All the code that refered to the creation of the color table was removed, and when appropriate, moved to color-palette.c Removed all mention of ColorComboGroups (as these no longer exist). * color-palette.c : Extracted from widget-color-combo.c (color_palette_new) : Creates a color palette. (color_palette_get_current_color) : returns the current color. 2000-07-30 Michael Levy <mlevy@genoscope.cns.fr> * color-combo-group.c : New GtkObject meant to group color combo boxes so that their custom color histories are shared. Includes functions to create and destroy the object, as well as those required size, and navigate through the custom color history. * widget-color-combo.c (group_new_custom_color) : New function to handle the new_custom_color signal emitted by the ColorComboGroup (custom_color_history_setup) : New function which initialises a combo box's custom color history with the one stored in the group (color_table_setup) : Added call to custom_color_history_setup. (cust_color_set) : Removed call to cust_color_row_shift and moved it to group_new_custom_color. Also added call to color_combo_group_add_color in order to notify group of change (color_combo_new_with_vals) : Added mandatory group name to function prototype. Also added call to color_combo_group_new_named and connected the "new_custom_color" signal emitted by the newly created group to group_new_custom_color (color_combo_new) : Added mandatory group name to function prototype. * widget-color-combo.c (color_combo_new) : Added mandatory group name to function prototype. svn path=/trunk/; revision=5229
* Remove incorrect optimization. Events are read-only!Federico Mena Quintero2000-09-071-12/+8
| | | | | | | | | 2000-09-07 Federico Mena Quintero <federico@helixcode.com> * e-canvas.c (emit_event): Remove incorrect optimization. Events are read-only! svn path=/trunk/; revision=5228
* Get the meeting time selector to work on my system (libunicodeEttore Perazzoli2000-09-072-0/+5
| | | | | | | installation prefix different from the GNOME default installation prefix). svn path=/trunk/; revision=5223
* make sure we get the start_weekday since we need it for draw_days(). FixesDamon Chaplin2000-09-063-21/+31
| | | | | | | | | | | | | | | | 2000-09-05 Damon Chaplin <damon@helixcode.com> * e-calendar-item.c (e_calendar_item_draw_month): make sure we get the start_weekday since we need it for draw_days(). Fixes a drawing bug. 2000-08-31 Damon Chaplin <damon@helixcode.com> * e-calendar-item.c (e_calendar_item_button_press): (e_calendar_item_button_release): grab/ungrab the pointer so we always get the button_release event. svn path=/trunk/; revision=5216
* New font translation code for utf-8, but commented out at momentLauris Kaplinski2000-09-051-36/+32
| | | | svn path=/trunk/; revision=5194
* A bit more e_utf8 wrappers here and thereLauris Kaplinski2000-09-024-6/+57
| | | | svn path=/trunk/; revision=5180
* Fixed a leak and a double unref.Christopher James Lahey2000-09-025-6/+6
| | | | | | | | 2000-09-01 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c, e-table.c: Fixed a leak and a double unref. svn path=/trunk/; revision=5174
* new test, a home grown 2 hour hack of a file browser. usesChris Toshok2000-09-016-1/+1374
| | | | | | | | | | | | | | 2000-09-01 Chris Toshok <toshok@helixcode.com> * e-tree-example-2.c: new test, a home grown 2 hour hack of a file browser. uses node_collapsed/emitted signals to populate the left tree. * Makefile.am: add tree-example-2.c stuff. * .cvsignore: add tree-example-2 svn path=/trunk/; revision=5163
* add signals/prototypes for e_tree_model_node_collapsed andChris Toshok2000-09-015-22/+139
| | | | | | | | | | | | | | | | | 2000-09-01 Chris Toshok <toshok@helixcode.com> * e-tree-model.h: add signals/prototypes for e_tree_model_node_collapsed and e_tree_model_node_expanded. * e-tree-model.c (etree_set_expanded): emit node_expanded/node_collapsed signals, with node_expanded happening before the expansion so it can much with the children, and collapsed being emitted after. (e_tree_model_row_of_node): remove stupid check, and g_warning. (e_tree_model_node_collapsed): new function. (e_tree_model_node_expanded): new function. svn path=/trunk/; revision=5162
* Email should now display correctly in GtkHTMLLauris Kaplinski2000-09-012-0/+931
| | | | svn path=/trunk/; revision=5154
* Made the selection work when shift clicking on the first row of the table.Christopher James Lahey2000-08-313-14/+19
| | | | | | | | | 2000-08-31 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c: Made the selection work when shift clicking on the first row of the table. svn path=/trunk/; revision=5139
* Fix the tree example so that is doesn't show two sets of expand/unexpandRichard Hult2000-08-313-8/+20
| | | | | | icons at tree nodes. svn path=/trunk/; revision=5137
* #define gnome_font_lookup_default for gnome-print 0.20Lauris Kaplinski2000-08-311-0/+1
| | | | svn path=/trunk/; revision=5133
* New base class for Cells. Convert everything to access the elements thatJody Goldberg2000-08-312-0/+4
| | | | | | | | | | | | | | | | | | | | | | | 2000-08-30 Jody Goldberg <jgoldberg@home.com> * dependent.[ch] : New base class for Cells. Convert everything to access the elements that are now in the cell's base. s/Cell::sheet/Cell::Dependent::sheet/ s/Cell::cell_flags/Cell::Dependent::flags/ * Makefile.am : Because of XL we need to build plugins before src. That will need changing. * src/func.c (function_marshal_arg) : Use expr_array_intersection. * src/expr.c (eval_expr_real) : Do implicit conversions from strings to numbers if possible. Access the first element of an array. NOTE : This is WRONG We need to implement array expression behavior some day. (expr_array_intersection) : New routine. svn path=/trunk/; revision=5127
* Made it compilable both with gnome-print 0.20 and 0.21+Lauris Kaplinski2000-08-311-0/+6
| | | | svn path=/trunk/; revision=5126
* Do not flicker while trying to resize a quantized pane.Federico Mena Quintero2000-08-313-6/+33
| | | | | | | | | | | 2000-08-30 Federico Mena Quintero <federico@helixcode.com> * e-paned/e-hpaned.c (e_hpaned_motion): Do not flicker while trying to resize a quantized pane. * e-paned/e-vpaned.c (e_vpaned_motion): Likewise. svn path=/trunk/; revision=5125
* Ensure that the child's allocation height is >= 1.Federico Mena Quintero2000-08-313-8/+25
| | | | | | | | | | | | | | | | 2000-08-30 Federico Mena Quintero <federico@helixcode.com> * widgets/e-paned/e-vpaned.c (e_vpaned_size_allocate): Ensure that the child's allocation height is >= 1. * widgets/e-paned/e-hpaned.c (e_hpaned_size_allocate): Ensure that the child's allocation width is >= 1. 2000-08-30 Federico Mena Quintero <federico@helixcode.com> * ChangeLog: Started a ChangeLog here. svn path=/trunk/; revision=5123
* Updated.Damon Chaplin2000-08-316-476/+2151
| | | | | | | | | 2000-08-30 Damon Chaplin <damon@helixcode.com> * e-calendar-item.[hc]: * e-calendar.[hc]: Updated. svn path=/trunk/; revision=5120
* make e-util depend on libunicodeDan Winship2000-08-301-1/+1
| | | | | | | | | | | * Makefile.am (libeutil_la_LIBADD): make e-util depend on libunicode * e-popup-menu.c (make_item): Use GtkMenuItem rather than GtkPixmapMenuItem for items with no pixmaps, so that if the whole menu is pixmapless, you don't get a column of blank pixmaps. svn path=/trunk/; revision=5114
* Make printing of groups work better and make them print headers.Christopher James Lahey2000-08-295-76/+275
| | | | | | | | | | | 2000-08-28 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c: Make printing of groups work better and make them print headers. * e-table-item.c: Turn off alternating row support. svn path=/trunk/; revision=5086
* Remove a ton of (hopefully harmless) warnings from the ETable code.Ettore Perazzoli2000-08-287-12/+46
| | | | svn path=/trunk/; revision=5081
* Added some g_return_if_fails and g_return_val_if_fails.Christopher James Lahey2000-08-2610-31/+122
| | | | | | | | | | 2000-08-25 Christopher James Lahey <clahey@helixcode.com> * e-table-col.c, e-table-config.c, e-table-header.c, e-table-text-model.c: Added some g_return_if_fails and g_return_val_if_fails. svn path=/trunk/; revision=5056
* More UTF-8 handlingLauris Kaplinski2000-08-252-0/+19
| | | | svn path=/trunk/; revision=5032
* Fix an off by one error that was causing crashes.Christopher James Lahey2000-08-253-2/+8
| | | | | | | | 2000-08-24 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Fix an off by one error that was causing crashes. svn path=/trunk/; revision=5027
* Set default values for all of the signal emissions.Christopher James Lahey2000-08-253-6/+10
| | | | | | | | 2000-08-24 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Set default values for all of the signal emissions. svn path=/trunk/; revision=5026
* Check for selection->selection being NULL inChristopher James Lahey2000-08-253-0/+11
| | | | | | | | | 2000-08-24 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c: Check for selection->selection being NULL in e_table_selection_model_selected_count. svn path=/trunk/; revision=5025
* Pay attention to the return value from the click signal.Christopher James Lahey2000-08-253-4/+21
| | | | | | | | | 2000-08-24 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c: Pay attention to the return value from the click signal. svn path=/trunk/; revision=5022
* Added a click signal which gets sent if the user hits the left or middleChristopher James Lahey2000-08-2517-1/+187
| | | | | | | | | | | 2000-08-24 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-group.h, e-table-item.c, e-table-item.h, e-table.c, e-table.h: Added a click signal which gets sent if the user hits the left or middle mouse button on a cell. svn path=/trunk/; revision=5020
* Forgot to commit thisChris Lahey2000-08-252-4/+4
| | | | svn path=/trunk/; revision=5019
* Added g_return_if_fails.Christopher James Lahey2000-08-255-6/+272
| | | | | | | | 2000-08-24 Christopher James Lahey <clahey@helixcode.com> * e-table-scrolled.c, e-table.c: Added g_return_if_fails. svn path=/trunk/; revision=5015
* Added infrastructure for setting the justification of columns. Still needChristopher James Lahey2000-08-2517-22/+116
| | | | | | | | | | | | 2000-08-24 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c, e-cell-toggle.c, e-cell-tree.c, e-cell.c, e-cell.h, e-table-col.c, e-table-col.h, e-table-item.c: Added infrastructure for setting the justification of columns. Still need to change the cells to support it and need to add user interface to change the justification. svn path=/trunk/; revision=5010
* Unicode in addressbook basically works, including simple searchingLauris Kaplinski2000-08-244-2/+50
| | | | svn path=/trunk/; revision=4997
* Fixed a bug in e_table_subset_variable_increment that causes problems withChristopher James Lahey2000-08-243-4/+11
| | | | | | | | | | | 2000-08-23 Christopher James Lahey <clahey@helixcode.com> * e-table-subset-variable.c: Fixed a bug in e_table_subset_variable_increment that causes problems with ETree's. Specifically, when you incremented at position x, the row x didn't get incremented as it should (s/>/>=/.) svn path=/trunk/; revision=4994
* Added missing e-unicode.h and e-unicode.cLauris Kaplinski2000-08-232-0/+186
| | | | svn path=/trunk/; revision=4977
* UTF-8 in contact editor + some fixes for dealing with illegal stringsLauris Kaplinski2000-08-232-2/+8
| | | | svn path=/trunk/; revision=4976
* remove tree-expanded.xpm and tree-unexpanded.xpm.Chris Toshok2000-08-238-101/+18
| | | | | | | | | | | | | | | | | 2000-08-22 Chris Toshok <toshok@helixcode.com> * Makefile.am (icons): remove tree-expanded.xpm and tree-unexpanded.xpm. * e-tree-example-1.c: use art/tree-expanded.xpm and art/tree-unexpanded.xpm. (remove_node): commit the change listed below (08-21). * tree-expanded.xpm: removed. * tree-unexpanded.xpm: removed. svn path=/trunk/; revision=4975
* Handle iso-8859-1 keys nicely in e-text and e-table. Other encodings toLauris Kaplinski2000-08-235-8/+73
| | | | | | come... svn path=/trunk/; revision=4972
* Use byte, not character based UTF-8 syntax in e-textLauris Kaplinski2000-08-224-246/+254
| | | | svn path=/trunk/; revision=4963
* Moved drawing of the cell backgrounds from ECell into ETableItem.Christopher James Lahey2000-08-2211-60/+53
| | | | | | | | | | | 2000-08-22 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c, e-cell-toggle.c, e-cell-tree.c, e-table-item.c: Moved drawing of the cell backgrounds from ECell into ETableItem. * e-tree-model.c: Include stdlib.c. svn path=/trunk/; revision=4915
* Changed UTF-8 handling syntax from char based to byte basedLauris Kaplinski2000-08-223-234/+252
| | | | svn path=/trunk/; revision=4913
* we can remove nodes with children now.Chris Toshok2000-08-225-10/+122
| | | | | | | | | | | | | | | | | | | | | | 2000-08-21 Chris Toshok <toshok@helixcode.com> * e-tree-example-1.c (remove_node): we can remove nodes with children now. * e-tree-model.h: add prototype for e_tree_model_node_sort. * e-tree-model.c (etree_set_expanded): if the node is invisible, just set its expanded flag and return. (e_tree_model_root_node_set_visible): call set_expanded before we remove it from the row array or else the aforementioned change will result in nothing happening. (e_tree_model_node_insert): use a position of -1 as "append". (e_tree_model_node_insert): if the model was marked with root_visible == FALSE, make sure to set it's expanded flag to TRUE when the root node is inserted. (e_tree_model_node_sort): new function. svn path=/trunk/; revision=4912
* pass table, not site as the closure for these drag signals, sinceChris Toshok2000-08-223-4/+10
| | | | | | | | | | 2000-08-21 Chris Toshok <toshok@helixcode.com> * e-table.c (e_table_drag_source_set): pass table, not site as the closure for these drag signals, since e_table_drag_source_event_cb assumes it's the table. svn path=/trunk/; revision=4911
* Added code to make handle position persist across resizes.Christopher James Lahey2000-08-214-11/+17
| | | | | | | | | | 2000-08-21 Christopher James Lahey <clahey@helixcode.com> * widgets/e-paned/e-hpaned.c, widgets/e-paned/e-paned.c, widgets/e-paned/e-paned.h, widgets/e-paned/e-vpaned.c: Added code to make handle position persist across resizes. svn path=/trunk/; revision=4898
* ChangeLog error.Chris Lahey2000-08-211-1/+1
| | | | svn path=/trunk/; revision=4894
* Added e_table_selection_model_selected_count.Christopher James Lahey2000-08-215-0/+59
| | | | | | | | | 2000-08-20 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c: Added e_table_selection_model_selected_count. svn path=/trunk/; revision=4893
* many fixes to make it compile with strange prefixes...Mathieu Lacage2000-08-211-2/+2
| | | | | | | neither mail nor the calendar components work though... evil stuff. svn path=/trunk/; revision=4892