Commit Graph

237 Commits

Author SHA1 Message Date
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
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
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
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
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
6fdea01a3e *** empty log message ***
svn path=/trunk/; revision=11126
2001-07-16 14:23:48 +00:00
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
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
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
bacd3a85a4 added functions to set a callback to get the current time, which is used
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
2001-07-03 04:12:17 +00:00
a344e38cdb *misc/e-filter-bar.c (option_changed): Specified a default size for the
2001-07-02 Anna Marie Dirks <anna@ximian.com>
	*misc/e-filter-bar.c (option_changed): Specified a default size
	for the Advanced Search dialog such that when it first appear, it
	is large enough to view all parts of a search clause without
	the user needing to resize it.

svn path=/trunk/; revision=10703
2001-07-02 21:11:12 +00:00
a5f3fea0ef Take a callback function and user_data so that we can add listeners to
2001-07-02  Jeffrey Stedfast  <fejj@ximian.com>

	* e-charset-picker.c (e_charset_picker_bonobo_ui_populate): Take a
	callback function and user_data so that we can add listeners to
	each of the menu items.

svn path=/trunk/; revision=10702
2001-07-02 21:02:56 +00:00
3b88e97ddc Updated to build e-charset-picker.c
2001-07-02  Jeffrey Stedfast  <fejj@ximian.com>

	* Makefile.am: Updated to build e-charset-picker.c

	* e-charset-picker.[c,h]: Moved here from gal.
	(e_charset_picker_bonobo_ui_populate): New function to populate a
	bonobo-ui with a charset picker menu.

svn path=/trunk/; revision=10687
2001-07-02 18:13:16 +00:00
91cc026904 Update the copyrights, replacing Helix Code with Ximian and
helixcode.com with ximian.com all over the place.

svn path=/trunk/; revision=10440
2001-06-23 08:52:02 +00:00
fdb10dd6d9 copied the EMap widget verbatim from Ximian Setup Tools. Hmm. Maybe it
2001-06-14  Damon Chaplin  <damon@ximian.com>

	* e-map.[hc]: copied the EMap widget verbatim from Ximian Setup Tools.
	Hmm. Maybe it should go in gal, but its not a very general widget.

	* Makefile.am (INCLUDES): defined MAP_DIR for e-map.c.
	(libemiscwidgets_a_SOURCES): added e-map.[hc].

svn path=/trunk/; revision=10221
2001-06-14 04:06:55 +00:00
5fbaf3bd98 Removed unused variable.
2001-05-31  Federico Mena Quintero  <federico@ximian.com>

	* e-dropdown-button.c (impl_button_press_event): Removed unused
	variable.

	* e-cell-date-edit.c (e_cell_date_edit_rebuild_time_list): Removed
	unused variable.

svn path=/trunk/; revision=10062
2001-05-31 19:49:50 +00:00
1ce2d2594c #include <stdlib.h> #include <string.h>. Kill warnings.
2001-05-25  Kjartan Maraas  <kmaraas@gnome.org>

	* gal/widgets/e-font.c: #include <stdlib.h>
	* gal/widgets/e-popup-menu.c: #include <string.h>. Kill warnings.

svn path=/trunk/; revision=9971
2001-05-24 22:09:11 +00:00
0b11ddccb9 Killed a warning here. (model_changed, items_inserted): Check if we're
2001-05-19  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-reflow.c (model_changed): Killed a warning here.
	(model_changed, items_inserted): Check if we're empty.

svn path=/trunk/; revision=9891
2001-05-19 12:49:14 +00:00
9a9a51c562 my computer crashed while commiting this first time.
2001-05-12  Gediminas Paulauskas <menesis@delfi.lt>

	* folder-browser-factory.c: load pixmaps for MessageCopy and
	MessageForwardAttached. Thanks Wayne Davis <wfdavis@seas.upenn.edu>
	for a patch.

2001-05-12  Gediminas Paulauskas <menesis@delfi.lt>

	* evolution-mail.xml: add pixmaps for MessageCopy and
	MessageForwardAttached. Thanks Wayne Davis <wfdavis@seas.upenn.edu>
	for a patch.

2001-05-12  Gediminas Paulauskas <menesis@delfi.lt>

	* po/POTFILES.in: update with new/moved files.

also:
Removed duplicated DATADIR in mail/Makefile.am
fixed warning in e-search-bar.c in my recent code there

svn path=/trunk/; revision=9783
2001-05-12 10:02:29 +00:00
5d4895eb43 Added util/e-sorter-array.lo and widgets/e-reflow-model.lo. Removed
2001-05-07  Christopher James Lahey  <clahey@ximian.com>

	* gal/Makefile.am (libgal_la_LIBADD): Added util/e-sorter-array.lo
	and widgets/e-reflow-model.lo.  Removed
	widgets/e-reflow-sorted.lo.

	* gal/util/Makefile.am (libutil_la_SOURCES): Added
	e-sorter-array.c.
	(libgalinclude_HEADERS): Added e-sorter-array.h.

	* gal/util/e-sorter-array.c, gal/util/e-sorter-array.h: A sorter
	for use with a single compare function to do sorting.

	* gal/util/e-util.c, gal/util/e-util.h
	(e_marshal_INT__OBJECT_POINTER): Added this marshaller.

	* gal/widgets/Makefile.am (libwidgets_la_SOURCES): Added
	e-reflow-model.c.  Removed e-reflow-sorted.c.
	(libwidgetsinclude_HEADERS): Added e-reflow-sorted.h.  Removed
	e-reflow-model.h.

	* gal/widgets/e-reflow-model.c, gal/widgets/e-reflow-model.h:
	Model for EReflow.  Has a number of items and generates canvas
	items on the fly.

	* gal/widgets/e-reflow.c, gal/widgets/e-reflow.h: Major rewrite.
	This now uses a model to generate its canvas items instead of
	having canvas items added to it.  It doesn't create the canvas
	items now until they will be shown on screen.

svn path=/trunk/; revision=9710
2001-05-08 04:56:03 +00:00
0a9bafb949 Fix for #2253 (search names not translated), mail-search i18n fixes.
2001-05-08  Gediminas Paulauskas <menesis@delfi.lt>

	* searches.xml: replace title> with _title>. Part of fix to #2253.

2001-05-08  Gediminas Paulauskas <menesis@delfi.lt>

	* mail-search.c: convert search entry to utf8.

	* mail-local.c: d() debugging message.

	* mail-send-recv.c: replace " ..." with "..."

	* Makefile.am: removed EVOLUTION_VERSION.

2001-05-07  Gediminas Paulauskas <menesis@delfi.lt>

	* POTFILES.in: add mail/mail-search.c

2001-05-08  Gediminas Paulauskas <menesis@delfi.lt>

	* misc/e-search-bar.c (add_dropdown), (set_option): first try to
	translate, then if not suceeded -- convert from utf8. This handles
	cases when menuitem needs to be translated (it is passed as N_()), or is
	utf8 search title. However you cannot have a search like "Folders" -- it
	is translated. Part of fix for #2253.

	* misc/e-filter-bar.c: d() debugging strings. Use E_FILTERBAR_ADVANCED
	macro instead of own "Advanced ..." for consistency.

2001-05-08  Gediminas Paulauskas <menesis@delfi.lt>

	* filter-rule.c (xml_decode): allow "_title" in user rules. translate
	them and encode to utf8.
	(get_rule_part_widget): do not call gettext on part->title. It is always
	translated already.

svn path=/trunk/; revision=9706
2001-05-08 00:26:58 +00:00
85a74e8277 write what was converted to console, this function does not work always.
2001-05-07  Gediminas Paulauskas <menesis@delfi.lt>

	* gal/widgets/e-unicode.c (e_utf8_to_gtk_string_sized):
	write what was converted to console, this function does not work
	always.
	(e_utf8_gtk_editable_get_chars),
	(e_utf8_gtk_menu_item_new_with_label): removed some unneeded checks.
	(e_xml_get_translated_utf8_string_prop_by_name): if i.e. "title"
	was found, do not convert it to utf8 -- it already is. do this
	only on "_title".

	* gal/e-table/e-table-header-item.c: fix warning.

svn path=/trunk/; revision=9692
2001-05-07 17:26:06 +00:00
55fba808bd I am sure at least with this:
2001-05-07  Gediminas Paulauskas <menesis@delfi.lt>

	* misc/e-filter-bar.h: xgettext does not find N_() in #defines. So
	created fake enum. Also removed spaces before "..."

svn path=/trunk/; revision=9690
2001-05-06 22:37:41 +00:00
0105b1a601 Added widgets/e-categories-master-list-dialog-model.lo and
2001-04-29  Christopher James Lahey  <clahey@ximian.com>

	* gal/Makefile.am (libgal_la_LIBADD): Added
	widgets/e-categories-master-list-dialog-model.lo and
	widgets/e-categories-master-list-dialog.lo here.

	* gal/widgets/Makefile.am (libwidgets_la_SOURCES): Added
	widgets/e-categories-master-list-dialog-model.c and
	widgets/e-categories-master-list-dialog.c here.
	(libwidgetsinclude_HEADERS): Added
	widgets/e-categories-master-list-dialog-model.h and
	widgets/e-categories-master-list-dialog.h here.
	(glade_DATA): Added e-categories-master-list-dialog.glade here.

	* gal/widgets/e-categories-master-list-dialog-model.c,
	gal/widgets/e-categories-master-list-dialog-model.h: New class
	defining an ETableModel for use in
	e-categories-master-list-dialog.c.

	* gal/widgets/e-categories-master-list-dialog.c,
	gal/widgets/e-categories-master-list-dialog.glade,
	gal/widgets/e-categories-master-list-dialog.h: New dialog for
	editing the master category list.

	* gal/widgets/e-categories.c: Added code to hook up the edit
	master category list button here to launch an
	e-categories-master-list-dialog.

	* gal/widgets/gal-categories.glade: Added a button here to edit
	the master category list.

svn path=/trunk/; revision=9625
2001-04-29 11:30:50 +00:00
d7b952f44f Update
svn path=/trunk/; revision=9541
2001-04-24 09:27:16 +00:00
0345c9047d Added #include <glib.h> and moved corresponding local headers to the top.
2001-04-24  Kjartan Maraas  <kmaraas@gnome.org>

	* e-calendar-item.c, e-calendar.c, e-cell-date-edit.c,
	e-clipped-label.c: Added #include <glib.h> and moved
	corresponding local headers to the top.

svn path=/trunk/; revision=9540
2001-04-24 09:26:28 +00:00
159c8dbad9 Added #include <stdlib.h>.
2001-04-23  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-unicode.c: Added #include <stdlib.h>.

svn path=/trunk/; revision=9520
2001-04-23 20:25:21 +00:00
0dc7aed0e6 bump to 0.7.99.1, add gal/unicode/Makefile. gal no longer internally
* configure.in: bump to 0.7.99.1, add gal/unicode/Makefile. gal no
	longer internally depends on libunicode, although it will continue
	to configure against it until gtkhtml/evolution are ported too.

	* gal/Makefile.am (nonui_subdirs): add unicode
	(libgal_la_LDFLAGS): remove $(UNICODE_LIBS)
	(libgal_la_LIBADD): add unicode/*.lo

	* gal/unicode/*: unicode handling code copied nearly verbatim from
	glib 2.0, plus gal build glue.

	* gal/e-text/Makefile.am (INCLUDES): Remove UNICODE_CFLAGS
	(e_text_test_LDADD, e_entry_test_LDADD, e_text_model_test_LDADD,
	e_completion_test_LDADD): remove -lunicode, add libunicode.la

	* gal/e-text/e-text.c: Remove <unicode.h>, use gunicode functions.

	* gal/widgets/Makefile.am (libwidgets_la_LDFLAGS): remove
	UNICODE_LIBS
	(INCLUDES): remove UNICODE_CFLAGS
	(test_e_font_LDADD, test_font_loading_LDADD): add libunicode.la

	* gal/widgets/e-unicode.h: #include <gal/unicode/gunicode.h>.
	Remove some cruft.

	* gal/widgets/e-unicode.c: remove <unicode.h>, use gunicode
	functions. Add e_unicode_get_utf8 to replace some uses of
	unicode_get_utf8, which isn't quite the same as any gunicode
	function.

	* gal/widgets/e-font.c: remove <unicode.h>, use gunicode functions

svn path=/trunk/; revision=9512
2001-04-23 18:53:28 +00:00
c59caf5159 Changed some comments here.
2001-04-16  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Changed some comments here.

	* gal/Makefile.am (libgal_la_LIBADD): Added
	widgets/e-categories-master-list-array.lo and
	widgets/e-categories-master-list.lo.

	* gal/widgets/Makefile.am (libwidgets_la_SOURCES): Added
	widgets/e-categories-master-list-array.c and
	widgets/e-categories-master-list.c.
	(libwidgetsinclude_HEADERS): Added
	widgets/e-categories-master-list-array.h and
	widgets/e-categories-master-list.h.

	* gal/widgets/e-categories-master-list-array.c,
	gal/widgets/e-categories-master-list-array.h,
	gal/widgets/e-categories-master-list.c,
	gal/widgets/e-categories-master-list.h: Added
	ECategoriesMasterList and a simple local implementation of it.

	* gal/widgets/e-categories.c, gal/widgets/e-categories.h:
	Privatized this.  Switched to using ECategoriesMasterList.
	(table_right_click): Added a right click menu to add and remove
	things to and from the global category list.

	* gal/widgets/e-gui-utils.c, gal/widgets/e-gui-utils.h: Fixed some
	comments and formatting.

	* gal/widgets/e-popup-menu.h (E_POPUP_SEPARATOR,
	E_POPUP_TERMINATOR): Added these #defines.

svn path=/trunk/; revision=9392
2001-04-16 22:39:58 +00:00
9293054684 Upped the version number to 0.7.99.0.
2001-04-15  Jody Goldberg <jgoldberg@home.com>

	* configure.in: Upped the version number to 0.7.99.0.

	* gal/widgets/Makefile.am : add test-color.

	* gal/widgets/test-color.c (main) : update.

	* gal/widgets/color-group.c (color_group_new_named) : add a context
	  pointer to manage multiple instances of the same conceptual group
	  in different instances.  eg the foregroup colour groups for windows
	  editing different documents should be different.
	(create_unique_name) : Adjust signature.
	(color_group_from_name) : ditto, Use the cg as the key, not just name.
	(color_group_destroy) : ditto.
	(color_group_new_named) : ditto.
	(cg_hash) : new function.
	(cg_cmp) : new function.
	(initialize_group_names) : used here.

	* gal/widgets/color-palette.c (color_palette_new) : Take a
	  ColorGroup directly rather than a ColorGroup name.
	(color_palette_new_with_vals) : ditto.

	* gal/widgets/widget-color-combo.c (color_table_setup) : Take a
	  ColorGroup directly rather than a ColorGroup name.
	(color_combo_construct) : Ditto.
	(color_combo_new) : Ditto.

svn path=/trunk/; revision=9391
2001-04-16 22:34:15 +00:00
e1a2f6999a New function, because it is ridiculous to have to hunt down object
2001-04-15  Federico Mena Quintero  <federico@ximian.com>

	* e-search-bar.c (e_search_bar_get_option_choice): New function,
	because it is ridiculous to have to hunt down object arguments to
	fetch values.
	(e_search_bar_get_text): Likewise.
	(impl_get_arg): Use the functions above so that we have to
	maintain only one version of the getters.

svn path=/trunk/; revision=9339
2001-04-16 02:49:07 +00:00
2f8b268fd1 Do not ref both the box and the item; just connect to the item's "destroy"
2001-04-15  Federico Mena Quintero  <federico@ximian.com>

	* gal/widgets/e-canvas-vbox.c (e_canvas_vbox_real_add_item): Do
	not ref both the box and the item; just connect to the item's
	"destroy" signal.
	(e_canvas_vbox_remove_item): Do not unref the box.
	(e_canvas_vbox_destroy): Disconnect from the items.

svn path=/trunk/; revision=9335
2001-04-15 22:29:03 +00:00
655592d3a8 Use e_canvas_hide_tooltip and e_canvas_popup_tooltip. Set bold on the
2001-04-15  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-text/e-text.c (tooltip_event): Use e_canvas_hide_tooltip
	and e_canvas_popup_tooltip.  Set bold on the tooltip.

	* gal/widgets/e-canvas.c, gal/widgets/e-canvas.h: Added
	e_canvas_popup_tooltip and e_canvas_hide_tooltip.

svn path=/trunk/; revision=9323
2001-04-15 14:18:02 +00:00
4545836659 Added widget/e-hsv-utils.lo.
2001-04-14  Christopher James Lahey  <clahey@ximian.com>

	* gal/Makefile.am: Added widget/e-hsv-utils.lo.

	* gal/widgets/Makefile.am: Added e-hsv-utils.c and e-hsv-utils.h.

	* gal/widgets/e-hsv-utils.c, gal/widgets/e-hsv-utils.h: Moved from
	gal/e-table/e-table-hsv-utils.c and
	gal/e-table/e-table-hsv-utils.h.  Handle modifying hue saturation
	and value of colors.

svn path=/trunk/; revision=9317
2001-04-15 00:31:40 +00:00
3b06548b39 Always emit the cursor changed signal. Even if it's changed to the same
2001-04-13  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-selection-model.c
	(e_selection_model_do_something): Always emit the cursor changed
	signal.  Even if it's changed to the same row/column.

svn path=/trunk/; revision=9297
2001-04-13 12:06:31 +00:00
8350463f84 New function to translate a string and then convert it to utf8. Acts just
2001-04-10  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-unicode.c, gal/widgets/e-unicode.h
	(e_xml_get_translated_utf8_string_prop_by_name): New function to
	translate a string and then convert it to utf8.  Acts just like
	e_xml_get_translated_string and then calls
	e_utf_from_locale_string on it.

	* gal/util/e-xml-utils.c: Changed e_xml_get_translated_string to
	take a string with no underscore at the beginning and search for
	both that prop and the same prop with the underscore prepended.
	If it finds it without the underscore, it returns it.  If it finds
	it with the underscore, it translates.

	* gal/util/e-xml-utils.c, gal/util/e-xml-utils.h: Reformatted
	these a bit.

svn path=/trunk/; revision=9216
2001-04-10 23:33:25 +00:00
1991d205da i18n fixes, added missing includes.
2001-04-10  Gediminas Paulauskas <menesis@delfi.lt>

	* AUTHORS: /me is a translator.
	* configure.in (EVO_CHECK_LIB): fail with AC_MSG_ERROR, not echo &&
	exit 1.

2001-04-10  Gediminas Paulauskas <menesis@delfi.lt>

	* backend/ebook/evolution-gnomecard-importer.c: added missing #include.
	* contact-editor/e-contact-editor.c (_arrow_pressed): popup menu items were
	not translated after selecting one of them.
	* gui/widgets/e-addressbook-view.c: mark popup menu items with N_().
	Updated list[] for translators.
	* gui/widgets/e-minicard.c: same.
	* gui/widgets/e-minicard-view-widget.c (e_minicard_view_widget_set_arg): fix warning
	for "editable" arg.
	* gui/widgets/e-minicard-view.c: convert "empty_message" to utf8.

2001-04-10  Gediminas Paulauskas <menesis@delfi.lt>

	* widgets/e-summary-subwindow.c: added some missing includes.
	* widgets/e-summary-title-button.h: same.

2001-04-10  Gediminas Paulauskas <menesis@delfi.lt>

	* menus/gal-view-menus.c: convert label to utf8.

svn path=/trunk/; revision=9215
2001-04-10 21:28:40 +00:00
0b90b0b1e8 i18n fixes.
i18n fixes.

2001-04-10  Gediminas Paulauskas <menesis@delfi.lt>

	* gal/widgets/e-unicode.c (e_utf8_*_*_string): if (!string) return NULL;
	to avoid crashes in strlen(NULL). TODO: need g_strlen which does that.

2001-04-10  Gediminas Paulauskas <menesis@delfi.lt>

	* e-table.c (et_real_construct): convert click_to_add_message locale->utf8.

svn path=/trunk/; revision=9214
2001-04-10 20:55:52 +00:00
f66390af64 Here goes my additional simple include fixes.
svn path=/trunk/; revision=9191
2001-04-05 00:39:19 +00:00
c77e63e2cc Some small header cleanups & fixes, and fix to translate all popup menus
(woohoo!):

2001-04-05  Gediminas Paulauskas <menesis@delfi.lt>

	* gal/widgets/e-popup-menu.c: Copied gnome_app_helper_gettext function
	here, and use it for translating menu names (they are passed from app as
	well as from gal in arrays with N_(), and domains differ).

svn path=/trunk/; revision=9190
2001-04-05 00:26:43 +00:00
af777b08ca More header fixes. Same. Same. Same here. More header fixes. Same here.
2001-04-04  Kjartan Maraas  <kmaraas@gnome.org>

	* e-calendar.c: More header fixes.
	* e-cell-date-edit.c: Same.
	* e-dateedit.[ch]: Same.
	* e-title-bar.c: Same here.
	* e-search-bar.c: More header fixes.
	* test-calendar.c: Same here.

svn path=/trunk/; revision=9178
2001-04-04 18:46:01 +00:00
fc3e254660 Added e_selection_model_cursor_activated.
2001-04-04  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-selection-model.c,
	gal/widgets/e-selection-model.h: Added
	e_selection_model_cursor_activated.

svn path=/trunk/; revision=9177
2001-04-04 13:24:15 +00:00
7957a3085c Fixed headers. Moved the .h associated with each .c to the top of the list
2001-04-04  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-text/e-text-model-uri.c, gal/e-text/e-text.c,
	gal/e-text/e-text.h, gal/e-text/e-text-event-processor.c,
	gal/util/e-xml-utils.c, gal/widgets/e-cursors.c,
	gal/widgets/e-cursors.h: Fixed headers.  Moved the .h associated
	with each .c to the top of the list of included files.

	* gal/util/e-util.h: Removed the bonobo-xobject.h header here.

	* gal/util/e-xml-utils.c: Replaced strcasecmp with g_strcasecmp.

	* gal/widgets/e-canvas-vbox.c: Make this work even if the item is
	destroyed after the vbox.

	* gal/widgets/e-categories.c (do_parse_categories): Made this
	translate using e_utf8_from_locale string as it should.

svn path=/trunk/; revision=9175
2001-04-04 12:25:55 +00:00
8940bcc90c Fix headers. Ditto. Ditto. Ditto. Ditto. Ditto. Ditto. Same. Ditto. Same
2001-04-04  Kjartan Maraas  <kmaraas@gnome.org>

	* gal/e-text/e-entry.c: Fix headers.
	* gal/e-text/e-table-text-model.[ch]: Ditto.
	* gal/e-text/e-table-text-model-uri.c: Ditto.
	* gal/e-text/e-text-model-uri.[ch]: Ditto.
	* gal/e-text/e-text-model.[ch]: Ditto.
	* gal/e-text/e-text.[ch]: Ditto.
	* gal/util/e-text-event-processor-emacs-like.[ch]: Ditto.
	* gal/util/e-text-event-processor.[ch]: Same.
	* gal/util/e-util.h: Ditto.
	* gal/util/e-xml-utils.[ch]: Same here.
	* gal/widgets/color-group.[ch]: Ditto.
	* gal/widgets/color-palette.[ch]: Ditto.
	* gal/widgets/e-canvas-utils.h: Ditto.
	* gal/widgets/e-canvas-vbox.[ch]: Ditto.
	* gal/widgets/e-canvas.[ch]: Ditto.
	* gal/widgets/e-categories.h: Ditto.
	* gal/widgets/e-colors.[ch]: Ditto.
	* gal/widgets/e-cursors.c: Ditto.
	* gal/widgets/e-gui-utils.c: Ditto
	* gal/widgets/e-popup-menu.[ch]: Same.
	* gal/widgets/e-reflow-sorted.c: Same.
	* gal/widgets/e-reflow.[ch]: Same.
	* gal/widgets/e-selection-model.c: Same
	* gal/widgets/e-unicode.[ch]: Same.
	* gal/widgets/gtk-combo-stack.[ch]: Same.
	* gal/widgets/widget-color-combo.[ch]: Same.
	* gal/widgets/widget-pixmap-combo.[ch]: Same.

svn path=/trunk/; revision=9168
2001-04-04 07:33:09 +00:00
88e7214544 My previous commit was incomplete.
called e_utf8_from_gtk_string on category names, so they no are translated and
show up correctly.

svn path=/trunk/; revision=9093
2001-04-02 04:23:17 +00:00
69dd62ddd0 Replace #include <gtk/gtk.h> Remove #include <gnome.h> Replace #include
2001-03-29  Kjartan Maraas  <kmaraas@gnome.org>

	* e-dropdown-button.c: Replace #include <gtk/gtk.h>
	* e-dropdown-button.h: Remove #include <gnome.h>
	* e-filter-bar.c: Replace #include <gtk/gtk.h>
	* e-filter-bar.h: Replace #include <gtk/gtk.h>
	* e-messagebox.c: Add #includes to count for removed <gnome.h> in
	e-messagebox.h:
	* e-messagebox.h: Replace #include <gnome.h>
	* e-search-bar.c: Replace #include <gnome.h>
	* e-search-bar.h: Same here
	* test-calendar.c: Remove #include <gnome.h>
	* test-dateedit.c: Replace #include <gnome.h>
	* test-dropdown-button.c: Same here.
	* test-title-bar.c: Same here.

svn path=/trunk/; revision=9018
2001-03-29 18:16:57 +00:00
5aab042fae Added util/e-bit-array.lo.
2001-03-26  Christopher James Lahey  <clahey@ximian.com>

	* gal/Makefile.am (libgal_la_LIBADD): Added util/e-bit-array.lo.

	* gal/util/Makefile.am: Added e-bit-array.c and e-bit-array.h.

	* gal/util/e-bit-array.c, gal/util/e-bit-array.h: New class
	containing the implementation of the bit array used in
	e-selection-model-array.

	* gal/widgets/e-selection-model-array.c,
	e-selection-model-array.h: Refactored the bit array implementation
	into a separate class.

	* gal/widgets/e-selection-model-simple.c: Changed how it clears
	the bit array of the ESelectionModelArray parent class.

	* gal/widgets/e-selection-model.h: Added code to make the
	declaration of EForeachFunc only get included once.

svn path=/trunk/; revision=8955
2001-03-26 20:42:15 +00:00
1190e292f4 Added e-selection-model-array.lo.
2001-03-25  Christopher James Lahey  <clahey@ximian.com>

	* gal/Makefile.am (libgal_la_LIBADD): Added
	e-selection-model-array.lo.

	* gal/widgets/Makefile.am: Added e-selection-model-array.c and
	e-selection-model-array.h.

	* gal/widgets/e-selection-model-array.c,
	gal/widgets/e-selection-model-array.h: New class that implements
	the details of ESelectionModel.  ESelectionModel has been
	refactored to just be a this virtual class.  ESelectionModelArray
	is the original implementation of ESelectionModel.  This is what
	most people will want to use or derive from.

	* gal/widgets/e-selection-model-simple.c,
	gal/widgets/e-selection-model-simple.h: Made the parent class of
	this be ESelectionModelArray instead of ESelectionModel.  Changed
	some function names to match this change.

	* gal/widgets/e-selection-model.c,
	gal/widgets/e-selection-model.h: Refactored most of the
	implementation of this class into ESelectionModelArray.  Now just
	a thin virtual class.

From gal/e-table/ChangeLog:

2001-03-25  Christopher James Lahey  <clahey@ximian.com>

	* e-table-selection-model.c, e-table-selection-model.h: Made the
	parent object of this be ESelectionModelArray instead of
	ESelectionModel due to their refactoring.  Changed the commented
	out code for saving the selection a bit.

svn path=/trunk/; revision=8924
2001-03-25 08:17:15 +00:00
f1dc83990b Validate the filter rule.
2001-03-22  Jeffrey Stedfast  <fejj@ximian.com>

	* e-filter-bar.c (rule_editor_clicked): Validate the filter rule.

svn path=/trunk/; revision=8909
2001-03-23 01:24:15 +00:00
79aed0f7f0 Upped the version number to 0.5.99.4.
2001-03-19  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Upped the version number to 0.5.99.4.

	* Merged branch:

2001-03-18  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-selection-model.c,
	gal/widgets/e-selection-model.h: Added another semi-private
	function (e_selection_model_change_cursor.)

2001-03-18  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-selection-model.c,
	gal/widgets/e-selection-model.h: Added a couple of semi-private
	functions (e_selection_model_change_one_row and
	e_selection_model_confirm_row_count.)

2001-03-18  Christopher James Lahey  <clahey@ximian.com>

	* tests/test-tree-1.c, tests/test-tree-3.c: Added arguments for
	e_tree_memory_callbacks_new of get_save_id and has_save_id to
	NULL.

2001-03-17  Christopher James Lahey  <clahey@ximian.com>

	* gal/util/e-util.c (e_sort): Switched to just using qsort
	directly here.

2001-03-17  Christopher James Lahey  <clahey@ximian.com>

	* gal/util/e-util.c, gal/util/e-util.h (e_bsearch, e_sort): Added e_sort and
	e_bsearch.  They both take a closure.  e_sort guarantees a stable
	sort.  e_bsearch returns the range of matching elements including
	the position where an object would be if there are no matching
	elements.

2001-03-16  Christopher James Lahey  <clahey@ximian.com>

	* gal/Makefile.am (libgal_la_LIBADD): Added e-tree-sorted.lo.

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

	* gal/widgets/e-selection-model-simple.c,
	gal/widgets/e-selection-model-simple.h: Replaced the methods
	insert_row and delete_row with insert_rows and delete_rows.

	* gal/widgets/e-selection-model.c,
	gal/widgets/e-selection-model.h: Replaced the methods insert_row
	and delete_row with insert_rows and delete_rows.

2001-03-08  Christopher James Lahey  <clahey@ximian.com>

	* Makefile.am: Added e-table/e-table-utils.lo,
	e-table/e-tree-memory-callbacks.lo, e-table/e-tree-memory.lo,
	e-table/e-tree-scrolled.lo, e-table/e-tree-table-adapter.lo, and
	e-table/e-tree.lo.  Removed e-table/e-tree-simple.lo.

	* gal/util/e-util.c, gal/util/e-util.h: Added a whole bunch of
	e_marshal functions for ETree.

	* tests/test-tree-1.c, tests/test-tree-3.c: Reworked these to use
	the new tree stuff.

End of branch

svn path=/trunk/; revision=8840
2001-03-20 04:51:11 +00:00