aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
Commit message (Collapse)AuthorAgeFilesLines
* try to parse just a date first, and if that works we assume it is a DATEDamon Chaplin2001-10-302-15/+32
| | | | | | | | | | | | | 2001-10-30 Damon Chaplin <damon@ximian.com> * e-cell-date-edit.c (e_cell_date_edit_set_popup_values): try to parse just a date first, and if that works we assume it is a DATE value, so we clear the time field in the popup. (e_cell_date_edit_on_ok_clicked): if the time field is empty, use a DATE value. Also removed some debug messages. svn path=/trunk/; revision=14455
* Set the item to the option_base on it, so the current item is set. Fix for02001-10-302-0/+7
| | | | | | | | | 2001-10-30 <NotZed@Ximian.com> * e-filter-bar.c (set_option): Set the item to the option_base on it, so the current item is set. Fix for #7081. svn path=/trunk/; revision=14451
* Fix this to check from initial instead of initial + 1.Christopher James Lahey2001-10-301-1/+1
| | | | | | | | | 2001-10-30 Christopher James Lahey <clahey@ximian.com> * e-tree-sorted.c (check_last_access): Fix this to check from initial instead of initial + 1. svn path=/trunk/; revision=14445
* Added column_width argument.Christopher James Lahey2001-10-301-0/+21
| | | | | | | | 2001-10-30 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-reflow.c: Added column_width argument. svn path=/trunk/; revision=14444
* Calc height here if we need it to check the y position of the cursor.Christopher James Lahey2001-10-301-0/+7
| | | | | | | | | 2001-10-30 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.c (e_text_reflow): Calc height here if we need it to check the y position of the cursor. svn path=/trunk/; revision=14443
* Adapt to the new ECellPopup signature.Christopher James Lahey2001-10-302-12/+29
| | | | | | | | | 2001-10-30 Christopher James Lahey <clahey@ximian.com> * e-cell-date-edit.c (e_cell_date_edit_get_popup_pos): Adapt to the new ECellPopup signature. svn path=/trunk/; revision=14441
* Bumped the version number here to 0.15.99.9.Christopher James Lahey2001-10-305-44/+72
| | | | | | | | | | | | | | | | | | | | | | | 2001-10-30 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the version number here to 0.15.99.9. From gal/e-table/ChangeLog: 2001-10-30 Christopher James Lahey <clahey@ximian.com> * e-cell-combo.c: Adapt to the changed popup signature. * e-cell-popup.c, e-cell-popup.h: Changed the behavior here to draw the button whenever we have the cursor. Changed the popup virtual method to pass in the row and column popping up. * e-cell.h: Added an E_CELL_CURSOR flag. * e-table-item.c: Pass in the E_CELL_CURSOR flag to event and draw calls as appropriate. svn path=/trunk/; revision=14439
* ref the ECalendarItem and check if it gets destroyed, to try to avoid aDamon Chaplin2001-10-304-7/+31
| | | | | | | | | | | | | 2001-10-29 Damon Chaplin <damon@ximian.com> * e-calendar-item.c (e_calendar_item_signal_emission_idle_cb): ref the ECalendarItem and check if it gets destroyed, to try to avoid a free memory write. * e-dateedit.c (e_date_edit_set_time_of_day): allow setting the time to empty by passing hour as -1. svn path=/trunk/; revision=14394
* Added. Makes our popup window a transient of the toplevel.Jon Trowbridge2001-10-301-0/+24
| | | | | | | | | | | | | | 2001-10-29 Jon Trowbridge <trow@ximian.com> * gal/e-text/e-entry.c (e_entry_make_completion_window_transient): Added. Makes our popup window a transient of the toplevel. (e_entry_enable_completion_full): Try to make our popup a transient. (e_entry_realize): Also try to make our popup a transient here, in case the entry wasn't packed before we enabled completion. This is all an attempt to fix bug #13791. svn path=/trunk/; revision=14390
* destroy our completion_view_popup... we've been leaking them all of thisJon Trowbridge2001-10-301-1/+3
| | | | | | | | | | 2001-10-29 Jon Trowbridge <trow@ximian.com> * gal/e-text/e-entry.c (e_entry_destroy): destroy our completion_view_popup... we've been leaking them all of this time. This should fix the mysterious bug #13900. svn path=/trunk/; revision=14381
* Ignore buttons 4 and 5 here. Fixes Ximian bug #13853.Christopher James Lahey2001-10-302-12/+16
| | | | | | | | | | 2001-10-29 Christopher James Lahey <clahey@ximian.com> * e-table.c (et_canvas_root_event), e-tree.c (et_canvas_root_event): Ignore buttons 4 and 5 here. Fixes Ximian bug #13853. svn path=/trunk/; revision=14376
* Hide the Help button here since there's nothing connected to it.Christopher James Lahey2001-10-302-2/+21
| | | | | | | | | | | | 2001-10-29 Christopher James Lahey <clahey@ximian.com> * e-table-config.c (setup_gui): Hide the Help button here since there's nothing connected to it. * e-tree-sorted.c (ets_sort_idle): Don't nest ets_sort_idle calls. Fixes Ximian bug #13929. svn path=/trunk/; revision=14368
* Silently drop match strings that contain invalid utf-8... not a good thingJon Trowbridge2001-10-301-18/+17
| | | | | | | | | | | 2001-10-29 Jon Trowbridge <trow@ximian.com> * gal/e-text/e-completion-match.c (e_completion_match_set_text): Silently drop match strings that contain invalid utf-8... not a good thing to do, but better than any of the currently available alternatives. svn path=/trunk/; revision=14364
* Don't go outside the table looking for matches when doing the last_accessChristopher James Lahey2001-10-303-16/+17
| | | | | | | | | | | 2001-10-29 Christopher James Lahey <clahey@ximian.com> * e-table-subset.c (etss_get_view_row), e-tree-sorted.c (check_last_access), e-tree-table-adapter.c (find_row_num): Don't go outside the table looking for matches when doing the last_access search. svn path=/trunk/; revision=14359
* Set text->revert = NULL here. (e_text_cancel_editing): Only revert ifChristopher James Lahey2001-10-291-1/+4
| | | | | | | | | | 2001-10-29 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.c (e_text_stop_editing): Set text->revert = NULL here. (e_text_cancel_editing): Only revert if text->revert is non-null. svn path=/trunk/; revision=14334
* Bumped version number here to 0.15.99.7.Christopher James Lahey2001-10-292-4/+22
| | | | | | | | | | | | | 2001-10-29 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped version number here to 0.15.99.7. * gal/e-text/e-text.c, gal/e-text/e-text.h (e_text_stop_editing): Exported this function. (e_text_cancel_editing): New function. Allows you to revert edits. svn path=/trunk/; revision=14332
* Fix crash here.Christopher James Lahey2001-10-281-1/+1
| | | | | | | | 2001-10-28 Christopher James Lahey <clahey@ximian.com> * e-table.c (table_canvas_focus_event_cb): Fix crash here. svn path=/trunk/; revision=14279
* Check item->type != NULL here. Fixes Ximian bug #4668.Christopher James Lahey2001-10-281-1/+1
| | | | | | | | | 2001-10-28 Christopher James Lahey <clahey@ximian.com> * gal-view-collection.c (load_single_file): Check item->type != NULL here. Fixes Ximian bug #4668. svn path=/trunk/; revision=14278
* Removed erroneous comment about needing to handle selection better.Christopher James Lahey2001-10-281-2/+0
| | | | | | | | | 2001-10-28 Christopher James Lahey <clahey@ximian.com> * e-cell-text.c: Removed erroneous comment about needing to handle selection better. svn path=/trunk/; revision=14272
* Commented out connecting to the scroll adjustments here since it's notChristopher James Lahey2001-10-281-30/+37
| | | | | | | | | | 2001-10-27 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-reflow.c (connect_set_adjustment): Commented out connecting to the scroll adjustments here since it's not necessary for how we use e-reflow. Fixes Ximian bug #13306. svn path=/trunk/; revision=14271
* More fixing of the license texts.Ettore Perazzoli2001-10-286-58/+58
| | | | svn path=/trunk/; revision=14241
* Bumped the version number to 0.15.99.6 for emulate_label_resize.Christopher James Lahey2001-10-281-13/+88
| | | | | | | | | | | | 2001-10-27 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the version number to 0.15.99.6 for emulate_label_resize. * gal/e-text/e-entry.c: Added "emulate_label_resize" argument to make EEntry act like a label for width resizing purposes. svn path=/trunk/; revision=14227
* Fixing the license text.Ettore Perazzoli2001-10-2828-28/+0
| | | | svn path=/trunk/; revision=14212
* Update the licensing information to require version 2 of the GPLEttore Perazzoli2001-10-2728-56/+56
| | | | | | (instead of version 2 or any later version). svn path=/trunk/; revision=14190
* Chain the cursor_activated signal even if the row is -1.Christopher James Lahey2001-10-272-11/+10
| | | | | | | | | | | | 2001-10-26 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_cursor_activated): Chain the cursor_activated signal even if the row is -1. * e-tree.c (item_cursor_activated): Don't error out here if path is NULL. svn path=/trunk/; revision=14185
* Changed the license announcement at the top of these files.Christopher James Lahey2001-10-273-10/+60
| | | | | | | | | | 2001-10-26 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text-test.c, gal/util/e-i18n.h, gal/widgets/e-hsv-utils.c, gal/widgets/e-hsv-utils.h: Changed the license announcement at the top of these files. svn path=/trunk/; revision=14169
* Changed the license announcement at the top of these files.Christopher James Lahey2001-10-272-38/+38
| | | | | | | | | 2001-10-26 Christopher James Lahey <clahey@ximian.com> * e-cell-float.c, e-cell-float.h: Changed the license announcement at the top of these files. svn path=/trunk/; revision=14168
* Changed the license announcement at the top of these files.Christopher James Lahey2001-10-2750-423/+930
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-26 Christopher James Lahey <clahey@ximian.com> * gal/e-paned/e-hpaned.c, gal/e-paned/e-hpaned.h, gal/e-paned/e-paned.c, gal/e-paned/e-paned.h, gal/e-paned/e-vpaned.c, gal/e-paned/e-vpaned.h, gal/e-text/e-completion-match.c, gal/e-text/e-completion-match.h, gal/e-text/e-completion-test.c, gal/e-text/e-completion-view.c, gal/e-text/e-completion-view.h, gal/e-text/e-completion.c, gal/e-text/e-completion.h, gal/e-text/e-entry-test.c, gal/e-text/e-entry.c, gal/e-text/e-entry.h, gal/e-text/e-table-text-model.c, gal/e-text/e-table-text-model.h, gal/e-text/e-text-model-repos.c, gal/e-text/e-text-model-repos.h, gal/e-text/e-text-model-test.c, gal/e-text/e-text-model-uri.c, gal/e-text/e-text-model-uri.h, gal/e-text/e-text-model.c, gal/e-text/e-text-model.h, gal/e-text/e-text.c, gal/e-text/e-text.h, gal/util/e-bit-array.c, gal/util/e-bit-array.h, gal/util/e-cache.c, gal/util/e-cache.h, gal/util/e-iconv.c, gal/util/e-iconv.h, gal/util/e-sorter-array.c, gal/util/e-sorter-array.h, gal/util/e-sorter.c, gal/util/e-sorter.h, gal/util/e-text-event-processor-emacs-like.c, gal/util/e-text-event-processor-emacs-like.h, gal/util/e-text-event-processor-types.h, gal/util/e-text-event-processor.c, gal/util/e-text-event-processor.h, gal/util/e-util.c, gal/util/e-util.h, gal/util/e-xml-utils.c, gal/util/e-xml-utils.h, gal/widgets/color-group.c, gal/widgets/color-group.h, gal/widgets/color-palette.c, gal/widgets/color-palette.h, gal/widgets/e-canvas-utils.c, gal/widgets/e-canvas-utils.h, gal/widgets/e-canvas-vbox.c, gal/widgets/e-canvas-vbox.h, gal/widgets/e-canvas.c, gal/widgets/e-canvas.h, gal/widgets/e-categories-master-list-array.c, gal/widgets/e-categories-master-list-array.h, gal/widgets/e-categories-master-list-combo.c, gal/widgets/e-categories-master-list-combo.h, gal/widgets/e-categories-master-list-dialog-model.c, gal/widgets/e-categories-master-list-dialog-model.h, gal/widgets/e-categories-master-list-dialog.c, gal/widgets/e-categories-master-list-dialog.h, gal/widgets/e-categories-master-list.c, gal/widgets/e-categories-master-list.h, gal/widgets/e-categories.c, gal/widgets/e-categories.h, gal/widgets/e-colors.c, gal/widgets/e-colors.h, gal/widgets/e-cursors.c, gal/widgets/e-cursors.h, gal/widgets/e-font.c, gal/widgets/e-font.h, gal/widgets/e-gui-utils.c, gal/widgets/e-gui-utils.h, gal/widgets/e-hscrollbar.c, gal/widgets/e-hscrollbar.h, gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h, gal/widgets/e-printable.c, gal/widgets/e-printable.h, gal/widgets/e-reflow-model.c, gal/widgets/e-reflow-model.h, gal/widgets/e-reflow-sorted.c, gal/widgets/e-reflow-sorted.h, gal/widgets/e-reflow.c, gal/widgets/e-reflow.h, gal/widgets/e-scroll-frame.c, gal/widgets/e-scroll-frame.h, gal/widgets/e-selection-model-array.c, gal/widgets/e-selection-model-array.h, gal/widgets/e-selection-model-simple.c, gal/widgets/e-selection-model-simple.h, gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h, gal/widgets/e-unicode.c, gal/widgets/e-unicode.h, gal/widgets/e-vscrollbar.c, gal/widgets/e-vscrollbar.h, gal/widgets/gtk-combo-box.c, gal/widgets/gtk-combo-box.h, gal/widgets/gtk-combo-stack.c, gal/widgets/gtk-combo-stack.h, gal/widgets/gtk-combo-text.c, gal/widgets/gtk-combo-text.h, gal/widgets/test-color.c, gal/widgets/test-e-font.c, gal/widgets/test-e-font.h, gal/widgets/test-font-loading.c, gal/widgets/widget-color-combo.c, gal/widgets/widget-color-combo.h, gal/widgets/widget-pixmap-combo.c, gal/widgets/widget-pixmap-combo.h, src/e-table/e-table-sorted-variable.c, tests/test-define-views.c, tests/test-shortcut-bar.c, tests/test-table-1.c, tests/test-tree-1.c, tests/test-tree-2.c, tests/test-tree-3.c, tests/test-unicode.c: Changed the license announcement at the top of these files. svn path=/trunk/; revision=14158
* Changed the license announcement at the top of these files.Christopher James Lahey2001-10-2716-76/+302
| | | | | | | | | | | | | | | 2001-10-24 Christopher James Lahey <clahey@ximian.com> * gal-define-views-dialog.c, gal-define-views-dialog.h, gal-define-views-model.c, gal-define-views-model.h, gal-view-collection.c, gal-view-collection.h, gal-view-etable.c, gal-view-etable.h, gal-view-factory-etable.c, gal-view-factory-etable.h, gal-view-factory.c, gal-view-factory.h, gal-view-new-dialog.c, gal-view-new-dialog.h, gal-view.c, gal-view.h: Changed the license announcement at the top of these files. svn path=/trunk/; revision=14155
* Changed the license announcement at the top of these files.Christopher James Lahey2001-10-27128-495/+2554
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-26 Christopher James Lahey <clahey@ximian.com> * e-cell-checkbox.c, e-cell-checkbox.h, e-cell-combo.c, e-cell-combo.h, e-cell-date.c, e-cell-date.h, e-cell-number.c, e-cell-number.h, e-cell-pixbuf.c, e-cell-pixbuf.h, e-cell-popup.c, e-cell-popup.h, e-cell-size.c, e-cell-size.h, e-cell-spin-button.c, e-cell-spin-button.h, e-cell-string.c, e-cell-text.c, e-cell-text.h, e-cell-toggle.c, e-cell-toggle.h, e-cell-tree.c, e-cell-tree.h, e-cell.c, e-cell.h, e-table-click-to-add.c, e-table-click-to-add.h, e-table-col-dnd.h, e-table-col.c, e-table-col.h, e-table-column-specification.c, e-table-column-specification.h, e-table-column.c, e-table-config-field.c, e-table-config-field.h, e-table-config.c, e-table-config.h, e-table-defines.h, e-table-example-1.c, e-table-example-2.c, e-table-extras.c, e-table-extras.h, e-table-field-chooser-dialog.c, e-table-field-chooser-dialog.h, e-table-field-chooser-item.c, e-table-field-chooser-item.h, e-table-field-chooser.c, e-table-field-chooser.h, e-table-group-container.c, e-table-group-container.h, e-table-group-leaf.c, e-table-group-leaf.h, e-table-group.c, e-table-group.h, e-table-header-item.c, e-table-header-item.h, e-table-header-utils.c, e-table-header-utils.h, e-table-header.c, e-table-header.h, e-table-item.c, e-table-item.h, e-table-memory-callbacks.c, e-table-memory-callbacks.h, e-table-memory.c, e-table-memory.h, e-table-model.c, e-table-model.h, e-table-one.c, e-table-one.h, e-table-scrolled.c, e-table-scrolled.h, e-table-selection-model.c, e-table-selection-model.h, e-table-simple.c, e-table-simple.h, e-table-size-test.c, e-table-sort-info.c, e-table-sort-info.h, e-table-sorted-variable.c, e-table-sorted-variable.h, e-table-sorted.c, e-table-sorted.h, e-table-sorter.c, e-table-sorter.h, e-table-sorting-utils.c, e-table-sorting-utils.h, e-table-specification.c, e-table-specification.h, e-table-state.c, e-table-state.h, e-table-subset-variable.c, e-table-subset-variable.h, e-table-subset.c, e-table-subset.h, e-table-tooltip.h, e-table-tree.h, e-table-utils.c, e-table-utils.h, e-table-without.c, e-table-without.h, e-table.c, e-table.h, e-tree-memory-callbacks.c, e-tree-memory-callbacks.h, e-tree-memory.c, e-tree-memory.h, e-tree-model.c, e-tree-model.h, e-tree-scrolled.c, e-tree-scrolled.h, e-tree-selection-model.c, e-tree-selection-model.h, e-tree-simple.c, e-tree-simple.h, e-tree-sorted-variable.c, e-tree-sorted-variable.h, e-tree-sorted.c, e-tree-sorted.h, e-tree-table-adapter.c, e-tree-table-adapter.h, e-tree.c, e-tree.h, table-test.c, table-test.h, test-check.c, test-cols.c, test-table.c: Changed the license announcement at the top of these files. * e-cell-string.c: Removed unused file. svn path=/trunk/; revision=14154
* Added cursor_changed handling to set the has_cursor argument of theChristopher James Lahey2001-10-262-0/+42
| | | | | | | | | | 2001-10-26 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-reflow.c, gal/widgets/e-reflow.h: Added cursor_changed handling to set the has_cursor argument of the contained objects. svn path=/trunk/; revision=14136
* Document allow-grouping attribute.Christopher James Lahey2001-10-265-10/+24
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-26 Christopher James Lahey <clahey@ximian.com> * docs/etablexml.txt: Document allow-grouping attribute. * tests/test-table-1.c (SPEC): Updated this to test the allow_grouping=\"false\" attribute. From gal/e-table/ChangeLog: 2001-10-26 Christopher James Lahey <clahey@ximian.com> * e-table-config.c (config_group_info_update, config_fields_info_update): Added some checks for NULL labels here. * e-table-specification.c, e-table-specification.h: Added allow_grouping field. Fixes Ximian bug #13412. * e-table.c, e-table.h: Added allow_grouping field. Set this field for the sort infos from state objects. svn path=/trunk/; revision=14134
* Fixed warnings here.Christopher James Lahey2001-10-261-8/+8
| | | | | | | | | | | | 2001-10-26 Christopher James Lahey <clahey@ximian.com> * gal/util/e-iconv.c (e_iconv), gal/widgets/e-font.c (e_font_to_native), gal/widgets/e-unicode.c (e_utf8_from_iconv_string_sized, e_utf8_to_iconv_string_sized, e_utf8_from_gtk_string_sized, e_utf8_to_gtk_string_sized): Fixed warnings here. svn path=/trunk/; revision=14132
* If the root node is hidden and selected, don't count it in the selectedChristopher James Lahey2001-10-262-23/+48
| | | | | | | | | | | | | 2001-10-26 Christopher James Lahey <clahey@ximian.com> * e-tree-selection-model.c (etsm_selected_count): If the root node is hidden and selected, don't count it in the selected path count. * e-tree.c (et_canvas_root_event): Attach to the event handler on the root canvas item instead of the canvas itself when making the ETree leave editing state. svn path=/trunk/; revision=14128
* Fixes Ximian bug #6832.Federico Mena Quintero2001-10-262-5/+76
| | | | | | | | | | | | | | | | | | | | 2001-10-25 Federico Mena Quintero <federico@ximian.com> Fixes Ximian bug #6832. * e-table.c (e_table_setup_table): Use a callback instead of gtk_widget_queue_draw() for focus events, as the latter does not have the correct prototype for an event handler. (group_start_drag): Emit START_DRAG, not KEY_PRESS! (focus_first_etable_item): Focus the first row in the first ETableItem if there is no focused item. * e-tree.c (e_tree_setup_table): Same change as in e_table_setup_table(). (table_canvas_focus_event_cb): Focus the first row in the tree item if there is no focused item. svn path=/trunk/; revision=14124
* Bumped version to 0.15.99.4 for e-iconv changes.52001-10-262-5/+7
| | | | | | | | | | | | | | | | | | | 2001-10-25 <NotZed@Ximian.com> * configure.in: Bumped version to 0.15.99.4 for e-iconv changes. * gal/widgets/e-unicode.c (e_utf8_from_iconv_string_sized): " (e_utf8_to_iconv_string_sized): " (e_utf8_from_gtk_string_sized): " (e_utf8_to_gtk_string_sized): " * gal/widgets/e-font.c (e_font_to_native): s/iconv/e_iconv/ * gal/util/e-iconv.c (e_iconv): Implement a wrapper for iconv() to make sure we link with and execute the right iconv to match the right iconv_open. (BLAH!) svn path=/trunk/; revision=14111
* Added #include "gal/widgets/e-unicode.h".Christopher James Lahey2001-10-255-41/+157
| | | | | | | | | | | | | | | | | | | | | | | | 2001-10-24 Christopher James Lahey <clahey@ximian.com> * e-cell-combo.c: Added #include "gal/widgets/e-unicode.h". * e-cell-text.c: Added lots of deactivated debugging printfs here. (ect_event): Fixed the flags check here. Set edit->actions to 0 before calling e_text_event_processor_handle_event. * e-table-item.c, e-table-item.h: Use eti_grab and eti_ungrab all over the place. Added lots and lots of deactivated debugging printfs here. (eti_grab, eti_ungrab): New functions to encapsulate grabbing and ungrabbing the cursor and to allow for recursive grabs (refcounting style.) * e-table.c: Added deactivated debugging printfs here. (et_canvas_root_event): Attach to the event handler on the root canvas item instead of the canvas itself when making the ETable leave editing state. Fixes Ximian bug #9737. svn path=/trunk/; revision=14072
* Ref the BonoboUIComponent that we are holding. (gvm_destroy): Unref ourJon Trowbridge2001-10-252-0/+18
| | | | | | | | | | 2001-10-24 Jon Trowbridge <trow@ximian.com> * menus/gal-view-menus.c (gal_view_menus_apply): Ref the BonoboUIComponent that we are holding. (gvm_destroy): Unref our BonoboUIComponent. svn path=/trunk/; revision=13994
* Don't add the menu item here, do this in the context_changed signalJeffrey Stedfast2001-10-243-28/+115
| | | | | | | | | | | | | | | | | 2001-10-23 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (rule_editor_clicked): Don't add the menu item here, do this in the context_changed signal callback instead. (context_changed): rebuild the search menu. (set_menu): Copy the items into a default_items list so we can regenerate the menu when something changes. Then call generate_menu(). (generate_menu): Do what set_menu() used to do. (e_filter_bar_new): Don't do a rule_context_load() anymore since we don't need to. (destroy): free the default_items list. svn path=/trunk/; revision=13975
* copy the translate field over as well. Should fix an uninitialized memoryDamon Chaplin2001-10-242-0/+6
| | | | | | | | | 2001-10-23 Damon Chaplin <damon@ximian.com> * e-search-bar.c (copy_subitems): copy the translate field over as well. Should fix an uninitialized memory read. svn path=/trunk/; revision=13964
* clear the struct tm fields to keep purify happy.Damon Chaplin2001-10-242-2/+15
| | | | | | | | | | 2001-10-23 Damon Chaplin <damon@ximian.com> * e-dateedit.c (e_date_edit_check_date_changed): (e_date_edit_check_time_changed): clear the struct tm fields to keep purify happy. svn path=/trunk/; revision=13959
* save the UTF-8 strings inside the listitem widgets, but convert to theDamon Chaplin2001-10-241-6/+27
| | | | | | | | | | | | | 2001-10-23 Damon Chaplin <damon@ximian.com> * e-cell-combo.c (e_cell_combo_set_popdown_strings): save the UTF-8 strings inside the listitem widgets, but convert to the locale to use in the label. (e_cell_combo_select_matching_item): (e_cell_combo_update_cell): use the UTF-8 strings instead of the listitem labels. Hopefully fixes bug #7037. svn path=/trunk/; revision=13954
* Got rid of the gc argument to e_table_header_draw_button.Christopher James Lahey2001-10-245-27/+40
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-23 Christopher James Lahey <clahey@ximian.com> * e-table-field-chooser-item.c: Got rid of the gc argument to e_table_header_draw_button. (etfci_font_load): Just use the style font here. * e-table-group-container.c (e_table_group_container_construct): Changed this to just use the font from the style. Fixes Ximian bug #11882. * e-table-header-item.c: Got rid of the gc argument to e_table_header_draw_button. (ethi_font_load): Changed this to just fallback on the font from the style if the fontname is NULL or doesn't load to a font. Fixes Ximian bug #11882. * e-table-header-utils.c, e-table-header-utils.h (e_table_header_draw_button): Got rid of the gc parameter here and changed to use the gc from the style of a button created for this purpose, but not shown. Fixes Ximian bug #13251. svn path=/trunk/; revision=13949
* Use the widget's style's text_gc for drawing text if eitherChristopher James Lahey2001-10-231-13/+18
| | | | | | | | | | 2001-10-23 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.c (e_text_draw): Use the widget's style's text_gc for drawing text if either draw_background or draw_button is on. svn path=/trunk/; revision=13937
* Got rid of the gc field here and just use the fg_gc from the style forChristopher James Lahey2001-10-232-11/+2
| | | | | | | | | | 2001-10-23 Christopher James Lahey <clahey@ximian.com> * e-table-header-item.c, e-table-header-item.h: Got rid of the gc field here and just use the fg_gc from the style for drawing the buttons. svn path=/trunk/; revision=13936
* Bumped version to 0.15.99.3 for EText's "draw_button" argument.Christopher James Lahey2001-10-233-0/+124
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-23 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped version to 0.15.99.3 for EText's "draw_button" argument. * gal/e-text/e-entry.c: Forward the "draw_button" argument to the contained EText. * gal/e-text/e-text.c, gal/e-text/e-text.h (e_text_draw): Added new "draw_button" argument. If this is turned on and the first widget that's a parent of the containing canvas with GTK_NO_WINDOW turned off above the current one is a button, EText draws a button underneath itself to match the containing button. From gal/shortcut-bar/ChangeLog: 2001-10-23 Christopher James Lahey <clahey@ximian.com> * e-shortcut-bar.c (e_shortcut_bar_add_group): Turn on "draw_button" argument to EEntry. svn path=/trunk/; revision=13934
* Make this check immediately for whether to show the cursor, instead of inChristopher James Lahey2001-10-232-5/+13
| | | | | | | | | | | | | 2001-10-22 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_idle_maybe_show_cursor): Make this check immediately for whether to show the cursor, instead of in the idle handler. * e-tree-table-adapter.c (e_tree_table_adapter_node_set_expanded): Added a pre_change here since we send two changes. svn path=/trunk/; revision=13931
* Call e_tree_model_pre_change here where appropriate.Christopher James Lahey2001-10-231-0/+2
| | | | | | | | | 2001-10-22 Christopher James Lahey <clahey@ximian.com> * e-tree-memory.c (e_tree_memory_sort_node): Call e_tree_model_pre_change here where appropriate. svn path=/trunk/; revision=13929
* Cancel the drag or maybe drag if you have the mouse button down when theChristopher James Lahey2001-10-232-6/+27
| | | | | | | | | | | | | | 2001-10-22 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_cancel_drag_due_to_model_change): Cancel the drag or maybe drag if you have the mouse button down when the pre_change signal comes in. Fixes Ximian bug #11309. * e-table-without.c (add_row, remove_row, e_table_without_show_all): Call e_table_model_pre_change where appropriate here. svn path=/trunk/; revision=13927
* use the new ECellText methods to get the text and set the value.Damon Chaplin2001-10-235-7/+240
| | | | | | | | | | | | | 2001-10-22 Damon Chaplin <damon@ximian.com> * e-cell-date-edit.c (e_cell_date_edit_set_popup_values): (e_cell_date_edit_update_cell): use the new ECellText methods to get the text and set the value. * e-cell-percent.c: new subclass of ECellText to display & edit a percentage value. svn path=/trunk/; revision=13916
* removed duplicated declarationDamon Chaplin2001-10-231-2/+0
| | | | svn path=/trunk/; revision=13915
* added set_value() class method, which sets the model value based on theDamon Chaplin2001-10-234-37/+65
| | | | | | | | | | | | | | | | | 2001-10-22 Damon Chaplin <damon@ximian.com> * e-cell-text.[hc]: added set_value() class method, which sets the model value based on the text. In ECellText itself it assumes the model value is a char* and passes the text directly. Subclasses may parse the text into some other datatype. Also made the calls the e_cell_text_get_text(), e_cell_text_free_text() and e_cell_text_set_value() public, since we need them in ECellCombo. * e-cell-combo.c (e_cell_combo_select_matching_item): (e_cell_combo_update_cell): use e_cell_text_get_text()/free_text()/ set_value() so it can handle subclasses of ECellText as the child. svn path=/trunk/; revision=13901
* Added a disabled field here.Christopher James Lahey2001-10-237-25/+66
| | | | | | | | | | | | | | | 2001-10-22 Christopher James Lahey <clahey@ximian.com> * e-table-col.c, e-table-col.h, e-table-column-specification.c, e-table-column-specification.h: Added a disabled field here. * e-table-config.c, e-table-field-chooser-item.c: Pay attention to the disabled field here. * e-table-utils.c: Copy the disabled field from the column specification to the col. svn path=/trunk/; revision=13897
* Accept UTF8_STRING, UTF-8, and STRING targets when getting the selection.Christopher James Lahey2001-10-222-12/+118
| | | | | | | | | | 2001-10-22 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.c, gal/e-text/e-text.h (e_text_get_selection): Accept UTF8_STRING, UTF-8, and STRING targets when getting the selection. svn path=/trunk/; revision=13864
* Offer UTF8_STRING, UTF-8, COMPOUND_TEXT, STRING, and TEXT targets when weChristopher James Lahey2001-10-211-21/+70
| | | | | | | | | | 2001-10-21 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.c (e_text_get_invisible): Offer UTF8_STRING, UTF-8, COMPOUND_TEXT, STRING, and TEXT targets when we offer the selection. svn path=/trunk/; revision=13847
* Make this not be a radio button, but instead just a normal menu.Christopher James Lahey2001-10-212-70/+58
| | | | | | | | | 2001-10-21 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c: Make this not be a radio button, but instead just a normal menu. svn path=/trunk/; revision=13844
* Use right_click_down here instead of maybe_do_something.Christopher James Lahey2001-10-211-1/+1
| | | | | | | | | 2001-10-21 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-reflow.c (e_reflow_selection_event_real): Use right_click_down here instead of maybe_do_something. svn path=/trunk/; revision=13842
* Don't convert to locale here since EText takes UTF8 strings. Fixes XimianChristopher James Lahey2001-10-211-9/+3
| | | | | | | | | | 2001-10-20 Christopher James Lahey <clahey@ximian.com> * e-table-group-container.c (compute_text): Don't convert to locale here since EText takes UTF8 strings. Fixes Ximian bug #8906. svn path=/trunk/; revision=13836
* Keep us from reading tmp_tm uninitialized, so purify won't complain.Jon Trowbridge2001-10-212-2/+12
| | | | | | | | | 2001-10-20 Jon Trowbridge <trow@ximian.com> * e-dateedit.c (e_date_edit_check_date_changed): Keep us from reading tmp_tm uninitialized, so purify won't complain. svn path=/trunk/; revision=13831
* Changed some of these gbooleans to be guint : 1s.Christopher James Lahey2001-10-212-5/+6
| | | | | | | | | | | | 2001-10-20 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.h: Changed some of these gbooleans to be guint : 1s. * gal/widgets/e-canvas.c (e_canvas_item_grab_focus): Send the in event here to the new focused item instead of the old one. svn path=/trunk/; revision=13824
* Check for num_children == -1 here and generate the children if theyChristopher James Lahey2001-10-201-0/+5
| | | | | | | | | | 2001-10-20 Christopher James Lahey <clahey@ximian.com> * e-tree-sorted.c (e_tree_sorted_node_num_children): Check for num_children == -1 here and generate the children if they haven't been. Fixes Ximian bug #12464. svn path=/trunk/; revision=13819
* Connect keys before we show the widget.Jon Trowbridge2001-10-192-5/+3
| | | | | | | | | 2001-10-18 Jon Trowbridge <trow@ximian.com> * gal/e-text/e-entry.c (e_entry_enable_completion_full): Connect keys before we show the widget. svn path=/trunk/; revision=13756
* #include bonobo-ui-util.hJeffrey Stedfast2001-10-192-0/+5
| | | | | | | | 2001-10-18 Jeffrey Stedfast <fejj@ximian.com> * menus/gal-view-menus.c: #include bonobo-ui-util.h svn path=/trunk/; revision=13752
* Added bounds checking in a number of places. (etta_init): Initialize allChristopher James Lahey2001-10-171-17/+41
| | | | | | | | | | | | 2001-10-16 Christopher James Lahey <clahey@ximian.com> * e-tree-table-adapter.c (find_next_node_maybe_deleted, find_first_child_node_maybe_deleted, find_next_node, find_first_child_node, find_row_num): Added bounds checking in a number of places. (etta_init): Initialize all the fields here. svn path=/trunk/; revision=13712
* Use new e_table_header_prioritized_column field.Christopher James Lahey2001-10-138-27/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-12 Christopher James Lahey <clahey@ximian.com> * e-table-click-to-add.c (set_initial_selection): Use new e_table_header_prioritized_column field. * e-table-header.c, e-table-header.h (e_table_header_prioritized_column): New function. Refactors the code from ETableClickToAdd to find the column with the highest priority. * e-table-selection-model.c, e-table-selection-model.h (model_changed_idle): Changed this function to use the e_table_header_prioritized_column function. Added an argument to set the "header" on this selection model. * e-table-utils.h: Indentation cleanup. * e-table.c (et_real_construct): Set the "header" argument on the selection model here. * e-table.h: #include <gal/e-table/e-table-sorter.h> svn path=/trunk/; revision=13633
* Copy the can group state on the sort info here.Christopher James Lahey2001-10-131-0/+4
| | | | | | | | | 2001-10-12 Christopher James Lahey <clahey@ximian.com> * e-table-state.c (e_table_state_duplicate): Copy the can group state on the sort info here. svn path=/trunk/; revision=13625
* bumped revision to .112001-10-121-8/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-11 <NotZed@Ximian.com> * configure.in: bumped revision to .1 * gal/widgets/test-font-loading.c (print_gdk_font_name): Close iconv when done. * gal/widgets/e-unicode.c (e_utf8_to_gtk_string_sized): Close iconv when dont with it. (e_utf8_from_charset_string_sized): Changed for e_iconv api changes. (e_utf8_to_charset_string_sized): " (e_utf8_from_gtk_string_sized): Close iconv when done with it. (e_utf8_from_locale_string_sized): " (e_utf8_to_locale_string_sized): " * gal/widgets/e-font.c (e_locale_encoding): Removed. (e_iconv_from_charset): Removed. (e_iconv_to_charset): Removed. (e_iconv_from_locale): Removed. (e_iconv_to_locale): Removed. (e_iconv_from_gdk_font): Changd to use new e-iconv apis. (e_iconv_to_gdk_font): " (e_font_unref): Close iconv's when done with them. (translate_encoding): Removed. (get_locale_charset): Removed. (e_gdk_font_encoding): Fix for api changes. * gal/util/e-iconv.c: New stuff to commonify/fix up some problems with the iconv cache/conversion stuff inside e-font. svn path=/trunk/; revision=13601
* Use e_strdup_append_strings here instead of g_strdup_printf becauseChristopher James Lahey2001-10-122-5/+30
| | | | | | | | | | | | | | | | 2001-10-11 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-table-text-model.c (e_table_text_model_insert, e_table_text_model_insert_length, e_table_text_model_delete), gal/e-text/e-text-model.c (e_text_model_real_insert, e_text_model_real_insert_length): Use e_strdup_append_strings here instead of g_strdup_printf because printf("%.*s") is locale dependent on some systems. * gal/util/e-util.c (e_strdup_append_strings): New function to append a bunch of strings with optional lengths. svn path=/trunk/; revision=13581
* Implement these functions as pass through to the child cell.Christopher James Lahey2001-10-117-47/+178
| | | | | | | | | | | | | | | | | | | | 2001-10-10 Christopher James Lahey <clahey@ximian.com> * e-cell-popup.c (ecp_get_bg_color), e-cell-tree.c (ect_get_bg_color): Implement these functions as pass through to the child cell. * e-cell-text.c, e-cell-text.h (ect_get_bg_color): Implemented this using a bg_color_column which can be set through the argument of the same string. * e-cell.c, e-cell.h (e_cell_get_bg_color): Added this function to allow background color to change by cell. * e-table-item.c (eti_get_cell_background_color): Call e_cell_get_bg_color to allow background color to change by cell. svn path=/trunk/; revision=13566
* Based on patches from Dan Nguyen <dnn@austin.ibm.com>.Christopher James Lahey2001-10-101-1/+1
| | | | | | | | | | | | | 2001-10-10 Christopher James Lahey <clahey@ximian.com> Based on patches from Dan Nguyen <dnn@austin.ibm.com>. * gal/Makefile.am (libgal_la_LDFLAGS): Added $(GTK_LIBS). * gal/e-text/e-text.c (e_text_event): Changed this from a C++ comment to a C comment. svn path=/trunk/; revision=13549
* Added this function.Christopher James Lahey2001-10-102-94/+105
| | | | | | | | | 2001-10-10 Christopher James Lahey <clahey@ximian.com> * e-table.c, e-table.h (e_table_get_selection_model): Added this function. svn path=/trunk/; revision=13548
* Now takes a menu path argument.Jeffrey Stedfast2001-10-103-3/+11
| | | | | | | | | 2001-10-09 Jeffrey Stedfast <fejj@ximian.com> * e-charset-picker.c (e_charset_picker_bonobo_ui_populate): Now takes a menu path argument. svn path=/trunk/; revision=13528
* Final un-bit rotting. Now actually works.Morten Welinder2001-10-093-37/+100
| | | | svn path=/trunk/; revision=13504
* More bit-rot fighting in example.Morten Welinder2001-10-091-24/+19
| | | | svn path=/trunk/; revision=13502
* Partial bit-rot fight. Sample still does not work.Morten Welinder2001-10-083-11/+56
| | | | svn path=/trunk/; revision=13498
* Check that cell views are realized before doing anything here. FixesChristopher James Lahey2001-10-071-0/+12
| | | | | | | | | | | | 2001-10-06 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_show_cursor, eti_check_cursor_bounds): Check that cell views are realized before doing anything here. Fixes Ximian bug #11919. (eti_check_cursor_on_screen): If the cursor values are all set to -1, don't do anything. svn path=/trunk/; revision=13488
* remove the test condition and always work form the locale not he the font.Larry Ewing2001-10-071-11/+1
| | | | | | | | | | 2001-10-06 Larry Ewing <lewing@ximian.com> * gal/widgets/e-unicode.c (e_utf8_from_gtk_event_key): remove the test condition and always work form the locale not he the font. This has been tested and verified with owen. svn path=/trunk/; revision=13487
* Handle row and cell changes properly in the uniform_row_height case.Christopher James Lahey2001-10-071-6/+3
| | | | | | | | | | 2001-10-06 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_table_model_row_changed, eti_table_model_cell_changed): Handle row and cell changes properly in the uniform_row_height case. svn path=/trunk/; revision=13485
* Use g_dataset_set_data_full to find out when the context is destroyed.Christopher James Lahey2001-10-062-0/+45
| | | | | | | | | | 2001-10-06 Christopher James Lahey <clahey@ximian.com> * e-tree.c (context_destroyed), e-table.c (context_destroyed): Use g_dataset_set_data_full to find out when the context is destroyed. Fixes Ximian bug #8502 and Ximian bug #11691. svn path=/trunk/; revision=13482
* Got rid of the misused button variable here.Christopher James Lahey2001-10-061-6/+3
| | | | | | | | | 2001-10-05 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_event): Got rid of the misused button variable here. svn path=/trunk/; revision=13468
* Sort the list of categories. (Bug 8088)Jon Trowbridge2001-10-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-05 Jon Trowbridge <trow@ximian.com> * gal/widgets/e-categories-master-list-combo.c (ecmlc_ecml_changed): Sort the list of categories. (Bug 8088) 2001-10-05 Jon Trowbridge <trow@ximian.com> * e-table-without.c (e_table_without_show_all): We need to take the row count from the source model, not from the ETableWithout. This typo is why contacts kept disappearing in the SelectNames dialog. (Bugs 9326, 10916) 2001-10-04 Jon Trowbridge <trow@ximian.com> * e-icon-bar.c (e_icon_bar_add_item): Don't call gdk_pixbuf_ref if image is NULL. * e-shortcut-model.c (e_shortcut_model_real_get_item_info): Check to make sure we don't call gdk_pixbuf_ref on NULL, which causes a warning. svn path=/trunk/; revision=13465
* Fixed the uniform_row_height + confirm_row_hieght_cache crash.Christopher James Lahey2001-10-061-6/+10
| | | | | | | | | 2001-10-05 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_set_arg): Fixed the uniform_row_height + confirm_row_hieght_cache crash. svn path=/trunk/; revision=13452
* Adapted height method to deal with a row of -1.Christopher James Lahey2001-10-0511-96/+234
| | | | | | | | | | | | | | 2001-10-05 Christopher James Lahey <clahey@ximian.com> * e-cell-text, e-cell-pixbuf: Adapted height method to deal with a row of -1. * e-table-group-container.c, e-table-group-container.h, e-table-group-leaf.c, e-table-group-leaf.h, e-table-item.c, e-table-item.h, e-table.c, e-table.h, e-tree.c: Added "uniform_row_height" argument. svn path=/trunk/; revision=13440
* *.c s/->childs/->xmlChildrenNode/g;Michael Meeks2001-10-052-4/+4
| | | | | | | | 2001-10-06 Michael Meeks <michael@ximian.com> * *.c s/->childs/->xmlChildrenNode/g; svn path=/trunk/; revision=13431
* add E_OBJECT_CLASS_ADD_SIGNALS and E_OBJECT_CLASS_TYPE to ease migrationMichael Meeks2001-10-0529-140/+153
| | | | | | | | | | | | | | | 2001-10-05 Michael Meeks <michael@ximian.com> * gal/util/e-util.h: add E_OBJECT_CLASS_ADD_SIGNALS and E_OBJECT_CLASS_TYPE to ease migration to Gnome 2.0 from a single source base. * All C files: s/object_class->type,/E_OBJECT_CLASS_TYPE (object_class),/g; s/gtk_object_class_add_signals([^\(]*)\(([^,]*),([^,]*),([^\)]*)/ E_OBJECT_CLASS_ADD_SIGNALS\1(\2,\3,\4/; svn path=/trunk/; revision=13428
* added BONOBO_GNOME_CFLAGS to make it compile with latest BonoboRodrigo Moya2001-10-044-0/+13
| | | | | | | | | | 2001-10-04 Rodrigo Moya <rodrigo@ximian.com> * misc/Makefile.am: * menus/Makefile.am: added BONOBO_GNOME_CFLAGS to make it compile with latest Bonobo svn path=/trunk/; revision=13407
* Sometimes put off maybe showing the cursor until an idle callback.Christopher James Lahey2001-10-042-13/+35
| | | | | | | | | | | | | | 2001-10-04 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_idle_maybe_show_cursor): Sometimes put off maybe showing the cursor until an idle callback. * e-tree-selection-model.c (add_model): Use connect_after to connect to all the signals. This means we can assume the sorted tree and table adapters are both done. This also means that those objects cannot assume that the selection is already changed. svn path=/trunk/; revision=13406
* Call gnome_canvas_world_to_window here. Finishes fixing Ximian bug #2613.Christopher James Lahey2001-10-042-3/+15
| | | | | | | | | | 2001-10-04 Christopher James Lahey <clahey@ximian.com> * e-cell-date-edit.c (e_cell_date_edit_get_popup_pos): Call gnome_canvas_world_to_window here. Finishes fixing Ximian bug #2613. svn path=/trunk/; revision=13405
* Initialize the hash field. (model_changed_idle): Send cursor changed andChristopher James Lahey2001-10-031-6/+12
| | | | | | | | | | | | 2001-10-03 Christopher James Lahey <clahey@ximian.com> * e-table-selection-model.c (e_table_selection_model_init): Initialize the hash field. (model_changed_idle): Send cursor changed and selection changed signals. (model_pre_change): If there's no cursor here, make sure to set the cursor_id to NULL. svn path=/trunk/; revision=13373
* Pick which field of the row to select based on priority.Christopher James Lahey2001-10-036-13/+43
| | | | | | | | | | | | | | | | | 2001-10-03 Christopher James Lahey <clahey@ximian.com> * e-table-click-to-add.c (set_initial_selection): Pick which field of the row to select based on priority. * e-table-col.c, e-table-col.h: Added the priority field to this class. Adapted the _new functions appropriately. * e-table-column-specification.c, e-table-column-specification.h: Added the priority field to this class. * e-table-utils.c (et_col_spec_to_col): Handle the priority field here. svn path=/trunk/; revision=13370
* Transcode empty message from utf8 to gtk charset. Fixes Ximian bug #2468.Christopher James Lahey2001-10-031-6/+12
| | | | | | | | | 2001-10-02 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-reflow.c (set_empty): Transcode empty message from utf8 to gtk charset. Fixes Ximian bug #2468. svn path=/trunk/; revision=13360
* Added a max length of 2047 to the standard ETextModel. Fixes Ximian bugChristopher James Lahey2001-10-021-7/+27
| | | | | | | | | 2001-10-02 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text-model.c (MAX_LENGTH): Added a max length of 2047 to the standard ETextModel. Fixes Ximian bug #3021. svn path=/trunk/; revision=13298
* Only show the cursor during changes if it was already shown. Fixes XimianChristopher James Lahey2001-10-022-68/+208
| | | | | | | | | | 2001-10-02 Christopher James Lahey <clahey@ximian.com> * e-table-item.c, e-table-item.h: Only show the cursor during changes if it was already shown. Fixes Ximian bug #9810 and Ximian bug #4048. svn path=/trunk/; revision=13297
* Bumped the sonumber to 14.Christopher James Lahey2001-10-022-3/+56
| | | | | | | | | | | | 2001-10-02 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the sonumber to 14. * gal/widgets/e-canvas-utils.c, gal/widgets/e-canvas-utils.h (e_canvas_item_area_shown): New function returns TRUE iff e_canvas_item_show_area would be a noop. svn path=/trunk/; revision=13296
* Stop the sort idle if the root node gets changed.Christopher James Lahey2001-09-291-5/+15
| | | | | | | | | 2001-09-28 Christopher James Lahey <clahey@ximian.com> * e-tree-sorted.c (ets_proxy_node_changed): Stop the sort idle if the root node gets changed. svn path=/trunk/; revision=13227
* grab focus to the date entry or the time entry, depending on which isDamon Chaplin2001-09-272-0/+30
| | | | | | | | | 2001-09-18 Damon Chaplin <damon@ximian.com> * e-dateedit.c (e_date_edit_grab_focus): grab focus to the date entry or the time entry, depending on which is visible. Fixes bug #7237. svn path=/trunk/; revision=13185
* Allow ctrl-p and ctrl-n to be used to move up and down in the completionJon Trowbridge2001-09-272-5/+30
| | | | | | | | | | | | | 2001-09-26 Jon Trowbridge <trow@ximian.com> * gal/e-text/e-completion-view.c (e_completion_view_key_press_handler): Allow ctrl-p and ctrl-n to be used to move up and down in the completion list. (Bug #10500) * gal/e-text/e-completion-match.c (e_completion_match_set_text): Properly validate the utf8. svn path=/trunk/; revision=13159
* Set the step_increment on the horizontal scrollbars here to 20.Christopher James Lahey2001-09-262-0/+12
| | | | | | | | | 2001-09-26 Christopher James Lahey <clahey@ximian.com> * e-table.c, e-tree.c: Set the step_increment on the horizontal scrollbars here to 20. svn path=/trunk/; revision=13146
* Set cursor_path = NULL here.Christopher James Lahey2001-09-261-0/+2
| | | | | | | | | 2001-09-26 Christopher James Lahey <clahey@ximian.com> * e-tree-selection-model.c (etsm_node_changed, etsm_destroy): Set cursor_path = NULL here. svn path=/trunk/; revision=13144
* Made it so that if allow_newlines is FALSE, pasting into ETexts doesn'tChristopher James Lahey2001-09-262-62/+79
| | | | | | | | | | | 2001-09-26 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.c, gal/e-text/e-text.h (_insert): Made it so that if allow_newlines is FALSE, pasting into ETexts doesn't insert carriage returns. Fixes Ximian bug #5761 and Ximian bug #9067. svn path=/trunk/; revision=13143
* Commit patch from Chris to implement e_tree_right_click_up() forEttore Perazzoli2001-09-267-2/+62
| | | | | | correct right-click behavior in single selection mode. svn path=/trunk/; revision=13123
* Attach to the resorted signal instead of the changed signal on the sortedChristopher James Lahey2001-09-253-77/+54
| | | | | | | | | | | | | 2001-09-24 Christopher James Lahey <clahey@ximian.com> * e-tree-selection-model.c (etsm_sorted_node_resorted): Attach to the resorted signal instead of the changed signal on the sorted model. * e-tree-sorted.c, e-tree-sorted.h (e_tree_sorted_node_resorted): Added this signal. svn path=/trunk/; revision=13108
* Use the correct prototype for the signal handler.Federico Mena Quintero2001-09-252-6/+8
| | | | | | | | | | | 2001-09-24 Federico Mena Quintero <federico@ximian.com> * e-table.c (et_canvas_button_press): Use the correct prototype for the signal handler. * e-tree.c (et_canvas_button_press): Likewise. svn path=/trunk/; revision=13105
* Assert that the virtual method is implemented instead of being forgiving.Federico Mena Quintero2001-09-254-111/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-24 Federico Mena Quintero <federico@ximian.com> * e-table-group.c (e_table_group_add): Assert that the virtual method is implemented instead of being forgiving. (e_table_group_add_array): Likewise. (e_table_group_add_all): Likewise. (e_table_group_remove): Likewise. (e_table_group_increment): Likewise. (e_table_group_decrement): Likewise. (e_table_group_row_count): Likewise. (e_table_group_set_focus): Likewise. (e_table_group_get_focus): Likewise. (e_table_group_get_focus_column): Likewise. (e_table_group_get_printable): Likewise. (e_table_group_compute_location): Likewise. (e_table_group_get_cell_geometry): Likewise. (etg_destroy): Clear the fields after we unref them. * e-table-group-leaf.c (etgl_destroy): Clear the fields after we unref them. (e_table_group_leaf_construct): Subsets should not be sunk. Do not ref/sink the subset. * e-table-header.c (e_table_header_add_column): Document the fact that the header assumes ownership of the column. svn path=/trunk/; revision=13102
* Bumped the version number to 0.12.99.0.Christopher James Lahey2001-09-231-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | 2001-09-22 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the version number to 0.12.99.0. From a patch by Damian Ivereigh <damian@cisco.com>: * gal/util/e-util.c, gal/util/e-util.h (e_strftime_fix_am_pm): New function, takes the same arguments as strftime, but does some fixup if the given string is in 12 hour mode but the locale doesn't have AM/PM descriptors. From gal/e-table/ChangeLog: 2001-09-22 Christopher James Lahey <clahey@ximian.com> From a patch by Damian Ivereigh <damian@cisco.com>: * e-cell-date.c: Made this use e_strftime_fix_am_pm instead of strftime. svn path=/trunk/; revision=13081
* Fixed a typo here where we were setting the running height based on theChristopher James Lahey2001-09-211-1/+1
| | | | | | | | | | 2001-09-20 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-reflow.c (reflow_columns): Fixed a typo here where we were setting the running height based on the height of object number 2 instead of the current object. Fixes Ximian bug #8807. svn path=/trunk/; revision=13026
* Remove the grab if ->grabbed.Ettore Perazzoli2001-09-211-0/+5
| | | | | | * e-table-item.c (eti_unrealize): Remove the grab if ->grabbed. svn path=/trunk/; revision=13024
* Confirm row count here. (etsm_get_row_count): Make sure etsm->model isn'tChristopher James Lahey2001-09-201-1/+5
| | | | | | | | | | 2001-09-19 Christopher James Lahey <clahey@ximian.com> * e-table-selection-model.c (add_model): Confirm row count here. (etsm_get_row_count): Make sure etsm->model isn't NULL here. If it is, it's not an error. Return 0 in this case. svn path=/trunk/; revision=12993
* the meeting-time-sel dir is dead, relevant pieces moved to calendar/guiJP Rosevear2001-09-1914-6000/+5
| | | | | | | | | 2001-09-19 JP Rosevear <jpr@ximian.com> * Makefile.am: the meeting-time-sel dir is dead, relevant pieces moved to calendar/gui svn path=/trunk/; revision=12967
* remove redundant NULL checks since g_free handles NULLs. (e_text_destroy):Larry Ewing2001-09-181-8/+5
| | | | | | | | | | | | 2001-09-17 Larry Ewing <lewing@ximian.com> * gal/e-text/e-text.c (e_text_supply_selection): remove redundant NULL checks since g_free handles NULLs. (e_text_destroy): free the selection. It does appear to be a guarantee that we get a selection-clear event before we are destroyed. svn path=/trunk/; revision=12934
* Bumped version number to 0.11.99.4.Christopher James Lahey2001-09-1714-208/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-16 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped version number to 0.11.99.4. * gal/e-text/e-completion-view.c (e_completion_view_construct), tests/test-table-1.c (create_table): Changed the parameters to e_table_simple_new here to adjust to changes in the interface. * gal/widgets/e-categories-master-list-array.c (ecmla_default): Fixed a memory leak here. * gal/widgets/e-categories.c (e_categories_get_save_id): Added get_save_id here so that selection would be maintained across changes. From gal/e-table/ChangeLog: 2001-09-16 Christopher James Lahey <clahey@ximian.com> * e-table-model.c, e-table-model.h (e_table_model_class_init): Rearranged order of has_save_id and get_save_id to be more consistent with ETree. * e-table-selection-model.c, e-table-selection-model.h: Turned on the code to maintain selection and cursor across changes if the model supports get_save_id. * e-table-simple.c, e-table-simple.h: Changed this interface to take all of the ETableModel functions in the _new function. * e-table-subset.c (etss_has_save_id, etss_get_save_id): Added these to properly proxy the save_id functionality. * e-tree-memory-callbacks.c, e-tree-memory-callbacks.h, e-tree-model.c, e-tree-model.h, e-tree-sorted.c: Made the save_id parameter to get_node_by_id be const char * instead of char *. * e-tree-table-adapter.c (etta_class_init): Rearranged some assignments here to be more consistent. svn path=/trunk/; revision=12869
* add prototype for e_date_edit_set_editable.Chris Toshok2001-09-173-0/+33
| | | | | | | | | | | | 2001-09-16 Chris Toshok <toshok@ximian.com> * e-dateedit.h: add prototype for e_date_edit_set_editable. * e-dateedit.c (e_date_edit_set_editable): new function, analogous to gtk_entry_set_editable: let's the user select but not edit (or in this case, bring up the calendar view.) svn path=/trunk/; revision=12867
* Check that unsorted >= 0 before using it as an array index. (Bug #9115)Jon Trowbridge2001-09-151-2/+3
| | | | | | | | | 2001-09-15 Jon Trowbridge <trow@ximian.com> * gal/widgets/e-reflow.c (e_reflow_reflow): Check that unsorted >= 0 before using it as an array index. (Bug #9115) svn path=/trunk/; revision=12852
* Don't unref the old dropdown, we don't "own" it.Jeffrey Stedfast2001-09-142-3/+5
| | | | | | | | | 2001-09-13 Jeffrey Stedfast <fejj@ximian.com> * e-search-bar.c (set_dropdown): Don't unref the old dropdown, we don't "own" it. svn path=/trunk/; revision=12805
* Changed this to change state on button down, even if we aren't editing.Christopher James Lahey2001-09-141-14/+11
| | | | | | | | | 2001-09-13 Christopher James Lahey <clahey@ximian.com> * e-cell-toggle.c (etog_event): Changed this to change state on button down, even if we aren't editing. svn path=/trunk/; revision=12803
* Unref the model after creating the ETable, since the table will hold a refDan Winship2001-09-132-1/+2
| | | | | | | | | | | * gal/e-text/e-completion-view.c (e_completion_view_construct): Unref the model after creating the ETable, since the table will hold a ref on it until we destroy it when we're destroyed. * gal/e-text/e-entry.c (e_entry_destroy): Unref the popup window rather than destroying it. svn path=/trunk/; revision=12798
* unref the old dropdown_menu if there is one.Larry Ewing2001-09-132-0/+8
| | | | | | | | | 2001-09-13 Larry Ewing <lewing@ximian.com> * e-search-bar.c (set_dropdown): unref the old dropdown_menu if there is one. svn path=/trunk/; revision=12796
* No longer need the context in order to clone a FilterRule.Jeffrey Stedfast2001-09-132-2/+8
| | | | | | | | | | 2001-09-12 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (menubar_activated): No longer need the context in order to clone a FilterRule. (option_changed): Same. svn path=/trunk/; revision=12791
* Changed which widget to connect signals to to watch for drag & drop. FixesChristopher James Lahey2001-09-111-4/+4
| | | | | | | | | | 2001-09-10 Christopher James Lahey <clahey@ximian.com> * e-tree.c (e_tree_setup_table): Changed which widget to connect signals to to watch for drag & drop. Fixes Ximian bugs #7450 & #8732. svn path=/trunk/; revision=12744
* If our text shrinks, make sure that the selection doesn't spill off overJon Trowbridge2001-09-101-0/+7
| | | | | | | | | | 2001-09-09 Jon Trowbridge <trow@ximian.com> * gal/e-text/e-text.c (e_text_text_model_changed): If our text shrinks, make sure that the selection doesn't spill off over the end of the reduced buffer. (Related to bug #8535) svn path=/trunk/; revision=12717
* Re-remove evil utf8_to_gtk debug printf that Chris seems to haveDan Winship2001-09-091-1/+0
| | | | | | | | * gal/widgets/e-unicode.c (e_utf8_to_gtk_string_sized): Re-remove evil utf8_to_gtk debug printf that Chris seems to have accidentally re-added. svn path=/trunk/; revision=12703
* Fixed a silly little obvious bug.Jon Trowbridge2001-09-081-3/+3
| | | | | | | | | 2001-09-07 Jon Trowbridge <trow@ximian.com> * e-table-without.c (e_table_without_show_all): Fixed a silly little obvious bug. svn path=/trunk/; revision=12695
* Added GDK_BUTTON_PRESS_MASK to our button mask. Fixes Ximian bug #8241.Christopher James Lahey2001-09-081-1/+1
| | | | | | | | | 2001-09-07 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_event): Added GDK_BUTTON_PRESS_MASK to our button mask. Fixes Ximian bug #8241. svn path=/trunk/; revision=12685
* Don't do_something on button_release if we did something on button_press.Christopher James Lahey2001-09-082-2/+8
| | | | | | | | | | 2001-09-07 Christopher James Lahey <clahey@ximian.com> * e-table-item.c, e-table-item.h (eti_event): Don't do_something on button_release if we did something on button_press. Fixes Ximian bug #3742. svn path=/trunk/; revision=12680
* Bumped version number to 0.11.99.3 for ETableWithout.Christopher James Lahey2001-09-082-2/+4
| | | | | | | | | | | | | 2001-09-07 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped version number to 0.11.99.3 for ETableWithout. * gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h (e_selection_model_maybe_do_something): Return a value based on whether we did something. svn path=/trunk/; revision=12679
* Added e-table-config-no-group.glade.Christopher James Lahey2001-09-083-102/+1734
| | | | | | | | | | | 2001-09-07 Christopher James Lahey <clahey@ximian.com> * Makefile.am: Added e-table-config-no-group.glade. * e-table-config-no-group.glade, e-table-config.c, e-table-config.glade: Removed the fields bit of ETableConfig. svn path=/trunk/; revision=12678
* Added this function.Christopher James Lahey2001-09-082-2/+30
| | | | | | | | | 2001-09-07 Christopher James Lahey <clahey@ximian.com> * e-table-without.c, e-table-without.h (e_table_without_show_all): Added this function. svn path=/trunk/; revision=12677
* added a default size for the saved search dialog of 600 x 300 such that itAnna Marie Dirks2001-09-072-1/+7
| | | | | | | | | | 2001-09-06 Anna Marie Dirks <anna@ximian.com> * e-filter-bar.c: added a default size for the saved search dialog of 600 x 300 such that it opens at a usable size. this fixes bug #7083. svn path=/trunk/; revision=12661
* added a wee bit of padding around the find now label in response to bugAnna Marie Dirks2001-09-062-0/+6
| | | | | | | | | 001-09-05 Anna Marie Dirks <anna@ximian.com> * e-search-bar.c (add_activate_button): added a wee bit of padding around the find now label in response to bug #7049. svn path=/trunk/; revision=12627
* Fixes #2465Chyla Zbigniew2001-09-052-4/+14
| | | | | | | | | | * menus/gal-view-menus.c (build_menus): Encode the label using bonobo_ui_util_encode_str and set "label" attribute, not "_label". I have no idea what the previous code was trying to do but it was definitely wrong. svn path=/trunk/; revision=12601
* Remove debugging message.Ettore Perazzoli2001-09-051-2/+0
| | | | | | * e-tree.c (e_tree_drag_unhighlight): Remove debugging message. svn path=/trunk/; revision=12599
* Use e_iconv_from_locale, not e_iconv_to_locale.Chyla Zbigniew2001-09-031-1/+1
| | | | | | | * gal/widgets/e-unicode.c (e_utf8_from_locale_string_sized): Use e_iconv_from_locale, not e_iconv_to_locale. svn path=/trunk/; revision=12562
* Strip spaces at the beginning or end as well as changing " " to " ". FixesChristopher James Lahey2001-09-021-3/+13
| | | | | | | | | 2001-09-02 Christopher James Lahey <clahey@ximian.com> * e-cell-date.c (ecd_get_text): Strip spaces at the beginning or end as well as changing " " to " ". Fixes Ximian bug #7683. svn path=/trunk/; revision=12560
* Bumped the version number to 0.11.99.2 for new e_utf8 functions.Christopher James Lahey2001-09-022-54/+89
| | | | | | | | | | | | 2001-09-01 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the version number to 0.11.99.2 for new e_utf8 functions. * gal/widgets/e-unicode.c, gal/widgets/e-unicode.h (e_utf8_is_ascii): Added this function. Reformatted. svn path=/trunk/; revision=12557
* Bumped the version number to 0.111.99.1 for new e_utf8 functions.Christopher James Lahey2001-09-012-66/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-01 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the version number to 0.111.99.1 for new e_utf8 functions. * gal/unicode/gunicollate.c (g_utf8_collate, g_utf8_collate_key): Changed this from e_utf8_from_locale_string to e_utf8_to_locale_string. * gal/widgets/e-font.c, gal/widgets/e-font.h (e_iconv_from_charset, e_iconv_to_charset): Added these functions to the exported interface (renamed them as well from e_iconv_from_encoding and e_iconv_to_encoding.) * gal/widgets/e-unicode.c, gal/widgets/e-unicode.h (e_utf8_from_iconv_string, e_utf8_from_iconv_string_sized, e_utf8_to_iconv_string, e_utf8_to_iconv_string_sized, e_utf8_from_charset_string, e_utf8_from_charset_string_sized, e_utf8_to_charset_string, e_utf8_to_charset_string_sized): Added these functions. (e_utf8_from_locale_string, e_utf8_to_locale_string): Changed these to use the new e_utf8_from_iconv_string and e_utf8_to_iconv_string. svn path=/trunk/; revision=12554
* Rename these functions from ecn_get_text and ecn_free_text.Christopher James Lahey2001-09-019-24/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-01 Christopher James Lahey <clahey@ximian.com> * e-cell-float.c (ecf_get_text, ecf_free_text): Rename these functions from ecn_get_text and ecn_free_text. * e-cell-tree.c (ect_height): Make sure the height is a multiple of two here. * e-table-header-item.c, e-table-header-item.h: Added a "tree" argument so that the sorting can be set by right clicking on the header item. * e-table-item.c (eti_table_model_rows_deleted): Added some assertions here. * e-tree-selection-model.c (etsm_find_node_unless_equals): Fixed indentation. * e-tree-table-adapter.c (etta_proxy_node_changed): Rewrote this to be more readable. (e_tree_table_adapter_node_set_expanded): Added an assertion. * e-tree.c, e-tree.h (e_tree_get_spec): Added this function. (e_tree_setup_header): Set the tree argument on the ETableHeaderItem here. svn path=/trunk/; revision=12553
* Fix this memmove. We've already subtracted the count from eti->rows.Christopher James Lahey2001-09-011-1/+2
| | | | | | | | | 2001-08-31 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_table_model_rows_deleted): Fix this memmove. We've already subtracted the count from eti->rows. svn path=/trunk/; revision=12550
* New prototype here.Ettore Perazzoli2001-08-293-0/+40
| | | | | | | | | 2001-08-27 Ettore Perazzoli <ettore@ximian.com> * e-timezone-dialog/e-timezone-dialog.h (e_timezone_dialog_reparent): New prototype here. svn path=/trunk/; revision=12511
* Patch to fix few 64bit issuesGeorge Lebl2001-08-294-20/+22
| | | | | | | | | | | | | | | | | | | | | | Tue Aug 28 18:29:28 2001 George Lebl <jirka@5z.com> Patch to fix few 64bit issues * gal/e-table/e-table-header-item.c (ethi_draw) (ethi_start_drag) gal/widgets/e-categories.c (e_categories_value_at) (e_categories_value_to_string): Use GINT_TO_POINTER and GPOINTER_TO_INT to cast between pointers and ints to fix 64bit issues connected with that. * gal/e-table/e-table-sorting-utils.c (e_table_sorting_utils_tree_check_position) gal/util/e-sorter-array.c (e_sorter_array_append): Use size_t for size not ints to fix crashes * gal/e-text/e-completion-match.c, gal/e-text/e-completion.c: Include <string.h> svn path=/trunk/; revision=12507
* New prototype here.Ettore Perazzoli2001-08-282-0/+8
| | | | | | | * e-timezone-dialog/e-timezone-dialog.h (e_timezone_dialog_reparent): New prototype here. svn path=/trunk/; revision=12496
* Add prototypeIain Holmes2001-08-282-0/+7
| | | | svn path=/trunk/; revision=12489
* Fixed this memmove to subtract the count as well as the row for the numberChristopher James Lahey2001-08-271-1/+1
| | | | | | | | | | 2001-08-27 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_table_model_rows_deleted): Fixed this memmove to subtract the count as well as the row for the number of rows to move. svn path=/trunk/; revision=12482
* Convert UTF-8 strings to locale's encoding before putting them in canvasChyla Zbigniew2001-08-251-6/+14
| | | | | | | | * e-table-group-container.c (compute_text): Convert UTF-8 strings to locale's encoding before putting them in canvas item. svn path=/trunk/; revision=12472
* Fixed typo.Chyla Zbigniew2001-08-251-1/+1
| | | | | | * e-table.c (e_table_init): Fixed typo. svn path=/trunk/; revision=12467
* Added start_drag signals.Christopher James Lahey2001-08-2511-255/+329
| | | | | | | | | | | | | | | | | | 2001-08-24 Christopher James Lahey <clahey@ximian.com> * e-table-group-container.c, e-table-group-leaf.c, e-table-group-leaf.h, e-table-group.c, e-table-group.h: Added start_drag signals. * e-table-item.c, e-table-item.h (eti_event): Send the start_drag signal. Fixes Ximian bug #807. * e-table.c, e-table.h, e-tree.c, e-tree.h: Added start_drag signal. Made default handler start drag & drop if we're set to automatically handle dnd. Ripped out the code to handle watching events for dnd since start_drag does this now. svn path=/trunk/; revision=12437
* This patch fixes a lot of i18n problems in Evolution.Chyla Zbigniew2001-08-221-0/+1
| | | | | | | * gal/widgets/e-unicode.c (e_utf8_to_gtk_string_sized): Call gtk_widget_ensure_style before refering to widget's style. svn path=/trunk/; revision=12381
* cut and paste fixed version of gnome_canvas_button here.Chris Toshok2001-08-221-0/+255
| | | | | | | | | | | | | | 2001-08-21 Chris Toshok <toshok@ximian.com> * gal/widgets/e-canvas.c (e_canvas_button): cut and paste fixed version of gnome_canvas_button here. (pick_current_item): needed by e_canvas_button, also from gnome-canvas.c. (gnome_canvas_item_invoke_point): same. (e_canvas_class_init): hook button_press_event and button_release_event to e_canvas_button. svn path=/trunk/; revision=12376
* We need to free_gotten_key_func key2, not key! (e_table_without_show):Jon Trowbridge2001-08-212-8/+10
| | | | | | | | | | | | | | | | | | | | 2001-08-20 Jon Trowbridge <trow@ximian.com> * e-table-without.c (check_with_key): We need to free_gotten_key_func key2, not key! (e_table_without_show): Renamed, used to be e_table_without_remove. Double-negative function names are confusing! (e_table_without_hide_adopt): Renamed, used to be e_table_without_add_adopt. (e_table_without_hide): Renamed, used to be e_table_without_add. 2001-08-20 Jon Trowbridge <trow@ximian.com> * configure.in: Increment version number to 0.10.99.5 for changes to ETableWithout api. svn path=/trunk/; revision=12332
* Added these functions.Christopher James Lahey2001-08-212-8/+33
| | | | | | | | | | 2001-08-20 Christopher James Lahey <clahey@ximian.com> * e-table-subset.c, e-table-subset.h (e_table_subset_model_to_view_row, e_table_subset_view_to_model_row): Added these functions. svn path=/trunk/; revision=12317
* Made this object handle NULLs for all the handler functions.Christopher James Lahey2001-08-211-8/+22
| | | | | | | | | 2001-08-20 Christopher James Lahey <clahey@ximian.com> * e-table-without.c: Made this object handle NULLs for all the handler functions. svn path=/trunk/; revision=12316
* Changed the used parity of the return value of check here.Christopher James Lahey2001-08-211-2/+2
| | | | | | | | | | 2001-08-20 Christopher James Lahey <clahey@ximian.com> * e-table-without.c (etw_proxy_model_rows_inserted, etw_proxy_model_changed): Changed the used parity of the return value of check here. svn path=/trunk/; revision=12313
* Shut up!Ettore Perazzoli2001-08-191-0/+6
| | | | svn path=/trunk/; revision=12207
* Chain to the destroy handler in the parent class. Hey, I'm getting used toFederico Mena Quintero2001-08-181-0/+2
| | | | | | | | | 2001-08-18 Federico Mena Quintero <federico@ximian.com> * e-table-without.c (etw_destroy): Chain to the destroy handler in the parent class. Hey, I'm getting used to this :) svn path=/trunk/; revision=12199
* Compile fixesIain Holmes2001-08-181-0/+1
| | | | svn path=/trunk/; revision=12172
* Add libical include pathIain Holmes2001-08-181-0/+1
| | | | svn path=/trunk/; revision=12168
* Destroy the hash table and all objects in it, as well as the privChristopher James Lahey2001-08-171-2/+32
| | | | | | | | | 2001-08-17 Christopher James Lahey <clahey@ximian.com> * e-table-without.c (etw_destroy): Destroy the hash table and all objects in it, as well as the priv structure. svn path=/trunk/; revision=12147
* Startup assistant stuffIain Holmes2001-08-176-0/+1048
| | | | svn path=/trunk/; revision=12145
* Bumped version number to 0.10.99.4. Fixed some comments.Christopher James Lahey2001-08-172-34/+206
| | | | | | | | | | | | | | | | | | | | | 2001-08-16 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped version number to 0.10.99.4. Fixed some comments. * gal/Makefile.am (libgal_la_LIBADD): Added e-table/e-table-without.lo. From gal/e-table/ChangeLog: 2001-08-16 Christopher James Lahey <clahey@ximian.com> * Makefile.am: Added e-table-without.c and e-table-without.h. * e-table-without.c, e-table-without.h: Got this to compile. Finished the first version of it. svn path=/trunk/; revision=12144
* added e_date_edit_get/set_make_time_insensitive() which makes the timeDamon Chaplin2001-08-173-18/+115
| | | | | | | | | | 2001-08-16 Damon Chaplin <damon@ximian.com> * e-dateedit.c: added e_date_edit_get/set_make_time_insensitive() which makes the time field insensitive rather than hiding it. I'm not sure we're going to actually use this now, though. svn path=/trunk/; revision=12135
* Set the horizontal usize of the entry to 4.Ettore Perazzoli2001-08-172-0/+6
| | | | | | | * e-search-bar.c (activate_by_subitems): Set the horizontal usize of the entry to 4. svn path=/trunk/; revision=12132
* Adding the first versions of these files. Doesn't work yet.Christopher James Lahey2001-08-172-0/+181
| | | | | | | | | 2001-08-16 Christopher James Lahey <clahey@ximian.com> * e-table-without.c, e-table-without.h: Adding the first versions of these files. Doesn't work yet. svn path=/trunk/; revision=12121
* Added "hit_count" to ECompletionMatch. Used by searchJon Trowbridge2001-08-175-20/+232
| | | | | | | | | | | | | | | | | | | | | | 2001-08-16 Jon Trowbridge <trow@ximian.com> * gal/e-text/e-completion-match.h: Added "hit_count" to ECompletionMatch. Used by search refinement/unrefinement. * gal/e-text/e-completion.c (e_completion_refine_search): Added. Handle automatic search refinements. (e_completion_unrefine_search): Added. Handle automatic search "unrefinements", or reversions. (e_completion_begin_search): Check if the refinement or unrefinement operations can be used to handle the search. Emit "request_search" at the end of the call. (e_completion_class_init): Added a new signal "request_search". "begin_search" is now purely informational, telling views that a series of matches and an "end_search" are forthcoming. * configure.in: Increment version of 0.10.99.3. svn path=/trunk/; revision=12116
* Boost scoring on an exact nickname match. Manually addressify match.Jon Trowbridge2001-08-164-52/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-16 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-completion.c (match_nickname): Boost scoring on an exact nickname match. Manually addressify match. (match_name): Manually addressify matches. (book_query_score): Remove automatic addressification. * gui/component/addressbook.c (addressbook_query_changed): Minor tweak to avoid a crash if we have a negative subid with id ESB_CATEGORY. This should never happen. (addressbook_menu_activated): Reset the entry/option when we select "Clear". Some changes to reflect renaming in ESearchBar. * gui/component/select-names/e-select-names-bonobo.c (entry_set_property_fn): Cardify after importing destinations. This might fix a problem that Damon is having. 2001-08-16 Jon Trowbridge <trow@ximian.com> * e-filter-bar.c (option_changed): Adjusted for renamed ESearchBar functions. (menubar_activated): Adjusted for renamed ESearchBar functions. * e-search-bar.c: Renames some of the horrible function names: s/option_choice/item_id/, s/suboption_choice/subitem_id/. 2001-08-16 Jon Trowbridge <trow@ximian.com> * gui/cal-search-bar.c: Changed to reflect my renaming of some of the more hideously-named functions in the ESearchBar API. svn path=/trunk/; revision=12081
* Destroy, do not unref, the popup_window.Federico Mena Quintero2001-08-152-1/+7
| | | | | | | | | 2001-08-14 Federico Mena Quintero <federico@ximian.com> * e-cell-date-edit.c (e_cell_date_edit_destroy): Destroy, do not unref, the popup_window. svn path=/trunk/; revision=12022
* Destroy, do not unref, the popup_window.Federico Mena Quintero2001-08-151-1/+2
| | | | | | | | | 2001-08-14 Federico Mena Quintero <federico@ximian.com> * e-cell-combo.c (e_cell_combo_destroy): Destroy, do not unref, the popup_window. svn path=/trunk/; revision=12021
* Correctness fixes for when the entry and submenu must be interchanged.Federico Mena Quintero2001-08-152-24/+50
| | | | | | | | | 2001-08-14 Federico Mena Quintero <federico@ximian.com> * e-search-bar.c (activate_by_subitems): Correctness fixes for when the entry and submenu must be interchanged. svn path=/trunk/; revision=12019
* *Please* add accessor functions instead of just object arguments!Federico Mena Quintero2001-08-153-42/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-14 Federico Mena Quintero <federico@ximian.com> *Please* add accessor functions instead of just object arguments! * e-search-bar.c (e_search_bar_set_option_choice): New function. (e_search_bar_set_suboption_choice): New function. (e_search_bar_set_text): New function. (impl_set_arg): Use the functions above instead of setting things directly. (add_dropdown): If the item is a separator, set it as insensitive. (activate_by_subitems): Handle the translate field in the subitem structure. Also, allow the creation of separators by having NULL text strings in the subitems. (set_option): If the item is a separator, set it as insensitive. (set_option): Do not use the subitem_garbage hack. Do proper memory management instead. (e_search_bar_set_suboption): New function to change the suboption items in a search bar. * e-search-bar.h (ESearchBarSubitem): Added a `translate' field. This API sucks so much it is not funny. (ESearchBar): Removed the subitem_garbage hack. Please do proper memory management. svn path=/trunk/; revision=12014
* Add "Any Category" option for category searches.Jon Trowbridge2001-08-142-1/+6
| | | | | | | | | | | | | | | | 2001-08-14 Jon Trowbridge <trow@ximian.com> * gui/component/addressbook.c (addressbook_factory_new_control): Add "Any Category" option for category searches. (addressbook_query_changed): Do the right thing on an "Any Category" search. 2001-08-14 Jon Trowbridge <trow@ximian.com> * e-search-bar.c (activate_by_subitems): Oops... initial suboption_choice should be subitems[0].id, not 0. svn path=/trunk/; revision=12013
* Workaround for Ximian bug #6795. Will prevent a crash and doesn't seem toPeter Williams2001-08-141-1/+1
| | | | | | | | | | | 2001-08-14 Peter Williams <peterw@ximian.com> * e-tree-selection-model.c (etsm_selected_count_recurse): Workaround for Ximian bug #6795. Will prevent a crash and doesn't seem to cause any problems, but the underlying problem still exists. svn path=/trunk/; revision=12010
* Handle GDK_KP_Up and GDK_KP_Down here.Christopher James Lahey2001-08-141-0/+2
| | | | | | | | | 2001-08-14 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-selection-model.c (e_selection_model_key_press): Handle GDK_KP_Up and GDK_KP_Down here. svn path=/trunk/; revision=11997
* Handle GDK_KP_Page_Up, GDK_KP_Page_Down, GDK_KP_Right, and GDK_KP_LeftChristopher James Lahey2001-08-142-4/+6
| | | | | | | | | | 2001-08-14 Christopher James Lahey <clahey@ximian.com> * e-table.c (group_key_press), e-tree.c (item_key_press): Handle GDK_KP_Page_Up, GDK_KP_Page_Down, GDK_KP_Right, and GDK_KP_Left here. svn path=/trunk/; revision=11996
* Got rid of event forwarding for double clicks and releases and such andChristopher James Lahey2001-08-141-6/+1
| | | | | | | | | | 2001-08-14 Christopher James Lahey <clahey@ximian.com> * e-table-click-to-add.c (etcta_event): Got rid of event forwarding for double clicks and releases and such and for single clicks except when first creating the row object. svn path=/trunk/; revision=11993
* Oops, we didn't need to unref all of the widgets, just a few.Jeffrey Stedfast2001-08-112-14/+8
| | | | | | | | | 2001-08-10 Jeffrey Stedfast <fejj@ximian.com> * e-search-bar.c (impl_destroy): Oops, we didn't need to unref all of the widgets, just a few. svn path=/trunk/; revision=11907
* Removed comment about the need to resolve nicknames properly, because weJon Trowbridge2001-08-115-32/+279
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-10 Jon Trowbridge <trow@ximian.com> * e-msg-composer-hdrs.c (set_recipients): Removed comment about the need to resolve nicknames properly, because we now do that. 2001-08-10 Jon Trowbridge <trow@ximian.com> * e-filter-bar.h: Set the subitems to NULL in the pre-defined ESearchBarItems. * e-filter-bar.c (rule_editor_clicked): Set the ESearchBarItem's subitems to NULL. (build_items): Set the ESearchBarItem's subitems to NULL. (e_filter_bar_new): Set the ESearchBarItem's subitems to NULL. * e-search-bar.c: Added support for subitems, so that a search option can key off of another option menu rather than just an entry. 2001-08-10 Jon Trowbridge <trow@ximian.com> * gui/component/addressbook.c: Set the ESearchBarItem subitems explicitly to NULL. 2001-08-10 Jon Trowbridge <trow@ximian.com> * gui/cal-search-bar.c: Where we have ESearchBarItems, set their subitems to NULL. 2001-08-10 Jon Trowbridge <trow@ximian.com> * folder-browser.c: Set our ESearchBarItems subitems to NULL. svn path=/trunk/; revision=11904
* Don't display the Define Views dialog.Christopher James Lahey2001-08-112-4/+11
| | | | | | | | | 2001-08-10 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c (build_menus): Don't display the Define Views dialog. svn path=/trunk/; revision=11899
* last_item_separator shouldn't get reset if the item is hidden.Christopher James Lahey2001-08-111-8/+8
| | | | | | | | | 2001-08-10 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-popup-menu.c (e_popup_menu_create): last_item_separator shouldn't get reset if the item is hidden. svn path=/trunk/; revision=11898
* If the sort_info can't group, hide the grouping button and label.Christopher James Lahey2001-08-115-10/+47
| | | | | | | | | | | | | | | | | | | | | | 2001-08-10 Christopher James Lahey <clahey@ximian.com> * e-table-config.c (setup_gui): If the sort_info can't group, hide the grouping button and label. * e-table-header-item.c (ethi_header_context_menu): Removed the Group By This Field menu item if the sort_info doesn't support grouping. * e-table-sort-info.c, e-table-sort-info.h (e_table_sort_info_get_can_group, e_table_sort_info_set_can_group): Added these functions. * e-tree.c (e_tree_set_state_object, et_real_construct): Set can_group to FALSE for all our sort infos. (e_tree_get_state_object): Fixed a potential gtk_object_ref (NULL) here. svn path=/trunk/; revision=11896
* new proto and virtual methodJP Rosevear2001-08-106-6/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-10 JP Rosevear <jpr@ximian.com> * gal/widgets/e-canvas-vbox.h: new proto and virtual method * gal/widgets/e-canvas-vbox.c (e_canvas_vbox_real_add_item_start): adds the the item to the beginning (e_canvas_vbox_add_item_start): call the virtual method 2001-08-10 JP Rosevear <jpr@ximian.com> * e-table.c (et_build_groups): add the items to the start or end based on where the click to add should be (e_table_setup_table): ditto (et_real_construct): read additional spec flag * e-table.h: new flag * e-table-specification.c (etsp_init): init new flag (e_table_specification_load_from_node): set click to add end flag (e_table_specification_save_to_node): write out flag * e-table-specification.h: new flag svn path=/trunk/; revision=11880
* Don't forget to unref stuff here too.Jeffrey Stedfast2001-08-103-94/+132
| | | | | | | | | | | | | 2001-08-10 Jeffrey Stedfast <fejj@ximian.com> * e-search-bar.c (impl_destroy): Don't forget to unref stuff here too. * e-filter-bar.c (destroy): Free all the goodies that we allocate at construct time and unref the rule context. (class_init): Override the destroy method. svn path=/trunk/; revision=11871
* Initialize ret_val. (do_drag_motion): Same.Jeffrey Stedfast2001-08-101-2/+2
| | | | | | | | | 2001-08-09 Jeffrey Stedfast <fejj@ximian.com> * e-tree.c (et_drag_drop): Initialize ret_val. (do_drag_motion): Same. svn path=/trunk/; revision=11861
* Fixes bug #6918Anna Marie Dirks2001-08-102-1/+9
| | | | | | | | | | | 2001-08-09 Anna Marie Dirks <anna@ximian.com> Fixes bug #6918 * e-filter-bar.h: Changed the "Save As.." menu item to "Add to Saved Searches". svn path=/trunk/; revision=11850
* bumped up to 0.10.99.3jacob berkman2001-08-105-86/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-09 jacob berkman <jacob@ximian.com> * configure.in: bumped up to 0.10.99.3 * gal/e-text/e-completion-view.c (e_completion_view_init): init matches array (e_completion_view_destroy): free matches array (e_completion_view_disconnect): disconnect from the clear and lost_match signals (e_completion_view_clear_choices): fixup for ptr array (e_completion_view_set_cursor_row): ditto (e_completion_view_select): ditto (e_completion_view_key_press_handler): ditto (clear_completion_cb): handle the clear signal (lost_completion_cb): remove a row from the model (table_row_count): fixup for ptr array (table_value_at): ditto (e_completion_view_construct): connect to clear and lost completion signals (e_completion_view_set_width): ptr array fixup again * gal/e-text/e-completion.c (e_completion_class_init): add new clean / lost completion signals (e_completion_init): initialize the matches array (e_completion_destroy): free the matches array (e_completion_add_match): fixup for matches being a GPtrArray (e_completion_clear_matches): ditto (e_completion_clear): new function to clear the list of matches (e_completion_foreach_match): fixup for ptrarray (e_completion_restart): ditto (e_completion_found_match): if we are at the limit return first, rather than adding and then unreffing. there very well could be some weird crashes this caused but it is kind of unlikely. (e_completion_lost_match): new function to forget about a match (e_completion_end_search): add a comment on why this is broken * gal/e-text/e-entry.c (e_entry_text_keypress): only start a delayed completion if our completion timeout is >= 0. this provides a way for the completion starting / stopping to be controlled by something other than the EEntry (ie, file-sel) svn path=/trunk/; revision=11843
* changed the E_FILTERBAR_RESET label from "Show All" to "Clear" toAnna Marie Dirks2001-08-102-1/+7
| | | | | | | | | | 2001-08-09 Anna Marie Dirks <anna@ximian.com> * e-filter-bar.h : changed the E_FILTERBAR_RESET label from "Show All" to "Clear" to alleviate confusion about whether "Show All" means that hidden messages are also shown or not. (See ximian bug #6743) svn path=/trunk/; revision=11833
* Added a "header" argument to these structures which just gets passedChristopher James Lahey2001-08-097-26/+186
| | | | | | | | | | | | | | | | | 2001-08-09 Christopher James Lahey <clahey@ximian.com> * e-table-field-chooser-dialog.c, e-table-field-chooser-dialog.h, e-table-field-chooser.c, e-table-field-chooser.h: Added a "header" argument to these structures which just gets passed downwards. * e-table-field-chooser-item.c, e-table-field-chooser-item.h: Added a "header" argument here. Made it so that only rows that aren't already in the header are shown. * e-table-header-item.c: Set the "header" argument on our e-table-field-chooser-dialog. Fixes Ximian bug #2654. svn path=/trunk/; revision=11828
* Bumped version up to 0.10.99.2.Jon Trowbridge2001-08-094-28/+89
| | | | | | | | | | | | | | | | | | | | | | 2001-08-09 Jon Trowbridge <trow@ximian.com> * configure.in: Bumped version up to 0.10.99.2. * gal/e-text/e-entry.c (e_entry_class_init): Added "completion_popup" signal. (e_entry_show_popup): Emit "completion_popup" signal if the popup has appeared or disappeared. (e_entry_enable_completion_full): Listen for "cancel_completion" signals from our model, and disable our completion if get one. (e_entry_completion_popup_is_visible): Added. Returns TRUE if the completion popup is on the screen. * gal/e-text/e-text-model.c (e_text_model_class_init): Added "cancel_completion" signal. (e_text_model_cancel_completion): Added. Emits "cancel_completion" signal. svn path=/trunk/; revision=11824
* Chain to the destroy handler in the parent class!Federico Mena Quintero2001-08-094-1/+19
| | | | | | | | | | | | | 2001-08-09 Federico Mena Quintero <federico@ximian.com> * e-calendar-item.c (e_calendar_item_destroy): Chain to the destroy handler in the parent class! * e-clipped-label.c (e_clipped_label_destroy): Likewise. Sigh. * e-dropdown-button.c (impl_destroy): Likewise. Double sigh. svn path=/trunk/; revision=11817
* Quintuple sigh. See below.Federico Mena Quintero2001-08-091-0/+3
| | | | | | | | | | 2001-08-09 Federico Mena Quintero <federico@ximian.com> * gal/e-text/e-entry.c (e_entry_destroy): Quintuple sigh. See below. * gal/util/e-bit-array.c (eba_destroy): Sextuple sigh. svn path=/trunk/; revision=11815
* Chain to the destroy handler in the parent class!Federico Mena Quintero2001-08-095-2/+19
| | | | | | | | | | | | | | | | | | | | 2001-08-09 Federico Mena Quintero <federico@ximian.com> * gal-define-views-dialog.c (gal_define_views_dialog_destroy): Chain to the destroy handler in the parent class! * gal-define-views-model.c (gdvm_destroy): Likewise. Sigh. * gal-view-etable.c (gal_view_etable_destroy): Likewise. Double sigh. * gal-view-factory-etable.c (gal_view_factory_etable_destroy): Likewise. Triple sigh. * gal-view-new-dialog.c (gal_view_new_dialog_destroy): Likewise. Quadruple sigh. svn path=/trunk/; revision=11814
* Chain to the destroy handler in the parent class!Federico Mena Quintero2001-08-094-1/+15
| | | | | | | | | | | | | | | | 2001-08-08 Federico Mena Quintero <federico@ximian.com> * e-cell-pixbuf.c (pixbuf_destroy): Chain to the destroy handler in the parent class! * e-table-field-chooser.c (e_table_field_chooser_destroy): Likewise. Sigh. * e-table-one.c (one_destroy): Likewise. Double sigh. * e-tree-selection-model.c (etsm_destroy): Likewise. Triple sigh. svn path=/trunk/; revision=11811
* Chain to the destroy handler in the parent class!Federico Mena Quintero2001-08-092-0/+6
| | | | | | | | | | | | | | | | | | | | 2001-08-08 Federico Mena Quintero <federico@ximian.com> * gal/widgets/e-selection-model-array.c (esma_destroy): Chain to the destroy handler in the parent class! * gal/widgets/e-selection-model.c (esm_destroy): Likewise. Sigh. * gal/widgets/e-categories.c (e_categories_destroy): Likewise. And make it static. Double sigh. * gal/widgets/e-categories-master-list-array.c (ecmla_destroy): Likewise. Triple sigh. * gal/widgets/e-categories-master-list-dialog-model.c (ecmldm_destroy): Likewise. Quadruple sigh. svn path=/trunk/; revision=11810
* Re-labeled the "Activate" button "Find Now".Anna Marie Dirks2001-08-092-1/+5
| | | | | | | 2001-08-08 Anna Marie Dirks <anna@ximian.com> * e-search-bar.c: Re-labeled the "Activate" button "Find Now". svn path=/trunk/; revision=11804
* Call the super-class destroy function when done.Not Zed2001-08-081-0/+2
| | | | | | | | | 2001-08-08 Not Zed <NotZed@Ximian.com> * e-table-sort-info.c (etsi_destroy): Call the super-class destroy function when done. svn path=/trunk/; revision=11782
* New. New.Ettore Perazzoli2001-08-084-0/+277
| | | | | | | * e-bonobo-widget.c: New. * e-bonobo-widget.h: New. svn path=/trunk/; revision=11768
* Check for row >= 0 here. (etgl_destroy): Disconnect from all the signalsChristopher James Lahey2001-08-082-15/+50
| | | | | | | | | | | 2001-08-08 Christopher James Lahey <clahey@ximian.com> * e-table-group-leaf.c, e-table-group-leaf.h (etgl_key_press): Check for row >= 0 here. (etgl_destroy): Disconnect from all the signals we connect to on our ETableItem here. svn path=/trunk/; revision=11766
* Implemented this function. Fixes Ximian bug #5353.Christopher James Lahey2001-08-081-6/+50
| | | | | | | | | 2001-08-07 Christopher James Lahey <clahey@ximian.com> * e-tree-selection-model.c (etsm_selected_count): Implemented this function. Fixes Ximian bug #5353. svn path=/trunk/; revision=11753
* Make tree nodes open if you hover over them while drag & dropping.Christopher James Lahey2001-08-081-0/+71
| | | | | | | | | 2001-08-07 Christopher James Lahey <clahey@ximian.com> * e-tree.c: Make tree nodes open if you hover over them while drag & dropping. svn path=/trunk/; revision=11746
* Added scrolling to access nodes that are scrolled off screen for drops.Christopher James Lahey2001-08-073-64/+290
| | | | | | | | | | | | | 2001-08-07 Christopher James Lahey <clahey@ximian.com> * e-tree.c (scroll_timeout): Added scrolling to access nodes that are scrolled off screen for drops. Fixes Ximian bug #5645. * e-table.c, e-table.h (scroll_timeout): Added scrolling to access rows that are scrolled off screen for drops. This doesn't work for some reason, but I'm checking the code in. svn path=/trunk/; revision=11724
* allow toggling between converting from the gdkfont's charset or from theLarry Ewing2001-08-071-1/+11
| | | | | | | | | | 2001-08-07 Larry Ewing <lewing@ximian.com> * gal/widgets/e-unicode.c (e_utf8_from_gtk_event_key): allow toggling between converting from the gdkfont's charset or from the locale charset for testing. svn path=/trunk/; revision=11723
* Implemented these functions.Christopher James Lahey2001-08-073-6/+110
| | | | | | | | | | | | 2001-08-06 Christopher James Lahey <clahey@ximian.com> * e-table.c, e-table.h (e_table_drag_highlight, e_table_drag_unhighlight): Implemented these functions. * e-tree.c (e_tree_drag_highlight, e_tree_drag_unhighlight): Implemented these functions. svn path=/trunk/; revision=11713
* [Added an "Activate" button to the search bar.]Ettore Perazzoli2001-08-053-17/+66
| | | | | | | | | | | | | | | * e-search-bar.c (submit_button_clicked_cb): Callback for the "clicked" signal on the activate button. (add_submit): New function to add a "Activate" button on the right of the entry. (e_search_bar_construct): Call it. (add_spacer): Removed. (e_search_bar_construct): Don't call it. (find_id): Remove debugging message. (put_in_spacer_widget): New utility function to create a GtkEventBox with a border width of one and put a widget into it. svn path=/trunk/; revision=11690
* Make the close icon as large as the pin icon so the bar doesn't changeEttore Perazzoli2001-08-052-13/+25
| | | | | | | | | * e-title-bar.c: Make the close icon as large as the pin icon so the bar doesn't change size when it switches between them. (e_title_bar_construct): Add some horizontal padding to the label to make it look nicer. svn path=/trunk/; revision=11688
* Set the hadjustment and vadjustment here. From a patch by KevinChristopher James Lahey2001-08-051-2/+4
| | | | | | | | | | 2001-08-04 Christopher James Lahey <clahey@ximian.com> * e-tree-scrolled.c (e_tree_scrolled_new): Set the hadjustment and vadjustment here. From a patch by Kevin Vandersloot <kfv101@psu.edu>. Fixes Ximian bug #6400. svn path=/trunk/; revision=11684
* Change these to actually subtract the allocation as they should.Christopher James Lahey2001-08-041-3/+6
| | | | | | | | | 2001-08-03 Christopher James Lahey <clahey@ximian.com> * e-tree.c (et_drag_motion, et_drag_drop, et_drag_data_received): Change these to actually subtract the allocation as they should. svn path=/trunk/; revision=11649
* e_tree_table_adapter_node_at_row would have pulled data from one past theChristopher James Lahey2001-08-041-6/+8
| | | | | | | | | | | 2001-08-03 Christopher James Lahey <clahey@ximian.com> * e-tree-table-adapter.c (e_tree_table_adapter_node_at_row): e_tree_table_adapter_node_at_row would have pulled data from one past the end of its array if you asked it to and the root was hidden. Fixed it. Fixes Ximian bug #4761. svn path=/trunk/; revision=11647
* Request an update. (e_calendar_item_mark_days): Likewise.Federico Mena Quintero2001-08-042-0/+9
| | | | | | | | | 2001-08-03 Federico Mena Quintero <federico@ximian.com> * e-calendar-item.c (e_calendar_item_mark_day): Request an update. (e_calendar_item_mark_days): Likewise. svn path=/trunk/; revision=11643
* Subtracted 27.Christopher James Lahey2001-08-041-0/+3
| | | | | | | | | 2001-08-03 Christopher James Lahey <clahey@ximian.com> * e-tree.c (et_drag_motion, et_drag_drop, et_drag_data_received): Subtracted 27. svn path=/trunk/; revision=11624
* Make the right and left key presses be marked as handled here (i.e.,Christopher James Lahey2001-08-031-0/+2
| | | | | | | | | | 2001-08-02 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_event): Make the right and left key presses be marked as handled here (i.e., return 1 always.) Fixes Ximian bug #2090. svn path=/trunk/; revision=11592
* Changed all e_table_model_is_cell_editable calls in this file to be on theChristopher James Lahey2001-08-031-3/+3
| | | | | | | | | 2001-08-02 Christopher James Lahey <clahey@ximian.com> * e-table-item.c: Changed all e_table_model_is_cell_editable calls in this file to be on the model column instead of the view column. svn path=/trunk/; revision=11589
* Set et->priv to NULL here just to be sure.Christopher James Lahey2001-08-031-0/+1
| | | | | | | | | 2001-08-02 Christopher James Lahey <clahey@ximian.com> * e-tree.c (et_destroy): Set et->priv to NULL here just to be sure. svn path=/trunk/; revision=11588
* Don't do most of the work in this function if data->data is NULL. FixesChristopher James Lahey2001-08-031-21/+27
| | | | | | | | | | 2001-08-02 Christopher James Lahey <clahey@ximian.com> * e-table-header-item.c (ethi_drag_data_received): Don't do most of the work in this function if data->data is NULL. Fixes Ximian bug #6041. svn path=/trunk/; revision=11587
* avoid freed memory reading, when you call it likeRadek Doulik2001-08-021-2/+8
| | | | | | | | | | | 2001-08-02 Radek Doulik <rodo@ximian.com> * gal/e-text/e-completion-match.c (e_completion_match_set_text): avoid freed memory reading, when you call it like e_completion_match_set_text (match, e_completion_match_get_match_text (match), tmp); svn path=/trunk/; revision=11571
* Set the et->cursor_loc *before* committing the click-to-add to avoidFederico Mena Quintero2001-08-021-3/+7
| | | | | | | | | | 2001-08-01 Federico Mena Quintero <federico@ximian.com> * e-table.c (group_cursor_change): Set the et->cursor_loc *before* committing the click-to-add to avoid reentrancy issues if the table model changes while the click-to-add is being committed. svn path=/trunk/; revision=11564
* Make this function not crash if x somehow doesn't land on some column.Christopher James Lahey2001-08-021-4/+8
| | | | | | | | | | | | | 2001-08-01 Christopher James Lahey <clahey@ximian.com> * e-table-header-item.c (ethi_change_sort_state): Make this function not crash if x somehow doesn't land on some column. Fixes Ximian bug #5957. * e-table-header-item.c: Removed a bunch of menu items whose functionality won't be ready for 1.0. Fixes Ximian bug #154. svn path=/trunk/; revision=11560
* Made this not query the 0th row if there are 0 rows in the table. FixesChristopher James Lahey2001-08-011-6/+5
| | | | | | | | | 2001-08-01 Christopher James Lahey <clahey@ximian.com> * e-cell-toggle.c (etog_max_width): Made this not query the 0th row if there are 0 rows in the table. Fixes Ximian bug #5640. svn path=/trunk/; revision=11542
* If the CLICK signal gets a return value, so we're going to be return fromJason Leach2001-07-261-1/+4
| | | | | | | | | | 2001-07-25 Jason Leach <jleach@ximian.com> * e-table-item.c (eti_event): If the CLICK signal gets a return value, so we're going to be return from eti_event immediately after, set the eti->click_count to zero. Fixes bug #811. svn path=/trunk/; revision=11420
* Properly ref the font we pass in as an ARG_FONT_E. (_do_tooltip): RemovedJon Trowbridge2001-07-252-3/+3
| | | | | | | | | | | | | | | | | | 2001-07-25 Jon Trowbridge <trow@ximian.com> * gal/e-text/e-text.c (e_text_set_arg): Properly ref the font we pass in as an ARG_FONT_E. (_do_tooltip): Removed some crack. We no longer have to manually ref the font. The ref-counting now happens inside the set_arg function, as it should. (e_text_destroy): Set text->font to NULL after unrefing it. 2001-07-25 Jon Trowbridge <trow@ximian.com> * e-cell-text.c (ect_unrealize): Set text_view->font to NULL after we unref it. svn path=/trunk/; revision=11393
* don't show the year in the popup submenu for the months, and center theDamon Chaplin2001-07-252-4/+15
| | | | | | | | | | 2001-07-24 Damon Chaplin <damon@ximian.com> * e-calendar-item.c (e_calendar_item_show_popup_menu): don't show the year in the popup submenu for the months, and center the months. Fixes bug #4397. svn path=/trunk/; revision=11365
* Handle GDK_KP_* cursor keys as well.Ettore Perazzoli2001-07-231-1/+5
| | | | | | * e-table-item.c (eti_event): Handle GDK_KP_* cursor keys as well. svn path=/trunk/; revision=11302
* Removed some debugging spew I committed by mistake.Jon Trowbridge2001-07-211-4/+1
| | | | | | | | | 2001-07-20 Jon Trowbridge <trow@ximian.com> * gal/e-text/e-completion-view.c (e_completion_view_set_width): Removed some debugging spew I committed by mistake. svn path=/trunk/; revision=11293
* Change window policy to allow the completion window to shrink when theJon Trowbridge2001-07-212-11/+9
| | | | | | | | | | | | | 2001-07-20 Jon Trowbridge <trow@ximian.com> * gal/e-text/e-entry.c (e_entry_enable_completion_full): Change window policy to allow the completion window to shrink when the number of options decreases. * gal/e-text/e-completion-view.c (e_completion_view_construct): Removed some obsolete code. svn path=/trunk/; revision=11292
* When the dialog gets closed, always make sure the entry widget becomesJeffrey Stedfast2001-07-192-1/+5
| | | | | | | | | | | | 2001-07-18 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (rule_editor_destroyed): When the dialog gets closed, always make sure the entry widget becomes sensitive again. (menubar_activated): Don't use FILTER_SOURCE_INCOMING because that's not what we want, we want (I think) NULL (at least with NULL, bug #4490 goes away). svn path=/trunk/; revision=11209
* When the dialog gets closed, always make sure the entry widget becomesJeffrey Stedfast2001-07-192-188/+179
| | | | | | | | | 2001-07-18 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (rule_editor_destroyed): When the dialog gets closed, always make sure the entry widget becomes sensitive again. svn path=/trunk/; revision=11208
* Remove the debugging message here.Dan Winship2001-07-181-1/+0
| | | | | | | * gal/widgets/e-unicode.c (e_utf8_to_gtk_string_sized): Remove the debugging message here. svn path=/trunk/; revision=11179
* Fixes bug #2901.Federico Mena Quintero2001-07-172-16/+10
| | | | | | | | | | | 2001-07-16 Federico Mena Quintero <federico@ximian.com> Fixes bug #2901. * e-dateedit.c (e_date_edit_parse_date): Use e_time_parse_date(). (e_date_edit_parse_time): Use e_time_parse_time(). svn path=/trunk/; revision=11137
* *** empty log message ***Jacob Berkman2001-07-163-21/+27
| | | | svn path=/trunk/; revision=11126
* Reset the view when we set the model here. Fixes Ximian #4105.Christopher James Lahey2001-07-161-0/+1
| | | | | | | | | 2001-07-16 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-reflow.c (connect_model): Reset the view when we set the model here. Fixes Ximian #4105. svn path=/trunk/; revision=11124
* Start editing immediately on a button_press that grabs the focus.Christopher James Lahey2001-07-151-27/+44
| | | | | | | | | | | 2001-07-15 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.c (e_text_event): Start editing immediately on a button_press that grabs the focus. e_canvas_item_grab_focus doesn't seem to get us the focus event until the event loop. Fixes Ximian bug #1766. svn path=/trunk/; revision=11111
* Made these functions return -1 if the x and y aren't over any cell at all.Christopher James Lahey2001-07-131-0/+5
| | | | | | | | | 2001-07-12 Christopher James Lahey <clahey@ximian.com> * e-tree.c (e_tree_get_cell_at): Made these functions return -1 if the x and y aren't over any cell at all. svn path=/trunk/; revision=11077
* Ignore set_expanded if the node is the root and root_visible is FALSE.Christopher James Lahey2001-07-132-4/+13
| | | | | | | | | | | | | 2001-07-12 Christopher James Lahey <clahey@ximian.com> * e-tree-table-adapter.c (e_tree_table_adapter_node_set_expanded): Ignore set_expanded if the node is the root and root_visible is FALSE. * e-tree.c (item_key_press): Don't call set_expanded on NULL paths. svn path=/trunk/; revision=11061
* Created this function for key presses that move in some way other thanChristopher James Lahey2001-07-114-86/+88
| | | | | | | | | | | | | | 2001-07-11 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h (e_selection_model_select_as_key_press): Created this function for key presses that move in some way other than just to the next or previous row. (e_selection_model_key_press): Use e_selection_model_select_as_key_press for handling home and end here. svn path=/trunk/; revision=10993
* Made the amount to scroll by smaller here.Christopher James Lahey2001-07-112-4/+4
| | | | | | | | | 2001-07-11 Christopher James Lahey <clahey@ximian.com> * e-table.c (group_key_press), e-tree.c (item_key_press): Made the amount to scroll by smaller here. svn path=/trunk/; revision=10992
* Use e_selection_model_do_something directly for page up and page downChristopher James Lahey2001-07-112-64/+33
| | | | | | | | | | 2001-07-11 Christopher James Lahey <clahey@ximian.com> * e-table.c (group_key_press), e-tree.c (item_key_press): Use e_selection_model_do_something directly for page up and page down instead of emulating a key press. svn path=/trunk/; revision=10990
* For E_TEP_END_OF_BUFFER, use the length in bytes, not the length inFederico Mena Quintero2001-07-101-1/+1
| | | | | | | | | | 2001-07-09 Federico Mena Quintero <federico@ximian.com> * gal/e-text/e-text.c (_get_position): For E_TEP_END_OF_BUFFER, use the length in bytes, not the length in characters --- this function is supposed to return byte offsets. svn path=/trunk/; revision=10941
* Changed the title of this dialog. Fixes bug #2656.Christopher James Lahey2001-07-091-1/+5
| | | | | | | | | | 2001-07-08 Christopher James Lahey <clahey@ximian.com> * e-table-field-chooser-dialog.c (e_table_field_chooser_dialog_init): Changed the title of this dialog. Fixes bug #2656. svn path=/trunk/; revision=10897
* Destroy the tooltip if we're the owner when we're destroyed. Also, keep aChristopher James Lahey2001-07-083-1/+24
| | | | | | | | | | | | | | 2001-07-07 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.c, gal/e-text/e-text.h (e_text_destroy): Destroy the tooltip if we're the owner when we're destroyed. Also, keep a reference to the text object in case we get a signal on the window after the text object is destroyed. * gal/widgets/e-canvas.c (e_canvas_destroy): Hide the tooltip if there is one when the canvas is destroyed. svn path=/trunk/; revision=10888
* Added checks for if row is outside of the appropriate range.Christopher James Lahey2001-07-071-0/+4
| | | | | | | | | 2001-07-06 Christopher James Lahey <clahey@ximian.com> * e-tree-table-adapter.c (e_tree_table_adapter_node_at_row): Added checks for if row is outside of the appropriate range. svn path=/trunk/; revision=10878
* Set new_value = value here to fix a warning.Christopher James Lahey2001-07-071-0/+1
| | | | | | | | | 2001-07-06 Christopher James Lahey <clahey@ximian.com> * e-cell-spin-button.c (e_cell_spin_button_step_float): Set new_value = value here to fix a warning. svn path=/trunk/; revision=10877
* Changed this to match the changed signal on the ETableConfig object. FixesChristopher James Lahey2001-07-071-1/+5
| | | | | | | | | 2001-07-06 Christopher James Lahey <clahey@ximian.com> * gal-view-etable.c (config_changed): Changed this to match the changed signal on the ETableConfig object. Fixes bug 4213. svn path=/trunk/; revision=10876
* Added a "state" argument to allow you to get the state out of the configChristopher James Lahey2001-07-071-1/+25
| | | | | | | | | 2001-07-06 Christopher James Lahey <clahey@ximian.com> * e-table-config.c (config_get_arg): Added a "state" argument to allow you to get the state out of the config object. svn path=/trunk/; revision=10875
* Added checks that row and col are >= 0.Christopher James Lahey2001-07-061-0/+2
| | | | | | | | | 2001-07-05 Christopher James Lahey <clahey@ximian.com> * e-tree.c (e_tree_get_cell_geometry): Added checks that row and col are >= 0. svn path=/trunk/; revision=10809
* Don't scroll to the cursor on grab, ungrab, noop, and copy commands.Christopher James Lahey2001-07-051-1/+6
| | | | | | | | | 2001-07-05 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.c (e_text_command): Don't scroll to the cursor on grab, ungrab, noop, and copy commands. svn path=/trunk/; revision=10808
* Call e_table_item_leave_edit here.Christopher James Lahey2001-07-051-0/+4
| | | | | | | | | 2001-07-05 Christopher James Lahey <clahey@ximian.com> * e-cell-text.c (ect_cancel_edit): Call e_table_item_leave_edit here. svn path=/trunk/; revision=10805
* Made it so that the drop marker can show up when dragging a new column toChristopher James Lahey2001-07-051-1/+1
| | | | | | | | | | 2001-07-05 Christopher James Lahey <clahey@ximian.com> * e-table-header-item.c (ethi_drag_motion): Made it so that the drop marker can show up when dragging a new column to the leftmost position of the table header item. svn path=/trunk/; revision=10801
* Bumped the version number of gal to 0.8.99.8.Christopher James Lahey2001-07-051-1/+1
| | | | | | | | | | | | | | | 2001-07-05 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the version number of gal to 0.8.99.8. From gal/e-table/ChangeLog: 2001-07-05 Christopher James Lahey <clahey@ximian.com> * e-table-one.c (one_is_cell_editable): Ask for the editability of row -1 instead of column 0 as we were before. svn path=/trunk/; revision=10799
* Changed the variable names here to make it clear that these are view modelChristopher James Lahey2001-07-052-21/+52
| | | | | | | | | | | | | 2001-07-05 Christopher James Lahey <clahey@ximian.com> * e-table-item.c, e-table-item.h (find_cell): Changed the variable names here to make it clear that these are view model and row. (eti_event): Added click_count to make it so that if we get two clicks in different rows we don't send a double click event. (eti_event, view_to_model_row): Set row_guess in a few extra places. svn path=/trunk/; revision=10791
* Make a whole bunch of control keys not start the ETableItem editing.Christopher James Lahey2001-07-051-19/+43
| | | | | | | | | 2001-07-05 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_event): Make a whole bunch of control keys not start the ETableItem editing. svn path=/trunk/; revision=10789
* Make sure start_row and end_row are within the number of rows in theChristopher James Lahey2001-07-051-0/+8
| | | | | | | | | 2001-07-05 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (e_table_item_row_diff): Make sure start_row and end_row are within the number of rows in the table. svn path=/trunk/; revision=10788
* Handle an error in construction a little bit better here.Christopher James Lahey2001-07-051-6/+16
| | | | | | | | | | 2001-07-05 Christopher James Lahey <clahey@ximian.com> * e-tree.c (e_tree_new, e_tree_new_from_spec_file): Handle an error in construction a little bit better here. (e_tree_get_cursor): Check for row == -1 here. svn path=/trunk/; revision=10787
* If lines is NULL here split into lines and just return that the point isChristopher James Lahey2001-07-031-0/+7
| | | | | | | | | | 2001-07-03 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.c (e_text_point): If lines is NULL here split into lines and just return that the point is outside this text object. svn path=/trunk/; revision=10730
* added functions to set a callback to get the current time, which is usedDamon Chaplin2001-07-037-50/+230
| | | | | | | | | | | | 2001-07-02 Damon Chaplin <damon@ximian.com> * e-calendar-item.c: * e-cell-date-edit.c: * e-dateedit.c: added functions to set a callback to get the current time, which is used instead of localtime(). We need this as we have to use our own timezones. svn path=/trunk/; revision=10728