Commit Graph

42 Commits

Author SHA1 Message Date
26f8433aa0 Added a variable to keep track of the cursor. Set the cursor when
2000-06-20  Christopher James Lahey  <clahey@helixcode.com>

	* e-canvas.c, e-canvas.h: Added a variable to keep track of the
	cursor.  Set the cursor when selection_add is called.  Properly
	unset the cursor at the right times.

svn path=/trunk/; revision=3663
2000-06-21 03:45:32 +00:00
798b2b01e6 Grab the focus when setting the cursor.
2000-06-20  Christopher James Lahey  <clahey@helixcode.com>

	* e-canvas.c: Grab the focus when setting the cursor.

svn path=/trunk/; revision=3659
2000-06-21 03:04:43 +00:00
6d460ba3fe Built a system for doing selections and/or a cursor in canvas.
2000-06-20  Christopher James Lahey  <clahey@helixcode.com>

	* e-canvas.c, e-canvas.h: Built a system for doing selections
	and/or a cursor in canvas.

svn path=/trunk/; revision=3655
2000-06-21 00:11:50 +00:00
c9bdd525e4 Changed the needed e_marshal functions.
2000-06-13  Christopher James Lahey  <clahey@helixcode.com>

	* e-util.c, e-util.h: Changed the needed e_marshal functions.

	* e-printable.c, e-printable.h: Added a quantize parameter to
	e_printable_height.  Also, added a e_printable_will_fit function.

svn path=/trunk/; revision=3551
2000-06-13 14:37:28 +00:00
5dc1015e96 Added e-printable.c and e-printable.h.
2000-06-10  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added e-printable.c and e-printable.h.

	* e-printable.c, e-printable.h: This new class is a printing
	context.  Other classes return an EPrintable which represents a
	context for printing that object.

	* e-util.c, e-util.h: Added
	e_marshal_NONE__OBJECT_DOUBLE_DOUBLE_BOOL and
	e_marshal_DOUBLE__OBJECT_DOUBLE_DOUBLE.

svn path=/trunk/; revision=3510
2000-06-10 21:13:07 +00:00
49b1027805 Fixed e_marshal_INT__INT_INT_POINTER.
2000-06-01  Christopher James Lahey  <clahey@helixcode.com>

	* e-util.c: Fixed e_marshal_INT__INT_INT_POINTER.

svn path=/trunk/; revision=3369
2000-06-02 03:36:22 +00:00
aae604c8ad Added e_marshal_INT__INT_INT_POINTER.
2000-06-01  Christopher James Lahey  <clahey@helixcode.com>

	* e-util.c, e-util.h: Added e_marshal_INT__INT_INT_POINTER.

svn path=/trunk/; revision=3367
2000-06-02 03:03:03 +00:00
10639cdca9 Duh! -1 != 1. :)
* e-util.c (g_int_compare): Duh! -1 != 1. :)

svn path=/trunk/; revision=3363
2000-06-02 02:20:30 +00:00
7871ce59d7 g_return_val_if_fail to prevent a crash.
2000-06-01  Christopher James Lahey  <clahey@helixcode.com>

	* e-sexp.c (e_sexp_term_eval): g_return_val_if_fail to prevent a crash.

svn path=/trunk/; revision=3337
2000-06-01 19:21:50 +00:00
75353e0bff Utility function to build a bool as part of an expression string.
2000-05-30  Not Zed  <NotZed@HelixCode.com>

        * e-sexp.c (e_sexp_encode_bool): Utility function to build a bool
        as part of an expression string.
        (e_sexp_encode_string): Likewise for strings.

svn path=/trunk/; revision=3300
2000-05-30 22:53:59 +00:00
e169895ef5 Added e_canvas_item_show_area which makes sure that a particular area of a
2000-05-30  Christopher James Lahey  <clahey@helixcode.com>

	* e-canvas-utils.c, e-canvas-utils.h: Added
	e_canvas_item_show_area which makes sure that a particular area of
	a given item is in the scroll area.

svn path=/trunk/; revision=3289
2000-05-30 19:32:36 +00:00
336efb38c6 Flush - Federico
svn path=/trunk/; revision=3280
2000-05-30 14:47:38 +00:00
d206a2e89b Moved over from event-editor-utils.c. (e_dialog_editable_get): Likewise.
2000-05-27  Federico Mena Quintero  <federico@helixcode.com>

	* e-dialog-widgets.c (e_dialog_editable_set): Moved over from
	event-editor-utils.c.
	(e_dialog_editable_get): Likewise.
	(e_dialog_toggle_set): Likewise.
	(e_dialog_toggle_get): Likewise.
	(e_dialog_spin_set): Likewise.
	(e_dialog_spin_get_double): Likewise.
	(e_dialog_spin_get_int): Likewise.
	(e_dialog_option_menu_set): Likewise, and added a value map.
	(e_dialog_option_menu_get): Likewise.
	(e_dialog_dateedit_set): Likewise.
	(e_dialog_dateedit_get): Likewise.
	(e_dialog_radio_set): New function.
	(e_dialog_radio_get): New function.

svn path=/trunk/; revision=3232
2000-05-27 21:28:58 +00:00
1550b3384b Removed.
2000-05-24  Christopher James Lahey  <clahey@helixcode.com>

	* e-paned.c, e-paned.h: Removed.

svn path=/trunk/; revision=3196
2000-05-25 02:54:35 +00:00
910e86eba6 Commit for if my laptop dies - Federico
svn path=/trunk/; revision=3185
2000-05-23 20:52:12 +00:00
cb227b68b3 Added e_write_file.
2000-05-23  Christopher James Lahey  <clahey@helixcode.com>

	* e-util.c, e-util.h: Added e_write_file.

svn path=/trunk/; revision=3181
2000-05-23 10:27:16 +00:00
b5ae6150b2 New files with utilities for hooking up widgets in Glade-generated
2000-05-19  Federico Mena Quintero  <federico@helixcode.com>

	* e-dialog-widgets.[ch]: New files with utilities for hooking up
	widgets in Glade-generated dialogs.

	* Makefile.am (libeutil_la_SOURCES): Added e-dialog-widgets.[ch].

svn path=/trunk/; revision=3141
2000-05-19 19:31:32 +00:00
f62df6f7d7 Added e_container_foreach_leaf.
2000-05-19  Christopher James Lahey  <clahey@helixcode.com>

	* e-gui-utils.c, e-gui-utils.h: Added e_container_foreach_leaf.

svn path=/trunk/; revision=3130
2000-05-19 04:13:37 +00:00
4c08e67f41 Add imagesdir support.
2000-05-18  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Add imagesdir support.

	* e-gui-utils.c, e-gui-utils.h: Added e_create_image_widget for
	glade use.

svn path=/trunk/; revision=3120
2000-05-18 22:23:46 +00:00
277df4a98d xmlGetProp appears to return malloced memory. Thus we must free it.
2000-05-16  Christopher James Lahey  <clahey@helixcode.com>

	* e-xml-utils.c: xmlGetProp appears to return malloced memory.
	Thus we must free it.

svn path=/trunk/; revision=3087
2000-05-16 12:16:16 +00:00
6dfcfd767d Utility function to free a GList of strings.
svn path=/trunk/; revision=3048
2000-05-15 17:16:55 +00:00
623ba9a279 Added e_strdup_strip which returns a copy of the string with the leading
2000-05-14  Christopher James Lahey  <clahey@helixcode.com>

	* e-util.c, e-util.h: Added e_strdup_strip which returns a copy of
	the string with the leading and trailing spaces removed.

svn path=/trunk/; revision=3026
2000-05-14 14:17:51 +00:00
62c8174bac Destroy the g_scanner when cleaning up. (e_sexp_finalise): Free symbol
2000-05-11  NotZed  <NotZed@HelixCode.com>

        * e-sexp.c (e_sexp_finalise): Destroy the g_scanner when cleaning up.
        (e_sexp_finalise): Free symbol table on finalise.

svn path=/trunk/; revision=2988
2000-05-11 18:39:11 +00:00
3f6ddb02e8 Remove reflow idle when being destroyed.
2000-05-09  Christopher James Lahey  <clahey@helixcode.com>

	* e-canvas.c: Remove reflow idle when being destroyed.

svn path=/trunk/; revision=2934
2000-05-09 06:45:50 +00:00
7453ffb6a8 Got rid of some warnings.
2000-05-06  Christopher James Lahey  <clahey@helixcode.com>

	* e-html-utils.c: Got rid of some warnings.

	* e-util.c, e-util.h: Added e_read_file which takes a filename and
	returns a newly allocated string containing the contents of that
	file.

svn path=/trunk/; revision=2828
2000-05-06 17:04:10 +00:00
72c77c6f4a New function to free a list of referenced objects.
svn path=/trunk/; revision=2772
2000-05-03 04:06:19 +00:00
848cacc490 set and reset the GTK_HAS_FOCUS flag. We now get focus_out events
2000-05-02  Damon Chaplin  <damon@helixcode.com>

        * e-canvas.c (e_canvas_focus_in):
        (e_canvas_focus_out): set and reset the GTK_HAS_FOCUS flag. We now get
        focus_out events correctly.

svn path=/trunk/; revision=2758
2000-05-02 22:26:16 +00:00
38d9cc1278 Free the parse tree if we have one. (e_sexp_parse): If we already have a
2000-05-02  NotZed  <NotZed@HelixCode.com>

        * e-sexp.c (e_sexp_finalise): Free the parse tree if we have one.
        (e_sexp_parse): If we already have a parse tree, free it.

svn path=/trunk/; revision=2757
2000-05-02 22:02:49 +00:00
855b85657d Set G_LOG_DOMAIN in following files.
addressbook/demo/Makefile.am
 addressbook/printing/Makefile.am
 camel/Makefile.am
 camel/providers/MH/Makefile.am
 camel/providers/maildir/Makefile.am
 camel/providers/mbox/Makefile.am
 camel/providers/nntp/Makefile.am
 camel/providers/pop3/Makefile.am
 camel/providers/sendmail/Makefile.am
 camel/providers/smtp/Makefile.am
 composer/Makefile.am
 e-util/Makefile.am
 filter/Makefile.am
 libibex/Makefile.am
 mail/Makefile.am
 shell/Makefile.am
 tests/Makefile.am
 tests/ui-tests/Makefile.am
 widgets/e-table/Makefile.am
 widgets/e-text/Makefile.am
 widgets/meeting-time-sel/Makefile.am
 widgets/shortcut-bar/Makefile.am

svn path=/trunk/; revision=2756
2000-05-02 21:34:01 +00:00
188a9f0afa Constified XML utility functions.
svn path=/trunk/; revision=2722
2000-05-01 21:13:19 +00:00
aef27503fb Moved here from the mailer, since it's of general use, and the composer
* e-html-utils.c (e_text_to_html): Moved here from the mailer,
	since it's of general use, and the composer needs it too.

svn path=/trunk/; revision=2662
2000-04-27 19:01:18 +00:00
35d11190bc New file. Implements easy to use popup menus.
2000-04-24  Miguel de Icaza  <miguel@helixcode.com>

	* e-popup-menu.c: New file.  Implements easy to use popup menus.

svn path=/trunk/; revision=2633
2000-04-26 14:47:11 +00:00
7c309e43b2 + * widgets/Makefile.am: Added e-paned directory.
+
+	* default_user/Makefile.am: new file.
+
+	* default_user/Main_Shortcuts.xml: New file; is used to fill the
+	shortcut bar's "main shortcuts" pane.
+
+	* default_user/Other_Shortcuts.xml: New file, used to fill the
+	shortcut bar's "other shortcuts" pane.
+
+	* default_user/Inbox.mbox: New file. This is the first message a
+	new user will see when they fire up Evolution. Needs work.
+
+	* Makefile.am: added default_user directory.
+	* configure.in: same.
+
+	* e-paned.c: New file. Makes a GtkPaned with more than two
+	children.
+	* e-paned.h: same.
+
+	* Makefile.am: added e-paned.[ch].
+
+	* e-shell-view.h: Added hpaned and treeview widgets to
+	EShellView. Added e_shell_view_toggle_shortcut_bar() and
+	e_shell_view_toggle_treeview().
+
+	* e-shell-view.c (e_shell_view_setup_shortcut_display): Use EPaned
+	widget to house our shortcut bar.
+	(e_shell_view_toggle_shortcut_bar): New function; toggles whether
+	the shortcut bar is showing.
+	(e_shell_view_toggle_treeview): Same, for the treeview (NYI).
+	(e_shell_view_new): Put the notebook view in our EPaned widget.
+
+	* e-shell-view-menu.c (esv_cmd_toggle_shortcut_bar): New function;
+	toggles whether the shortcut bar is viewed.
+	(esv_cmd_toggle_treeview): Same, but with the treeview.  Added
+	menuitems in the "view" menu to allow access to the above.
+

svn path=/trunk/; revision=2575
2000-04-24 03:10:30 +00:00
4780dd12ca Added e_xml_get_child_by_name_by_lang.
2000-04-19  Christopher James Lahey  <clahey@helixcode.com>

	* e-xml-utils.c, e-xml-utils.h: Added
	e_xml_get_child_by_name_by_lang.

svn path=/trunk/; revision=2493
2000-04-19 08:58:27 +00:00
9ee0c77a74 Add realize. (e_canvas_realize): Set the back pixmap to NULL to reduce
2000-04-16  Anders Carlsson  <andersca@gnu.org>

      * e-canvas.c (e_canvas_class_init): Add realize.
      (e_canvas_realize): Set the back pixmap to NULL to reduce flicker.

svn path=/trunk/; revision=2456
2000-04-16 00:39:00 +00:00
82e77d6d8e Added a note field.
2000-04-14  Christopher James Lahey  <clahey@helixcode.com>

	* addressbook/backend/ebook/e-card.c,
	addressbook/backend/ebook/e-card.h,
	addressbook/backend/pas/pas-backend-file.c,
	addressbook/backend/pas/pas-backend-ldap.c,
	addressbook/contact-editor/e-contact-editor.c: Added a note field.

From shell/ChangeLog:

2000-04-14  Christopher James Lahey  <clahey@helixcode.com>

	* e-shell-view.c: Made the left pane of the shell view not
	autoresize.

svn path=/trunk/; revision=2444
2000-04-15 00:14:42 +00:00
b87c37a1e8 Add g_return_if_fails.
2000-04-14  Christopher James Lahey  <clahey@helixcode.com>

	* e-xml-utils.c: Add g_return_if_fails.

svn path=/trunk/; revision=2435
2000-04-14 21:09:04 +00:00
3ef836d8a7 Fix the embarassing cursor bug.
Fix the embarassing cursor bug.

svn path=/trunk/; revision=2404
2000-04-12 04:50:02 +00:00
a5fef3a82e Added proper keyboard focus handling.
2000-04-10  Christopher James Lahey  <clahey@helixcode.com>

	* e-canvas.c: Added proper keyboard focus handling.

svn path=/trunk/; revision=2377
2000-04-10 19:33:35 +00:00
f991f6a8ad + (mkdir_if_necessary): New function.
+	(e_setup_base_dir): Use mkdir_if_necessary().

svn path=/trunk/; revision=2315
2000-04-06 22:14:36 +00:00
eb9e774246 + * shell/main.c (evolution_boot): Make sure our data directory is
+	available with e_setup_base_dir ().
+
+	* e-setup.c (e_setup_base_dir): Get/set Evolution's base directory
+	via gnome-config.

svn path=/trunk/; revision=2309
2000-04-06 16:45:54 +00:00
2589a36ea0 ChangeLog shuffling.
ChangeLog shuffling.

Miguel.

svn path=/trunk/; revision=2174
2000-03-27 02:58:23 +00:00