Commit Graph

228 Commits

Author SHA1 Message Date
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
9ad433a58b use gnome_dialog_run() to make the warning dialog modal. Also created a
2001-03-18  Damon Chaplin  <damon@ximian.com>

	* e-cell-date-edit.c (e_cell_date_edit_show_time_invalid_warning):
	use gnome_dialog_run() to make the warning dialog modal. Also created
	a better warning message showing the format expected.
	Also used e_time_format_time() to format all times.

svn path=/trunk/; revision=8823
2001-03-19 15:47:38 +00:00
3b21f3119c Make this take an extra argument saying whether or not to grab the
* gal/widgets/e-canvas.c (e_canvas_item_grab_focus): Make this
	take an extra argument saying whether or not to grab the
	widget-level focus.

	* gal/e-text/e-text.c (e_text_event): Update arguments to
	e_canvas_item_grab_focus.

svn path=/trunk/; revision=8745
2001-03-15 22:47:47 +00:00
2f95668944 If we click on the edit menu, then bring up a rule editor. If the user
2001-03-15  Not Zed  <NotZed@Ximian.com>

        * e-filter-bar.c (menubar_activated): If we click on the edit
        menu, then bring up a rule editor.  If the user adds/removes rules
        though, they are neither saved, nor added to the menu's. sigh.

svn path=/trunk/; revision=8730
2001-03-15 06:56:17 +00:00
e4b9bae624 Made this function do something a little closer to what it is supposed to
2001-03-13  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-reflow.c (e_reflow_point): Made this function do
	something a little closer to what it is supposed to do.

svn path=/trunk/; revision=8693
2001-03-14 00:40:00 +00:00
2743780dc0 Rename this from g_unichar_to_utf8 so that it doesn't conflict with the
* gal/widgets/e-unicode.c (e_unichar_to_utf8): Rename this from
	g_unichar_to_utf8 so that it doesn't conflict with the function of
	that name exported by gnome-print (and so that it's consistent
	with all of the other functions in the file).

svn path=/trunk/; revision=8679
2001-03-13 20:43:53 +00:00
7b7acde405 pretty much working now.
2001-03-04  Damon Chaplin  <damon@ximian.com>

	* e-cell-date-edit.c: pretty much working now.

svn path=/trunk/; revision=8548
2001-03-04 23:55:37 +00:00
a4fe250a03 New class implementing a simple selection model that you add rows to and
* gal/widgets/e-selection-model-simple.c,
	gal/widgets/e-selection-model-simple.h: New class implementing a
	simple selection model that you add rows to and remove rows from.

svn path=/trunk/; revision=8443
2001-03-01 08:33:29 +00:00
5fa7ce6c09 Added e-selection-model-simple.lo.
2001-03-01  Christopher James Lahey  <clahey@ximian.com>

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

	* gal/widgets/Makefile.am (libwidgets_la_SOURCES): Added e-selection-model-simple.c.
	(libwidgetsinclude_HEADERS): Added e-selection-model-simple.h.

	* gal/widgets/e-reflow-sorted.c, gal/widgets/e-reflow-sorted.h:
	Added a gint *position argument to e_reflow_sorted_remove_item and
	e_reflow_sorted_get_item and two gint * arguments to
	e_reflow_sorted_replace_item and e_reflow_sorted_reorder_item to
	return the positions in the array of the items removed, gotten, or
	moved.

	* gal/widgets/e-reflow.c, gal/widgets/e-reflow.h: Added a gint
	*position argument to e_reflow_sorted_add_item to return the
	positions in the array of the item added.

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

svn path=/trunk/; revision=8442
2001-03-01 08:32:16 +00:00
eab717a2ec New type of search bar that interacts with filter contexts to save filters
2001-03-01  Not Zed  <NotZed@Ximian.com>

	* e-filter-bar.c: New type of search bar that interacts with
	filter contexts to save filters etc.  Still probably needs a
	little cleanpu.

2001-02-28  Not Zed  <NotZed@Ximian.com>

	* e-search-bar.c (add_dropdown): Save the dropdown menu in the
	struct too.  Sigh, this is only so we can scan its content later,
	ick.
	(e_search_bar_set_menu_sensitive): New function to se tthe
	sentisitivty of menyu items based on id.
	(find_id): New function to find the row and widget for a specific
	id.
	(add_option): Renamed to set_option.
	(add_dropdown): Renamed to set_dropdown.
	(add_dropdown): ?New function to add a single item.
	(set_dropdown): Call add_dropdown to add each item.
	(e_search_bar_add_menu): New public function to add a single item.

2001-02-27  Not Zed  <NotZed@Ximian.com>

	* Makefile.am (libemiscwidgets_a_SOURCES): Added filter-bar.[ch].

	* e-search-bar.c (class_init): Init virtual functions.
	(e_search_bar_set_option):
	(e_search_bar_set_menu): virtualise calling.
	(e_search_bar_construct): Call virtual functions to setup menus.

	* e-search-bar.h (struct _ESearchBarClass): Virtualise
	add_dropdown/add_option, so certain base options can be created.

svn path=/trunk/; revision=8436
2001-03-01 00:55:12 +00:00