Commit Graph

4680 Commits

Author SHA1 Message Date
Chris Toshok fbbaa67b5f nuke
2000-10-02  Chris Toshok  <toshok@helixcode.com>

	* gal/e-table/e-tree-example-1.c: nuke

	* gal/e-table/e-tree-example-2.c: nuke

	* tests/test-tree-1.c: move gal/e-table/e-tree-example-1.c here.

	* tests/test-tree-2.c: move gal/e-table/e-tree-example-2.c here.

	* tests/Makefile.am: new file.

	* tests/.cvsignore: same.

	* configure.in: AC_OUTPUT (tests/Makefile)

	* Makefile.am (SUBDIRS): add tests dir.

svn path=/trunk/; revision=5671
2000-10-02 20:26:30 +00:00
Dan Winship 3694d8a135 Remove "Port" entry from source dialog. We'll use "host:port" like
* mail-config-gui.c: Remove "Port" entry from source dialog. We'll
	use "host:port" like Netscape and other programs do.
	(service_page_get_url): If host ends in ":###", use that as port.
	(service_page_set_url): If URL contains a port, append it to the
	hostname, separated by a colon.

svn path=/trunk/; revision=5670
2000-10-02 20:16:53 +00:00
Dan Winship 853d2b99ff Remove default_ports.
* camel-provider.h: Remove default_ports.

	* camel-remote-store.c (remote_connect): Get default_port from
	CamelRemoteStore rather than CamelProvider.

	* providers/{imap,nntp,pop3}/camel-*-store.c: Initialize
	CamelRemoteStore::default_port

	* providers/*/camel-*-provider.c: Remove default_ports.

svn path=/trunk/; revision=5669
2000-10-02 20:14:57 +00:00
Chris Toshok bfe2227dd0 subscribe-control.[ch] -> subscribe_dialog.[ch]
2000-10-02  Chris Toshok  <toshok@helixcode.com>

	* Makefile.am (evolution_mail_SOURCES): subscribe-control.[ch] -> subscribe_dialog.[ch]

	* mail-callbacks.c (manage_subscriptions): subscribe_control ->
	subscribe_dialog.  Also, pass the shell to subscribe_dialog_new.

	* mail-types.h: SubscribeControl -> SubscribeDialog.

	* subscribe-dialog.c, subscribe-dialog.h: rename from subscribe-control.[ch].

	* subscribe-dialog.c (subscribe_dialog_construct): pass
	Evolution_Shell in.
	(subscribe_dialog_new): takes Evolution_Shell argument now.

svn path=/trunk/; revision=5668
2000-10-02 20:06:11 +00:00
Chris Toshok 26973c935a remove the 2 tree pixbufs, so adjust the offsets to the score pixbufs.
2000-10-02  Chris Toshok  <toshok@helixcode.com>

	* message-list.c (message_list_init_renderers): remove the 2 tree
	pixbufs, so adjust the offsets to the score pixbufs.  also, pass
	NULL for the open/closed pixbufs to the tree cell renderer.

svn path=/trunk/; revision=5667
2000-10-02 19:57:13 +00:00
Chris Toshok dfbc759c44 pass NULL for the open/closed pixbuf of the tree renderer. we'll let it
2000-10-02  Chris Toshok  <toshok@helixcode.com>

	* e-storage-set-view.c (e_storage_set_view_construct): pass NULL
	for the open/closed pixbuf of the tree renderer.  we'll let it
	supply the default.
	(destroy): remove the expanded/unexpanded pixbuf references.
	(new_storage_cb): use e_tree_model_node_insert_id so we can (soon)
	save expanded/collapsed state.
	(new_folder_cb): same.
	(insert_folders): same.
	(e_storage_set_view_construct): same.

svn path=/trunk/; revision=5666
2000-10-02 19:49:35 +00:00
Chris Toshok a36a52e0de flip black and gray, the way i intended them to be.
2000-10-02  Chris Toshok  <toshok@helixcode.com>

	* tree-unexpanded.xpm: flip black and gray, the way i intended them to be.

	* tree-expanded.xpm: same.

svn path=/trunk/; revision=5665
2000-10-02 19:43:43 +00:00
Dan Winship e459a0465f Update for CamelFolderInfo changes.
* mail-ops.c (mail_do_scan_subfolders, etc): Update for
	CamelFolderInfo changes.

	* message-list.c (message_list_destroy): Don't save_tree_state if
	there's no folder associated with the MessageList.

	* folder-browser.c (folder_browser_set_uri): Only call
	mail_do_load_folder if the URI is not "".

svn path=/trunk/; revision=5664
2000-10-02 19:08:44 +00:00
Dan Winship e9dc30dbf0 Remove camel_folder_{get,free}_subfolder_info, as we want to be able to
* camel-folder.[ch]: Remove
	camel_folder_{get,free}_subfolder_info, as we want to be able to
	scan the whole subfolder tree without having to open any folders,
	so this needs to be in CamelStore. Remove can_hold_folders and
	can_hold_messages flags; things that don't hold messages are no
	longer considered CamelFolders.

	* camel-folder-summary.[ch]: Remove CamelFolderInfo stuff.

	* camel-store.[ch]: Add camel_store_{get,free}_folder_info, as
	well as camel_store_free_folder_info_full and ..._nop for default
	implementations, and camel_folder_info_free and
	camel_folder_info_build as convenience functions. Turn
	CamelFolderInfo into a tree structure and also add an "url"
	member.

	* providers/*/camel-*-folder.c: Remove subfolder_info and can_hold
	stuff.
	* providers/*/camel-*-store.c: Add folder_info stuff.

	* providers/imap/camel-imap-folder.c (imap_summary_free): Free the
	summary elements with camel_message_info_free, not
	camel_folder_info_free. Oops.

	* providers/imap/camel-imap-utils.c: const poison

svn path=/trunk/; revision=5663
2000-10-02 19:08:20 +00:00
Jeffrey Stedfast 46d07e9e46 If the body of the message has 8-bit chars, set the
2000-10-02  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (build_message): If the body of the message has
	8-bit chars, set the Content-Transfer-Encoding type to the best
	encoding.

svn path=/trunk/; revision=5662
2000-10-02 18:33:18 +00:00
Dan Winship 0212cbae5f More updating... still not usable, or even compilable
svn path=/trunk/; revision=5661
2000-10-02 18:23:40 +00:00
Chris Toshok 1c2eec1fd4 reinstate file.
2000-10-02  Chris Toshok  <toshok@helixcode.com>

	* tree-expanded.xpm: reinstate file.

	* tree-unexpanded.xpm: same.

	* e-tree-example-1.c (main): remove calls to e_cursor_*, and don't
	create pixbufs.  let's the tree give us the defaults.

	* e-tree-model.c (e_tree_model_node_changed): call
	e_table_model_row_changed on the node's row (if it's visible).
	(e_tree_model_node_inserted): call e_table_model_row_inserted on
	the new node's row, if it's visible.
	(e_tree_model_node_removed): call e_table_model_row_removed on the
	old node's row, if it was visible.

	* e-cell-tree.c (e_cell_tree_construct): allow open_pixbuf and
	closed_pixbuf to be NULL, and default them to the xpm data in
	rtee-{un}expanded.xpm.
	(ect_destroy): call gdk_pixbuf_unref on our open/closed pixbufs.

	* tree-expanded.xpm, tree-unexpanded.xpm: make the + and - a
	little lighter than straight black.

svn path=/trunk/; revision=5660
2000-10-02 18:02:53 +00:00
Dan Winship 30b11ae4f9 fix #include of gnome-canvas-pixbuf.h
* e-icon-list.c: fix #include of gnome-canvas-pixbuf.h

svn path=/trunk/; revision=5659
2000-10-02 17:04:26 +00:00
Jesse Pavel 4ba91933ab *** empty log message ***
svn path=/trunk/; revision=5658
2000-10-02 16:17:04 +00:00
Ettore Perazzoli e062edf573 Added the ability for the shell to export the storage set view as a
Bonobo::Control (untested, and needed by Toshok's subscription
dialog).  Also, added a custom interface for this control so that the
container can get notification when a folder gets selected.

svn path=/trunk/; revision=5657
2000-10-02 14:22:11 +00:00
Christophe Merlet 9f72783896 Updated French translation.
svn path=/trunk/; revision=5656
2000-10-02 13:43:21 +00:00
Ettore Perazzoli ee5decd2ff Add a `::remove_listener' method to Evolution::Storage.
svn path=/trunk/; revision=5655
2000-10-02 12:52:22 +00:00
Valek Frob 7936f1411f Updated russian translation.
svn path=/trunk/; revision=5654
2000-10-02 10:47:05 +00:00
Iain Holmes bf7c104d03 Add a cache for the pixbufs, hashed on CID, so that we only have to make a
2000-10-02  Iain Holmes  <iain@helixcode.com>

	* mail-display.[ch]: Add a cache for the pixbufs, hashed on CID,
	so that we only have to make a thumbnail once.

2000-10-01  Iain Holmes  <iain@helixcode.com>

	* mail-display.c: Generate the thumbnails on an idle function so that
	the user interface isn't locked. Checks in case the widget it will
	use to display the image isn't destroyed.

svn path=/trunk/; revision=5653
2000-10-02 00:47:13 +00:00
Iain Holmes 3026d9fc5c If the description of an attachment is a blank string, revert to
2000-10-02  Iain Holmes  <iain@helixcode.com>

	* e-msg-composer-attachment-bar.c: If the description of an attachment
	is a blank string, revert to displaying the filename.

2000-10-01  Iain Holmes  <iain@helixcode.com>

	* e-icon-list.c: If you try to add an icon from a file that doesn't
	exist put a "Broken icon" image.

	* bad-icon.xpm: Broken icon image.

svn path=/trunk/; revision=5652
2000-10-02 00:42:10 +00:00
Kenneth Christiansen 2e03d9ba66 Translations from Keld
balsa/po/da.po evolution/po/da.po

svn path=/trunk/; revision=5651
2000-10-01 14:44:30 +00:00
Christian Rose 11ee1f405c Updated Swedish translation.
svn path=/trunk/; revision=5650
2000-10-01 09:41:15 +00:00
Iain Holmes f8b0f806ed Eye-candy, eye-candy.
Added attachment image thumbnailing to mail-display.c

svn path=/trunk/; revision=5649
2000-10-01 03:48:33 +00:00
Iain Holmes 9d6c76ce37 The big eye-candy commit.
Make thumbnails out of image attachments.

svn path=/trunk/; revision=5648
2000-10-01 03:43:17 +00:00
Christopher James Lahey 711bef6798 Made it so that minicard doesn't write out changes to the backend unless
Fri Sep 29 07:33:54 2000  Christopher James Lahey  <clahey@helixcode.com>

	* gui/widgets/e-minicard.c, gui/widgets/e-minicard.h: Made it so
 	that minicard doesn't write out changes to the backend unless
 	something's actually changed.

svn path=/trunk/; revision=5647
2000-09-30 21:44:57 +00:00
Damon Chaplin 0ff98664ba updated to support RDATE end times or durations. Note that if you have two
2000-09-29  Damon Chaplin  <damon@helixcode.com>

	* cal-util/cal-recur.c: updated to support RDATE end times or
	durations. Note that if you have two RDATEs with the same start times,
	but with different end dates/durations set, the results are
	unpredictable. So the event editor dialog should check for this.

	* gui/e-week-view-main-item.c (e_week_view_main_item_draw_day):
	make strftime() strings translatable, and changed the formats a bit.

	* NOTE: someone needs to check print.c to make sure strftime strings
	are OK for i18n.

	* gui/e-day-view.h: Changed EDayViewDateFormat enum. We now try to
	include the weekday if possible. Also changed EDayView struct so we
	store the month & weekdays with the longest names rather than the
	actual widths. This helps i18n.

	* gui/e-day-view.c (e_day_view_recalc_cell_sizes): used _() for
	strftime strings, tried to see if weekday fits, and rearranged a
	bit to make i18n easier.

	* gui/e-day-view-top-item.c (e_day_view_top_item_draw): used _() for
	strftime strings, and updated to use new formats.

	* gui/calendar-model.c: added use_24_hour_format boolean to
	CalendarModelPrivate so we can display dates in 12-hour format if
	requested. This meant adding a CalendarModel argument to a few
	functions. Also added get/set functions to set use_24_hour_format.
	I suppose ideally we should have an ECellDate renderer and this option
	should go there.

svn path=/trunk/; revision=5646
2000-09-30 15:29:22 +00:00
Damon Chaplin 32d2e7c670 better i18n of strftime strings.
2000-09-30  Damon Chaplin  <damon@helixcode.com>

	* e-calendar-item.c:
	* e-dateedit.c: better i18n of strftime strings.

svn path=/trunk/; revision=5645
2000-09-30 15:26:53 +00:00
Damon Chaplin cafbcb9183 fixed use of date strings to support i18n better.
2000-09-25  Damon Chaplin  <damon@helixcode.com>

	* e-meeting-time-sel-item.c:
	* e-meeting-time-sel.c: fixed use of date strings to support i18n
	better.
	(e_meeting_time_selector_update_attendees_list_positions): updated to
	use e_canvas_item_move_absolute() to position the EText items.

svn path=/trunk/; revision=5644
2000-09-30 15:24:20 +00:00
Damon Chaplin 3f23fba5e0 updated to use new EShortcutBar signals for DnD.
2000-09-30  Damon Chaplin  <damon@helixcode.com>

	* test-shortcut-bar.c: updated to use new EShortcutBar signals for DnD.

	* e-group-bar.c (e_group_bar_add_group): show the new windows if the
	EGroupBar is realized, handle the position argument properly, and
	fixed the window z-order code.

	* e-shortcut-bar.c (e_shortcut_bar_add_group): pass group_num to the
	e_group_bar_add_group() function.

	* e-icon-bar-bg-item.c (e_icon_bar_bg_item_draw): fixed SEGV when
	trying to drag into a group with no items.

svn path=/trunk/; revision=5643
2000-09-30 15:17:12 +00:00
Miguel de Icaza 024c4bee0a Add Print Preview
svn path=/trunk/; revision=5642
2000-09-29 23:49:43 +00:00
Miguel de Icaza 831692cf87 Add print preview verb here.
2000-09-29  Miguel de Icaza  <miguel@helixcode.com>

	* folder-browser-factory.c: Add print preview verb here.

	* mail-callbacks.c (do_mail_print): Handle printing here, the
	complete engine.
	(mail_print_preview_msg): new. does print previewing.
	(mail_print_msg): does printing of the message.

svn path=/trunk/; revision=5641
2000-09-29 23:45:49 +00:00
Peter Williams f6471e8c37 Install the new subscribe UI xml file
svn path=/trunk/; revision=5640
2000-09-29 23:32:53 +00:00
Christian Rose bd9c1a3c06 Updated Swedish translation.
svn path=/trunk/; revision=5639
2000-09-29 21:01:28 +00:00
Chris Toshok 525adf507d add a Settings/Manage Subscriptions... menu item.
2000-09-29  Chris Toshok  <toshok@helixcode.com>

	* ui/evolution-mail.xml: add a Settings/Manage Subscriptions...
	menu item.

	* ui/evolution-subscribe.xml: add a File/Close menu item.

svn path=/trunk/; revision=5638
2000-09-29 20:41:34 +00:00
Chris Toshok c237eba138 nuked.
2000-09-29  Chris Toshok  <toshok@helixcode.com>

	* subscribe-control-factory.c, subscribe-control-factory.h: nuked.

	* subscribe-control.c, subscribe-control.h: lots of changes.  we
	now pop up a dialog, and will have a storage set view on our left
	side, like the shell does.

	* mail.h: add prototype for manage_subscriptions.

	* mail-callbacks.c (manage_subscriptions): new function, pops up
	the subscribe dialog.

	* folder-browser-factory.c: add the verb for managing
	subscriptions.

	* Makefile.am (evolution_mail_SOURCES): add subscribe-control.[ch]
	again.

svn path=/trunk/; revision=5637
2000-09-29 20:36:03 +00:00
Ettore Perazzoli 7d63b93c51 Get the title bar for the folder view to use TigerT's pin icon for the
button when appropriate.

svn path=/trunk/; revision=5636
2000-09-29 14:05:10 +00:00
Christopher James Lahey 95412cfb13 Changed.
Fri Sep 29 10:05:58 2000  Christopher James Lahey  <clahey@helixcode.com>

	* e-table.dia: Changed.

svn path=/trunk/; revision=5635
2000-09-29 14:05:00 +00:00
Ettore Perazzoli fbd0725e2a Minor stylistical fixup.
svn path=/trunk/; revision=5634
2000-09-29 09:06:45 +00:00
Jeffrey Stedfast 03e1e4756b another mem leak fix
svn path=/trunk/; revision=5633
2000-09-29 04:08:11 +00:00
Chris Toshok e20e97c208 added prototype.
2000-09-28  Chris Toshok  <toshok@helixcode.com>

	* subscribe-control.h (subscribe_search): added prototype.

	* subscribe-control.c (subscribe_search): new function.

	* subscribe-control-factory.c (make_folder_search_widget): new
	function, to add search widget to toolbar.
	(control_activate): create the search widget and add it to the
	toolbar.

svn path=/trunk/; revision=5632
2000-09-29 03:09:26 +00:00
Jeffrey Stedfast 338c81f70a Fixed some memory leaks. (camel_smtp_transport_init): Initialize
2000-09-28  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/smtp/camel-smtp-transport.c: Fixed some memory leaks.
	(camel_smtp_transport_init): Initialize supports_8bit to FALSE.
	(smtp_helo): If server supports 8bit, set supports_8bit to TRUE.

	* camel-transport.h (struct _CamelTransport): Added variable
	gboolean supports_8bit (we'll need this eventually? - see bugzilla
	bug #53)

	* providers/smtp/camel-smtp-transport.c
	(smtp_get_email_addr_from_text): Ugh, no wonder people were
	getting illegal seek warnings *sigh*. I guess I can only blame
	myself for this one though :-(

svn path=/trunk/; revision=5631
2000-09-29 02:53:47 +00:00
Chris Toshok ad08b9bda3 add a FolderSearch control, and change "Refresh" to "RefreshList".
2000-09-28  Chris Toshok  <toshok@helixcode.com>

	* ui/evolution-subscribe.xml: add a FolderSearch control, and
	change "Refresh" to "RefreshList".

svn path=/trunk/; revision=5630
2000-09-29 02:52:12 +00:00
Jeffrey Stedfast 686a7adc09 Don't send the recipient data through smtp_get_email_addr_from_text - this
2000-09-28  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/smtp/camel-smtp-transport.c (_send_to): Don't send the
	recipient data through smtp_get_email_addr_from_text - this is a
	complete waste. In fact, we don't want to have to use that
	function ever.

	* camel-internet-address.c, camel-address.c: Added some gtk-doc comments.

svn path=/trunk/; revision=5629
2000-09-29 01:56:39 +00:00
Christopher James Lahey df3d5547e5 New file. Approximate UML description of ETable.
Thu Sep 28 20:01:53 2000  Christopher James Lahey  <clahey@helixcode.com>

	* e-table.dia: New file.  Approximate UML description of ETable.

svn path=/trunk/; revision=5628
2000-09-29 00:01:19 +00:00
Jeffrey Stedfast 7ba4d2bed2 Make sure to add the space char after an encoded word when the encoding is
2000-09-28  Jeffrey Stedfast  <fejj@helixcode.com>

	* camel-mime-utils.c (header_encode_string): Make sure to add the
	space char after an encoded word when the encoding is iso-8859-1.

svn path=/trunk/; revision=5626
2000-09-28 23:57:54 +00:00
Dan Winship ed988c5b23 Don't print "Folder registered successfully" if it didn't. (Duh. :)
* e-corba-storage.c (impl_StorageListener_new_folder): Don't print
	"Folder registered successfully" if it didn't. (Duh. :)

svn path=/trunk/; revision=5625
2000-09-28 23:27:07 +00:00
Ettore Perazzoli ddbb5d882b Fix a stupid crash in ::destroy that was my fault.
svn path=/trunk/; revision=5624
2000-09-28 23:26:59 +00:00
Jeffrey Stedfast c540870b0c Check to see if the body has 8bit chars, if so - set the
2000-09-28  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (build_message): Check to see if the body has
	8bit chars, if so - set the Content-Transfer-Encoding to 8bit.
	Addresses Bugzilla bug #652.

svn path=/trunk/; revision=5623
2000-09-28 22:12:23 +00:00
Jeffrey Stedfast bb1d28d7c5 Messages should be appended to Sent as Seen. (do_send_mail): Same.
2000-09-28  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-ops.c (do_send_queue): Messages should be appended to Sent
	as Seen.
	(do_send_mail): Same.

svn path=/trunk/; revision=5622
2000-09-28 20:49:24 +00:00
Jeffrey Stedfast 4fccab6c19 When getting a literal string response, don't include the \r\n after the
2000-09-28  Jeffrey Stedfast  <fejj@helixcode.com>

	* providers/imap/camel-imap-folder.c (imap_get_message): When
	getting a literal string response, don't include the \r\n after
	the closing } (as in: "... {798}\r\n...")

	* providers/imap/camel-imap-stream.c (stream_read): Same.

svn path=/trunk/; revision=5621
2000-09-28 20:20:56 +00:00