Commit Graph

1351 Commits

Author SHA1 Message Date
8ac60f4e7e translate timezone names, and provide a function to get back to the
2002-01-11  Damon Chaplin  <damon@ximian.com>

	* e-timezone-dialog/e-timezone-dialog.[hc]: translate timezone names,
	and provide a function to get back to the English version.

svn path=/trunk/; revision=15303
2002-01-12 00:24:57 +00:00
b70d7b0292 Made the header item here handle horizontal scrolling when adding a
2002-01-09  Christopher James Lahey  <clahey@ximian.com>

	* e-table-header-item.c, e-table-header-item.h (scroll_timeout):
	Made the header item here handle horizontal scrolling when adding
	a column.

svn path=/trunk/; revision=15278
2002-01-09 23:31:06 +00:00
effefd2815 Bumped version number to 0.19.99.0. Bumped GAL_CURRENT. Reset
2002-01-09  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped version number to 0.19.99.0.  Bumped
	GAL_CURRENT.  Reset GAL_REVISION.

From gal/e-table/ChangeLog:

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

	* e-table.c, e-table.h (scroll_timeout), e-tree.c
	(scroll_timeout): Made these handle horizontal scrolling during
	drags.

svn path=/trunk/; revision=15272
2002-01-09 06:49:52 +00:00
e5d02e7ed1 Collapse nodes that were opened during a drag, unless the drop site is a
2002-01-09  Christopher James Lahey  <clahey@ximian.com>

	* e-tree.c (collapse_drag): Collapse nodes that were opened during
	a drag, unless the drop site is a child node.  Fixes Ximian bug
	#4965.

svn path=/trunk/; revision=15271
2002-01-09 05:40:32 +00:00
f4feb97104 changed the location of the Hebrew charset in the menu
svn path=/trunk/; revision=15247
2002-01-04 20:27:09 +00:00
7cc5493195 Added iso-8859-8 (Hebrew; Visual) to the list of charsets in the menu.
2002-01-04  Jeffrey Stedfast  <fejj@ximian.com>

	* e-charset-picker.c: Added iso-8859-8 (Hebrew; Visual) to the
	list of charsets in the menu. Fixes bug #15655.

svn path=/trunk/; revision=15246
2002-01-04 19:35:24 +00:00
0336d7c12f Reworked to fix bugs related to breaking text on newlines. Some fairly
2001-12-27  Jon Trowbridge  <trow@ximian.com>

	* gal/e-text/e-text.c (split_into_lines): Reworked to fix bugs
	related to breaking text on newlines.  Some fairly substantial
	code duplication was removed in the process.

svn path=/trunk/; revision=15219
2001-12-28 02:24:27 +00:00
6cfbc6f4d9 New. New.
* e-combo-button.c: New.
* e-combo-button.h: New.

svn path=/trunk/; revision=15191
2001-12-20 06:02:29 +00:00
4f77fa6396 Merging changes:
2001-12-17  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-toggle.c (etog_set_value): Don't queue a redraw here.
	the value changed signal will do that automatically.

svn path=/trunk/; revision=15160
2001-12-18 21:10:42 +00:00
98a2c85627 Merging changes:
2001-12-17  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-selection-model-simple.c
	(e_selection_model_simple_set_row_count): Set esma->selected_row
	and esma->selected_range_end to -1 here.

	* gal/widgets/e-selection-model-array.c
	(e_selection_model_array_confirm_row_count): Set selected_row and
	selected_range_end to -1 here.
	(esma_select_single_row): Check that selected_row is within the
	range of possible rows.  This should never happen, but this check
	will help if it does.

svn path=/trunk/; revision=15142
2001-12-17 23:09:54 +00:00
4854c60dc3 Merging changes:
2001-11-08  Christopher James Lahey  <clahey@ximian.com>

	* gal/Makefile.am: Added e-canvas-background.lo.

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

	* gal/widgets/e-canvas-background.c,
	gal/widgets/e-canvas-background.h: New class, provides infinite
	background color or arbitrary rectangle of background color.

svn path=/trunk/; revision=15126
2001-12-17 19:18:28 +00:00
78406c4d1c Merging changes:
2001-12-12  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-text.c (ect_stop_editing): Change to not editing before
	committing values.  Then commit the values.

svn path=/trunk/; revision=15104
2001-12-17 07:54:10 +00:00
4ca3db91ac Merging changes:
2001-12-11  Christopher James Lahey  <clahey@ximian.com>

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

From gal/e-table/ChangeLog:

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

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

svn path=/trunk/; revision=15102
2001-12-17 07:50:20 +00:00
9c742bd727 merge from head
2001-11-21  Not Zed  <NotZed@Ximian.com>

        * e-filter-bar.c (menubar_activated): Mark the dialogue as already
        up so we dont allow multiple dialogues up.  Behaviour fix part of
        #15745.

svn path=/trunk/; revision=15030
2001-12-13 23:41:15 +00:00
3e70bbe666 unregister ETableHeaderItem widget as a drag target when unrealizing it.
2001-12-11  Gustavo Giráldez  <gustavo.giraldez@gmx.net>

	* gal/e-table/e-table-header-item.c (ethi_unrealize): unregister
	ETableHeaderItem widget as a drag target when unrealizing it.

svn path=/trunk/; revision=14996
2001-12-11 22:20:31 +00:00
a014ee4309 Merging files:
2001-12-06  Christopher James Lahey  <clahey@ximian.com>

	* e-table-config.c, e-table-config.h (setup_gui): Set the title of
	the window here.

	* e-table-header-item.c (ethi_popup_customize_view): Use a useful
	string for the header here.

svn path=/trunk/; revision=14975
2001-12-11 10:10:02 +00:00
dc83cb0331 Merging changes:
2001-12-06  Christopher James Lahey  <clahey@ximian.com>

	* e-table-subset.c (etss_get_view_row): Removed incorrect calls to
	e_table_model_row_changed here.

svn path=/trunk/; revision=14973
2001-12-11 10:02:27 +00:00
ef46478b1c Merging changes:
2001-12-05  Christopher James Lahey  <clahey@ximian.com>

	* e-table-header-item.c (ethi_find_col_by_x,
	ethi_find_col_by_x_nearest): Made these return 0 to the left of
	all columns and ethi_find_col_by_x return cols - 1 if to the right
	of all columns.  Fixes Ximian bug #14414.

svn path=/trunk/; revision=14971
2001-12-11 09:56:14 +00:00
5f447101dd Don't crash if the text string is NULL. (text_draw_with_objects): Don't
2001-12-10  Jon Trowbridge  <trow@ximian.com>

        * gal/e-text/e-text.c (text_width_with_objects): Don't crash if
        the text string is NULL.
        (text_draw_with_objects): Don't crash if the text string is NULL.
        (Fixes #16359)

svn path=/trunk/; revision=14954
2001-12-10 17:50:14 +00:00
a1725df2bb Merging changes:
2001-12-04  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-selection-model.c (e_tree_selection_model_change_cursor):
	Unset selection->old_selection here.

svn path=/trunk/; revision=14912
2001-12-06 20:21:51 +00:00
410f3bc629 Merging changes:
2001-12-04  Christopher James Lahey  <clahey@ximian.com>

	* configure.in (GAL_CURRENT): Bumped version number to 0.18.99.0
	and CURRENT to 19.

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

	* gal/widgets/e-reflow.c, gal/widgets/e-reflow.h: Handle
	selection_row_changed signal.

	* gal/widgets/e-selection-model-array.c,
	gal/widgets/e-selection-model-array.h: Properly send
	selection_row_changed signals if changing from a single row
	selected to a single other row selected or if moving the
	selection_end by a single row.

	* gal/widgets/e-selection-model.c,
	gal/widgets/e-selection-model.h: Added selection_row_changed
	signal.
	(e_selection_model_select_as_key_press): Fixed the case statement
	here to make MULTIPLE and EXTENDED the same as BROWSE instead of
	as SINGLE.

From gal/e-table/ChangeLog:

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

	* e-table-item.c, e-table-item.h: Handle selection_row_changed
	signal.  Keep track of the old cursor row so that we only redraw
	two rows when the cursor changes.

	* e-table.c, e-tree.c: Handle selection_row_changed signal.

	* e-tree-selection-model.c: Properly send selection_row_changed
	signals if changing from a single row selected to a single other
	row selected or if moving the selection_end by a single row.

svn path=/trunk/; revision=14870
2001-12-04 21:03:28 +00:00
4b74a42adf Merging changes:
2001-11-28  Christopher James Lahey  <clahey@ximian.com>

	* e-table.c (context_destroyed), e-tree.c (context_destroyed):
	Check for et being destroyed here before doing anything.  Fixes
	Ximian bug #15728.

svn path=/trunk/; revision=14864
2001-12-04 12:11:16 +00:00
1994bab834 Merging changes:
2001-12-04  Christopher James Lahey  <clahey@ximian.com>

	* e-table-group.c, e-table.c, e-tree.c: Changed some comments.
	Added a bunch of documentation here.

svn path=/trunk/; revision=14861
2001-12-04 11:21:55 +00:00
3270da0242 Merging changes:
2001-11-30  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped version number to 0.18.2 and GAL_REVISION
	to 2.

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

	* gal/widgets/e-gui-utils.c
	(e_container_change_tab_order_callback): Don't do anything if
	focus_child is NULL.  This makes tab when cycling around tab order
	not skip to the beginning of this tab order group.

svn path=/trunk/; revision=14836
2001-12-01 01:29:41 +00:00
57d95cb3b7 updated to new version from Ximian Setup Tools. Fixes bug #7641.
2001-11-28  Damon Chaplin  <damon@ximian.com>

	* e-map.c: updated to new version from Ximian Setup Tools.
	Fixes bug #7641.

2001-11-27  Damon Chaplin  <damon@ximian.com>

	* e-dateedit.c (e_date_edit_get_date): if allow_no_date_set is FALSE,
	return the last valid date entered, even if the field is currently
	empty. Fixes bug #15749.

svn path=/trunk/; revision=14817
2001-11-28 22:11:07 +00:00
f6bbfa3d44 Bumped version number to 0.18.1.
2001-11-14  Christopher James Lahey  <clahey@ximian.com>

	* configure.in (GAL_CURRENT): Bumped version number to 0.18.1.

	* gal/widgets/e-selection-model-array.c
	(e_selection_model_array_delete_rows): Make sure the cursor row is
	selected after deleting here.

svn path=/trunk/; revision=14711
2001-11-14 22:26:46 +00:00
aa256bd41d Ungrab and set maybe_in_grab to FALSE before sending the double click
2001-11-14  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c (eti_event): Ungrab and set maybe_in_grab to
	FALSE before sending the double click signal.

svn path=/trunk/; revision=14708
2001-11-14 22:15:13 +00:00
df3bc07361 From a patch by Yukihiro Nakai <ynakai@redhat.com>.
2001-11-14  Christopher James Lahey  <clahey@ximian.com>

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

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

svn path=/trunk/; revision=14703
2001-11-14 20:56:53 +00:00
6c92a88fc7 Handle the case where page up or page down goes off the end of the table
2001-11-10  Christopher James Lahey  <clahey@ximian.com>

	* e-table.c (group_key_press), e-tree.c (item_key_press): Handle
	the case where page up or page down goes off the end of the table
	or tree.

svn path=/trunk/; revision=14702
2001-11-14 20:47:31 +00:00
388862bcc0 Don't select all if the source model doesn't have a root node (it used to
2001-11-07  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-selection-model.c (etsm_select_all): Don't select all if
	the source model doesn't have a root node (it used to crash.)
	Fixes Ximian bug #14542.

svn path=/trunk/; revision=14661
2001-11-10 20:39:41 +00:00
207ba3e3c5 Make a printout here be conditionally compiled (and compiled out by
2001-11-08  Christopher James Lahey  <clahey@ximian.com>

	* e-table-sorter.c (ets_sort_info_changed): Make a printout here
	be conditionally compiled (and compiled out by default.)

svn path=/trunk/; revision=14660
2001-11-10 20:37:38 +00:00
e50647bb50 Fixed stupid bug (U_ macro should always take one argument).
* gal/util/e-unicode-i18n.h:
Fixed stupid bug (U_ macro should always take one argument).

* gal/e-table/e-table-group-container.c (compute_text): s/_/U_

svn path=/trunk/; revision=14632
2001-11-08 22:11:45 +00:00
335e0c6bf6 Only popup entries that have focus. Fixes the lingering completion popup
2001-11-08  Jon Trowbridge  <trow@ximian.com>

        * gal/e-text/e-entry.c (full_cb): Only popup entries that have
        focus.  Fixes the lingering completion popup bug.

svn path=/trunk/; revision=14626
2001-11-08 17:28:52 +00:00
9ab4c3e6cd set both the date and the time of day in one call, creating only a single
2001-11-05  JP Rosevear  <jpr@ximian.com>

	* e-dateedit.c (e_date_edit_set_date_and_time_of_day): set both
	the date and the time of day in one call, creating only a single
	changed signal

	* e-dateedit.h: add proto

svn path=/trunk/; revision=14602
2001-11-06 00:05:54 +00:00
c81e771e3b Based on a patch by Damon Chaplin <damon@ximian.com>
2001-11-05  Christopher James Lahey  <clahey@ximian.com>

Based on a patch by Damon Chaplin <damon@ximian.com>

	* e-cell-date-edit.c: Connect to the button_press signal on the
	popup and do the grab correctly so that this dialog behaves
	properly when the user clicks it away.  Also, changed all
	instances of setting of popup_shown field of ECellPopup to call
	e_cell_popup_set_shown.  Fixes Ximian bug #14016.

svn path=/trunk/; revision=14594
2001-11-05 20:12:44 +00:00
514e14b2c6 New functions here.
2001-11-03  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-popup.c, e-cell-popup.h (e_cell_popup_set_shown,
	e_cell_popup_queue_cell_redraw): New functions here.

	* e-cell-combo.c: Use e_cell_popup_set_shown to set the
	popup_shown variable so that ECellPopup can properly request a
	redraw.

svn path=/trunk/; revision=14592
2001-11-05 19:52:33 +00:00
76d416305f We should only pre_change here if frozen = 0, otherwise we'll leak
2001-11-03  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-memory.c (e_tree_memory_freeze): We should only
	pre_change here if frozen = 0, otherwise we'll leak pre_changes.
	Helps fix Ximian bug #14422.

	* e-tree-sorted.c (ets_proxy_node_data_changed,
	ets_proxy_node_col_changed): Send a no_change signal here if given
	a NULL path.  Helps fix Ximian bug #14422.

svn path=/trunk/; revision=14591
2001-11-05 19:50:35 +00:00
bd49633a89 Bumped the version number to 0.17.99.0. Bumped the soname to 18.
2001-11-03  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped the version number to 0.17.99.0.  Bumped
	the soname to 18.

	* gal/widgets/e-categories.c (e_categories_destroy): Got rid of a
	GtkWarning here that was due to Gtk+ casting a NULL pointer.
	Fixes Ximian bug #14327.

From gal/e-table/ChangeLog:

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

	* e-cell-popup.c, e-cell-popup.h (e_cell_popup_do_popup): Make
	ECellPopup not display multiple arrows while the popup is up and
	the table is in grouped mode.  Fixes Ximian bug #14207.

svn path=/trunk/; revision=14580
2001-11-03 09:02:54 +00:00
f00d0b9514 Fixed the signature of this function.
2001-10-31  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-selection-model.c (etsm_node_deleted): Fixed the
	signature of this function.

svn path=/trunk/; revision=14560
2001-11-01 00:35:40 +00:00
71a63f1498 Bumped the version number to 0.16.99.0 and GAL_CURRENT to 17.
2001-10-31  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped the version number to 0.16.99.0 and
	GAL_CURRENT to 17.

From gal/e-table/ChangeLog:

2001-10-31  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c (eti_unfreeze): Check for unfreezing past 0 here
	and give a warning.
	(eti_add_table_model): Call eti_freeze here since
	eti_table_model_changed will call unfreeze.

	* e-tree-memory.c (e_tree_memory_node_remove): Send deleted signal
	after freeing the child.

	* e-tree-model.c, e-tree-model.h: Added node_deleted signal.
	removed/deleted signals will always come in pairs in that order
	with a single pre_change for both of them.

	* e-tree-selection-model.c (etsm_node_deleted): Clear the tree on
	deleted here instead of on removed.

	* e-tree-sorted.c (ets_proxy_node_deleted): Chain deleted here.
	Chains to NULL node which is fine for now.

svn path=/trunk/; revision=14557
2001-10-31 23:42:08 +00:00
1
d4d172e933 Snotty code so we only disconnect to rules we no longer have, etc.
2001-10-31    <NotZed@Ximian.com>

        * e-filter-bar.c (build_items): Snotty code so we only disconnect
        to rules we no longer have, etc.

svn path=/trunk/; revision=14553
2001-10-31 23:08:29 +00:00
9450e20fe2 Ref and connect to rule changed here, also clear out previous ref's.
2001-11-01  Not Zed  <NotZed@Ximian.com>

        * e-filter-bar.c (build_items): Ref and connect to rule changed
        here, also clear out previous ref's.
        (generate_menu): No longer connect to rules, or reset rule array.
        (set_option): Dont reset option rules array.
        (context_rule_removed): Disconnect changed event on rule.
        (clear_rules): Fujnction to clear rules from an array.
        (destroy): Disconnect from context signals, and clear rules arrays.

        * e-filter-bar.h: Remove hash table for change id's.

svn path=/trunk/; revision=14550
2001-10-31 22:27:16 +00:00
a3dfed7a8e Bumped the version number here to 0.16.
2001-10-31  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped the version number here to 0.16.

From gal/menus/ChangeLog:

2001-10-31  Christopher James Lahey  <clahey@ximian.com>

	* gal-define-views-model.c: Made this match pre_changes with
	changes.

svn path=/trunk/; revision=14524
2001-10-31 10:34:54 +00:00
23587bebe8 Added frozen_count variable to know not to show the cursor while a change
2001-10-31  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c, e-table-item.h: Added frozen_count variable to
	know not to show the cursor while a change is going on.

	* e-table-model.c, e-table-model.h, e-tree-model.c,
	e-tree-model.h: Added a model_no_change signal to pair with a
	pre_change if there's no change.

	* e-table-selection-model.h: Removed an unused frozen field here.

	* e-table-sorted.c, e-table-subset.c, e-table-subset.h,
	e-table-without.c, e-tree-memory.c, e-tree-sorted.c,
	e-tree-table-adapter.c: Made sure pre_changes were all matched by
	some change.  Proxy no_change signal where appropriate.

	* e-tree-selection-model.c: Keep track of the frozen_count
	variable to know whether a change is going on.

svn path=/trunk/; revision=14523
2001-10-31 10:33:51 +00:00
9590a301d5 emit signal when time set to none/empty.
2001-10-30  Damon Chaplin  <damon@ximian.com>

	* e-dateedit.c (e_date_edit_set_time_of_day): emit signal when time
	set to none/empty.

svn path=/trunk/; revision=14502
2001-10-30 23:28:27 +00:00
02ffaef8e1 Leave edit if commit is called.
2001-10-30  Christopher James Lahey  <clahey@ximian.com>

	* e-table.c (e_table_commit_click_to_add): Leave edit if commit is
	called.

svn path=/trunk/; revision=14487
2001-10-30 22:09:46 +00:00
41884992f8 Request the right regions here. The range given is inclusive, not
2001-10-30  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c (eti_show_cursor, eti_check_cursor_bounds):
	Request the right regions here.  The range given is inclusive, not
	inclusive/exclusive.

svn path=/trunk/; revision=14479
2001-10-30 20:57:11 +00:00
6922ceef9e Remove point handler and just let GnomeCanvasGroup handle it.
2001-10-30  Christopher James Lahey  <clahey@ximian.com>

	* e-table-click-to-add.c (etcta_class_init): Remove point handler
	and just let GnomeCanvasGroup handle it.

	* e-table.c (e_table_commit_click_to_add): Don't commit the
	click_to_add if there's no click_to_add to commit.

svn path=/trunk/; revision=14476
2001-10-30 20:12:57 +00:00
377b222ae3 Bumped the version number here to 0.15.99.10.
2001-10-30  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped the version number here to 0.15.99.10.

From gal/e-table/ChangeLog:

2001-10-30  Christopher James Lahey  <clahey@ximian.com>

	* e-table.c (e_table_commit_click_to_add): Added this new function
	to allow the user to specify a commit.

svn path=/trunk/; revision=14473
2001-10-30 19:08:10 +00:00
0
08c273a628 Hook to rule changed events. (destroy): Free change id table/unconnect to
2001-10-30    <NotZed@Ximian.com>

	* e-filter-bar.c (generate_menu): Hook to rule changed events.
	(destroy): Free change id table/unconnect to signals.
	(init): Setup change id table.
	(e_filter_bar_new): Hook onto rule removed signal.
	(context_rule_removed): If rule removed, disconnect from signal handler.
	(rule_changed): For changed rules, also rebuild menu.  Fixed #12233.

svn path=/trunk/; revision=14459
2001-10-30 13:47:39 +00:00