Commit Graph

13787 Commits

Author SHA1 Message Date
fe651a3d8f Updated Norwegian (bokmål) translation.
2002-02-28  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian (bokmål) translation.

2002-02-27  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>

svn path=/trunk/; revision=15869
2002-02-28 17:25:52 +00:00
dfee77a151 only save raw streams for leaf parts.
svn path=/trunk/; revision=15868
2002-02-28 03:09:07 +00:00
e1fa571225 Don't #include camel-mime-filter-save.h, we don't use it.
2002-02-27  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-folder-summary.h: Don't #include camel-mime-filter-save.h,
	we don't use it.

	* camel-file-utils.c: Fixed a few 'might be used uninitialized'
	warnings which were real problems.

	* camel-mime-part-utils.c
	(camel_mime_part_construct_content_from_parser): Save the raw mime
	stream for any/all signed parts.

	* camel-mime-part.c (camel_mime_part_init): Initialize our raw
	stream to NULL.
	(camel_mime_part_finalize): Unref our raw stream, if we have one.
	(write_to_stream): If we have a raw stream, write that out instead
	of re-encoding.

	* camel-mime-filter-save.[c,h]: Rewritten to save to a stream
	rather than a file.

svn path=/trunk/; revision=15867
2002-02-28 02:28:12 +00:00
7ac88d8631 Use the FOLD_SIZE as a recommended folding size, but add a new
2002-02-28  Not Zed  <NotZed@Ximian.com>

        * camel-mime-utils.c (header_fold): Use the FOLD_SIZE as a
        recommended folding size, but add a new FOLD_MAX_SIZE (=998, the
        smtp max line size) as the hard limit for any output.

svn path=/trunk/; revision=15866
2002-02-28 01:09:05 +00:00
1eedef0b86 Updated Slovenian translation
svn path=/trunk/; revision=15864
2002-02-27 23:47:44 +00:00
e83a759e4e New stream filter that chomps excess trailing whitespace from the end of
2002-02-27  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-mime-filter-chomp.c (camel_mime_filter_chomp_new): New
	stream filter that chomps excess trailing whitespace from the end
	of the stream. This is needed to update the PGP/MIME code to
	comply with rfc3156.

	* camel-pgp-mime.c (camel_pgp_mime_part_verify): Don't attach a
	from filter, if it ain't from-filtered already, then we'll just be
	breaking stuff. To become rfc3156 compliant, add a chomp filter
	here.
	(camel_pgp_mime_part_sign): Add a chomp filter here too.

svn path=/trunk/; revision=15863
2002-02-27 23:45:28 +00:00
9cf2e39035 make a right click bring up the popup menu.
2002-02-27  Larry Ewing  <lewing@ximian.com>

	* misc/e-combo-button.c (impl_button_press_event): make a right
	click bring up the popup menu.

svn path=/trunk/; revision=15858
2002-02-27 20:17:08 +00:00
4f97b16f9c Updated Slovak translation.
2002-02-27  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>

	* sk.po: Updated Slovak translation.

svn path=/trunk/; revision=15854
2002-02-27 12:57:29 +00:00
0b0a2a0d6a Changed header formatted table to contain a pointer to an output function,
2002-02-27  Not Zed  <NotZed@Ximian.com>

        * camel-mime-part.c (init_header_name_table): Changed header
        formatted table to contain a pointer to an output function, and
        added in-reply-to and references headers.
        (write_references): New function to write out references header,
        folded properly.  It only approximates based on the last >, but it
        should be adequate and will also handle invalid headers.
        (write_fold): Function to write out headers folded.  Since this is
        the default it isn't required.
        (write_raw): Write out an already formatted header, e.g. most of
        the rest.
        (write_to_stream): Lookup header output function, if we have one,
        use that, otherwise fold header using basic (dumb) function.

        This is all for #14779.  A better fix is probably do have the
        headers always stored formatted, but that can wait.

svn path=/trunk/; revision=15852
2002-02-27 03:21:51 +00:00
22ac1344f7 Get the Content-Base if the header exists and use gtk_html_set_base to set
2002-02-26  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (handle_text_html): Get the Content-Base if the
	header exists and use gtk_html_set_base to set this base url.

	* mail-display.c (on_link_clicked): No longer need to calculate
	the full url. This is now handled by GtkHTML.
	(on_set_base): Removed.
	(on_url_requested): No longer need to calculate the full url.
	(mail_display_initialize_gtkhtml): Don't connect to the set_base
	signal anymore. We don't care.

	* mail-display.h: No longer need base_url (it was broken anyway).

svn path=/trunk/; revision=15850
2002-02-27 00:01:09 +00:00
9001aaa2f3 [This gets rid of some spurious "could not find handler" messages
on exit.  What happened is that the signal would be disconnected
twice, once by cleanup_delayed_selection() and once by the
while_alive handler.]

* e-shell-view.c (destroy): Call cleanup_delayed_selection() here.
(e_shell_view_display_uri): Use gtk_signal_connect_full(), not
e_gtk_signal_connect_full_while_alive().

svn path=/trunk/; revision=15848
2002-02-26 22:21:33 +00:00
effbd15dbb display an error message if the call to gnome_calendar_open or
2002-02-26  Rodrigo Moya <rodrigo@ximian.com>

	* gui/control-factory.c (set_prop):
	* gui/tasks-control.c (tasks_control_set_property): display an error
	message if the call to gnome_calendar_open or e_tasks_open does not
	return TRUE. Fixes #20346.

svn path=/trunk/; revision=15845
2002-02-26 16:30:19 +00:00
3ca3e1aca1 updated Basque file
svn path=/trunk/; revision=15844
2002-02-26 16:25:42 +00:00
4803cb7c0d Updated Slovenian translation
svn path=/trunk/; revision=15843
2002-02-26 15:17:42 +00:00
cb65fdb7a9 Updated Slovenian translation
svn path=/trunk/; revision=15842
2002-02-26 12:46:38 +00:00
1b00ce5ca9 Copy values across to new part.
2002-02-26  Not Zed  <NotZed@Ximian.com>

        * filter-filter.c (option_activate): Copy values across to new
        part.

        * filter-rule.c (option_activate): copy values across to new part,
        if they are compatible.

        * filter-element.c (filter_element_copy_value): New function to
        copy values (where they can be) from one filter element to another.

        * filter-part.c (filter_part_copy_values): New function to copy
        values of a filter part.  #1359.

svn path=/trunk/; revision=15841
2002-02-26 02:27:22 +00:00
43a998d8cb Updated Slovenian translation
svn path=/trunk/; revision=15840
2002-02-26 00:37:26 +00:00
b0a253e060 If a related part is requested, remove it from the related undisplayed
2002-02-26  Not Zed  <NotZed@Ximian.com>

        * mail-display.c (on_url_requested): If a related part is
        requested, remove it from the related undisplayed list.

        * mail-format.c (handle_multipart_related): Check if related parts
        are displayed, if not, remove them.  For #2741.

svn path=/trunk/; revision=15837
2002-02-26 00:26:55 +00:00
822bc5f1d9 Allow all multiparts that contain message/rfc822 attachments.
2002-02-25  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-digest-folder.c (camel_digest_folder_new): Allow all
	multiparts that contain message/rfc822 attachments.
	(digest_get_uids): Only assign uids to message parts.

svn path=/trunk/; revision=15836
2002-02-25 21:26:24 +00:00
7330d192f0 [pullup from evolution-1-0-branch]
* gui/itip-utils.c (itip_send_comp): use
	GNOME_Evolution_Composer_setBody rather than _setMultipartType and
	_attachData now, to send a message containing just a text/calendar
	part. Fixes 14705. Mostly.
	(comp_content_type): Include the filename here since we can't add
	a Content-Disposition now.

svn path=/trunk/; revision=15834
2002-02-25 16:40:37 +00:00
c91f7c6b59 [pulled up from evolution-1-0-branch]
Mailer side of 14705.

	* Evolution-Composer.idl (setBody): Change setBodyText to setBody
	and take a MIME type as well.
	(show): Add an exception.

	* evolution-composer.c (impl_Composer_set_body, etc): Update for
	IDL change. While I'm here, fix this to DTRT with both plaintext
	and HTML bodies. (It claimed to take plain text before, but then
	passed it to the composer as HTML.)
	(impl_Composer_show): Raise an exception if setBody has been
	called, since the composer window will not display the real data
	in that case.

	* e-msg-composer.c (e_msg_composer_set_body): interface for
	impl_Composer_set_body.
	(build_message): If e_msg_composer_set_body has been called, use
	the body and MIME type supplied to it rather than the contents of
	the HTML editor.

svn path=/trunk/; revision=15833
2002-02-25 16:36:59 +00:00
387acacf48 change query_changed to search_activated.
2002-02-24  Chris Toshok  <toshok@ximian.com>

	* gui/cal-search-bar.c (cal_search_bar_class_init): change
	query_changed to search_activated.
	(cal_search_bar_search_activated): rename
	cal_search_bar_query_changed to this.

svn path=/trunk/; revision=15830
2002-02-25 11:08:27 +00:00
c08e6b2652 rename folder_browser_search_query_changed to this.
2002-02-24  Chris Toshok  <toshok@ximian.com>

        * folder-browser.c (folder_browser_search_do_search): rename
        folder_browser_search_query_changed to this.
        (folder_browser_gui_init): hook both query_changed and
        search_activated up to folder_browser_search_do_search, preserving
        current behavior.

svn path=/trunk/; revision=15829
2002-02-25 11:05:39 +00:00
bafc982da4 only handle the ESB_ADVANCED case here now. the actual query work is done
2002-02-24  Chris Toshok  <toshok@ximian.com>

        * gui/component/addressbook.c (addressbook_query_changed): only
        handle the ESB_ADVANCED case here now.  the actual query work is
        done in addressbook_search_activated.
        (addressbook_search_activated): split out all the searching
        functionality here.
        (addressbook_factory_new_control): hook up "search_activated" to
        addressbook_search_activated.

svn path=/trunk/; revision=15828
2002-02-25 11:01:20 +00:00
2641143369 preserve behavior - hook search_activated signal to the same function as
2002-02-24  Chris Toshok  <toshok@ximian.com>

        * e-filter-bar.c (init): preserve behavior - hook search_activated
        signal to the same function as query_changed.

        * e-search-bar.c (emit_search_activated): new function.
        (entry_activated_cb): use emit_search_activated instead of
        emit_query_changed.
        (subitem_activated_cb): same.
        (activate_button_clicked_cb): same.
        (class_init): add the search_activated signal.
        (idle_activate_hack): rename idle_change_hack to this, and
        emit_search_activated.
        (e_search_bar_construct): idle_change_hack -> idle_activate_hack.
        (e_search_bar_set_subitem_id): emit_search_activated instead of
        emit_query_changed.
        (e_search_bar_set_text): same.

        * e-search-bar.h (struct _ESearchBarClass): add a search_activated
        signal.

svn path=/trunk/; revision=15827
2002-02-25 10:56:33 +00:00
d1401d65e1 Updated French translation.
svn path=/trunk/; revision=15826
2002-02-25 08:31:07 +00:00
1636711c5a make the right auth page start up open.
2002-02-24  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook-config.c
	(addressbook_source_dialog_set_source): make the right auth page
	start up open.

	* gui/component/addressbook-storage.c (addressbook_source_free):
	free the binddn.
	(addressbook_source_copy): copy the binddn;

svn path=/trunk/; revision=15819
2002-02-25 01:51:53 +00:00
77811d84a7 add $(sounds_DATA)
2002-02-24  jacob berkman  <jacob@ximian.com>

	* sounds/Makefile.am (EXTRA_DIST): add $(sounds_DATA)

svn path=/trunk/; revision=15817
2002-02-24 21:08:03 +00:00
6c606b06ba Small fix.
2002-02-24  Carlos Perelló Marín <carlos@gnome-db.org>

        * es.po: Small fix.

svn path=/trunk/; revision=15816
2002-02-24 16:03:04 +00:00
f6acf9b4f1 Fix license text.
svn path=/trunk/; revision=15813
2002-02-23 17:46:09 +00:00
be1585de31 Add year 2002 to the copyright.
* e-shell-about-box.c: Add year 2002 to the copyright.

svn path=/trunk/; revision=15812
2002-02-23 17:45:21 +00:00
ae33e0a13d Renamed from destroy'. (impl_right_click): Renamed from right_click'.
* e-storage-set-view.c (impl_destroy): Renamed from `destroy'.
(impl_right_click): Renamed from `right_click'.
(impl_cursor_activated): Renamed from `cursor_activated'.
(impl_tree_start_drag): Renamed from `tree_start_drag'.
(impl_tree_drag_begin): Renamed from `tree_drag_begin'.
(impl_tree_drag_end): Renamed from `tree_drag_end'.
(impl_tree_drag_data_get): Renamed from `tree_drag_data_get'.
(impl_tree_drag_data_delete): Renamed from
`tree_drag_data_delete'.
(impl_tree_drag_motion): Renamed from `tree_drag_motion'.
(impl_tree_drag_leave): Renamed from `tree_drag_leave'.
(impl_tree_drag_drop): Renamed from `tree_drag_drop'.
(impl_tree_drag_data_received): Renamed from
`tree_drag_data_received'.

svn path=/trunk/; revision=15811
2002-02-23 17:44:21 +00:00
67db4baf35 Sync with translation memory.
2002-02-23  Carlos Perelló Marín <carlos@gnome-db.org>

	* es.po: Sync with translation memory.

svn path=/trunk/; revision=15810
2002-02-23 13:05:27 +00:00
1755b16c23 [ Fixes bugs 20740, 16680, and god knows what else :) ] double the
2002-02-22  Chris Toshok  <toshok@ximian.com>

	[ Fixes bugs 20740, 16680, and god knows what else :) ]
	* gui/widgets/e-addressbook-model.c (create_card): double the
	allocated size every time we need more space instead of using a
	fixed size increment.  this helps huge queries.  Also, remove the
	gtk_object_get of "file_as", as it was dead code.
	(book_view_loaded): handle errors here (by popping up a dialog).

	* backend/pas/pas-backend-ldap.c (view_destroy): search_idle ->
	search_timeout.
	(build_card_from_entry): comment out some spew, and unref ecard
	when we're done to plug a memory leak.
	(send_pending_adds): send along to the client all the cards we've
	been saving up.
	(poll_ldap): use a timeout for ldap_result to keep the backend
	from blocking (and it turns out keep the frontend from hanging
	waiting on a ref to complete) on large db's with few matches.

	Also, add some fairly smart, self-tuning aggregating of cards.
	Keep track of the number of cards we've sent the last time through
	as well as this time, and estimate the number we want to aggregate
	the next time based on them (we average them at the moment),
	subject to maximum/minimum number of cards.  also, we have a
	maximum aggregation time, after which we force a flush if there
	are pending cards and recalculate our target pending number.
	there's a minimum wait time to possibly keep outselves from
	spamming the ui, although it's 0 at the moment.

	Lastly, make sure to only notify the GUI of status messages when
	we need to.  this results in a *huge* savings.
	(ldap_search_handler): initialize all the pending card stuff, and
	use a timeout instead of an idle function for poll_ldap.

	* backend/ebook/e-book-view-listener.c
	(e_book_view_listener_queue_response): performance optimization
	for large adds.  If we're a CardAddedEvent and there's an existing
	CardAddedEvent at the end of the queue, just concat the lists of
	cards together.  This is to keep the gui from falling further and
	further behind the ldap backend, which is merrily spewing updates
	at the gui.

svn path=/trunk/; revision=15807
2002-02-23 04:36:10 +00:00
c1fa893c2a Set the 'name' parameter on the Content-Type too. Fixes bug #20779.
2002-02-22  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-mime-part.c (camel_mime_part_set_filename): Set the 'name'
	parameter on the Content-Type too. Fixes bug #20779.

svn path=/trunk/; revision=15805
2002-02-22 22:37:09 +00:00
54c650eaea [Fix #3029, Offline mode should be preserved across sessions.]
* main.c (idle_cb): Use the e_shell_new() API below so that we use
the saved offline settings at the next start-up if neither
--offline nor --online has been specified.

* e-shell.c (save_misc_settings): New function.  For now, just
save `/Shell/StartOffline' indicating whether the shell should
start in offline mode or not.
(e_shell_construct): Replace @start_online with
@startup_line_mode.
(e_shell_new): Likewise.

* e-shell.h: New enum EShellStartupLineMode.

svn path=/trunk/; revision=15804
2002-02-22 22:11:47 +00:00
51b03dbcdf New helper function to remove all the matching URIs from the history.
* e-shell-view.c (remove_uri_from_history): New helper function to
remove all the matching URIs from the history.
(history_uri_matching_func): Compare function for using
e_history_remove_matching.
(storage_set_removed_folder_callback): Call
`remove_uri_from_history()'.

* e-history.c (e_history_remove_matching): New.

svn path=/trunk/; revision=15803
2002-02-22 20:55:51 +00:00
d7ea6022c1 Fix for if the buffer ends with an email address (and no newline).
* e-html-utils.c (e_text_to_html_full): Fix for if the buffer ends
	with an email address (and no newline).

svn path=/trunk/; revision=15802
2002-02-22 19:57:17 +00:00
843b7d2c82 Removed, this wasn't working as intended and seemed to break other
2002-02-22  Jeffrey Stedfast  <fejj@ximian.com>

	* message-list.c (on_message_list_built): Removed, this wasn't
	working as intended and seemed to break other features.

svn path=/trunk/; revision=15801
2002-02-22 19:48:43 +00:00
4060f43d87 Remove meeting_widget.png from the build since it doesn't seem to be in
2002-02-22  Jeffrey Stedfast  <fejj@ximian.com>

	* Makefile.am: Remove meeting_widget.png from the build since it
	doesn't seem to be in cvs?

svn path=/trunk/; revision=15800
2002-02-22 19:34:55 +00:00
2c66be6ec9 New. (display_uri): Call it before returning so the navigation buttons
* e-shell-view.c (update_navigation_buttons): New.
(display_uri): Call it before returning so the navigation buttons
always have the right sensitivity.

* e-shell-folder-title-bar.c
(e_shell_folder_title_bar_update_navigation_buttons): New.
(add_navigation_buttons): Remove the "Back" label.

svn path=/trunk/; revision=15799
2002-02-22 19:27:52 +00:00
2dd28d3e91 [First cut at navigation (i.e. back/forward) buttons.]
* e-shell-view.c: New member `history' in `EShellViewPrivate'.
(init): Initialize.
(destroy): Unref.
(e_shell_view_display_uri): Make it a no-op if the URI is the same
as the current one.  Also, moved code into `display_uri' and use
it.
(back_clicked_callback): New, callback for the back button on the
folder title bar.
(forward_clicked_callback): Likewise for the forward button.

* e-history.c: New.
* e-history.h: New.

svn path=/trunk/; revision=15798
2002-02-22 18:47:40 +00:00
377b087df2 `e_shell_folder_title_bar_set_title_clickable()', not
* e-shell-view.c (e_shell_view_show_folder_bar):
`e_shell_folder_title_bar_set_title_clickable()', not
`e_shell_folder_title_bar_set_clickable()'.

* e-shell-folder-title-bar.c: Rename `button', `button_label' and
`button_arrow' to `title_button', `title_button_label' and
`title_button_arrow'.  Renamed `label' to `title_label'.  Renamed
`arrow_xpm' to `down_arrow_xpm'.  Added `left_arrow.xpm' and
`right_arrow.xpm'.
(class_init): Add the "back_clicked" and "forward_clicked"
signals.
(add_navigation_buttons): New function to add the navigation
buttons to the title bar.
(back_button_clicked_callback): Callback for the back button,
emits "back_clicked".
(forward_button_clicked_callback): Callback for the forward
button, emits "forward_clicked".
(e_shell_folder_title_bar_construct): Call
`add_navigation_buttons()'.
(forward_button_clicked_callback):
(create_arrow_pixmap): Removed.
(create_pixmap_widget_from_xpm): New.
(title_button_box_realize_cb): Removed.
(e_shell_folder_title_bar_construct): Don't connect.  Just add the
icon normally using the new `create_pixmap_widget_from_xpm()'.
(e_shell_folder_title_bar_set_title_clickable): Renamed from
`e_shell_folder_title_bar_set_clickable'.
(size_allocate_navigation_buttons): New.
(size_allocate_title_button): Get an @offset.
(size_allocate_label): Get an @offset.
(size_allocate): Allocate the navigation buttons and offset
everything else accordingly.

* e-shell-folder-title-bar.h: New signals "back_clicked",
"forward_clicked".

svn path=/trunk/; revision=15797
2002-02-22 17:28:03 +00:00
f62df88ae3 add libglade the to the E_UTIL flags.
2002-02-22  Larry Ewing  <lewing@ximian.com>

	* configure.in: add libglade the to the E_UTIL flags.

svn path=/trunk/; revision=15796
2002-02-22 17:19:41 +00:00
f13ccdd524 Updated Ukrainian translation
svn path=/trunk/; revision=15793
2002-02-22 15:22:29 +00:00
92735b41ff Return NULL if there is no component ID for the current view.
* e-shell-user-creatable-items-handler.c
(get_default_action_for_view): Return NULL if there is no
component ID for the current view.

svn path=/trunk/; revision=15792
2002-02-22 02:30:47 +00:00
91010cb266 Add an icon for the "New message" user creatable item.
* component-factory.c (create_component): Add an icon for the "New
message" user creatable item.

svn path=/trunk/; revision=15791
2002-02-22 02:24:05 +00:00
cad0e082bf New helper function. (create_object): Add icons for the various user
* gui/component-factory.c (add_creatable_item): New helper
function.
(create_object): Add icons for the various user creatable items.

svn path=/trunk/; revision=15790
2002-02-22 02:23:40 +00:00
baf32e6a42 Define $(iconsdir).
* gui/component/Makefile.am: Define $(iconsdir).

* gui/component/addressbook-component.c (add_creatable_item): New
helper function.
(create_component): Add the icons for the user creatable items as
well.

svn path=/trunk/; revision=15789
2002-02-22 02:22:43 +00:00
ea56ff65a2 gtk_widget_show() the icon_pixmap if the specified icon is not NULL.
* e-combo-button.c (set_icon): gtk_widget_show() the icon_pixmap
if the specified icon is not NULL.

svn path=/trunk/; revision=15788
2002-02-22 02:22:26 +00:00