aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove vanished files. Updated traditional Chinese translation fromAbel Cheung2003-03-234-12679/+10110
| | | | | | | | | | 2003-03-23 Abel Cheung <maddog@linux.org.hk> * POTFILES.in, POTFILES.skip: Remove vanished files. * zh_TW.po: Updated traditional Chinese translation from Chao-Hsiung Liao <pesder.liao@msa.hinet.net> svn path=/trunk/; revision=20466
* Fix the mit krb5+krb4 check to work with --without-kr5Rodney Dawes2003-03-222-8/+9
| | | | | | | | 2003-03-21 Rodney Dawes <dobey@ximian.com> * configure.in: Fix the mit krb5+krb4 check to work with --without-kr5 svn path=/trunk/; revision=20464
* Camel part of the fix for Lewing's bug #39204. Second half of the patchJeffrey Stedfast2003-03-222-8/+39
| | | | | | | | | | | | | | | | | | | | | | 2003-03-21 Jeffrey Stedfast <fejj@ximian.com> Camel part of the fix for Lewing's bug #39204. Second half of the patch should also fix it so that text/plain parts that are detected as being text/html are rendered as html (not that I agree with this mind you, but corporate customers want this "feature"). * camel-mime-part-utils.c (simple_data_wrapper_construct_from_parser): If the part is text/html and doesn't have a charset and we are able to find a charset in the meta tags of the html content, set the charset param on the content-type. (camel_mime_part_construct_content_from_parser): After setting the content object on the mime part, re-set the content-type of the content object back to the one from the parser (as it may contain changes from the original - see changes made to the ct in simple_data_wrapper_construct_from_parser for details). svn path=/trunk/; revision=20463
* Default to the charset provied in the MimePart's Content-Type over that ofJeffrey Stedfast2003-03-222-2/+11
| | | | | | | | | | 2003-03-21 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_format_data_wrapper_write_to_stream): Default to the charset provied in the MimePart's Content-Type over that of the user's mailer charset. Fixes bug #39204. svn path=/trunk/; revision=20462
* (init): grumble-grumble-non-g_new0-using-people-grumbleDan Winship2003-03-221-0/+1
| | | | svn path=/trunk/; revision=20461
* (init): grumble-grumble-non-g_new0-using-people-grumbeDan Winship2003-03-221-0/+1
| | | | svn path=/trunk/; revision=20460
* Fixes #32248JP Rosevear2003-03-222-1/+10
| | | | | | | | | | | 2003-03-21 JP Rosevear <jpr@ximian.com> Fixes #32248 * conduits/todo/todo-conduit.c (comp_from_remote_record): make sure the due date is actually a date svn path=/trunk/; revision=20459
* Fixes #31660JP Rosevear2003-03-222-11/+88
| | | | | | | | | | | | | | | 2003-03-21 JP Rosevear <jpr@ximian.com> Fixes #31660 * conduits/calendar/calendar-conduit.c (rrules_mostly_equal): check if the rrules are equal other than until/count (find_last_cb): update the data with the start timet (local_record_from_comp): handle the case where the recurrence rule ends after a certain number occurrences (comp_from_remote_record): same svn path=/trunk/; revision=20458
* continue reading the cert file until we've read it all or get a non-EINTRJeffrey Stedfast2003-03-222-7/+25
| | | | | | | | | | 2003-03-21 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-ssl.c (camel_certdb_nss_cert_get): continue reading the cert file until we've read it all or get a non-EINTR errno. svn path=/trunk/; revision=20457
* If we get a second request to open a folder we're already waiting for,Dan Winship2003-03-222-10/+55
| | | | | | | | | | * e-corba-storage.c (async_open_folder_idle): If we get a second request to open a folder we're already waiting for, don't send a second CORBA request, just remember the additional request. (async_open_cb): Call the callbacks for all pending requests for this folder. svn path=/trunk/; revision=20456
* Use glib macro G_GNUC_FUNCTION instead of __FUNCTION__. Thank u, Ettore.Sanshao Jiang2003-03-222-6/+7
| | | | | | | | | | | | | | | 2003-03-19 Sanshao Jiang <alex.jiang@sun.com> * gal-view-collection.c (gal_view_collection_append_with_title): (gal_view_collection_set_nth_view): Use glib macro G_GNUC_FUNCTION instead of __FUNCTION__. Thank u, Ettore. * gal-view-instance.c (gal_view_instance_set_current_view_id): same (add_popup_radio_item): Fix to be compilable on other compilers, using gcc extension independent codes.(bug#39176) (add_popup_menu_item): same svn path=/trunk/; revision=20455
* "en_us" should not be translated. Fixes bug #40088.Jeffrey Stedfast2003-03-222-1/+6
| | | | | | | | | 2003-03-21 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (spell_load_values): "en_us" should not be translated. Fixes bug #40088. svn path=/trunk/; revision=20454
* #include <com_err.h> instead of #include <et/com_err.h>Jeffrey Stedfast2003-03-212-1/+6
| | | | | | | | | 2003-03-21 Jeffrey Stedfast <fejj@ximian.com> * camel-sasl-gssapi.c: #include <com_err.h> instead of #include <et/com_err.h> svn path=/trunk/; revision=20453
* Added missing files. Updated German translation.Christian Neumair2003-03-214-781/+917
| | | | | | | * POTFILES.in, POTFILES.skip: Added missing files. * de.po: Updated German translation. svn path=/trunk/; revision=20452
* Update Czech translationMiloslav Trmac2003-03-212-385/+425
| | | | svn path=/trunk/; revision=20451
* [ fixes bug #39856 ] request a full redraw when we're done draggingChris Toshok2003-03-211-0/+1
| | | | | | | | | | 2003-03-21 Chris Toshok <toshok@ximian.com> [ fixes bug #39856 ] * gal/widgets/e-reflow.c (e_reflow_update): request a full redraw when we're done dragging columns. svn path=/trunk/; revision=20450
* remember to disconnect the destroy handler if whenever the loader is shutLarry Ewing2003-03-212-0/+7
| | | | | | | | | 2003-03-21 Larry Ewing <lewing@ximian.com> * mail-display.c (pixbuf_gen_idle): remember to disconnect the destroy handler if whenever the loader is shut down. svn path=/trunk/; revision=20449
* If the gunichar is 0xfffe, just skip processing it. Maybe this will fixJeffrey Stedfast2003-03-212-2/+1
| | | | | | | | | | 2003-03-20 Jeffrey Stedfast <fejj@ximian.com> * e-trie.c (e_trie_search): If the gunichar is 0xfffe, just skip processing it. Maybe this will fix bug #39900. (trie_utf8_getc): Removed unused labels to shutup the compiler. svn path=/trunk/; revision=20448
* Change the message_destroy callback to just gtk_widget_destroy. No need toJeffrey Stedfast2003-03-212-7/+6
| | | | | | | | | | | 2003-03-20 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (owner_set_cb): Change the message_destroy callback to just gtk_widget_destroy. No need to have a callback simply to call this function. (warning_response): Removed (see above). svn path=/trunk/; revision=20447
* remove unused commandJP Rosevear2003-03-212-9/+4
| | | | | | | | 2003-03-20 JP Rosevear <jpr@ximian.com> * e-shell-view-menu.c: remove unused command svn path=/trunk/; revision=20446
* remove conduit settings as a separate entryJP Rosevear2003-03-212-1/+4
| | | | | | | | 2003-03-20 JP Rosevear <jpr@ximian.com> * evolution.xml: remove conduit settings as a separate entry svn path=/trunk/; revision=20445
* Don't forget to add the signature to the signature list if it is a validJeffrey Stedfast2003-03-212-1/+6
| | | | | | | | | 2003-03-20 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (sig_add_script_response): Don't forget to add the signature to the signature list if it is a valid script. svn path=/trunk/; revision=20444
* Make sure we can find the registered handler before trying to remove itJeffrey Stedfast2003-03-212-4/+11
| | | | | | | | | | 2003-03-20 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_signature_unregister_client): Make sure we can find the registered handler before trying to remove it from the list. svn path=/trunk/; revision=20443
* Fixes for bug #39813Jeffrey Stedfast2003-03-212-7/+15
| | | | | | | | | | | | 2003-03-20 Jeffrey Stedfast <fejj@ximian.com> Fixes for bug #39813 * e-msg-composer.c (composer_finalise): Don't unregister the signature event handler here. (destroy): Unregister it here instead. svn path=/trunk/; revision=20442
* Plug in GSSAPI support.Jeffrey Stedfast2003-03-215-28/+69
| | | | | | | | | | | 2003-03-20 Jeffrey Stedfast <fejj@ximian.com> * camel-sasl.c: Plug in GSSAPI support. * camel-sasl-gssapi.[c,h]: Various fixes to make it compile (fixed type-o's mostly). svn path=/trunk/; revision=20438
* calcomponents are gobjects now (calconduit_load_configuration): ref andJP Rosevear2003-03-213-2/+20
| | | | | | | | | | | | | | 2003-03-20 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (e_calendar_context_destroy): calcomponents are gobjects now (calconduit_load_configuration): ref and sink to avoid warnings * conduits/todo/todo-conduit.c (todoconduit_load_configuration): ref and sink to avoid warnings (e_todo_context_destroy): calcomponents are gobjects now svn path=/trunk/; revision=20437
* If the gunichar is 0xfffe, just skip processing it. Maybe this will fixJeffrey Stedfast2003-03-212-18/+25
| | | | | | | | | 2003-03-20 Jeffrey Stedfast <fejj@ximian.com> * e-trie.c (e_trie_search): If the gunichar is 0xfffe, just skip processing it. Maybe this will fix bug #39900. svn path=/trunk/; revision=20436
* Make the 5th argument to gtk_message_dialog_new() "%s" and move theJeffrey Stedfast2003-03-212-1/+20
| | | | | | | | | | | | | | | 2003-03-20 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (do_user_message): Make the 5th argument to gtk_message_dialog_new() "%s" and move the m->prompt to arg 6 so that we are safe if the prompt string contains any %'s. Also connect to the response signal for the user_msg dialog and set the callback to gtk_widget_destroy so that the user can actually close the dialog. We also need to g_object_weak_ref() the dialog so that we can set the global message_dialog pointer back to NULL when it gets destroyed. Fixes bug #40043. svn path=/trunk/; revision=20435
* use a GtkMessageDialog and deal correctly with the dialog's reponses.Rodrigo Moya2003-03-212-4/+14
| | | | | | | | | 2003-03-20 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/cancel-comp.c (cancel_component_dialog): use a GtkMessageDialog and deal correctly with the dialog's reponses. svn path=/trunk/; revision=20434
* (button_clicked): Fix this so we don't get stuck insideDan Winship2003-03-212-13/+7
| | | | | | gtk_dialog_run's main loop forever. svn path=/trunk/; revision=20433
* Change the strings in the timespans array from "second" / "seconds" to "1Dan Winship2003-03-212-9/+17
| | | | | | | | | | * filter-datespec.c (timespans, set_button): Change the strings in the timespans array from "second" / "seconds" to "1 second ago" / "%d seconds ago", etc, and update the code in set_button that uses them. Fixes #36245, translation clash between the "second" here and the one in the calendar (where it's used as "2nd"). svn path=/trunk/; revision=20432
* Remove this since there's a function in CamelMimeMessage to do it now.Dan Winship2003-03-212-68/+7
| | | | | | | | * mail-ops.c (build_from): Remove this since there's a function in CamelMimeMessage to do it now. (save_messages_save): Use camel_mime_message_build_mbox_from. svn path=/trunk/; revision=20431
* Handle raw 8-bit From data "correctly". (The same way we handleDan Winship2003-03-2111-98/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | raw 8-bit Subject data.) * camel-mime-utils.c (header_decode_mailbox): Take a charset arg and pass it to header_decode_string. (header_decode_address): Take a charset arg and pass it to header_decode_mailbox. (header_mailbox_decode): Likewise. (header_address_decode): Take a charset arg and pass it to header_decode_address. * camel-folder-summary.c (summary_format_address): Take a charset arg and pass to header_address_decode. (message_info_new, camel_message_info_new_from_header): Pass charset to summary_format_address * camel-internet-address.c (internet_decode): Update for header_address_decode change. (Unfortunately we don't have a charset to pass here.) * camel-mime-message.c (camel_mime_message_build_mbox_from): Move this here from camel-mbox-summary since the same functionality is needed by evolution-mail too (and update for header_address_decode change) * providers/local/camel-mbox-summary.c (camel_mbox_summary_build_from): Moved to CamelMimeMessage svn path=/trunk/; revision=20430
* Don't return here - this is a void function. (rule_editor_set_source):Jeffrey Stedfast2003-03-202-2/+8
| | | | | | | | | | 2003-03-20 Jeffrey Stedfast <fejj@ximian.com> * rule-editor.c (rule_editor_set_sensitive): Don't return here - this is a void function. (rule_editor_set_source): Same. svn path=/trunk/; revision=20429
* Remove mail-search-dialogue.cRodney Dawes2003-03-202-1/+4
| | | | | | | | 2003-03-20 Rodney Dawes <dobey@ximian.com> * POTFILES.in: Remove mail-search-dialogue.c svn path=/trunk/; revision=20428
* macros/autogen.sh: use GNOME2_DIR, not GNOME2_PATH which can beFrédéric Crozat2003-03-202-3/+8
| | | | | | a ':' separated list. svn path=/trunk/; revision=20401
* updated for gnome spell API 0.3Radek Doulik2003-03-202-5/+5
| | | | svn path=/trunk/; revision=20383
* Fixes #39770Rodrigo Moya2003-03-202-5/+15
| | | | | | | | | | | | 2003-03-20 Rodrigo Moya <rodrigo@ximian.com> Fixes #39770 * gui/itip-utils.c (itip_Send_comp): check the CORBA exception instead of the g_return_val_if_fail. Also, use a CORBA_Object for the value returned from bonobo_activation_activate_from_id. svn path=/trunk/; revision=20382
* removed activation of shell_client. (importer_destroy_cb): no need toRodrigo Moya2003-03-202-28/+7
| | | | | | | | | | | 2003-03-20 Rodrigo Moya <rodrigo@ximian.com> * importers/ical-importer.c: removed activation of shell_client. (importer_destroy_cb): no need to unref shell_client. (connect_to_shell): removed. (ical_importer_new, vcal_importer_new): don't call connect_to_shell. svn path=/trunk/; revision=20381
* removed. (load_file_fn, vcal_load_file_fn): use physical_uri instead ofRodrigo Moya2003-03-203-92/+14
| | | | | | | | | | 2003-03-20 Rodrigo Moya <rodrigo@ximian.com> * importers/ical-importer.c (get_uri_from_folder_path): removed. (load_file_fn, vcal_load_file_fn): use physical_uri instead of folderpath. svn path=/trunk/; revision=20380
* ** for mail part of bug #38461.Not Zed2003-03-208-316/+276
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-21 Not Zed <NotZed@Ximian.com> ** for mail part of bug #38461. * importers/evolution-outlook-importer.c (load_file_fn): dont pass in create flag to uri_to_folder, the folder must already exist. * importers/evolution-mbox-importer.c (folder_created_cb): Removed, we now force the caller to create the destination folder first. (load_file_fn): Dont try and create a folder if it doesn't exist. Also, use the uri directly as the destination uri, so we can import into any folder. (process_item_fn): If we dont have a folder, thats just an error, return BAD_FILE. * importers/netscape-importer.c (netscape_import_file): As below for elm_import_file. (import_next): similarly as for pine import_next. (importer_cb): just record result. (importer_timeout_fn): removed. * importers/pine-importer.c (import_next): Similar to below for the elm import_next. (pine_import_file): As below for elm_import_file. (importer_timeout_fn): removed. (importer_cb): just record the result, and exit. (import_next): change around to behave more like the elm importer, cleaning up when we're done. * importers/elm-importer.c (elm_import_file): Create the destination folder ourselves, dont pass it onto the mbox importer. Simplify logic, just do the import within a while loop, polling the g main loop as necessary, remove need for idle callbacks and other crap. (import_next): If elm_import_file fails, then just go straight to the next folder, stops it falling in a heap. (import_item_idle): removed. (importer_cb): just record result/exit. * mail-importer.c (mail_importer_create_folder): removed. (mail_importer_make_local_folder): new function to create a local-only folder from a path. It runs synchronously by using a recursive main loop. (folder_created_cb): callback for make_local_folder. svn path=/trunk/; revision=20379
* *** empty log message ***Michael Zucci2003-03-207-18/+59
| | | | svn path=/trunk/; revision=20378
* Updated to use GtkDialog instead of GnomeDialog. Also fixed bug #39550Jeffrey Stedfast2003-03-203-95/+102
| | | | | | | | | 2003-03-19 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c: Updated to use GtkDialog instead of GnomeDialog. Also fixed bug #39550 while I was at it. svn path=/trunk/; revision=20375
* removed a dead header fileJeffrey Stedfast2003-03-201-1/+0
| | | | svn path=/trunk/; revision=20374
* Revert ettore's broken patch.Jeffrey Stedfast2003-03-204-248/+1
| | | | | | | | | | | 2003-03-19 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (mail_config_druid_new): Revert ettore's broken patch. * mail-search-dialogue.c: Removed - nothing uses this. svn path=/trunk/; revision=20373
* Revert ettore's broken patch.Jeffrey Stedfast2003-03-203-7/+11
| | | | | | | | | | | | 2003-03-19 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (mail_config_druid_new): Revert ettore's broken patch. * mail-search-dialogue.c (mail_search_dialogue_construct): Make the default size a little smaller. svn path=/trunk/; revision=20372
* Change the logic to attach text parts when appropriate. (map_default_cb):Jeffrey Stedfast2003-03-202-11/+12
| | | | | | | | | | | 2003-03-19 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (add_attachments_handle_mime_part): Change the logic to attach text parts when appropriate. (map_default_cb): Grab the focus of the To entry widget. Fixes bug #39800. Fixes another #warning too. svn path=/trunk/; revision=20371
* (get_name_from_component_info): Look for theEttore Perazzoli2003-03-202-2/+7
| | | | | | | "evolution:menu_name" property instead of "evolution:menu-name". [#39692] svn path=/trunk/; revision=20370
* Replace "evolution:menu-name" prop with "evolution:menu_name". [#39692]Ettore Perazzoli2003-03-203-2/+10
| | | | | | | | | | * importers/GNOME_Evolution_Mail_Mbox_Importer.server.in.in: Replace "evolution:menu-name" prop with "evolution:menu_name". [#39692] * importers/GNOME_Evolution_Mail_Outlook_Importer.server.in.in: Likewise. svn path=/trunk/; revision=20369
* Replace "evolution:menu-name" prop with "evolution:menu_name". [#39692]Ettore Perazzoli2003-03-202-2/+8
| | | | | | | Replace "evolution:menu-name" prop with "evolution:menu_name". [#39692] svn path=/trunk/; revision=20368
* Change the logic to attach text parts when appropriate.Jeffrey Stedfast2003-03-202-34/+35
| | | | | | | | | 2003-03-19 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (add_attachments_handle_mime_part): Change the logic to attach text parts when appropriate. svn path=/trunk/; revision=20367
* Replace "evolution:menu-name" prop with "evolution:menu_name". [#39692]Ettore Perazzoli2003-03-203-2/+8
| | | | | | | | * backend/ebook/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in: Replace "evolution:menu-name" prop with "evolution:menu_name". [#39692] * backend/ebook/GNOME_Evolution_Addressbook_LDIF_Importer.server.in.in: Likewise. svn path=/trunk/; revision=20366
* Updated considerably.Ettore Perazzoli2003-03-202-154/+177
| | | | svn path=/trunk/; revision=20365
* (generate_html): Add a %P in the strftimeEttore Perazzoli2003-03-202-2/+7
| | | | | | string for the case when the user wants am/pm format. [#19957] svn path=/trunk/; revision=20364
* s/sgml/xml/ (DOH)Aaron Weber2003-03-203-1/+19
| | | | | | | | 2003-03-19 Aaron Weber <aaron@ximian.com> * Makefile.am: s/sgml/xml/ (DOH) svn path=/trunk/; revision=20363
* argh, make that IS_E_SEXPJeffrey Stedfast2003-03-201-9/+9
| | | | svn path=/trunk/; revision=20362
* s/FILTER_IS_SEXP/E_IS_SEXPJeffrey Stedfast2003-03-201-15/+15
| | | | svn path=/trunk/; revision=20361
* Fix ESExpClass to never be an empty struct. Also make ESExp optionally aJeffrey Stedfast2003-03-204-48/+77
| | | | | | | | | | | | | | | 2003-03-19 Jeffrey Stedfast <fejj@ximian.com> * e-sexp.h: Fix ESExpClass to never be an empty struct. Also make ESExp optionally a subclass of GObject rather than GtkObject (not that we'll probably ever make it so, but for completeness sake?). 2003-03-18 Jeffrey Stedfast <fejj@ximian.com> * e-trie.c (trie_utf8_getc): Don't use __inline__ as it is not always defined. svn path=/trunk/; revision=20360
* If you can't get a pixbuf icon for the folder's type, do not crash.Ettore Perazzoli2003-03-204-27/+27
| | | | | | | | | | | | * evolution-folder-selector-button.c (set_folder): If you can't get a pixbuf icon for the folder's type, do not crash. [#39599] * e-shell.c (impl_Shell__get_displayName): Removed. [#38974] (e_shell_class_init): Do not install anymore. * Evolution-Shell.idl: Remove displayName attribute. svn path=/trunk/; revision=20359
* (mail_config_druid_new): Give the druid theEttore Perazzoli2003-03-202-0/+6
| | | | | | DIALOG hint. [#39741 and friends.] svn path=/trunk/; revision=20357
* changed default language to en_us instead of enRadek Doulik2003-03-192-1/+34
| | | | | | | | | | | | 2003-03-19 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c (spell_load_values): changed default language to en_us instead of en (spell_language_button_press): new handler, ported from 1.2 (spell_setup): use spell_language_enable and spell_language_button_press svn path=/trunk/; revision=20356
* up the column count by one for the underline.Chris Toshok2003-03-192-1/+12
| | | | | | | | | | | 2003-03-18 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-table-model.c (e_select_names_table_model_col_count): up the column count by one for the underline. (e_select_names_table_model_value_at): add handling for underline. svn path=/trunk/; revision=20355
* Fixed a type-o in the krb5 checks.Jeffrey Stedfast2003-03-192-1/+5
| | | | | | | | 2003-03-18 Jeffrey Stedfast <fejj@ximian.com> * configure.in: Fixed a type-o in the krb5 checks. svn path=/trunk/; revision=20354
* Add gthread-2.0, to get any thread-specific flags (like -D_REENTRANT).Not Zed2003-03-192-8/+8
| | | | | | | | | | 2003-03-19 Not Zed <NotZed@Ximian.com> * configure.in (CAMEL_*, E_UTIL_*, ): Add gthread-2.0, to get any thread-specific flags (like -D_REENTRANT). Duh. For #39886. (LIBIBEX*): Removed old libibex stuff. svn path=/trunk/; revision=20353
* fix use of deprecated gtk_menu_append. (card_picker_selection_changed):Chris Toshok2003-03-192-54/+48
| | | | | | | | | | | | | | | | | | | | | 2003-03-18 Chris Toshok <toshok@ximian.com> * gui/component/e-address-popup.c (email_menu_add_option): fix use of deprecated gtk_menu_append. (card_picker_selection_changed): change this to be used with the "changed" signal on GtkTreeSelection. (free_str): yeah, gross. i know. (card_picker_init): this needed some fixing, so the strings don't go away after we insert them into the model. also, connect to the "changed" GtkTreeSelection signal instead of using the nonexistant gtk_tree_selection_set_func. (e_address_popup_construct): gtk_style_unref -> g_object_unref. (popup_size_allocate_cb): nuke. (e_address_popup_ambiguous_email_add): use gtk_window_set_position and let the window manager place the window instead of doing it ourself. svn path=/trunk/; revision=20352
* [ Fixes addressbook bug #39730 ] add response ids to the search baseChris Toshok2003-03-193-55/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-18 Chris Toshok <toshok@ximian.com> [ Fixes addressbook bug #39730 ] * gui/component/ldap-config.glade: add response ids to the search base dialog. * gui/component/addressbook-config.c (addressbook_source_dialog_destroy): use g_object_unref, not gtk_widget_destroy, on the GladeXML. (addressbook_add_server_druid): call gtk_window_set_type_hint GDK_WINDOW_TYPE_HINT_DIALOG so this window looks like a dialog. (editor_modify_cb): no more apply button. (edit_dialog_apply_clicked): nuked. (edit_dialog_close_clicked): rename to _cancal_clicked. (edit_dialog_ok_clicked): call gtk_widget_destroy here instead of calling _cancel_clicked. (addressbook_edit_server_dialog): no more apply button, and close_button -> cancel_button. Also, set the hint to GDK_WINDOW_TYPE_HINT_DIALOG. (ldap_dialog_new): fix compiler warning. (addressbook_dialog_create_sources_table): same. svn path=/trunk/; revision=20351
* e_msg_composer_hdrs_get_subject() now returns const so don't g_free() itJeffrey Stedfast2003-03-195-44/+50
| | | | | | | | | | | | | | | | | | | | | | | 2003-03-18 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (do_exit): e_msg_composer_hdrs_get_subject() now returns const so don't g_free() it :-) (map_default_cb): Same as above. Also, the subject entry no longer derives from GnomeCanvas so eliminate the now unneeded casting to grab the focus of the subject widget. (e_msg_composer_get_subject): Return a const char * now. * e-msg-composer-hdrs.c (create_headers): Make the subject entry into a GtkEntry so we don't have to worry about i18n and other EEntry bugs anymore. Fixes numerous bugs (including #39924). (e_msg_composer_hdrs_set_subject): Use gtk_entry_set_text(). (e_msg_composer_hdrs_to_message_internal): e_msg_composer_hdrs_get_subject() now returns const. (e_msg_composer_hdrs_get_subject): Return a const char *. (entry_changed): e_msg_composer_hdrs_get_subject() now returns const. svn path=/trunk/; revision=20350
* e_msg_composer_get_subject() now returns a const char *, so updateJeffrey Stedfast2003-03-192-5/+8
| | | | | | | | | | 2003-03-18 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (composer_get_message): e_msg_composer_get_subject() now returns a const char *, so update appropriately. svn path=/trunk/; revision=20349
* fix leak, cleanup variable name, and call gtk_window_set_transient_forLarry Ewing2003-03-192-6/+15
| | | | | | | | | | | 2003-03-18 Larry Ewing <lewing@ximian.com> * mail-callbacks.c (do_mail_print): fix leak, cleanup variable name, and call gtk_window_set_transient_for with a parent that is actually a GtkWindow. (mark_as_unseen): use g_source_remove. svn path=/trunk/; revision=20348
* add underline_column field.Chris Toshok2003-03-194-27/+60
| | | | | | | | | | | | | | | | | | | | 2003-03-18 Chris Toshok <toshok@ximian.com> * e-cell-text.h: add underline_column field. * e-cell-date.c: add underline_column to the comment. * e-cell-size.c: add underline_column to the comment. * e-cell-text.c (build_layout): handle underline column. (ect_show_tooltip): same. (ect_set_property): same. (ect_get_property): same. (e_cell_text_class_init): same. (e_cell_text_init): same. (e_cell_text_new): add underline_column to the comment. svn path=/trunk/; revision=20347
* add cursor_idle_id.Chris Toshok2003-03-191-0/+2
| | | | | | | | | | | | | | 2003-03-18 Chris Toshok <toshok@ximian.com> * e-table-item.h (ETableItem): add cursor_idle_id. * e-table-item.c (eti_idle_maybe_show_cursor): save off the cursor_idle_id. (eti_idle_show_cursor_cb): reset the cursor_idle_id to 0. (eti_dispose): remove the cursor_idle_id. Fixes a crash in the evolution select-names dialog. svn path=/trunk/; revision=20346
* use alternating-row-colors="false"Chris Toshok2003-03-194-61/+44
| | | | | | | | | | | | | | | | | | | | | | | | 2003-03-18 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-section.etspec: use alternating-row-colors="false" * gui/component/select-names/e-select-names.h: nuke prototypes for e_select_names_get_source/section. * gui/component/select-names/e-select-names.c (set_book): remove the signal disconnect from here. (addressbook_model_set_uri): same. (e_select_names_init): connect to the search_result signal on the addressbook model. (e_select_names_child_free): disconnect the changed_id signal. (e_select_names_add_section): set the underline column so the recipient tables look like they did when they were EEntry. (e_select_names_add_section): store off the changed_id. (e_select_names_get_section): nuke. (e_select_names_get_source): nuke. svn path=/trunk/; revision=20345
* add cursor_idle_id.Chris Toshok2003-03-191-1/+8
| | | | | | | | | | | | | | 2003-03-18 Chris Toshok <toshok@ximian.com> * e-table-item.h (ETableItem): add cursor_idle_id. * e-table-item.c (eti_idle_maybe_show_cursor): save off the cursor_idle_id. (eti_idle_show_cursor_cb): reset the cursor_idle_id to 0. (eti_dispose): remove the cursor_idle_id. Fixes a crash in the evolution select-names dialog. svn path=/trunk/; revision=20344
* Set the type hint to DIALOG so that Metacity shows this window on top.Jeffrey Stedfast2003-03-192-3/+12
| | | | | | | | | | 2003-03-18 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (mail_config_druid_new): Set the type hint to DIALOG so that Metacity shows this window on top. Fixes bug #39914. svn path=/trunk/; revision=20343
* use GtkMessageDialog instead of gnome_question_dialog, and deal correctlyRodrigo Moya2003-03-192-4/+15
| | | | | | | | | | 2003-03-18 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/send-comp.c (send_component_dialog): use GtkMessageDialog instead of gnome_question_dialog, and deal correctly with the dialog's response. svn path=/trunk/; revision=20342
* mimic Gtk's sort arrows (ethi_start_drag): mimic Gtk's sort arrowsMike Kestner2003-03-191-8/+8
| | | | | | | | | 2003-03-18 Mike Kestner <mkestner@ximian.com> * e-table-header-item.c (ethi_draw): mimic Gtk's sort arrows (ethi_start_drag): mimic Gtk's sort arrows svn path=/trunk/; revision=20340
* Swap OK/Cancel buttons to comply with the HIG.Ettore Perazzoli2003-03-192-9/+14
| | | | svn path=/trunk/; revision=20339
* kill warning by sinking objectsJP Rosevear2003-03-192-0/+9
| | | | | | | | | 2003-03-18 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (addrconduit_load_configuration): kill warning by sinking objects svn path=/trunk/; revision=20338
* null start_path (etsm_invert_selection): null start_pathMike Kestner2003-03-191-5/+11
| | | | | | | | | | | | | 2003-03-18 Mike Kestner <mkestner@ximian.com> * e-tree-selection-model.c (select_single_path): null start_path (etsm_invert_selection): null start_path (etsm_toggle_single_row): null start_path (etsm_real_move_selection_end): start at start_path, not cursor (etsm_set_selection_end): set start_path (e_tree_selection_model_init): null start_path svn path=/trunk/; revision=20337
* Fix errors in Czech translationMiloslav Trmac2003-03-182-469/+459
| | | | svn path=/trunk/; revision=20336
* Fixes #34505Rodrigo Moya2003-03-182-7/+34
| | | | | | | | | | | | | | | | | 2003-03-18 Rodrigo Moya <rodrigo@ximian.com> Fixes #34505 * gui/alarm-notify/alarm-queue.c (remove_queued_alarm): added removal of the alarm itself in the calendar if the (new) argument says so. Also, set expecting_update flag to TRUE. (add_component_alarms): initialize expecting_update to FALSE. (remove_alarms): don't remove the component if expecting_update is TRUE. (obj_updated_cb, notify_dialog_cb, procedure_notification): adapted to changes in remove_queued_alarm. svn path=/trunk/; revision=20335
* disconnect/keep track of search result signal id. (e_select_names_init):Not Zed2003-03-183-5/+38
| | | | | | | | | | | | | | 2003-03-18 Not Zed <NotZed@Ximian.com> * gui/component/select-names/e-select-names.c (set_book, addressbook_model_set_uri): disconnect/keep track of search result signal id. (e_select_names_init): Keep track of various signals, particularly status signal. (e_select_names_dispose): disconnect from any signals that are still active. Fixes crash for #38202. svn path=/trunk/; revision=20334
* validate rule & rule is unique. Workaround for #39464. Should this justNot Zed2003-03-182-0/+23
| | | | | | | | | | 2003-03-18 Not Zed <NotZed@Ximian.com> * mail-vfolder.c (new_rule_clicked): validate rule & rule is unique. Workaround for #39464. Should this just use rule_context_add_rule_gui?? svn path=/trunk/; revision=20333
* use the same code as in filter-rule to enforce unique names for allNot Zed2003-03-182-1/+18
| | | | | | | | | 2003-03-18 Not Zed <NotZed@Ximian.com> * rule-context.c (new_rule_response): use the same code as in filter-rule to enforce unique names for all rules/vfolders. svn path=/trunk/; revision=20332
* Initial Portuguese translation update.Duarte Loreto2003-03-182-7183/+7342
| | | | | | | | 2003-03-18 Duarte Loreto <happyguy_pt@hotmail.com> * pt.po: Initial Portuguese translation update. svn path=/trunk/; revision=20331
* Part of fix for #34095Hans Petter Jansson2003-03-183-3/+17
| | | | | | | | | | | | | | | 2003-03-17 Hans Petter Jansson <hpj@ximian.com> Part of fix for #34095 * scripts/mkderivedparameters.pl: Generate code to free old string value when a new one is set. * src/libical/icalperiod.c (icalperiodtype_as_ical_string): Callers expect a temporary string, and thus won't free it, so allocate returned memory from the temporary ring. svn path=/trunk/; revision=20330
* Fixes #34095Hans Petter Jansson2003-03-189-7/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-17 Hans Petter Jansson <hpj@ximian.com> Fixes #34095 * gui/e-meeting-model.c (append_row): Don't leak meeting attendees; unref the attendee after it's assigned to model. * gui/dialogs/meeting-page.c (meeting_page_destroy): Free the actual array of deleted attendees. * gui/dialogs/event-editor.c (event_editor_destroy): Free the private structure. * gui/itip-utils.c (comp_description): Rework free/busy information composer so we can free date/time information after use. Then free it. (itip_send_comp): Free the allocated CORBA buffer for attachment data. * gui/dialogs/comp-editor-util.c (comp_editor_contacts_to_component): Free the destination contacts string once we're done with it. * gui/e-calendar-table.c (invisible_destroyed): Unref the invisible. * gui/e-day-view.c (invisible_destroyed): Ditto. * gui/e-week-view.c (invisible_destroyed): Ditto. svn path=/trunk/; revision=20329
* Fixes #39757Hans Petter Jansson2003-03-182-6/+18
| | | | | | | | | | | | 2003-03-17 Hans Petter Jansson <hpj@ximian.com> Fixes #39757 * gui/dialogs/alarm-page.c (sensitize_buttons): Somehow this code reverted to thinking it was dealing with a GtkCList, when in reality it's a GtkTreeView. Fix that, so the buttons are sensitized correctly. svn path=/trunk/; revision=20328
* Fixes #39736Hans Petter Jansson2003-03-182-1/+8
| | | | | | | | | | | 2003-03-17 Hans Petter Jansson <hpj@ximian.com> Fixes #39736 * gui/e-day-view.c: Reduce the size of the large-digits font so it's en par with the one in 1.2. svn path=/trunk/; revision=20327
* unhook from the html engine signals here, before we redisplay the message.Not Zed2003-03-182-7/+16
| | | | | | | | | | | 2003-03-18 Not Zed <NotZed@Ximian.com> * mail-search.c (mail_search_destroy): unhook from the html engine signals here, before we redisplay the message. Also make sure this processing only happens once. For #39759. (mail_search_finalise): dont unhook from signals here. svn path=/trunk/; revision=20326
* use a hack to find out if the message-list was focussed before weNot Zed2003-03-183-3/+26
| | | | | | | | | | | 2003-03-12 Not Zed <NotZed@Ximian.com> * mail-callbacks.c (expunge_folder): use a hack to find out if the message-list was focussed before we desensitise it. (expunged_folder): If the message-list was focussed before, re-grab the focus. For bug #29564. svn path=/trunk/; revision=20325
* Instead of using gtk_widget_unparent(), remove the widget from theHans Petter Jansson2003-03-183-3/+3
| | | | | | | | | | | | | | | | 2003-03-17 Hans Petter Jansson <hpj@ximian.com> * gal-define-views-dialog.c (gal_define_views_dialog_init): Instead of using gtk_widget_unparent(), remove the widget from the container using gtk_container_remove(). This fixes crashers where the dialog is being used. * gal-view-instance-save-as-dialog.c (gal_view_instance_save_as_dialog_init): Ditto. * gal-view-new-dialog.c (gal_view_new_dialog_init): Ditto. svn path=/trunk/; revision=20324
* Set the default window size to something reasonable (350x400?). Fixes bugJeffrey Stedfast2003-03-182-0/+4
| | | | | | | | | 2003-03-17 Jeffrey Stedfast <fejj@ximian.com> * rule-editor.c (rule_editor_construct): Set the default window size to something reasonable (350x400?). Fixes bug #39808. svn path=/trunk/; revision=20323
* Fixed to work properly. Fixes bug #39654.Jeffrey Stedfast2003-03-182-17/+27
| | | | | | | | | 2003-03-17 Jeffrey Stedfast <fejj@ximian.com> * vfolder-rule.c (source_remove): Fixed to work properly. Fixes bug #39654. svn path=/trunk/; revision=20321
* (mail_signature_editor): Give the editorEttore Perazzoli2003-03-182-0/+6
| | | | | | the GDK_WINDOW_TYPE_HINT_DIALOG hint. [#38926] svn path=/trunk/; revision=20320
* If we fail to load the pixbuf, don't use it (stops some g_warnings).Jeffrey Stedfast2003-03-182-0/+20
| | | | | | | | | 2003-03-17 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (pixbuf_gen_idle): If we fail to load the pixbuf, don't use it (stops some g_warnings). svn path=/trunk/; revision=20319
* Part of a fix for bug #39809Jeffrey Stedfast2003-03-183-3/+9
| | | | | | | | | | | | 2003-03-17 Jeffrey Stedfast <fejj@ximian.com> Part of a fix for bug #39809 * mail-vfolder.c (vfolder_edit): Don't add the cancel button here. * mail-callbacks.c (filter_edit): Don't add the cancel button here. svn path=/trunk/; revision=20316
* Always add a Cancel button here, but if !enable_undo - make the responseJeffrey Stedfast2003-03-184-43/+55
| | | | | | | | | | | | 2003-03-17 Jeffrey Stedfast <fejj@ximian.com> * rule-editor.c (rule_editor_construct): Always add a Cancel button here, but if !enable_undo - make the response id GTK_RESPONSE_CANCEL rather than GTK_RESPONSE_REJECT (which does undo). This mimics the behaviour that was done in the mail/ code previously. Fixes bug #39809. svn path=/trunk/; revision=20315
* Updated Spanish translation by Francisco Javier FernandezPablo Gonzalo del Campo2003-03-182-77/+83
| | | | | | | | | 2003-03-17 Pablo Gonzalo del Campo <pablodc@bigfoot.com> * es.po: Updated Spanish translation by Francisco Javier Fernandez <serrador@arrakis.es> svn path=/trunk/; revision=20314
* Don't crash if there's no timezone set initially. #39783Dan Winship2003-03-182-4/+11
| | | | | | | * e-timezone-dialog/e-timezone-dialog.c (on_map_motion): Don't crash if there's no timezone set initially. #39783 svn path=/trunk/; revision=20313
* Removed unused variable left over from my previous fix.Jeffrey Stedfast2003-03-183-15/+20
| | | | | | | | | | | | | | | 2003-03-17 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-part.c (process_header): Removed unused variable left over from my previous fix. * providers/smtp/camel-smtp-transport.c (smtp_send_to): Don't pass 'has_8bit_parts' to smtp_data() anymore. (smtp_data): No longer takes 'has_8bit_parts' argument. Ignore whether or not the message has 8bit parts when deciding what the required encoding type we need to enforce. Fixes bug #39744. svn path=/trunk/; revision=20312
* Lookup the handler for the type. If we don't have a registered handler orJeffrey Stedfast2003-03-184-1/+23
| | | | | | | | | | | | | | | 2003-03-17 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (do_external_viewer): Lookup the handler for the type. If we don't have a registered handler or if the registered handler is not meant to be handled via a bonobo component, don't use a bonobo component. * mail-format.c (mail_lookup_handler): If we register a new handler that is to be handled by a bonobo component, set handler->is_bonobo to TRUE. svn path=/trunk/; revision=20311
* More date fixesKjartan Maraas2003-03-181-4/+1
| | | | svn path=/trunk/; revision=20310
* More date format fixesKjartan Maraas2003-03-171-2/+2
| | | | svn path=/trunk/; revision=20308
* Updated Norwegian translation.Kjartan Maraas2003-03-173-4878/+5443
| | | | | | | | 2003-03-17 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian translation. svn path=/trunk/; revision=20307
* When declaring a line to be part of "extended" because we don't know whatDan Winship2003-03-172-9/+15
| | | | | | | | | | * ename/e-address-western.c (e_address_western_parse): When declaring a line to be part of "extended" because we don't know what else to call it, keep the preceding "\n" so that the address still looks the same when we reassemble the pieces later. Fixes handling of non-US addresses svn path=/trunk/; revision=20306
* use bonobo_main_quit, and clean this up a bit.Chris Toshok2003-03-152-3/+13
| | | | | | | | | 2003-03-14 Chris Toshok <toshok@ximian.com> * tools/evolution-addressbook-export.c (save_cards): use bonobo_main_quit, and clean this up a bit. svn path=/trunk/; revision=20305
* ugh, we need to make sure the file is opened for writing. or the flagsChris Toshok2003-03-151-1/+1
| | | | | | | | | 2003-03-14 Chris Toshok <toshok@ximian.com> * gal/util/e-util.c (e_write_file): ugh, we need to make sure the file is opened for writing. or the flags with O_WRONLY. svn path=/trunk/; revision=20304
* save and restore expanded state so parents don't collapse when childrenMike Kestner2003-03-151-2/+7
| | | | | | | | | | 2003-03-14 Mike Kestner <mkestner@ximian.com> * e-tree-table-adapter.c (update_node): save and restore expanded state so parents don't collapse when children are added to them. (e_tree_table_adapter_node_is_expanded): guard against null nodes. svn path=/trunk/; revision=20303
* Add (e_storage_declare_has_subfolders): Rename fromDan Winship2003-03-154-7/+94
| | | | | | | | | | | | | | | | | * e-storage.c (e_storage_get_has_subfolders): Add (e_storage_declare_has_subfolders): Rename from e_storage_has_subfolders to make it clearer that this is a setter, not a getter. (Can't call it e_storage_set_has_subfolders because that sounds like it belongs in e-storage-set.) * e-corba-storage.c (impl_StorageListener_notifyHasSubfolders): update for e_storage_declare_has_subfolders name change (get_folder): Override the default EStorage implementation: if asked for a folder under a not-yet-expanded folder, attempt to force the parent(s) to expand so that the child is available. Fixes part of #30415 svn path=/trunk/; revision=20302
* Fixes #39740Rodrigo Moya2003-03-156-342/+18
| | | | | | | | | | | | | | | | | | | | 2003-03-14 Rodrigo Moya <rodrigo@ximian.com> Fixes #39740 * gui/e-meeting-model.c (is_cell_editable): check row number is valid before using it as index for the GPtrArray. 2003-03-14 Rodrigo Moya <rodrigo@ximian.com> Fixes #39356 * gui/Makefile.am: * gui/tasks-migrate.[ch]: removed tasks migration obsolete stuff. * gui/calendar-component.c (owner_set_cb): don't call tasks_migrate. svn path=/trunk/; revision=20301
* Update for EvolutionStorage changeDan Winship2003-03-152-9/+10
| | | | | | | * component-factory.c (storage_connect, storage_connected): Update for EvolutionStorage change svn path=/trunk/; revision=20299
* mkdir views and subdirsMike Kestner2003-03-152-0/+9
| | | | | | | | 2003-03-14 Mike Kestner <mkestner@ximian.com> * Makefile.am (install-data-hook): mkdir views and subdirs svn path=/trunk/; revision=20298
* add a Bonobo::Listener to this like the other async interfaces, ratherDan Winship2003-03-159-63/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Evolution-Storage.idl (asyncOpenFolder): add a Bonobo::Listener to this like the other async interfaces, rather than having a hacky way to signal failure. * evolution-storage.c (impl_Storage_asyncOpenFolder): Update to take a listener and emit it as part of the signal (evolution_storage_class_init): update OPEN_FOLDER signal prototype. * e-shell-marshal.list (NONE:POINTER,STRING): add, for changed EvolutionStorage open_folder signal * e-storage.c (e_storage_async_open_folder): add a callback arg (impl_async_open_folder): call the callback with NOTIMPLEMENTED. (class_init): remove the CLOSE_FOLDER signal (e_storage_has_subfolders): Don't emit CLOSE_FOLDER since it doesn't exist any more, and this function is used for that side effect any more anyway. * e-corba-storage.c (async_open_folder): add the callback arg and create a proper closure. (async_open_folder_idle): Call the callback in case of error. Create a listener and pass that to the CORBA call. (async_open_cb): Listener callback. * e-storage-set.c (storage_set_view_folder_opened): Pass a callback to e_storage_async_open_folder. (async_open_cb): emit CLOSE_FOLDER if the open failed (storage_close_folder_cb): Remove this since the signal no longer exists. svn path=/trunk/; revision=20297
* Use header_contentid_decode() as this new function should be safer thanJeffrey Stedfast2003-03-154-15/+82
| | | | | | | | | | | | | | | | | 2003-03-13 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-part.c (process_header): Use header_contentid_decode() as this new function should be safer than the hack that we had before. * camel-mime-utils.c (header_contentid_decode): New function to try and parse a content-id string in such a way as to work around some of the known bugs in other MIME implementations. Try to be as "safe" as we can - ie. don't allow for more than 1 @ (since the mailer uses "@@@%d" as a fake content-id value for parts without content-ids) and don't allow for invalid content-type chars. svn path=/trunk/; revision=20295
* use access() like camelMike Kestner2003-03-153-8/+10
| | | | | | | | | | | | | | | 2003-03-14 Mike Kestner <mkestner@ximian.com> * gal/util/e-util.c (e_mkdir_hier): use access() like camel 2003-03-14 Mike Kestner <mkestner@ximian.com> * gal-view-collection.c (gal_view_collection_load): check failure on e_create_directory call and warn. * gal-view-instance.c (save_current_view): check for failure and warn. svn path=/trunk/; revision=20291
* Updated to msg 1100.Marco Ciampa2003-03-152-97/+101
| | | | svn path=/trunk/; revision=20290
* set_release on the sequence we create.Rodrigo Moya2003-03-152-0/+4
| | | | | | | | | 2003-03-14 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-factory.c (impl_CalFactory_uriList): set_release on the sequence we create. svn path=/trunk/; revision=20288
* Update Czech translationMiloslav Trmac2003-03-142-79/+81
| | | | svn path=/trunk/; revision=20287
* Updated Spanish translation by Francisco Javier FernandezPablo Gonzalo del Campo2003-03-142-1594/+1654
| | | | | | | | | 2003-03-14 Pablo Gonzalo del Campo <pablodc@bigfoot.com> * es.po: Updated Spanish translation by Francisco Javier Fernandez <serrador@arrakis.es>. svn path=/trunk/; revision=20286
* don't leak the string sequence returned by CalFactory_uriList.Rodrigo Moya2003-03-142-1/+8
| | | | | | | | | 2003-03-14 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-client.c (cal_client_uri_list): don't leak the string sequence returned by CalFactory_uriList. svn path=/trunk/; revision=20285
* pass FALSE for expand to e_summary_shown_add_node. ditto,Mike Kestner2003-03-144-10/+20
| | | | | | | | | | | | | 2003-03-13 Mike Kestner <mkestner@ximian.com> * e-summary-preferences.c (fill_rdf_etable): pass FALSE for expand to e_summary_shown_add_node. * e-summary-shown.c (make_table): ditto, set_expanded_default to FALSE. (add_node): only call e_tree_node_set_expanded is expanded != default. * e-summary-weather.c (*_fill_etable): pass FALSE for expand to e_summary_shown_add_node. svn path=/trunk/; revision=20284
* Default the composer's title to "Create a message". Fixes bug #39696.Jeffrey Stedfast2003-03-142-1/+7
| | | | | | | | | 2003-03-13 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (create_composer): Default the composer's title to "Create a message". Fixes bug #39696. svn path=/trunk/; revision=20283
* use set_entry_changed_signal_email for the email entry so the email getsChris Toshok2003-03-142-1/+18
| | | | | | | | | | | | 2003-03-13 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c (set_entry_changed_signals): use set_entry_changed_signal_email for the email entry so the email gets saved out. (set_entry_changed_signal_email): new function, analogous to set_entry_changed_signal_phone, but for email. svn path=/trunk/; revision=20282
* (generate_html): Changed so its printf()sEttore Perazzoli2003-03-142-24/+23
| | | | | | | are protected against default_uri being NULL. Also, no need to do e_utf8_from_locale_string() anymore. svn path=/trunk/; revision=20281
* Don't add bogus uids to the uid array. Might fix bug #38868 (it's the onlyJeffrey Stedfast2003-03-142-8/+14
| | | | | | | | | | | 2003-03-13 Jeffrey Stedfast <fejj@ximian.com> * camel-folder.c (get_uids): Don't add bogus uids to the uid array. Might fix bug #38868 (it's the only way I can figure that camel_folder_get_message_info() could possibly return NULL for the Outbox folder). svn path=/trunk/; revision=20280
* reverted mail-display.c and mail-format.c fixes - pondering better fixesJeffrey Stedfast2003-03-143-45/+10
| | | | svn path=/trunk/; revision=20279
* Updated Slovak translation.Stanislav Visnovsky2003-03-142-5149/+5216
| | | | | | | | 2003-03-13 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz> * sk.po: Updated Slovak translation. svn path=/trunk/; revision=20277
* kill an unused variableDan Winship2003-03-141-1/+0
| | | | svn path=/trunk/; revision=20276
* Updated to use xmlDocDumpFormatMemory() so that we get structured xmlJeffrey Stedfast2003-03-141-1/+1
| | | | | | | | | | 2003-03-13 Jeffrey Stedfast <fejj@ximian.com> * gal/util/e-xml-utils.c (e_xml_save_file): Updated to use xmlDocDumpFormatMemory() so that we get structured xml rather than just a clump of xml mess. svn path=/trunk/; revision=20275
* Make this depend on Makefile so it gets regenerated if you switch fromDan Winship2003-03-142-1/+7
| | | | | | | | * Makefile.am (GNOME_Evolution_Wombat.server.in.in): Make this depend on Makefile so it gets regenerated if you switch from --without-openldap to --with-openldap svn path=/trunk/; revision=20274
* Update Czech translationMiloslav Trmac2003-03-142-181/+181
| | | | svn path=/trunk/; revision=20272
* use a weak ref instead of connecting to backend's "destroy" signal.Rodrigo Moya2003-03-132-9/+12
| | | | | | | | | | | 2003-03-13 Rodrigo Moya <rodrigo@ximian.com> * pcs/query-backend.c (query_backend_new): use a weak ref instead of connecting to backend's "destroy" signal. (backend_destroyed_cb, query_destroyed_cb): changed to be weak reference callbacks. svn path=/trunk/; revision=20271
* [ fixes bug #20210 ] change "Edit Contact Info" to "View Contact Info", asChris Toshok2003-03-132-2/+11
| | | | | | | | | | | | | 2003-03-12 Chris Toshok <toshok@ximian.com> [ fixes bug #20210 ] * gui/component/select-names/e-select-names-popup.c (popup_menu_card): change "Edit Contact Info" to "View Contact Info", as you can't always edit the contact (if the book is read only). (popup_menu_list): same, but for a contact list. svn path=/trunk/; revision=20270
* Security vulnerability fixes.Jeffrey Stedfast2003-03-132-0/+12
| | | | | | | | | | | | | | | 2003-03-12 Jeffrey Stedfast <fejj@ximian.com> Security vulnerability fixes. * mail-display.c (do_external_viewer): Make sure that we don't launch a bonobo control to view a mime-type that we handle internally, otherwise maliciously formed HTML mail using <object> tags could potentially launch a bonobo vontrol to view the mime part bypassing any checks that Evolution might do on the data normally. svn path=/trunk/; revision=20269
* Security vulnerability fixes.Jeffrey Stedfast2003-03-132-10/+33
| | | | | | | | | | | | | | 2003-03-12 Jeffrey Stedfast <fejj@ximian.com> Security vulnerability fixes. * mail-format.c (handle_text_html, attachment_header) (handle_image, handle_via_bonobo): Encode the result from get_cid() so that malicious Content-Id strings cannot bypass the user's preference to not load http images, force a bonobo control to load passing it arbitrary data, etc. svn path=/trunk/; revision=20268
* revert a commit that I didn't mean to doJeffrey Stedfast2003-03-131-4/+4
| | | | svn path=/trunk/; revision=20267
* Rewritten to do the same as the composer's build_message() code.Jeffrey Stedfast2003-03-132-35/+69
| | | | | | | | | 2003-03-12 Jeffrey Stedfast <fejj@ximian.com> * mail-signature-editor.c (menu_file_save_cb): Rewritten to do the same as the composer's build_message() code. svn path=/trunk/; revision=20266
* Various small fixes leading up to a real fix.Jeffrey Stedfast2003-03-133-26/+41
| | | | | | | | 2003-03-12 Jeffrey Stedfast <fejj@ximian.com> * mail-signature-editor.c: Various small fixes leading up to a real fix. svn path=/trunk/; revision=20265
* Update for a libxml2 change that was making this code g_warn a lotDan Winship2003-03-132-1/+6
| | | | | | | * e-xml-hash-utils.c (e_xml_to_hash): Update for a libxml2 change that was making this code g_warn a lot svn path=/trunk/; revision=20264
* New, to free/thaw the ETree models. (e_summary_shown_add_node): Don'tDan Winship2003-03-135-17/+40
| | | | | | | | | | | | | | * e-summary-shown.c (e_summary_shown_freeze, e_summary_shown_thaw): New, to free/thaw the ETree models. (e_summary_shown_add_node): Don't freeze/thaw around the single add here. That doesn't really help much. * e-summary-preferences.c (fill_rdf_etable): Freeze/thaw the ESummaryShown while filling it in. * e-summary-weather.c (e_summary_weather_fill_etable): Likewise. svn path=/trunk/; revision=20263
* don't use GNOME_STOCK_* defines, but GTK_STOCK_*.Rodrigo Moya2003-03-132-3/+8
| | | | | | | | | 2003-03-12 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/save-comp.c (save_component_dialog): don't use GNOME_STOCK_* defines, but GTK_STOCK_*. svn path=/trunk/; revision=20262
* corrected button ordering and changed the return type to be aRodrigo Moya2003-03-134-10/+25
| | | | | | | | | | | | 2003-03-12 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/save-comp.[ch] (save_component_dialog): corrected button ordering and changed the return type to be a GtkResponseType. * gui/dialogs/comp-editor.c (prompt_to_save_changes): adapted to changes in save_component_dialog. svn path=/trunk/; revision=20261
* [ fixes bug #39507 ] new function, sync the models after we do a search.Chris Toshok2003-03-122-0/+49
| | | | | | | | | | | 2003-03-11 Chris Toshok <toshok@ximian.com> [ fixes bug #39507 ] * gui/component/select-names/e-select-names.c (search_result): new function, sync the models after we do a search. (addressbook_model_set_uri): connect to search_result. svn path=/trunk/; revision=20260
* fix compiler warnings about deprecated functions.Chris Toshok2003-03-125-77/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-11 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names.c (e_select_names_init): fix compiler warnings about deprecated functions. (e_select_names_child_free): unref the table model. (remove_address): re-enable. (section_right_click_cb): this is an ETable callback now. (e_select_names_add_section): remove a gross gross awful hack, and make the recipient tables ETables instead EEntry's. We lose the nice underlining, but we can add that back in as another ETable style (like strikeout and bold), and we also fix the longstanding scrolling problems (like bug #25148) and can finally remove addresses by double clicking on them (which is also a bug someplace I think.. dunno the # offhand.) * gui/component/select-names/e-select-names-table-model.c (clear_info): always set the count to -1, regardless of what model->data is. * gui/component/select-names/e-select-names-model.c: remove some unused enums. * gui/component/select-names/Makefile.am (etspec_DATA): add e-select-names-section.etspec * gui/component/select-names/e-select-names-section.etspec: new file, spec for the To:/Cc:/Bcc: etable's in the select-names dialog. svn path=/trunk/; revision=20259
* removed, it was double-freeing the key. (save_object): Just save theNot Zed2003-03-122-11/+21
| | | | | | | | | | | | | | | 2003-03-12 Not Zed <NotZed@Ximian.com> * camel-object.c (remove_bag): removed, it was double-freeing the key. (save_object): Just save the object in an array. (camel_object_bag_destroy): first save the object bag's objects in a list, then remove them one at a time from the bag since we can't remove hash table entries while we're in a foreach (PITA glib shit). For #39486. (camel_object_bag_*): killed some warnings. svn path=/trunk/; revision=20258
* If the wizard factory returns NULL, we'll get a NIL wizard but noDan Winship2003-03-122-20/+51
| | | | | | | | | | | * e-shell-startup-wizard.c (start_wizard): If the wizard factory returns NULL, we'll get a NIL wizard but no exception. Deal with that case. (ie, try the next wizard). (finish_func): Simplify for e-timezone-dialog changes. (prepare_timezone_page): If there is already a timezone set in gconf, set the map to point to it. (For connector autoconfig.) svn path=/trunk/; revision=20257
* Update for timezone dialog API changes.Dan Winship2003-03-123-102/+38
| | | | | | | | | * gui/calendar-config.c (on_timezone_set): Update for timezone dialog API changes. * gui/e-timezone-entry.c: Likewise svn path=/trunk/; revision=20256
* Various cleanups. (e_timezone_dialog_get_timezone): Return anDan Winship2003-03-123-159/+120
| | | | | | | | | | * e-timezone-dialog/e-timezone-dialog.c: Various cleanups. (e_timezone_dialog_get_timezone): Return an icaltimezone. (e_timezone_dialog_set_timezone): Take an icaltimezone (e_timezone_dialog_construct): Set a minimum size on the scrolled window svn path=/trunk/; revision=20255
* Use GtkArrow instead of pixmaps Use GtkArrow instead of pixmapsRodney Dawes2003-03-125-84/+11
| | | | | | | | | | | 2003-03-10 Rodney Dawes <dobey@ximian.com> * e-calendar.c: Use GtkArrow instead of pixmaps * e-combo-button.c: Use GtkArrow instead of pixmaps * e-filter-bar.c: gtk_window_set_policy () is deprecated * e-url-entry.c: Load the icon in a pixbuf instead of GdkPixmap svn path=/trunk/; revision=20254
* Use gtk_window_set_transient_for() on the druid with the settings dialogJeffrey Stedfast2003-03-122-3/+18
| | | | | | | | | | 2003-03-11 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (account_add_clicked): Use gtk_window_set_transient_for() on the druid with the settings dialog as the parent window. svn path=/trunk/; revision=20253
* Updated German translation.Christian Neumair2003-03-122-3217/+3484
| | | | svn path=/trunk/; revision=20252
* Use GnomeIconList instead of EIconList so we don't have to maintain anJeffrey Stedfast2003-03-126-2887/+70
| | | | | | | | | | | | 2003-03-11 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c: Use GnomeIconList instead of EIconList so we don't have to maintain an exact copy/paste of GnomeIconList ourselves. I don't udnerstand why we ever did. * e-icon-list.[c,h]: Removed. svn path=/trunk/; revision=20251
* issue more descriptive warnings.Rodrigo Moya2003-03-122-2/+7
| | | | | | | | | 2003-03-11 Rodrigo Moya <rodrigo@ximian.com> * gui/gnome-cal.c (gnome_calendar_open): issue more descriptive warnings. svn path=/trunk/; revision=20250
* Updated revision to string 600Marco Ciampa2003-03-112-20/+24
| | | | svn path=/trunk/; revision=20248
* Updated phone number. Bug #37204.Not Zed2003-03-112-2/+4
| | | | | | | | | 2003-03-11 Not Zed <NotZed@Ximian.com> * backend/pas/pas-backend-file.c (INITIAL_VCARD): Updated phone number. Bug #37204. svn path=/trunk/; revision=20247
* Remove the yes/no buttons. Fixes bug #39382.Jeffrey Stedfast2003-03-112-1/+4
| | | | | | | | | 2003-03-10 Jeffrey Stedfast <fejj@ximian.com> * mail-signature-editor.c (do_exit): Remove the yes/no buttons. Fixes bug #39382. svn path=/trunk/; revision=20246
* New callback function to handle the checkbox getting toggled.Jeffrey Stedfast2003-03-112-4/+62
| | | | | | | | | | | | | 2003-03-10 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (account_able_toggled): New callback function to handle the checkbox getting toggled. (mail_accounts_treeview_new): Save the toggle renderer so we can later connect to it's toggled signal. (mail_accounts_tab_construct): Connect to the toggle-cell's toggled signal. Fixes bug #39325. svn path=/trunk/; revision=20245
* added a commentJeffrey Stedfast2003-03-111-0/+2
| | | | svn path=/trunk/; revision=20241
* New. New.Ettore Perazzoli2003-03-115-2/+17
| | | | | | | * local/Calendar/calendar.ics: New. * local/Calendar/tasks.ics: New. svn path=/trunk/; revision=20234
* Added prototype for show_pango_rectangle()Jeffrey Stedfast2003-03-101-0/+3
| | | | | | | | 2003-03-10 Jeffrey Stedfast <fejj@ximian.com> * gal/e-text/e-text.c: Added prototype for show_pango_rectangle() svn path=/trunk/; revision=20233
* if we already have the client loaded, don't remove it, just increment itsRodrigo Moya2003-03-103-50/+72
| | | | | | | | | | | | | | | | | | | | 2003-03-09 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): if we already have the client loaded, don't remove it, just increment its reference count. * gui/alarm-notify/alarm-queue.c (remove_queued_alarm): added new argument to specify whether we want the component's structure removed if no more alarms exist, and only free the structure if TRUE. (remove_alarms): added same new argument and pass it over to remove_queued_alarm. (remove_comp, obj_updated_cb): passed new argument to remove_alarms. (procedure_notification): passed new argument to remove_queued_alarm. (obj_removed_cb): set all freed pointers to NULL. (notify_dialog_cb): only remove the alarm if the pointers are not NULL. svn path=/trunk/; revision=20232
* Fix the response code, because some bastard changed the filter/* code andNot Zed2003-03-102-1/+7
| | | | | | | | | | 2003-03-11 Not Zed <NotZed@Ximian.com> * mail-vfolder.c (vfolder_editor_response): Fix the response code, because some bastard changed the filter/* code and didn't fix the callers. Partial fix for #39165. svn path=/trunk/; revision=20231
* go to the proper level of child node before looking for rule sets, fix forNot Zed2003-03-102-216/+222
| | | | | | | | | 2003-03-11 Not Zed <NotZed@Ximian.com> * rule-context.c (revert): go to the proper level of child node before looking for rule sets, fix for #39165 to make 'cancel' work. svn path=/trunk/; revision=20230
* re-enable in build, include e-destination.h. For #39256.Not Zed2003-03-102-2/+6
| | | | | | | | | 2003-03-11 Not Zed <NotZed@Ximian.com> * gui/widgets/e-addressbook-util.c (e_addressbook_send_card_list): re-enable in build, include e-destination.h. For #39256. svn path=/trunk/; revision=20229
* Removed the debug printf. Added a case for the composer. Part of fixingNot Zed2003-03-102-2/+6
| | | | | | | | | | 2003-03-10 Not Zed <NotZed@Ximian.com> * component-factory.c (factory): Removed the debug printf. Added a case for the composer. Part of fixing #39256. svn path=/trunk/; revision=20228
* add send_cb/save_draft_cb arguments. (impl_Composer_send): use the localNot Zed2003-03-103-72/+55
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-11 Not Zed <NotZed@Ximian.com> * evolution-composer.c (evolution_composer_new): add send_cb/save_draft_cb arguments. (impl_Composer_send): use the local send_cb. (evolution_composer_init): dont init send, save-draft signals here. (evolution_composer_new): init signals here, fix params to composer_construct(). (evolution_composer_factory_init): remove, part of mailer now. (factory_fn): same. (finalise): disconnect from callbacks first. * evolution-composer.h: add send_cb/save_draft_cb to composer object. 2003-03-10 Not Zed <NotZed@Ximian.com> * evolution-composer.c (finalise): from destroy. (evolution_composer_class_init): gtkobject->gobject stuff. (evolution_composer_new): remove old redundant stuff. svn path=/trunk/; revision=20227
* removed main.c from the build.Not Zed2003-03-104-35/+9
| | | | | | | | | | | | | 2003-03-10 Not Zed <NotZed@Ximian.com> * Makefile.am (libevolution_mail_la_SOURCES): removed main.c from the build. * component-factory.c (component_factory_init): Remove, not used anymore, causes linking problems some places. (factory): Removed the debug printf. svn path=/trunk/; revision=20226
* Doh! If inptr == pos + 1, then return FALSE (before it was checking forJeffrey Stedfast2003-03-102-1/+7
| | | | | | | | | | 2003-03-09 Jeffrey Stedfast <fejj@ximian.com> * camel-url-scanner.c (camel_url_addrspec_end): Doh! If inptr == pos + 1, then return FALSE (before it was checking for inptr == pos, but it will never be pos). svn path=/trunk/; revision=20225
* fix drawing bugs, and disable the stupid looking focus rect, since I can'tChris Toshok2003-03-081-14/+14
| | | | | | | | | | | | | | 2003-03-07 Chris Toshok <toshok@ximian.com> * gal/e-text/e-text.c (e_text_draw): fix drawing bugs, and disable the stupid looking focus rect, since I can't find a theme that uses them. (e_text_event): force redraw in the focus-out case if the cursor is shown (so we can erase it), and also trick ourselves into drawing it immediately (by setting it to FALSE) in the focus-in case. svn path=/trunk/; revision=20223
* removed erroneous static prototype (it is now supposed to be a public symbol)Jeffrey Stedfast2003-03-081-4/+0
| | | | svn path=/trunk/; revision=20222
* All this snot just to fix bug #38925 and an attempt to fix bug #38926 (butJeffrey Stedfast2003-03-089-130/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-07 Jeffrey Stedfast <fejj@ximian.com> All this snot just to fix bug #38925 and an attempt to fix bug #38926 (but it seems no matter what I do, I can't work around the bonoboness/modality/whatever of the shell's preferences dialog). * mail-account-gui.c (sig_add_new_signature): Get the toplevel parent GtkWindow and pass that along to mail_composer_prefs_new_signature() so that window layering can be done correctly. * mail-composer-prefs.c (mail_composer_prefs_new_signature): Simplify. We don't want to add the signature to the list until after they have saved. (sig_edit_cb): Pass FALSE as the is_new argument to mail_signature_editor(). (sig_event_client): Listen for signatures being added. (mail_composer_prefs_new_signature): Now takes a GtkWindow arg as the first arg rather than a MailComposerPrefs arg since we don't really need it to be a MailComposerPrefs object. We'd rather use the first arg as the parent GtkWindow so that we can set transience for the editor window. * mail-signature-editor.c (mail_signature_editor): Now takes a 'parent' argument (so we can set transient_for()) and a 'is_new' argument specifying whether the editor is editing a new signature or not. If it is, when the user saves, it will be added to the signature list. otherwise it won't. (sig_name_changed): Only use the mail_config_signature_set_name() interface if it is *not* a new signature. (menu_file_save_cb): If is_new, then save the signature to the config - otherwise do what we did before and set the modifications to it and emit the CHANGED event. * mail-config.c (mail_config_signature_new): Renamed from mail_config_signature_add(). We no longer immediately add the signature to the list of saved signatures. (mail_config_signature_add): New function which adds the signature and emits the SIG_ADDED event. svn path=/trunk/; revision=20221
* Add some escapes to the newly added locations so they get split properly.Ettore Perazzoli2003-03-083-20/+35
| | | | | | | | | | | | | * Locations (name): Add some escapes to the newly added locations so they get split properly. * e-summary-weather.c (e_summary_weather_init_locations): Fetch the Locations file from the right path. If you find an invalid entry in the Locations file, complain with an informative g_warning() instead of just returning FALSE. (e_summary_weather_fill_etable): Do the same thing here. svn path=/trunk/; revision=20220
* If the part url is a text part, useJeffrey Stedfast2003-03-084-25/+30
| | | | | | | | | | | | 2003-03-07 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (on_url_requested): If the part url is a text part, use mail_format_data_wrapper_write_to_stream(). This should fix bug #39204. * mail-format.c (mail_format_data_wrapper_write_to_stream): Make public. svn path=/trunk/; revision=20219
* Updated Swedish translation.Christian Rose2003-03-082-937/+969
| | | | | | | | 2003-03-07 Christian Rose <menthos@menthos.com> * sv.po: Updated Swedish translation. svn path=/trunk/; revision=20218
* create the array to be returned only once.Rodrigo Moya2003-03-072-3/+8
| | | | | | | | | 2003-03-07 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/save.c (get_calendars_to_load): create the array to be returned only once. svn path=/trunk/; revision=20217
* Update Czech translationMiloslav Trmac2003-03-072-237/+253
| | | | svn path=/trunk/; revision=20216
* handle a null return from search_by_expression, for bug #33786.Not Zed2003-03-072-9/+17
| | | | | | | | | 2003-03-07 Not Zed <NotZed@Ximian.com> * camel-vee-folder.c (vee_search_by_expression): handle a null return from search_by_expression, for bug #33786. svn path=/trunk/; revision=20215
* ** reverted the following patch from ettore, this is a gnome 2.2 apiNot Zed2003-03-072-2/+20
| | | | | | | | | | | | | | | | 2003-03-07 Not Zed <NotZed@Ximian.com> ** reverted the following patch from ettore, this is a gnome 2.2 api change, and shouldn't be used yet. * e-shell.c (impl_finalize): Use bonobo_activation_unregister_active_server() instead of bonobo_activatino_active_server_unregister(). (e_shell_construct): Use bonobo_activation_register_active_server() instead of bonobo_activation_active_server_register(). svn path=/trunk/; revision=20214
* s/g_strncasecmp/strncasecmp/gJeffrey Stedfast2003-03-0710-282/+366
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-06 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-utils.c (imap_next_word): s/g_strncasecmp/strncasecmp/g * camel-iconv.c: Updated to be an exact copy of e-iconv (except names changed). We don't use this yet, but we may in the future. * camel-url.c (camel_url_new_with_base): Here too. * camel-sasl-kerberos4.c (krb4_challenge): Use camel_strdown() here instead of g_strdown() since the latter has been deprecated. * providers/imap/camel-imap-utils.c (imap_parse_body): Use camel_strdown() since g_ascii_strdown() does not do what we thought. * providers/imap/camel-imap-store.c: s/strstrcase/camel_strstrcase/g * providers/imap/camel-imap-folder.c (do_append): s/strstrcase/camel_strstrcase/ (handle_copyuid): Same. * string-utils.c (camel_strdown): New function because the g_ascii_strdown interface sucks. (camel_strstrcase): Renamed from strstrcase. svn path=/trunk/; revision=20213
* Alias gb-2312 to gb2312 also (since iconv doesn't have "gb-2312"). IJeffrey Stedfast2003-03-071-11/+49
| | | | | | | | | | | | | | | | 2003-03-06 Jeffrey Stedfast <fejj@ximian.com> * gal/util/e-iconv.c: Alias gb-2312 to gb2312 also (since iconv doesn't have "gb-2312"). I wonder if we should capitalise GB2312? At least my iconv lists it in all caps (although I have the benefit of having gnu iconv which is case insensitive so I dunno). (e_strdown, e_strup): New functions to replace g_ascii_str[down,up]: because the glib versions return a newly allocated string buf and that is not what we want. (e_iconv_charset_name): Use the new e_strdown. (e_iconv_open): Save errno. svn path=/trunk/; revision=20212
* (impl_Shell_selectUserFolder): At least for now,Ettore Perazzoli2003-03-072-2/+10
| | | | | | | disable the nasty XWMHints trick to fool WMs; it is not needed now that everything is in-proc. svn path=/trunk/; revision=20211
* (e_shell_folder_name_is_valid): Do not allowEttore Perazzoli2003-03-072-2/+13
| | | | | | names with a "#" in them either. svn path=/trunk/; revision=20210
* (update_other_users_folder_items_sensitivity):Ettore Perazzoli2003-03-072-7/+80
| | | | | | | | | | | | | | | | | New function to toggle the "open other user's folder" menu item sensitivity on or off depending on whether there are any storages that actually support that. (storage_set_removed_storage_callback): New callback for the EStorageSet's "removed_storage" signal; it updates the sensitivity if necessary. (storage_set_new_storage_callback): Likewise, new callback for the EStorageSet's "new_storage" signal. (e_shell_view_construct): Connect these two signal callbacks here. Also, call update_other_users_folder_items_sensitivity() to set up the initial sensitivity of the menu item. (update_for_current_uri): Add a missing EStorageSetView cast here. svn path=/trunk/; revision=20209
* (folder_name_entry_changed_callback): New callback to set theEttore Perazzoli2003-03-072-15/+60
| | | | | | | | | sensitivity of the OK button according to whether the folder name entry is empty or not. (show_dialog): Connect here. Pop up an error message if no user is selected. svn path=/trunk/; revision=20208
* (e_request_string): Make the entry activate theEttore Perazzoli2003-03-072-0/+6
| | | | | | default response in the dialog. svn path=/trunk/; revision=20207
* Added more Swedish locations, submitted by MartenEttore Perazzoli2003-03-072-14/+31
| | | | | | Woxberg. [See #5344] svn path=/trunk/; revision=20206
* (mail_accounts_treeview_new): Set theEttore Perazzoli2003-03-072-0/+6
| | | | | | shadow_type of the scrlled window to GTK_SHADOW_IN. svn path=/trunk/; revision=20205
* Add some spacing to the buttons. [#38227]Ettore Perazzoli2003-03-072-0/+5
| | | | svn path=/trunk/; revision=20204
* Likewise. Likewise. Likewise. Likewise. Likewise. (ebook_create):Ettore Perazzoli2003-03-0711-14/+27
| | | | | | | | | | | | | | | | | * backend/ebook/load-pine-addressbook.c (ebook_create): Likewise. * backend/ebook/load-gnomecard-addressbook.c (ebook_create): Likewise. * backend/ebook/evolution-vcard-importer.c (ebook_create): Likewise. * backend/ebook/evolution-ldif-importer.c (ebook_create): Likewise. * backend/ebook/test-client.c (get_cursor_cb): Likewise. (ebook_create): Likewise. * gui/widgets/e-minicard.c (e_minicard_set_property): Likewise. (card_modified_cb): Likewise. (e_minicard_event): Likewise. * gui/widgets/gal-view-minicard.c (column_width_changed): Likewise. * gui/widgets/test-minicard-view.c (ebook_create): Likewise. * gui/widgets/gal-view-treeview.c (column_width_changed): Likewise. svn path=/trunk/; revision=20203
* Use G_GNUC_FUNCTION instead of __FUNCTION__. (OUT): Likewise. Likewise.Ettore Perazzoli2003-03-075-8/+20
| | | | | | | | | | | | | | * importers/evolution-mbox-importer.c (IN): Use G_GNUC_FUNCTION instead of __FUNCTION__. (OUT): Likewise. * importers/netscape-importer.c (netscape_import_file): Likewise. * mail-send-recv.c (receive_done): Likewise. * mail-summary.c (SUMMARY_OUT): Likewise. (SUMMARY_IN): Likewise. (folder_changed_cb): Likewise. (message_changed_cb): Likewise. svn path=/trunk/; revision=20202
* (destroy): Removed unused variable.Ettore Perazzoli2003-03-072-1/+4
| | | | svn path=/trunk/; revision=20201
* Use G_GNUC_FUNCTION instead of __FUNCTION__.Ettore Perazzoli2003-03-074-4/+12
| | | | | | | | | | * menus/gal-view-menus.c (gal_view_menus_unmerge): Use G_GNUC_FUNCTION instead of __FUNCTION__. * e-dropdown-button.c (menu_deactivate_cb): Removed debugging spew. svn path=/trunk/; revision=20200
* Use G_GNUC_FUNCTION instead of __FUNCTION__. Likewise. Likewise.Ettore Perazzoli2003-03-075-9/+18
| | | | | | | | | | | * e-summary-calendar.c (e_summary_calendar_protocol): Use G_GNUC_FUNCTION instead of __FUNCTION__. * e-summary-rdf.c (e_summary_rdf_update): Likewise. * e-summary-tasks.c (e_summary_tasks_protocol): Likewise. (e_summary_tasks_protocol): Likewise. * e-summary-weather.c (e_summary_weather_update): Likewise. svn path=/trunk/; revision=20199
* (impl_finalize): UseEttore Perazzoli2003-03-072-2/+11
| | | | | | | | | | bonobo_activation_unregister_active_server() instead of bonobo_activatino_active_server_unregister(). (e_shell_construct): Use bonobo_activation_register_active_server() instead of bonobo_activation_active_server_register(). svn path=/trunk/; revision=20198
* (IN): Use G_GNUC_FUNCTION instead ofEttore Perazzoli2003-03-072-2/+8
| | | | | | | __FUNCTION__. (OUT): Likewise. svn path=/trunk/; revision=20197
* [Patch from Not Zed <NotZed@Ximian.com>]Ettore Perazzoli2003-03-072-7/+20
| | | | | | | | (show_development_warning): Separated the current stable version number from the warning prompt, and fixed a minor grammatical error. For bug #38775. svn path=/trunk/; revision=20196
* (import_bonobo_config): Protect from valEttore Perazzoli2003-03-072-1/+11
| | | | | | | being NULL when printf()ing -- should fix #39096 (Solaris-specific crash). svn path=/trunk/; revision=20195
* #include <string.h>Jeffrey Stedfast2003-03-062-0/+4
| | | | | | | | 2003-03-06 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-factory.c: #include <string.h> svn path=/trunk/; revision=20194
* Don't use __inline__ as not all platforms/compilers support this keyword.Jeffrey Stedfast2003-03-062-2/+8
| | | | | | | | | | 2003-03-06 Jeffrey Stedfast <fejj@ximian.com> * e-searching-tokenizer.c (camel_utf8_getc): Don't use __inline__ as not all platforms/compilers support this keyword. (g): Same. svn path=/trunk/; revision=20193
* Same as below.Jeffrey Stedfast2003-03-063-2/+9
| | | | | | | | | | | 2003-03-06 Jeffrey Stedfast <fejj@ximian.com> * camel-text-index.c (camel_utf8_next): Same as below. * camel-search-private.c (camel_utf8_getc): Updated since not all platforms/compiles support __inline__. svn path=/trunk/; revision=20192
* Get rid of the const return - it mismatches the prototype and we don'tJeffrey Stedfast2003-03-062-1/+7
| | | | | | | | | | 2003-03-06 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-part.c (camel_mime_part_get_encoding): Get rid of the const return - it mismatches the prototype and we don't need it anyway. Fixes bug #39173. svn path=/trunk/; revision=20191
* Added AC_C_INLINE - this should fix bug #39171.Jeffrey Stedfast2003-03-062-0/+5
| | | | | | | | 2003-03-06 Jeffrey Stedfast <fejj@ximian.com> * configure.in: Added AC_C_INLINE - this should fix bug #39171. svn path=/trunk/; revision=20190
* Fixes for bug #39170Jeffrey Stedfast2003-03-062-3/+12
| | | | | | | | | | | | | 2003-03-06 Jeffrey Stedfast <fejj@ximian.com> Fixes for bug #39170 * filter-element.c (filter_element_xml_create): Remove return keyword. (filter_element_build_code): Same. (filter_element_format_sexp): Here too. svn path=/trunk/; revision=20189
* Fixes for bug #39170Jeffrey Stedfast2003-03-064-4/+17
| | | | | | | | | | | | | | | | | 2003-03-06 Jeffrey Stedfast <fejj@ximian.com> Fixes for bug #39170 * camel-store-summary.c (camel_store_info_set_string): Remove return keyword. * camel-session.c (camel_session_thread_msg_free): Remove return keyword. (camel_session_thread_wait): Same. * camel-index.c (camel_index_cursor_reset): Remove return keyword. svn path=/trunk/; revision=20188
* Fixes for bug #39168Jeffrey Stedfast2003-03-0610-46/+43
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-06 Jeffrey Stedfast <fejj@ximian.com> Fixes for bug #39168 * providers/local/camel-spool-summary.c: Get rid of the empty private struct. * providers/local/camel-mbox-summary.c: Get rid of the empty private struct. * camel-vee-store.c: Get rid of the empty private struct. * camel-mime-filter-from.c: Get rid of the empty private struct. 2003-03-05 Jeffrey Stedfast <fejj@ximian.com> * providers/sendmail/camel-sendmail-transport.c (sendmail_send_to): Add a CRLF filter to the output stream to convert any CRLF sequences into plain old line-feeds to work around a bug in some local transport programs. svn path=/trunk/; revision=20187
* ref the CalClient. (notify_dialog_cb): unref the CalClient.Rodrigo Moya2003-03-062-0/+7
| | | | | | | | | 2003-03-06 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-queue.c (display_notification): ref the CalClient. (notify_dialog_cb): unref the CalClient. svn path=/trunk/; revision=20186
* new function. (alarm_notify_dialog): made it return a pointer to theRodrigo Moya2003-03-064-37/+144
| | | | | | | | | | | | | | | | | | | | | | 2003-03-06 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify-dialog.[ch] (alarm_notify_dialog_disable_buttons): new function. (alarm_notify_dialog): made it return a pointer to the dialog structure. * gui/alarm-notify/alarm-queue.c (remove_alarms, remove_comp): splitted alarm removal out of remove_comp. (obj_updated_cb): remove the component only when needed. In normal updates, just update the internal structure. (edit_component): don't get a CompQueuedAlarms as argument, since it might be removed. (on_dialog_obj_updated_cb, on_dialog_obj_removed_cb): callbacks for modifications during dialog display. (notify_dialog_cb): disconnect from "obj_*ed" signals and call edit_component with the new set of arguments. (display_notification): added more data to the closure structure. svn path=/trunk/; revision=20185
* Fix kerberos include paths.Jeffrey Stedfast2003-03-062-3/+7
| | | | | | | | 2003-03-05 Jeffrey Stedfast <fejj@ximian.com> * configure.in: Fix kerberos include paths. svn path=/trunk/; revision=20184
* Fixes #31382Rodrigo Moya2003-03-062-2/+10
| | | | | | | | | | | | 2003-03-05 Rodrigo Moya <rodrigo@ximian.com> Fixes #31382 * gui/e-meeting-model.c (async_read): don't assume the buffer is always full, but use GNOME_VFS_ERROR_EOF instead for knowing when the read has finished. svn path=/trunk/; revision=20183
* Up to 1.3.1.99.Ettore Perazzoli2003-03-064-639/+29
| | | | svn path=/trunk/; revision=20182
* Update Czech translationMiloslav Trmac2003-03-062-1220/+1236
| | | | svn path=/trunk/; revision=20178
* Added icon for "/popups/NewPopup/Folder".Ettore Perazzoli2003-03-062-1/+7
| | | | svn path=/trunk/; revision=20176
* (BUILT_SOURCES): $(IDL_GENERATED), notEttore Perazzoli2003-03-062-5/+9
| | | | | | | | $(IDL_GENERATED_H). (CLEANFILES): Make the same as $(BUILT_SOURCES). (GNOME_Evolution_Importer-impl.o): Removed useless rule. svn path=/trunk/; revision=20175
* Likewise, assume weather_refresh_time of zero means "never update theEttore Perazzoli2003-03-064-30/+63
| | | | | | | | | | | | | | | | | | | | * e-summary-weather.c (e_summary_weather_set_online): Likewise, assume weather_refresh_time of zero means "never update the weather". (e_summary_weather_init): Likewise here. (e_summary_weather_reconfigure): And here. * e-summary-rdf.c (e_summary_rdf_init): Don't add the news feeds here -- it should be handled with a GConf schema. Also, assume that prefs is always not NULL (as is the case with the current code), and interpret a timeout value of zero as "never update automatically". (e_summary_rdf_reconfigure): Likewise here. If rdf->timeout is zero, assume there is no pending timeout. (e_summary_rdf_set_online): Likewise here. Sigh, so much duplication in this code. svn path=/trunk/; revision=20174
* fix defaults and descriptions to match what calendar-config wants them toJP Rosevear2003-03-062-30/+35
| | | | | | | | | 2003-03-05 JP Rosevear <jpr@ximian.com> * gui/apps_evolution_calendar.schemas: fix defaults and descriptions to match what calendar-config wants them to be svn path=/trunk/; revision=20173
* g_objectify ref/unrefJP Rosevear2003-03-054-7/+16
| | | | | | | | | | | | | 2003-03-05 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (show_current): g_objectify ref/unref * gui/itip-bonobo-control.c (set_data_idle_cb): as above (pstream_load): ditto * gui/dialogs/alarm-options.c (alarm_to_malarm_widgets): as above svn path=/trunk/; revision=20172
* override finalize, not destroy (start_calendar_server): take itip as aJP Rosevear2003-03-052-46/+138
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-05 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (class_init): override finalize, not destroy (start_calendar_server): take itip as a param and gtk_main_quit if it gets destroyed while we are waiting for the cal client to load (start_default_server): ditto (get_servers): take itip as a param and don't load if we've been destroyed, check for an except when retrieving the folder list (init): ref the html control (destroy): mark ourselves as destroyed (finalize): clean up, unref html control (write_html): if the html widget has been destroyed, don't write anything out (show_current_todo): pass extra param (show_current): ref/unref the itip control to avoid finalization while we are working, pass extra param (button_selected_cb): pass extra param (object_requested_cb): ditto svn path=/trunk/; revision=20171
* fix a couple ==TRUE uses pointed out by Morten Welinder <terra@diku.dk>.Mike Kestner2003-03-051-2/+2
| | | | | | | | | 2003-03-05 Mike Kestner <mkestner@ximian.com> * e-tree-model.c : fix a couple ==TRUE uses pointed out by Morten Welinder <terra@diku.dk>. svn path=/trunk/; revision=20169
* remove debug printf.Not Zed2003-03-052-2/+4
| | | | | | | | 2003-03-06 Not Zed <NotZed@Ximian.com> * component-factory.c (owner_unset_cb): remove debug printf. svn path=/trunk/; revision=20168
* Removed old quit code. (owner_unset_cb): Make this call synchronous. WontNot Zed2003-03-052-37/+53
| | | | | | | | | | 2003-03-05 Not Zed <NotZed@Ximian.com> * component-factory.c (idle_quit): Removed old quit code. (owner_unset_cb): Make this call synchronous. Wont cover all cases but should be ok most of the time. svn path=/trunk/; revision=20167
* cast CalClient's to GObject, not GtkObject.Rodrigo Moya2003-03-052-4/+9
| | | | | | | | | 2003-03-05 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-offline-handler.c (backend_go_offline, backend_go_online): cast CalClient's to GObject, not GtkObject. svn path=/trunk/; revision=20166
* dont call bonobo_main_quit anymore now we're shlib'ised.Not Zed2003-03-052-1/+6
| | | | | | | | | 2003-03-05 Not Zed <NotZed@Ximian.com> * component-factory.c (owner_unset_cb): dont call bonobo_main_quit anymore now we're shlib'ised. svn path=/trunk/; revision=20165
* removed. (owner_unset_cb): Basically a noop, the shell does the quit, weNot Zed2003-03-052-10/+10
| | | | | | | | | | | 2003-03-05 Not Zed <NotZed@Ximian.com> * gui/component/addressbook-component.c (bonobo_main_quit_cb): removed. (owner_unset_cb): Basically a noop, the shell does the quit, we just note we have no owner anymore. svn path=/trunk/; revision=20164
* Prototype some functions to shut the compiler up.Jeffrey Stedfast2003-03-052-1/+9
| | | | | | | | 2003-03-04 Jeffrey Stedfast <fejj@ximian.com> * mail-search.c: Prototype some functions to shut the compiler up. svn path=/trunk/; revision=20163
* don't let the user change to an email organizer if the back end is not anJP Rosevear2003-03-052-3/+11
| | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): don't let the user change to an email organizer if the back end is not an email addres svn path=/trunk/; revision=20162
* Fixes #37881JP Rosevear2003-03-052-2/+52
| | | | | | | | | | | 2003-02-11 JP Rosevear <jpr@ximian.com> Fixes #37881 * gui/e-meeting-model.c (process_section): if the attendee is the empty string, try to get the email svn path=/trunk/; revision=20161
* Fixes #37881JP Rosevear2003-03-052-1/+8
| | | | | | | | | | | 2003-02-11 JP Rosevear <jpr@ximian.com> Fixes #37881 * gui/e-meeting-model.c (process_section): if the attendee is the empty string, try to get the email svn path=/trunk/; revision=20160
* Fixes #37881JP Rosevear2003-03-052-1/+9
| | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> Fixes #37881 * gui/component/select-names/e-simple-card-bonobo.c (impl_SimpleCard_get): if we get a null value, send back the empty string svn path=/trunk/; revision=20159
* Fixes #37883JP Rosevear2003-03-052-1/+8
| | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> Fixes #37883 * idl/evolution-calendar.idl: getLdapAttribute can raise NotFound svn path=/trunk/; revision=20158
* i18n fixDmitry Mastrukov2003-03-056-9/+130
| | | | | | | | | | | | | | | | | | | 2003-03-04 Dmitry Mastrukov <dmitry@taurussoft.org> * gal/widgets/e-unicode.c : i18n fix 2003-03-04 Dmitry Mastrukov <dmitry@taurussoft.org> * e-cell-date.c (ecd_get_text): i18n fix * e-table.c (et_real_construct): i18n fix * e-table-config.c (create_global_store): i18n fix * e-table-utils.c (et_col_spec_to_col): i18n fix 2003-03-04 Mike Kestner <mkestner@ximian.com> * e-tree-selection-model.c : some cursor fixes svn path=/trunk/; revision=20156
* Fixes #37806, #37697JP Rosevear2003-03-052-4/+14
| | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> Fixes #37806, #37697 * gui/e-itip-control.c (e_itip_control_set_data): if the text is null or the empty string, just clear the widget (init): set the html widget to initially be blank svn path=/trunk/; revision=20155
* implementJP Rosevear2003-03-059-20/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> * pcs/cal.c (impl_Cal_get_ldap_attribute): implement * pcs/cal-backend.h: add virtual method * pcs/cal-backend.c (cal_backend_get_ldap_attribute): call get_ldap_attribute_method * pcs/cal-backend-file.c (cal_backend_file_class_init): overrid get_ldap_attribute method * idl/evolution-calendar.idl: add getLdapAttribute method * gui/e-meeting-model.c (process_section): take simple card list as arg and try to use the ldap attribute (if any) as the attendee, else use the email address (select_names_ok_cb): get the simple card list * cal-client/cal-client.h: add proto * cal-client/cal-client.c (cal_client_init): init ldap_attribute to NULL (cal_client_destroy): free ldap_attribute svn path=/trunk/; revision=20154
* reflect prior column additionJP Rosevear2003-03-059-4/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> * gui/component/select-names/e-select-names.etspec: reflect prior column addition * gui/component/select-names/e-select-names-bonobo.c (entry_get_property_fn): set the arg properly * gui/component/select-names/Evolution-Addressbook-SelectNames.idl: add Icscalendar to field list * backend/pas/pas-backend-ldap.c: add icscalendar to prop list * backend/ebook/e-card.h: add icscalendar data member * backend/ebook/e-card.c: add icscalendar to list and its parse routine (e_card_get_vobject): add icscalendar prop value (parse_icscalendar): parse routine (e_card_class_init): add icscalendar arg (e_card_destroy): destroy icscalendar member (e_card_set_arg): set icscalendar (e_card_init): init icscalendar (e_card_get_arg): return icscalendar * backend/ebook/e-card-simple.c (field_data): add icscalendar * backend/ebook/e-card-simple.h: ditto svn path=/trunk/; revision=20153
* only set current folder when the folder_path is different from the currentMike Kestner2003-03-052-1/+8
| | | | | | | | | 2003-03-04 Mike Kestner <mkestner@ximian.com> * e-shell-view.c (update_for_current_uri): only set current folder when the folder_path is different from the current folder. svn path=/trunk/; revision=20152
* call cal_client_get_cal_address instead of cal_client_get_email_addressJP Rosevear2003-03-0510-44/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (itip_organizer_is_user): call cal_client_get_cal_address instead of cal_client_get_email_address * gui/dialogs/meeting-page.c (meeting_page_construct): ditto * pcs/cal.c (impl_Cal_get_cal_address): implement updated method name (cal_class_init): set method implementation * pcs/cal-backend.c (cal_backend_class_init): init get_cal_address virtual function (cal_backend_get_cal_address): call proper function * pcs/cal-backend.h: update proto, rename get_email_address virtual function to get_cal_address virtual function * pcs/cal-backend-file.c (cal_backend_file_class_init): match get_cal_address call (cal_backend_file_get_cal_address): rename from cal_backend_file_get_email_address * cal-client/cal-client.c: rename email_address private member to cal_address (cal_client_init): init cal_address (cal_client_destroy): free cal_address and properly free alarm_email_address (cal_client_get_cal_address): rename from cal_client_get_email_address and call proper corba function svn path=/trunk/; revision=20151
* Handle p->data as a GdkAtom instead of a GdkAtom *.Ettore Perazzoli2003-03-054-9/+21
| | | | | | | | | | | | | | | * e-folder-dnd-bridge.c (find_matching_target_for_drag_context): Handle p->data as a GdkAtom instead of a GdkAtom *. (handle_data_received_non_path): Set the target member of the corba_data struct to be the name of the atom. * e-storage-set-view.c (impl_tree_drag_data_get): Pass the name of the atom instead of the atom itself. * Evolution-ShellComponentDnd.idl: Changed the type of Data.target to string. svn path=/trunk/; revision=20150
* fix commentJP Rosevear2003-03-052-1/+5
| | | | | | | | 2003-02-05 JP Rosevear <jpr@ximian.com> * idl/evolution-calendar.idl: fix comment svn path=/trunk/; revision=20149
* update FIXME noteJP Rosevear2003-03-052-3/+6
| | | | | | | | | 2003-02-05 JP Rosevear <jpr@ximian.com> * gui/calendar-model.c (calendar_model_append_row): update FIXME note svn path=/trunk/; revision=20148
* fix copyrightJP Rosevear2003-03-053-7/+15
| | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> * gui/dialogs/recur-comp.h: fix copyright * gui/dialogs/recur-comp.c: fix copyright (recur_component_dialog): say "recurring journal entry" instead of just "recurring journal" svn path=/trunk/; revision=20147
* Partially Fixes #23606 (from Jack Jia <jack.jia@sun.com>)JP Rosevear2003-03-053-2/+22
| | | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> Partially Fixes #23606 (from Jack Jia <jack.jia@sun.com>) * gui/dialogs/schedule-page.c (update_time): handle no end date if the start is date only * gui/dialogs/event-page.c (update_time): ditto svn path=/trunk/; revision=20146
* Shush.JP Rosevear2003-03-051-1/+3
| | | | svn path=/trunk/; revision=20145
* Commit missed files.JP Rosevear2003-03-052-0/+126
| | | | svn path=/trunk/; revision=20144
* If only the pipe wouldn't break.JP Rosevear2003-03-0551-2399/+3298
| | | | svn path=/trunk/; revision=20143
* Merging in 1.2 stuffJP Rosevear2003-03-053-32/+237
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> Merging in 1.2 stuff Fixes #35598 * gui/dialogs/task-details-page.c (task_details_page_fill_widgets): count a status of needs action as a status of none (not started) (date_changed_cb): set the option menu to a status of none (status_changed): no need to handle needs action status now * gui/dialogs/task-details-page.glade: remove needs-action menu item Fixes #36763 * gui/dialogs/alarm-page.c (add_clicked_cb): if no address was set for an email alarm, set the default (button_options_clicked_cb): pass the default email address * gui/dialogs/alarm-options.h (alarm_options_dialog_run): update proto * gui/dialogs/alarm-options.c (alarm_to_malarm_widgets): if there are no email attendees, default to the passed in value (alarm_options_dialog_run): take and track an email param * pcs/cal.c (impl_Cal_get_alarm_email_address): implement by calling backend method (cal_class_init): set alarm email address method implementation * pcs/cal-backend.h: add new virtual proto * pcs/cal-backend.c (cal_backend_class_init): set alarm email address virtual method to NULL (cal_backend_get_alarm_email_address): call backend method * pcs/cal-backend-file.c (cal_backend_file_class_init): set alarm email address method (cal_backend_file_get_alarm_email_address): implement by returning NULL * idl/evolution-calendar.idl: add getAlarmEmailAddress method Fixes #37102 * gui/dialogs/task-editor.c (set_menu_sens): don't allow task assignment if the backend says not to * gui/dialogs/recurrence-page.c (fill_component): kill warning (preview_recur): display the recurrences in the dtstart timezone if possible * gui/gnome-cal.c (dn_query_obj_updated_cb): pass NULL to use default tag zone * gui/tag-calendar.c (tag_calendar_by_comp): allow display zone for the tagged calendar to be passed in (prepare_tag): use the passed in timezone for display if non-null * gui/tag-calendar.h (tag_calendar_by_comp): update proto * gui/dialogs/recurrence-page.c (recurrence_page_set_dates): make sure we always update the preview * conduits/todo/todo-conduit.c (add_record): make sure to create a unique uid for the record * conduits/calendar/calendar-conduit.c (add_record): ditto * conduits/todo/todo-conduit.c (e_todo_context_new): init default comp and timezone to NULL (e_todo_context_destroy): unref default comp (pre_sync): et the default comp via the client and set the default timezone (add_record): pass the default comp as the base comp * conduits/calendar/calendar-conduit.c (e_calendar_context_new): init default comp to NULL (e_calendar_context_destroy): unref default comp (pre_sync): get the default comp via the client (add_record): pass the default comp as the base comp * conduits/calendar/calendar-conduit.c (local_record_from_comp): only add the recurrence rule if its not an instance * gui/itip-control-factory.c (set_data_idle_cb): idle call back to set control data (pstream_load): set the data in an idle callback to avoid deadlock (get_prop): handle view_only (set_prop): ditto (itip_control_factory): add view_only * gui/e-itip-control.h: add protos * gui/e-itip-control.c (write_html): only write out the options if we aren't in view_only mode (e_itip_control_set_view_only): accessor (e_itip_control_get_view_only): ditto Fixes #36909 * gui/dialogs/alarm-page.c (button_options_clicked_cb): indicate whether the options dialog should allow repeating * gui/dialogs/alarm-options.h: update proto * gui/dialogs/alarm-options.c (alarm_to_repeat_widgets): if repeating is not allowed, sensitize the widgets appropriately (alarm_options_dialog_run): store the repeat param * gui/calendar-model.c (calendar_model_append_row): guard against saving before the calendar is open * gui/e-day-view.c (e_day_view_key_press): ditto * gui/dialogs/comp-editor.c (page_changed_cb): change warning dialog to not mention email (page_summary_changed_cb): ditto (page_dates_changed_cb): ditto * gui/itip-utils.c (itip_organizer_is_user): make the compare case insensitive * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): don't allow the organizer to be changed if its not an email address * gui/e-day-view.c, calendar-model.c, e-week-view.c, task-editor.c, event-editor.c, comp-editor.c, meeting-page.c: pass additional param * gui/itip-utils.c (itip_organizer_is_user): take client as param, and if organizer-not-email-address and email address and organizer match, assume the user is the organizer * gui/itip-utils.h: update proto * pcs/cal.c (build_fb_seq): set the max * gui/e-meeting-model.c (e_meeting_model_add_attendee_with_defaults): correct typo and set rsvp appropriately * gui/dialogs/send-comp.c (send_component_dialog): if save schedules, return FALSE for now * gui/dialogs/recurrence-page.c (sensitize_recur_widgets): de-sensitize the preview widget if we are viewing an instance (preview_recur): return if the comp is an instance * gui/dialogs/event-page.glade: name the show time frame * gui/dialogs/event-page.c (event_page_fill_widgets) (event_page_init): init show time frame (event_page_fill_widgets): hide/show frame as needed (get_widgets): get the frame * gui/alarm-notify/alarm-queue.c (mail_notification): kill mail notification code * cal-client/cal-client.c (load_static_capabilities): grab static capabilities string (check_capability): see if a capability is in the string (cal_client_get_one_alarm_only): accessor (cal_client_get_organizer_must_attend): use check_capability (cal_client_get_static_capability): ditto * cal-client/cal-client.h: new, changed protos * idl/evolution-calendar.idl: change over getSchedulingInformation to a more general getStaticCapabilities call * pcs/cal-backend-file.c (cal_backend_file_get_static_capabilities): return "no-email-alarms" * pcs/cal-backend.c (cal_backend_get_static_capabilities): ditto * pcs/cal-backend.h: ditto * pcs/cal.c (impl_Cal_get_static_capabilities): ditto * gui/alarm-notify/alarm-queue.c (get_default_address): utility routine to snag address info * gui/alarm-notify/Makefile.am: build composer idl * *.c: pass client param for send an cancel params * gui/dialogs/send-comp.c (send_component_dialog): take client as a parm and if save schedules return true right away * gui/dialogs/send-comp.h: update proto * gui/dialogs/cancel-comp.c (cancel_component_dialog): take client as a param and if we are deleting and schedule saves, return true right away * gui/dialogs/cancel-comp.h (cancel_component_dialog): update proto * gui/dialogs/alarm-options.glade: add Send To: button * gui/dialogs/alarm-options.c (addressbook_clicked_cb): display dialog (setup_select_names): attach above to Send To: button clicked signal * gui/dialogs/alarm-options.c (get_widgets): get mail alarm widgets (setup_select_names): add the select names widget (alarm_to_malarm_widgets): show the attendees and description (alarm_to_dialog): set the title for mail alarms properly (malarm_widgets_to_alarm): save attendees and descriptions in alarm (alarm_options_dialog_run): call setup_select_names * gui/dialogs/alarm-page.c: add email to alarm types * gui/dialogs/alarm-options.glade: add mail alarm widgets * gui/dialogs/alarm-page.glade: add email to alarm types * cal-util/cal-component.c (scan_attendee): kill unnecessary CalComponent param (scan_property): don't pass same (set_attendee_list): take an icalcomp instead of a CalComponent (cal_component_set_attendee_list): pass same (scan_alarm_property): if its an attendee, scan it (make_alarm): set attendee_list member to null (cal_component_alarm_new): ditto (cal_component_alarm_free): free attendee list (cal_component_alarm_get_attendee_list): return attendee list (cal_component_alarm_set_attendee_list): set attendee list (cal_component_alarm_has_attendees): return true if alarm has attendees * cal-util/cal-component.h: new protos * gui/calendar-model.c (calendar_model_append_row): use cal_comp_task_new_with_defaults * gui/comp-editor-factory.c (get_default_task): ditto * gui/e-tasks.c (e_tasks_new_task): ditto * gui/gnome-cal.c (gnome_calendar_new_task): ditto * gui/comp-util.h (cal_comp_task_new_with_defaults): new proto * gui/comp-util.c (cal_comp_task_new_with_defaults): new utility routine * cal-util/cal-util.c (generate_absolute_triggers): skip omitted alarm types (add_alarm_occurrences_cb): ditto (cal_util_generate_alarms_for_list): take/pass omit param (cal_util_generate_alarms_for_comp): ditto * cal-util/cal-util.h: update protos * pcs/cal-backend-file.c (cal_backend_file_get_alarms_for_object): add omit param (cal_backend_file_get_alarms_in_range): ditto * pcs/cal-backend.c (cal_backend_get_scheduling_information): remove dead param * gui/dialogs/meeting-page.h: delete proto * gui/dialogs/meeting-page.c: remove dead routine * gui/dialogs/event-editor.c (event_editor_edit_comp): we don't need to add the organizer as an attendee ourselves, just set the edit level properly * gui/dialogs/task-editor.c (task_editor_edit_comp): ditto * gui/comp-util.c (cal_comp_event_new_with_defaults): take client as arg so we can obtain the default from the backend * gui/comp-editor-factory.c (get_default_event): pass cal_comp_event_new_with_defaults the new param * gui/gnome-cal.c (gnome_calendar_new_appointment_for): ditto * gui/e-week-view.c (e_week_view_key_press): ditto * gui/e-day-view.c (e_day_view_key_press): ditto * gui/calendar-model.c (calendar_model_append_row): ditto * gui/comp-util.h (cal_comp_event_new_with_defaults): update proto * pcs/cal-backend-file.c (cal_backend_file_get_default_object): return appropriate default object * pcs/cal-backend.c (cal_backend_get_default_object): call get_default_backend class method * pcs/cal-backend.h: add proto * pcs/cal.c (impl_Cal_get_default_object): implement (cal_class_init): set handler for getDefaultObject call * idl/evolution-calendar.idl: remove always schedule from SchedulingInformation and add getDefaultObject call * cal-client/cal-client.c (cal_client_get_default_object): gets a default object from the server (cal_client_init): remove always_schedule (load_scheduling_info): ditto * cal-client/cal-client.h: add a proto, delete a proto * gui/dialogs/meeting-page.c (right_click_cb): if the attendee is not fully editable, don't allow deletion (meeting_page_construct): keep the default organizer as an itip address (meeting_page_get_default_organizer): return the default organizer * gui/dialogs/meeting-page.h: new proto * gui/dialogs/event-editor.c (event_editor_edit_comp): we set appropriate edit levels now for users and if the backend always schedules we always show the meeting pages and add the organizer as an attendee * gui/dialogs/task-editor.c (task_editor_edit_comp): same * gui/e-meeting-model.c (is_cell_editable): use the edit level of the attendee to determine if cell is editable (init): we no longer keep the attendee list of restricted * gui/e-meeting-attendee.c (e_meeting_attendee_get_edit_level): accessor (e_meeting_attendee_set_edit_level): ditto * gui/e-meeting-attendee.h: new protos and edit level enum * cal-client/cal-client.c (load_scheduling_info): load the scheduling info (cal_client_get_always_schedule): accessor (cal_client_get_organizer_must_attend): ditto (cal_client_get_save_schedules): ditto (cal_client_init): init scheduling data members * cal-client/cal-client.h: accessors for scheduling information * pcs/cal-backend-file.c (cal_backend_file_get_scheduling_information): implement the new virtual method * pcs/cal-backend.c (cal_backend_get_scheduling_information): call the class specific method * pcs/cal-backend.h: add virtual method * idl/evolution-calendar.idl: add a getSchedulingInformation call which describes how the backend does its scheduling * pcs/cal.c (impl_Cal_get_scheduling_information): implement above * gui/e-day-view.c: pass NULL as parent to recur dialog * gui/e-week-view.c: ditto * gui/dialogs/comp-editor.c (prompt_to_save_changes): show recur dialog after prompting, not before (save_cmd): ditto (save_close_cmd): ditto (real_edit_comp): don't show recur dialog before opening * gui/dialogs/recur-comp.h (recur_component_dialog): update proto * gui/dialogs/recur-comp.c (recur_component_dialog): take a parent argument and set the dialog parent if non-null * gui/e-week-view.c (e_day_view_on_editing_stopped): Don't update appointment if both the old and the new summary texts are empty. * gui/e-week-view.c (e_week_view_show_popup_menu): mask out "make moveable" if its an instance * gui/e-day-view.c (e_day_view_on_event_right_click): ditto * gui/e-week-view.c (e_week_view_on_editing_stopped): if its an instance, show the recur comp dialog and modify it based on the response (or not if cancel is hit) * gui/e-day-view.c (e_day_view_finish_long_event_resize): if its an instance, show the recur comp dialog and modify it based on the response (or not if cancel is hit) (e_day_view_finish_resize): ditto (e_day_view_on_editing_stopped): ditto (e_day_view_on_top_canvas_drag_data_received): ditto (e_day_view_on_main_canvas_drag_data_received): ditto * gui/dialogs/comp-editor.c (real_edit_comp): reflect changes in proto of recur_component_dialog * gui/dialogs/recur-comp.c (recur_component_dialog): use ok/cancel instead and radio buttons for the mod type * gui/dialogs/recur-comp.h: update proto * gui/e-day-view.c (e_day_view_on_long_event_click): allow dragging if its an instance (e_day_view_on_event_click): ditto (e_day_view_on_top_canvas_motion): ditto (e_day_view_on_main_canvas_motion): ditto * gui/dialogs/comp-editor.c (save_comp): if its an instance, update with the mod type (real_edit_comp): ask the user what instances they want to change * gui/dialogs/recur-comp.[hc]: new dialog to ask user what recurrences to modify * gui/dialogs/Makefile.am: Compile new files * gui/e-day-view.c (e_day_view_on_delete_occurrence): if its an instance, just remove with THIS mod * gui/e-week-view.c (e_week_view_on_delete_occurrence): ditto * cal-client/cal-client.c (cal_client_remove_object_with_mod): send the mod parameter to the backend (cal_client_remove_object): implement with above (cal_client_update_object_with_mod): send the mod parameter to the backend (cal_client_update_object): implement with above * cal-client/cal-client.h: new protos * cal-client/cal-client.c (cal_client_is_read_only): return booleans in the pre conditions (cal_client_update_object): pass mod param (cal_client_update_objects): ditto (cal_client_remove_object): ditto (cal_client_ensure_timezone_on_server): ditto * pcs/cal.c (impl_Cal_update_objects): take mod param (impl_Cal_remove_object): ditto * pcs/cal-backend.h: fix protos * pcs/cal-backend.c (cal_backend_update_objects): take mod param (cal_backend_remove_object): ditto * pcs/cal-backend-file.c (cal_backend_file_update_objects): take mod param (cal_backend_file_remove_object): ditto * cal-util/cal-util.h: add mod enum * cal-util/cal-recur.c (cal_recur_generate_instances_of_rule): if its an instance, just report the instance * cal-util/cal-component.h: new protos * cal-util/cal-component.c (cal_component_is_instance): indicate whether the component is an instance or not (cal_component_free_range): free a range * idl/evolution-calendar.idl: get remove and update to take mod type svn path=/trunk/; revision=20142
* Fixes #35598JP Rosevear2003-03-051-0/+463
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> Fixes #35598 * gui/dialogs/task-details-page.c (task_details_page_fill_widgets): count a status of needs action as a status of none (not started) (date_changed_cb): set the option menu to a status of none (status_changed): no need to handle needs action status now * gui/dialogs/task-details-page.glade: remove needs-action menu item Fixes #36763 * gui/dialogs/alarm-page.c (add_clicked_cb): if no address was set for an email alarm, set the default (button_options_clicked_cb): pass the default email address * gui/dialogs/alarm-options.h (alarm_options_dialog_run): update proto * gui/dialogs/alarm-options.c (alarm_to_malarm_widgets): if there are no email attendees, default to the passed in value (alarm_options_dialog_run): take and track an email param * pcs/cal.c (impl_Cal_get_alarm_email_address): implement by calling backend method (cal_class_init): set alarm email address method implementation * pcs/cal-backend.h: add new virtual proto * pcs/cal-backend.c (cal_backend_class_init): set alarm email address virtual method to NULL (cal_backend_get_alarm_email_address): call backend method * pcs/cal-backend-file.c (cal_backend_file_class_init): set alarm email address method (cal_backend_file_get_alarm_email_address): implement by returning NULL * idl/evolution-calendar.idl: add getAlarmEmailAddress method Fixes #37102 * gui/dialogs/task-editor.c (set_menu_sens): don't allow task assignment if the backend says not to * gui/dialogs/recurrence-page.c (fill_component): kill warning (preview_recur): display the recurrences in the dtstart timezone if possible * gui/gnome-cal.c (dn_query_obj_updated_cb): pass NULL to use default tag zone * gui/tag-calendar.c (tag_calendar_by_comp): allow display zone for the tagged calendar to be passed in (prepare_tag): use the passed in timezone for display if non-null * gui/tag-calendar.h (tag_calendar_by_comp): update proto * gui/dialogs/recurrence-page.c (recurrence_page_set_dates): make sure we always update the preview * conduits/todo/todo-conduit.c (add_record): make sure to create a unique uid for the record * conduits/calendar/calendar-conduit.c (add_record): ditto * conduits/todo/todo-conduit.c (e_todo_context_new): init default comp and timezone to NULL (e_todo_context_destroy): unref default comp (pre_sync): et the default comp via the client and set the default timezone (add_record): pass the default comp as the base comp * conduits/calendar/calendar-conduit.c (e_calendar_context_new): init default comp to NULL (e_calendar_context_destroy): unref default comp (pre_sync): get the default comp via the client (add_record): pass the default comp as the base comp * conduits/calendar/calendar-conduit.c (local_record_from_comp): only add the recurrence rule if its not an instance * gui/itip-control-factory.c (set_data_idle_cb): idle call back to set control data (pstream_load): set the data in an idle callback to avoid deadlock (get_prop): handle view_only (set_prop): ditto (itip_control_factory): add view_only * gui/e-itip-control.h: add protos * gui/e-itip-control.c (write_html): only write out the options if we aren't in view_only mode (e_itip_control_set_view_only): accessor (e_itip_control_get_view_only): ditto Fixes #36909 * gui/dialogs/alarm-page.c (button_options_clicked_cb): indicate whether the options dialog should allow repeating * gui/dialogs/alarm-options.h: update proto * gui/dialogs/alarm-options.c (alarm_to_repeat_widgets): if repeating is not allowed, sensitize the widgets appropriately (alarm_options_dialog_run): store the repeat param * gui/calendar-model.c (calendar_model_append_row): guard against saving before the calendar is open * gui/e-day-view.c (e_day_view_key_press): ditto * gui/dialogs/comp-editor.c (page_changed_cb): change warning dialog to not mention email (page_summary_changed_cb): ditto (page_dates_changed_cb): ditto * gui/itip-utils.c (itip_organizer_is_user): make the compare case insensitive * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): don't allow the organizer to be changed if its not an email address * gui/e-day-view.c, calendar-model.c, e-week-view.c, task-editor.c, event-editor.c, comp-editor.c, meeting-page.c: pass additional param * gui/itip-utils.c (itip_organizer_is_user): take client as param, and if organizer-not-email-address and email address and organizer match, assume the user is the organizer * gui/itip-utils.h: update proto * pcs/cal.c (build_fb_seq): set the max * gui/e-meeting-model.c (e_meeting_model_add_attendee_with_defaults): correct typo and set rsvp appropriately * gui/dialogs/send-comp.c (send_component_dialog): if save schedules, return FALSE for now * gui/dialogs/recurrence-page.c (sensitize_recur_widgets): de-sensitize the preview widget if we are viewing an instance (preview_recur): return if the comp is an instance * gui/dialogs/event-page.glade: name the show time frame * gui/dialogs/event-page.c (event_page_fill_widgets) (event_page_init): init show time frame (event_page_fill_widgets): hide/show frame as needed (get_widgets): get the frame * gui/alarm-notify/alarm-queue.c (mail_notification): kill mail notification code * cal-client/cal-client.c (load_static_capabilities): grab static capabilities string (check_capability): see if a capability is in the string (cal_client_get_one_alarm_only): accessor (cal_client_get_organizer_must_attend): use check_capability (cal_client_get_static_capability): ditto * cal-client/cal-client.h: new, changed protos * idl/evolution-calendar.idl: change over getSchedulingInformation to a more general getStaticCapabilities call * pcs/cal-backend-file.c (cal_backend_file_get_static_capabilities): return "no-email-alarms" * pcs/cal-backend.c (cal_backend_get_static_capabilities): ditto * pcs/cal-backend.h: ditto * pcs/cal.c (impl_Cal_get_static_capabilities): ditto * gui/alarm-notify/alarm-queue.c (get_default_address): utility routine to snag address info * gui/alarm-notify/Makefile.am: build composer idl * *.c: pass client param for send an cancel params * gui/dialogs/send-comp.c (send_component_dialog): take client as a parm and if save schedules return true right away * gui/dialogs/send-comp.h: update proto * gui/dialogs/cancel-comp.c (cancel_component_dialog): take client as a param and if we are deleting and schedule saves, return true right away * gui/dialogs/cancel-comp.h (cancel_component_dialog): update proto * gui/dialogs/alarm-options.glade: add Send To: button * gui/dialogs/alarm-options.c (addressbook_clicked_cb): display dialog (setup_select_names): attach above to Send To: button clicked signal * gui/dialogs/alarm-options.c (get_widgets): get mail alarm widgets (setup_select_names): add the select names widget (alarm_to_malarm_widgets): show the attendees and description (alarm_to_dialog): set the title for mail alarms properly (malarm_widgets_to_alarm): save attendees and descriptions in alarm (alarm_options_dialog_run): call setup_select_names * gui/dialogs/alarm-page.c: add email to alarm types * gui/dialogs/alarm-options.glade: add mail alarm widgets * gui/dialogs/alarm-page.glade: add email to alarm types * cal-util/cal-component.c (scan_attendee): kill unnecessary CalComponent param (scan_property): don't pass same (set_attendee_list): take an icalcomp instead of a CalComponent (cal_component_set_attendee_list): pass same (scan_alarm_property): if its an attendee, scan it (make_alarm): set attendee_list member to null (cal_component_alarm_new): ditto (cal_component_alarm_free): free attendee list (cal_component_alarm_get_attendee_list): return attendee list (cal_component_alarm_set_attendee_list): set attendee list (cal_component_alarm_has_attendees): return true if alarm has attendees * cal-util/cal-component.h: new protos * gui/calendar-model.c (calendar_model_append_row): use cal_comp_task_new_with_defaults * gui/comp-editor-factory.c (get_default_task): ditto * gui/e-tasks.c (e_tasks_new_task): ditto * gui/gnome-cal.c (gnome_calendar_new_task): ditto * gui/comp-util.h (cal_comp_task_new_with_defaults): new proto * gui/comp-util.c (cal_comp_task_new_with_defaults): new utility routine * cal-util/cal-util.c (generate_absolute_triggers): skip omitted alarm types (add_alarm_occurrences_cb): ditto (cal_util_generate_alarms_for_list): take/pass omit param (cal_util_generate_alarms_for_comp): ditto * cal-util/cal-util.h: update protos * pcs/cal-backend-file.c (cal_backend_file_get_alarms_for_object): add omit param (cal_backend_file_get_alarms_in_range): ditto * pcs/cal-backend.c (cal_backend_get_scheduling_information): remove dead param * gui/dialogs/meeting-page.h: delete proto * gui/dialogs/meeting-page.c: remove dead routine * gui/dialogs/event-editor.c (event_editor_edit_comp): we don't need to add the organizer as an attendee ourselves, just set the edit level properly * gui/dialogs/task-editor.c (task_editor_edit_comp): ditto * gui/comp-util.c (cal_comp_event_new_with_defaults): take client as arg so we can obtain the default from the backend * gui/comp-editor-factory.c (get_default_event): pass cal_comp_event_new_with_defaults the new param * gui/gnome-cal.c (gnome_calendar_new_appointment_for): ditto * gui/e-week-view.c (e_week_view_key_press): ditto * gui/e-day-view.c (e_day_view_key_press): ditto * gui/calendar-model.c (calendar_model_append_row): ditto * gui/comp-util.h (cal_comp_event_new_with_defaults): update proto * pcs/cal-backend-file.c (cal_backend_file_get_default_object): return appropriate default object * pcs/cal-backend.c (cal_backend_get_default_object): call get_default_backend class method * pcs/cal-backend.h: add proto * pcs/cal.c (impl_Cal_get_default_object): implement (cal_class_init): set handler for getDefaultObject call * idl/evolution-calendar.idl: remove always schedule from SchedulingInformation and add getDefaultObject call * cal-client/cal-client.c (cal_client_get_default_object): gets a default object from the server (cal_client_init): remove always_schedule (load_scheduling_info): ditto * cal-client/cal-client.h: add a proto, delete a proto * gui/dialogs/meeting-page.c (right_click_cb): if the attendee is not fully editable, don't allow deletion (meeting_page_construct): keep the default organizer as an itip address (meeting_page_get_default_organizer): return the default organizer * gui/dialogs/meeting-page.h: new proto * gui/dialogs/event-editor.c (event_editor_edit_comp): we set appropriate edit levels now for users and if the backend always schedules we always show the meeting pages and add the organizer as an attendee * gui/dialogs/task-editor.c (task_editor_edit_comp): same * gui/e-meeting-model.c (is_cell_editable): use the edit level of the attendee to determine if cell is editable (init): we no longer keep the attendee list of restricted * gui/e-meeting-attendee.c (e_meeting_attendee_get_edit_level): accessor (e_meeting_attendee_set_edit_level): ditto * gui/e-meeting-attendee.h: new protos and edit level enum * cal-client/cal-client.c (load_scheduling_info): load the scheduling info (cal_client_get_always_schedule): accessor (cal_client_get_organizer_must_attend): ditto (cal_client_get_save_schedules): ditto (cal_client_init): init scheduling data members * cal-client/cal-client.h: accessors for scheduling information * pcs/cal-backend-file.c (cal_backend_file_get_scheduling_information): implement the new virtual method * pcs/cal-backend.c (cal_backend_get_scheduling_information): call the class specific method * pcs/cal-backend.h: add virtual method * idl/evolution-calendar.idl: add a getSchedulingInformation call which describes how the backend does its scheduling * pcs/cal.c (impl_Cal_get_scheduling_information): implement above * gui/e-day-view.c: pass NULL as parent to recur dialog * gui/e-week-view.c: ditto * gui/dialogs/comp-editor.c (prompt_to_save_changes): show recur dialog after prompting, not before (save_cmd): ditto (save_close_cmd): ditto (real_edit_comp): don't show recur dialog before opening * gui/dialogs/recur-comp.h (recur_component_dialog): update proto * gui/dialogs/recur-comp.c (recur_component_dialog): take a parent argument and set the dialog parent if non-null * gui/e-week-view.c (e_day_view_on_editing_stopped): Don't update appointment if both the old and the new summary texts are empty. * gui/e-week-view.c (e_week_view_show_popup_menu): mask out "make moveable" if its an instance * gui/e-day-view.c (e_day_view_on_event_right_click): ditto * gui/e-week-view.c (e_week_view_on_editing_stopped): if its an instance, show the recur comp dialog and modify it based on the response (or not if cancel is hit) * gui/e-day-view.c (e_day_view_finish_long_event_resize): if its an instance, show the recur comp dialog and modify it based on the response (or not if cancel is hit) (e_day_view_finish_resize): ditto (e_day_view_on_editing_stopped): ditto (e_day_view_on_top_canvas_drag_data_received): ditto (e_day_view_on_main_canvas_drag_data_received): ditto * gui/dialogs/comp-editor.c (real_edit_comp): reflect changes in proto of recur_component_dialog * gui/dialogs/recur-comp.c (recur_component_dialog): use ok/cancel instead and radio buttons for the mod type * gui/dialogs/recur-comp.h: update proto * gui/e-day-view.c (e_day_view_on_long_event_click): allow dragging if its an instance (e_day_view_on_event_click): ditto (e_day_view_on_top_canvas_motion): ditto (e_day_view_on_main_canvas_motion): ditto * gui/dialogs/comp-editor.c (save_comp): if its an instance, update with the mod type (real_edit_comp): ask the user what instances they want to change * gui/dialogs/recur-comp.[hc]: new dialog to ask user what recurrences to modify * gui/dialogs/Makefile.am: Compile new files * gui/e-day-view.c (e_day_view_on_delete_occurrence): if its an instance, just remove with THIS mod * gui/e-week-view.c (e_week_view_on_delete_occurrence): ditto * cal-client/cal-client.c (cal_client_remove_object_with_mod): send the mod parameter to the backend (cal_client_remove_object): implement with above (cal_client_update_object_with_mod): send the mod parameter to the backend (cal_client_update_object): implement with above * cal-client/cal-client.h: new protos * cal-client/cal-client.c (cal_client_is_read_only): return booleans in the pre conditions (cal_client_update_object): pass mod param (cal_client_update_objects): ditto (cal_client_remove_object): ditto (cal_client_ensure_timezone_on_server): ditto * pcs/cal.c (impl_Cal_update_objects): take mod param (impl_Cal_remove_object): ditto * pcs/cal-backend.h: fix protos * pcs/cal-backend.c (cal_backend_update_objects): take mod param (cal_backend_remove_object): ditto * pcs/cal-backend-file.c (cal_backend_file_update_objects): take mod param (cal_backend_file_remove_object): ditto * cal-util/cal-util.h: add mod enum * cal-util/cal-recur.c (cal_recur_generate_instances_of_rule): if its an instance, just report the instance * cal-util/cal-component.h: new protos * cal-util/cal-component.c (cal_component_is_instance): indicate whether the component is an instance or not (cal_component_free_range): free a range * idl/evolution-calendar.idl: get remove and update to take mod type svn path=/trunk/; revision=20141
* s/class/klass in one place so that the header is c++-safe.Jeffrey Stedfast2003-03-052-1/+6
| | | | | | | | | 2003-03-04 Jeffrey Stedfast <fejj@ximian.com> * camel-object.h: s/class/klass in one place so that the header is c++-safe. svn path=/trunk/; revision=20140
* Don't allow the returned charset to be NULL. (get_file_content): Make sureJeffrey Stedfast2003-03-052-2/+13
| | | | | | | | | | | 2003-03-04 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (composer_get_default_charset_setting): Don't allow the returned charset to be NULL. (get_file_content): Make sure there is buffered data before trying to convert it to UTF-8. svn path=/trunk/; revision=20139
* changed the button order to be HIG compliantJeffrey Stedfast2003-03-051-286/+297
| | | | svn path=/trunk/; revision=20138
* Go back to using e_destination_get_address() but use the camel-addressJeffrey Stedfast2003-03-052-10/+30
| | | | | | | | | | 2003-03-04 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (composer_get_message): Go back to using e_destination_get_address() but use the camel-address parser on the strings to make sure they are non-empty. Fixes bug #37854. svn path=/trunk/; revision=20137