Commit Graph

1265 Commits

Author SHA1 Message Date
Federico Mena Quintero 2d4b0e2c4b Quintuple sigh. See below.
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
2001-08-09 05:21:41 +00:00
Federico Mena Quintero cd0a733219 Chain to the destroy handler in the parent class!
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
2001-08-09 05:20:46 +00:00
Federico Mena Quintero 5e70f5f3dd Chain to the destroy handler in the parent class!
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
2001-08-09 03:14:48 +00:00
Federico Mena Quintero d256cde05d Chain to the destroy handler in the parent class!
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
2001-08-09 03:04:15 +00:00
Anna Marie Dirks ce3758a1d8 Re-labeled the "Activate" button "Find Now".
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
2001-08-08 22:52:10 +00:00
Not Zed e9bd546cbe Call the super-class destroy function when done.
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
2001-08-08 10:57:26 +00:00
Ettore Perazzoli 164dd845b6 New. New.
* e-bonobo-widget.c: New.
* e-bonobo-widget.h: New.

svn path=/trunk/; revision=11768
2001-08-08 08:18:12 +00:00
Christopher James Lahey fe8e487048 Check for row >= 0 here. (etgl_destroy): Disconnect from all the signals
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
2001-08-08 07:49:24 +00:00
Christopher James Lahey 7b0cfb30ea Implemented this function. Fixes Ximian bug #5353.
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
2001-08-07 23:31:02 +00:00
Christopher James Lahey f453b03db2 Make tree nodes open if you hover over them while drag & dropping.
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
2001-08-07 22:19:39 +00:00
Christopher James Lahey 0cb44895c5 Added scrolling to access nodes that are scrolled off screen for drops.
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
2001-08-07 05:55:36 +00:00
Larry Ewing d0fab56c84 allow toggling between converting from the gdkfont's charset or from the
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
2001-08-07 05:51:37 +00:00
Christopher James Lahey ba57a90d93 Implemented these functions.
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
2001-08-06 22:07:28 +00:00
Ettore Perazzoli 067467c916 [Added an "Activate" button to the search bar.]
* 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
2001-08-05 05:50:37 +00:00
Ettore Perazzoli 90b888b8af Make the close icon as large as the pin icon so the bar doesn't change
* 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
2001-08-05 04:31:24 +00:00
Christopher James Lahey 872691b50e Set the hadjustment and vadjustment here. From a patch by Kevin
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
2001-08-04 23:09:34 +00:00
Christopher James Lahey 966bef8c54 Change these to actually subtract the allocation as they should.
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
2001-08-04 05:38:33 +00:00
Christopher James Lahey edd997c889 e_tree_table_adapter_node_at_row would have pulled data from one past the
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
2001-08-04 03:14:49 +00:00
Federico Mena Quintero 239a8d9c93 Request an update. (e_calendar_item_mark_days): Likewise.
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
2001-08-04 02:45:09 +00:00
Christopher James Lahey 96484b3644 Subtracted 27.
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
2001-08-03 21:19:53 +00:00
Christopher James Lahey b6878cb8d3 Make the right and left key presses be marked as handled here (i.e.,
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
2001-08-02 18:53:37 +00:00
Christopher James Lahey fb0a5ab403 Changed all e_table_model_is_cell_editable calls in this file to be on the
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
2001-08-02 18:21:45 +00:00
Christopher James Lahey 7b8d33db23 Set et->priv to NULL here just to be sure.
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
2001-08-02 18:20:46 +00:00
Christopher James Lahey 15b98319b3 Don't do most of the work in this function if data->data is NULL. Fixes
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
2001-08-02 18:18:18 +00:00
Radek Doulik b2dc9932c2 avoid freed memory reading, when you call it like
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
2001-08-02 10:25:36 +00:00
Federico Mena Quintero 342880e798 Set the et->cursor_loc *before* committing the click-to-add to avoid
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
2001-08-02 03:27:59 +00:00
Christopher James Lahey 108958944a Make this function not crash if x somehow doesn't land on some column.
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
2001-08-02 01:24:47 +00:00
Christopher James Lahey 01d76f2590 Made this not query the 0th row if there are 0 rows in the table. Fixes
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
2001-08-01 07:30:11 +00:00
Jason Leach 9cf5ba1797 If the CLICK signal gets a return value, so we're going to be return from
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
2001-07-26 02:23:33 +00:00
Jon Trowbridge 109c8d5aa6 Properly ref the font we pass in as an ARG_FONT_E. (_do_tooltip): Removed
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
2001-07-25 07:27:04 +00:00
Damon Chaplin b6d9682a89 don't show the year in the popup submenu for the months, and center the
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
2001-07-24 22:38:57 +00:00
Ettore Perazzoli 7ab072d87e Handle GDK_KP_* cursor keys as well.
* e-table-item.c (eti_event): Handle GDK_KP_* cursor keys as well.

svn path=/trunk/; revision=11302
2001-07-23 04:59:39 +00:00
Jon Trowbridge adbaa361ed Removed some debugging spew I committed by mistake.
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
2001-07-21 04:53:30 +00:00
Jon Trowbridge efb34b1073 Change window policy to allow the completion window to shrink when the
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
2001-07-21 04:46:58 +00:00
Jeffrey Stedfast 14308a5492 When the dialog gets closed, always make sure the entry widget becomes
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
2001-07-18 20:22:27 +00:00
Jeffrey Stedfast 03c2cfdca8 When the dialog gets closed, always make sure the entry widget becomes
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
2001-07-18 20:01:54 +00:00
Dan Winship 3fb11f9003 Remove the debugging message here.
* gal/widgets/e-unicode.c (e_utf8_to_gtk_string_sized): Remove the
	debugging message here.

svn path=/trunk/; revision=11179
2001-07-17 21:26:10 +00:00
Federico Mena Quintero b3b1380f85 Fixes bug #2901.
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
2001-07-16 21:25:01 +00:00
Jacob Berkman 6fdea01a3e *** empty log message ***
svn path=/trunk/; revision=11126
2001-07-16 14:23:48 +00:00
Christopher James Lahey 89ddfcd774 Reset the view when we set the model here. Fixes Ximian #4105.
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
2001-07-16 11:29:18 +00:00
Christopher James Lahey 8b8193e3c0 Start editing immediately on a button_press that grabs the focus.
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
2001-07-15 09:38:05 +00:00
Christopher James Lahey 2f2b112aec Made these functions return -1 if the x and y aren't over any cell at all.
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
2001-07-13 02:52:33 +00:00
Christopher James Lahey 4da3e76c2c Ignore set_expanded if the node is the root and root_visible is FALSE.
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
2001-07-12 20:44:02 +00:00
Christopher James Lahey 7b9622f8e0 Created this function for key presses that move in some way other than
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
2001-07-11 10:30:51 +00:00
Christopher James Lahey 0a71e607b1 Made the amount to scroll by smaller here.
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
2001-07-11 10:17:52 +00:00
Christopher James Lahey 73a6f3a7fa Use e_selection_model_do_something directly for page up and page down
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
2001-07-11 09:05:09 +00:00
Federico Mena Quintero 8feacdf535 For E_TEP_END_OF_BUFFER, use the length in bytes, not the length in
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
2001-07-10 01:27:16 +00:00
Christopher James Lahey 205145dd1b Changed the title of this dialog. Fixes bug #2656.
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
2001-07-08 23:16:25 +00:00
Christopher James Lahey 23bb03e993 Destroy the tooltip if we're the owner when we're destroyed. Also, keep a
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
2001-07-07 22:21:12 +00:00
Christopher James Lahey 200f214299 Added checks for if row is outside of the appropriate range.
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
2001-07-07 03:26:39 +00:00