aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* New wrapper around gethostbyaddr_r if the system has it, else a whole newJeffrey Stedfast2002-04-173-79/+150
| | | | | | | | | | 2002-04-16 Jeffrey Stedfast <fejj@ximian.com> * e-host-utils.c (e_gethostbyaddr_r): New wrapper around gethostbyaddr_r if the system has it, else a whole new implementation. svn path=/trunk/; revision=16483
* Add checks for gethostbyaddr_rJeffrey Stedfast2002-04-173-2/+42
| | | | | | | | 2002-04-16 Jeffrey Stedfast <fejj@ximian.com> * configure.in: Add checks for gethostbyaddr_r svn path=/trunk/; revision=16482
* Ref the prefs widget here since we unref in the destroy callback. CaughtJeffrey Stedfast2002-04-173-5/+14
| | | | | | | | | | 2002-04-16 Jeffrey Stedfast <fejj@ximian.com> * mail-config-factory.c (config_control_factory_cb): Ref the prefs widget here since we unref in the destroy callback. Caught this thanks to purify. svn path=/trunk/; revision=16481
* Updated French translation.Christophe Merlet2002-04-162-57/+60
| | | | svn path=/trunk/; revision=16478
* oops, forgot to commit this last timeJeffrey Stedfast2002-04-151-0/+3
| | | | svn path=/trunk/; revision=16472
* fixes for socklen_t detectionJeffrey Stedfast2002-04-151-1/+12
| | | | svn path=/trunk/; revision=16467
* Added #include <sys/types.h> for dirent.h which needs it on MacOS X.Jeffrey Stedfast2002-04-155-3/+18
| | | | | | | | | | | | | | | | | | | 2002-04-14 Jeffrey Stedfast <fejj@ximian.com> * providers/local/camel-spoold-store.c: Added #include <sys/types.h> for dirent.h which needs it on MacOS X. * providers/local/camel-maildir-store.c: Same. * providers/nntp/camel-nntp-store.c: Same. * providers/imap/camel-imap-message-cache.c: Same. * camel-provider.c: Same. * camel-data-cache.c: Same. svn path=/trunk/; revision=16466
* s/ENABLE_NEWS/ENABLE_NNTPJeffrey Stedfast2002-04-141-1/+1
| | | | svn path=/trunk/; revision=16464
* Added #include <sys/types.h> for dirent.h which needs it on MacOS X.Jeffrey Stedfast2002-04-143-0/+9
| | | | | | | | | | | 2002-04-14 Jeffrey Stedfast <fejj@ximian.com> * camel-provider.c: Added #include <sys/types.h> for dirent.h which needs it on MacOS X. * camel-data-cache.c: Same. svn path=/trunk/; revision=16463
* Check for socklen_t and if it doesn't exist, define it as unsigned int.Jeffrey Stedfast2002-04-142-0/+7
| | | | | | | | | 2002-04-14 Jeffrey Stedfast <fejj@ximian.com> * configure.in: Check for socklen_t and if it doesn't exist, define it as unsigned int. svn path=/trunk/; revision=16462
* compile fixesJeffrey Stedfast2002-04-143-19/+19
| | | | svn path=/trunk/; revision=16461
* fix the nntp provider makefile.amJeffrey Stedfast2002-04-141-18/+3
| | | | svn path=/trunk/; revision=16460
* Build fixes for --enable-nntp.Jeffrey Stedfast2002-04-142-4/+9
| | | | | | | | 2002-04-13 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c: Build fixes for --enable-nntp. svn path=/trunk/; revision=16459
* Updated French translation.Christophe Merlet2002-04-134-805/+823
| | | | svn path=/trunk/; revision=16458
* Treat commas as token delimeters. (WEEKDAY_CHARS): Use full weekday namesJeffrey Stedfast2002-04-132-22/+31
| | | | | | | | | | | | 2002-04-12 Jeffrey Stedfast <fejj@ximian.com> * broken-date-parser.c (datetok): Treat commas as token delimeters. (WEEKDAY_CHARS): Use full weekday names in case the broken mailer used the full names. (MONTH_CHARS): Same as above but for months. svn path=/trunk/; revision=16456
* Fixed a grammer mistake, or so according to bug #23376. Whatever.Jeffrey Stedfast2002-04-133-19/+25
| | | | | | | | | 2002-04-12 Jeffrey Stedfast <fejj@ximian.com> * filter-rule.c (get_widget): Fixed a grammer mistake, or so according to bug #23376. Whatever. svn path=/trunk/; revision=16454
* added a #include to fix a compile warningJeffrey Stedfast2002-04-131-0/+2
| | | | svn path=/trunk/; revision=16453
* Make it so that unchecking the "Enable Advanced Options" in the signatureJeffrey Stedfast2002-04-133-1/+27
| | | | | | | | | | 2002-04-12 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (mail_composer_prefs_construct): Make it so that unchecking the "Enable Advanced Options" in the signature tab disables the advanced settings and vise versa. svn path=/trunk/; revision=16452
* Setup News preferences too if it is enabled.Jeffrey Stedfast2002-04-135-1794/+262
| | | | | | | | | 2002-04-12 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (mail_accounts_tab_construct): Setup News preferences too if it is enabled. svn path=/trunk/; revision=16451
* Fix typosAndrew V. Samoilov2002-04-121-25/+25
| | | | svn path=/trunk/; revision=16450
* Set the text of the reply-to. (mail_account_gui_save): Get the reply-toJeffrey Stedfast2002-04-128-127/+380
| | | | | | | | | | | | | | | | | | 2002-04-12 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_new): Set the text of the reply-to. (mail_account_gui_save): Get the reply-to text here. (mail_account_gui_identity_complete): If there is text in the reply-to widget make sure it's valid. * mail-config.c (identity_copy): Copy the reply-to. (config_read): Read in the reply-to for all the accounts. (mail_config_write): Save the reply-to. (impl_GNOME_Evolution_MailConfig_addAccount): Get the reply-to. (identity_destroy): Free the reply-to. svn path=/trunk/; revision=16446
* Change the Reply-To header contents. (e_msg_composer_hdrs_set_reply_to):Jeffrey Stedfast2002-04-122-13/+22
| | | | | | | | | | | | | | 2002-04-12 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-hdrs.c (from_changed): Change the Reply-To header contents. (e_msg_composer_hdrs_set_reply_to): The Reply-To entry was an EEntry, not a bonobo control so fix this to set the text using e_entry_set_text. (e_msg_composer_hdrs_get_reply_to): Use e_entry_get_text here for the same reason. svn path=/trunk/; revision=16445
* Fix "Follow Up" searches by comparing to the empty string, rather than justRussell Steinthal2002-04-123-4/+16
| | | | | | looking at the string value (which isn't a boolean) (Bug #233340 svn path=/trunk/; revision=16444
* new method.Rodrigo Moya2002-04-127-2/+69
| | | | | | | | | | | | | | | 2002-04-05 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend.[ch] (cal_backend_get_query): new method. * pcs/cal-backend-file.c (cal_backend_file_get_query): new method. * pcs/cal.c (impl_Cal_get_query): call the CalBackend's implementation instead of calling query_new directly. * pcs/query.[ch]: fixed headers. svn path=/trunk/; revision=16443
* Handle parsing negative integers.Jeffrey Stedfast2002-04-122-7/+23
| | | | | | | | 2002-04-11 Jeffrey Stedfast <fejj@ximian.com> * e-sexp.c (parse_value): Handle parsing negative integers. svn path=/trunk/; revision=16441
* Include addressbook-config.h here as this file uses it.Christopher James Lahey2002-04-128-44/+196
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-04-11 Christopher James Lahey <clahey@ximian.com> * gui/component/addressbook-component.c: Include addressbook-config.h here as this file uses it. * gui/component/select-names/e-select-names.c (SPEC, SPEC2): Made this dialog searchable by typing in the ETable. * gui/widgets/e-addressbook-model.c: Include e-addressbook-util.h here. * gui/widgets/e-addressbook-reflow-adapter.c (e_addressbook_reflow_adapter_right_click), gui/widgets/e-addressbook-view.c (table_right_click): Fixed a memory leak here by using "selection-done" signal. * gui/widgets/e-addressbook-reflow-adapter.c, gui/widgets/e-addressbook-reflow-adapter.h, gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard-view.c: Added a right click menu for areas that aren't cards. svn path=/trunk/; revision=16440
* Fixed a memory leak here by using the "selection-done" signal.Christopher James Lahey2002-04-123-13/+49
| | | | | | | | | | | | 2002-04-11 Christopher James Lahey <clahey@ximian.com> * e-table-header-item.c (ethi_header_context_menu): Fixed a memory leak here by using the "selection-done" signal. * e-table.c, e-table.h (white_item_event): Added the "white_space_event" signal. svn path=/trunk/; revision=16439
* If the last message(s) were deleted, and we had any messages output,Not Zed2002-04-114-1/+24
| | | | | | | | | | | | | | | | | 2002-04-11 Not Zed <NotZed@Ximian.com> * providers/local/camel-spool-summary.c (spool_summary_sync_full): If the last message(s) were deleted, and we had any messages output, account for the lost \n of the following From line by adding an extra \n. fix for #8214. 2002-04-10 Not Zed <NotZed@Ximian.com> * camel-mime-part-utils.c (convert_buffer): If we get a 0 length input, return a 0 lenght output as valid - fixes bugs with some iconv impl and its simpler anyway. svn path=/trunk/; revision=16438
* s/Sent/Date. This fixes bug #11159.Jeffrey Stedfast2002-04-112-1/+5
| | | | | | | | 2002-04-11 Jeffrey Stedfast <fejj@ximian.com> * message-list.etspec: s/Sent/Date. This fixes bug #11159. svn path=/trunk/; revision=16437
* Set the UID_SET_LIMIT value to 4096. I ran into an issue tonight whereJeffrey Stedfast2002-04-112-1/+14
| | | | | | | | | | | | | | | 2002-04-11 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c: Set the UID_SET_LIMIT value to 4096. I ran into an issue tonight where apparently the IMAP server changed the UIDVALIDITY and so Evo needed to re-fetch all headers and it was trying to send a uid set of some 25k (yes, I have a very large INBOX). Anyways, it was set to unlimited before. Courier IMAPd can safely handle up to ~16k per token, but UW IMAPd can only handle 8k per command-line, so I set it to 4k just to be safe. svn path=/trunk/; revision=16436
* Set the 'No' button as the default.Jeffrey Stedfast2002-04-112-0/+8
| | | | | | | | | 2002-04-10 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (confirm_expunge): Set the 'No' button as the default. svn path=/trunk/; revision=16435
* it's monkey-16.png not monkey.pngJeffrey Stedfast2002-04-111-1/+1
| | | | svn path=/trunk/; revision=16434
* Fix this: Rodrigo's patch used one of the functions I just removed. :)Dan Winship2002-04-112-12/+11
| | | | | | | * gui/gnome-cal.c (gnome_calendar_open): Fix this: Rodrigo's patch used one of the functions I just removed. :) svn path=/trunk/; revision=16433
* add Rupert's seal of approvalDan Winship2002-04-112-0/+1
| | | | svn path=/trunk/; revision=16432
* Oops, put x_mailer_display_style in /Mail/Display, not /Mail/FormatDan Winship2002-04-111-2/+2
| | | | svn path=/trunk/; revision=16431
* Handle the X-Mailer display style. (There is currently no GUI forDan Winship2002-04-114-13/+102
| | | | | | | | | | | | | * mail-config.c (config_read, mail_config_write, mail_config_get_x_mailer_display_style, mail_config_set_x_mailer_display_style): Handle the X-Mailer display style. (There is currently no GUI for configuring this.) * mail-format.c (write_headers, write_xmailer_header): Show X-Mailer/User-Agent (and Rupert's stamp of approval) as appropriate. svn path=/trunk/; revision=16430
* oops, after converting everything truncate the GByteArray to the correct ↵Jeffrey Stedfast2002-04-111-0/+4
| | | | | | length (in case we over-allocated) svn path=/trunk/; revision=16429
* Fixed a bug that would miscalculate how much data to copy into theJeffrey Stedfast2002-04-112-46/+68
| | | | | | | | | | | 2002-04-10 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-part-utils.c (convert_buffer): Fixed a bug that would miscalculate how much data to copy into the GByteArray (negative value) thus causing a segfault. Also optimized it while I was at it. svn path=/trunk/; revision=16428
* use the default uri for tasks (as stored in the configuration) when theRodrigo Moya2002-04-112-22/+14
| | | | | | | | | | 2002-04-10 Rodrigo Moya <rodrigo@ximian.com> * gui/gnome-cal.c (gnome_calendar_open): use the default uri for tasks (as stored in the configuration) when the calendar URI is not a local one (connector, etc). svn path=/trunk/; revision=16427
* No need to query for the persist-stream interface here, just re-useJeffrey Stedfast2002-04-112-13/+17
| | | | | | | | | | | 2002-04-08 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (set_editor_text): No need to query for the persist-stream interface here, just re-use composer->persist_stream_interface - this might improve the speed at which a reply action brings up the composer. svn path=/trunk/; revision=16425
* #include <parser.h> and <xmlmemory.h> instead of <gnome-xml/parser.h> andEttore Perazzoli2002-04-111-2/+4
| | | | | | | | | | * gal/util/e-xml-utils.c: #include <parser.h> and <xmlmemory.h> instead of <gnome-xml/parser.h> and <gnome-xml/xmlmemory.h>. In fact, the latter is incompatible with what `gnome-config --cflags xml' is assuming, and breaks in the case where gnome-xml is not installed in /usr/local. svn path=/trunk/; revision=16424
* Shell config page routines. Right now handles the default folders page.Dan Winship2002-04-1113-23/+618
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-config.c: Shell config page routines. Right now handles the default folders page. * glade/e-shell-config-default-folders.glade: New. * GNOME_Evolution_Shell.oaf.in: Add info for the default folders config page. * main.c (idle_cb): If we successfully registered the shell, register the config factory. * evolution-shell-client.c (evolution_shell_client_new): Note the fact that it frees the corba_shell when it is destroyed. * evolution-folder-selector-button.c (evolution_folder_selector_button_construct, destroy): Use bonobo_object_ref/unref on the shell client, not gtk. * e-shell.c (e_shell_construct): Pass local_directory to e_setup_check_db. (handle_default_uri): Fix the config db paths here to match the other routines. * e-setup.c (e_setup_check_db): Make this take the evolution directory path as well so we can properly set up file: URIs for the default folders. svn path=/trunk/; revision=16423
* Add. (Copied from Unscalable Gorilla because it was handy. Will probablyDan Winship2002-04-113-0/+7
| | | | | | | | * Makefile.am (images_DATA), folder-settings.png: Add. (Copied from Unscalable Gorilla because it was handy. Will probably get changed to something else...) svn path=/trunk/; revision=16422
* Use new-and-improved default folder URI config paths.Dan Winship2002-04-116-103/+31
| | | | | | | | | | | | | | * cal-client/cal-client.c (get_default_uri): Use new-and-improved default folder URI config paths. * gui/calendar-config.c (calendar_config_{get,set}_default_uri, calendar_config_{get,set}_default_tasks_uri): Remove these. The shell owns this information now. (Weren't being used anyway.) * gui/component-factory.c (get_data_uri): Fix another place that hardcoded tacking foo.ics on to the end of URLs. svn path=/trunk/; revision=16421
* Check that there is a value to setup. Fixes #15470.Not Zed2002-04-102-1/+4
| | | | | | | | | 2002-04-10 Not Zed <NotZed@Ximian.com> * filter-input.c (validate): Check that there is a value to setup. Fixes #15470. svn path=/trunk/; revision=16420
* Make the folder_lock recursive. See bug #22363 for details. Basically,Jeffrey Stedfast2002-04-104-8/+16
| | | | | | | | | | | | 2002-04-09 Jeffrey Stedfast <fejj@ximian.com> * camel-store.c (camel_store_init): Make the folder_lock recursive. See bug #22363 for details. Basically, get_folder_info() is requesting a diary folder which in turn connects which requests then calls get_folder() but deadlocks because get_folder_info already holds the lock. svn path=/trunk/; revision=16419
* removed an extra printfJeffrey Stedfast2002-04-101-1/+0
| | | | svn path=/trunk/; revision=16418
* Kludge around the brokeness that is GtkOptionMenu just like we kludgeJeffrey Stedfast2002-04-102-76/+87
| | | | | | | | | | 2002-04-09 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (setup_service): Kludge around the brokeness that is GtkOptionMenu just like we kludge around it for the authtype option menu. svn path=/trunk/; revision=16417
* Change the logic for displaying a default window, so we don't end up withEttore Perazzoli2002-04-102-1/+6
| | | | | | | * main.c (idle_cb): Change the logic for displaying a default window, so we don't end up with two windows all the time. svn path=/trunk/; revision=16416
* This needs to return a gboolean (TRUE). (rule_edit): UsingJeffrey Stedfast2002-04-102-5/+15
| | | | | | | | | | | 2002-04-09 Jeffrey Stedfast <fejj@ximian.com> * rule-editor.c (double_click): This needs to return a gboolean (TRUE). (rule_edit): Using gnome_dialog_set_parent instead of gtk_widget_set_parent_window seems to fix bug #23226. svn path=/trunk/; revision=16415
* made the copmment clearerJeffrey Stedfast2002-04-101-1/+1
| | | | svn path=/trunk/; revision=16413
* Don't adjust the timezone offset if we used tm.tm_gmtoff because it isJeffrey Stedfast2002-04-102-0/+9
| | | | | | | | | | 2002-04-09 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-message.c (camel_mime_message_set_date): Don't adjust the timezone offset if we used tm.tm_gmtoff because it is already adjusted. svn path=/trunk/; revision=16412
* Oops. The previous change made the search bar widgets get packed in theDan Winship2002-04-102-3/+11
| | | | | | | | | | * e-search-bar.c (e_search_bar_construct, add_button): Oops. The previous change made the search bar widgets get packed in the wrong order. So use gtk_box_pack_end instead in add_button and add the two buttons in reverse order. It's all good now. Noticed by Ettore, who I then promptly blamed for it. Sorry Ettore! svn path=/trunk/; revision=16411
* Update for new-and-improved consistent default folder uri.Dan Winship2002-04-103-64/+23
| | | | | | | | | | | | | * backend/ebook/e-book-util.c (e_book_load_default_book): Update for new-and-improved consistent default folder uri. * gui/component/addressbook.c (addressbook_load_default_book): Use e_book_load_default_book rather than duplicating most of its logic here. (load_uri_cb): Modify to work as a callback for addressbook_load_default_book as well as addressbook_load_uri. svn path=/trunk/; revision=16409
* Added closing ) for "not starts with" subject rule. Added closing ) forNot Zed2002-04-102-5/+6
| | | | | | | | | | 2002-04-10 Not Zed <NotZed@Ximian.com> * filtertypes.xml: Added closing ) for "not starts with" subject rule. Added closing ) for all the other broken rules too ... svn path=/trunk/; revision=16408
* Move <dirent.h> down the #include list so it compiles on Darwin.Ettore Perazzoli2002-04-102-2/+8
| | | | | | | * e-local-storage.c: Move <dirent.h> down the #include list so it compiles on Darwin. svn path=/trunk/; revision=16407
* Added closing ) for "not starts with" subject rule.Not Zed2002-04-103-19/+24
| | | | | | | | | 2002-04-10 Not Zed <NotZed@Ximian.com> * filtertypes.xml: Added closing ) for "not starts with" subject rule. svn path=/trunk/; revision=16406
* New. Check that things that need to be in the config db are. Right now itDan Winship2002-04-097-9/+60
| | | | | | | | | | | | | | | | | | * e-setup.c (e_setup_check_db): New. Check that things that need to be in the config db are. Right now it sets up the default folders. * e-shell.c (e_shell_construct): Call e_setup_check_db after getting the config db. * e-shell-constants.h: Add E_SUMMARY_URI, E_LOCAL_INBOX_URI, etc. * e-shortcuts.c (e_shortcuts_add_default_group): Use E_LOCAL_INBOX_URI, etc. * e-shell-view.c: #define FALLBACK_URI to E_SUMMARY_URI svn path=/trunk/; revision=16405
* If the shell fails to display all of the requested URIs, fall back toDan Winship2002-04-092-8/+15
| | | | | | the default URI (Summary). svn path=/trunk/; revision=16404
* Oops. Add ChangeLog entries for some changes that accidentally escapedDan Winship2002-04-091-0/+8
| | | | | | | | | | | | into my last commit. * main.c (idle_cb): Check for "default:" URIs and treat them the same way as "evolution:" URIs. * e-shell.c (impl_Shell_handleURI): Handle "default:" URIs by looking up the default folders in the config db. svn path=/trunk/; revision=16403
* Fix bad xml.Dan Winship2002-04-092-1/+5
| | | | | | * evolution-calendar.xml: Fix bad xml. svn path=/trunk/; revision=16402
* Add view_info arg but don't do anything with it.Dan Winship2002-04-092-0/+6
| | | | | | | * component-factory.c (create_view): Add view_info arg but don't do anything with it. svn path=/trunk/; revision=16401
* Add view_info arg. If the view_info is non-empty and this is a calendarDan Winship2002-04-095-9/+76
| | | | | | | | | | | | | | | | | | | * gui/component-factory.c (create_view): Add view_info arg. If the view_info is non-empty and this is a calendar folder, set the "view" property on the control's propertybag. * gui/control-factory.c (calendar_properties_init): Set up the "view" property. (get_prop, set_prop): handle the "view" property by getting/setting the GnomeCalendar's view. Unfortunately, this doesn't actually work. See #23208. * gui/calendar-commands.c (calendar_control_activate): Set the UI component's container before calling gnome_calendar_set_ui_component so that the search bar initialization will work. svn path=/trunk/; revision=16400
* Add view_info arg, but don't do anything with it.Dan Winship2002-04-092-0/+6
| | | | | | | * gui/component/addressbook-component.c (create_view): Add view_info arg, but don't do anything with it. svn path=/trunk/; revision=16399
* Add view_info arg, but don't do anything with it.Dan Winship2002-04-092-0/+6
| | | | | | | * component-factory.c (create_view): Add view_info arg, but don't do anything with it. svn path=/trunk/; revision=16398
* Add a "view_info" argument.Dan Winship2002-04-0912-29/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Evolution-ShellComponent.idl (createView): Add a "view_info" argument. * e-shell-view.c (get_view_for_uri): if the URI contains a '#', split it into a URI and a "view_info" at that point. (Otherwise, pass "" for the view_info to ShellComponent_createView.) This can be used for things like specifying day/month/week view to the calendar. * e-shell.c (create_view): Ignore e_shell_view_display_uri's return code: it's possible/likely that the requested URL is remote and hasn't been filled in yet. (impl_Shell_handleURI): Don't use Shell_createNewView directly, call e_shell_create_view_from_uri_and_settings. (For the above fix and some others.) * evolution-shell-component.c (impl_createView): Add view_info. * evolution-shell-component-client.c (evolution_shell_component_client_create_view): Add view_info. * evolution-test-component.c (create_view_fn): add view_data. * e-corba-storage-registry.c (impl_StorageRegistry_getFolderByUri): kill a warning svn path=/trunk/; revision=16397
* Use decode rather than unformat - the e_destination was changed (long timeNot Zed2002-04-093-5/+19
| | | | | | | | | | | | | | | | 2002-04-09 Not Zed <NotZed@Ximian.com> * e-msg-composer-hdrs.c (set_recipients_from_destv): Use decode rather than unformat - the e_destination was changed (long time ago) to rfc2047 encode the addresses, so we should decode likewise. Should fix #16158. * e-msg-composer.c (next_word): g_utf8_next_char never returns NULL, it just skips to the next character. So like normal string code, we just check for a nul explicitly. Fixes a bug found while checking #16158. svn path=/trunk/; revision=16396
* Argh! get_folder_info owns and frees its *OWN* folder info, it shouldn'tNot Zed2002-04-092-2/+7
| | | | | | | | | | | 2002-04-08 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (receive_update_got_folderinfo): Argh! get_folder_info owns and frees its *OWN* folder info, it shouldn't be free'd here! See mail-ops.c:get_folderinfo_free. This should fix #17259 and friends. svn path=/trunk/; revision=16395
* If we get multiple Content-Type header values, change subsequent headersNot Zed2002-04-096-29/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-04-09 Not Zed <NotZed@Ximian.com> * camel-mime-part.c (construct_from_parser): If we get multiple Content-Type header values, change subsequent headers to X-Invalid-Content-Type so it doesn't wreck processing. This fixes the reported case in #18929, but i dont know if it fixes the original posters problems. 2002-04-08 Not Zed <NotZed@Ximian.com> * camel-vtrash-folder.c (vtrash_move_messages_to): If we find we're moving from the vtrash to another folder, we need to convert the uid from a vfolder uid to the source uid (+8). Fix for #20886. Also changed to batch multiple moves to different folders so they are done as efficiently as possible rather than one at a time. * camel-mime-utils.c (base64_decode_step): If we only get passed '=', we back track only if we actually output any data. Fix for #21716. (quoted_decode): Pass out size_t instead of int, and use 0 instead of -1 for error since its not signed. This will fix similar bug to above in different circumstances since the result is taken as unsigned. This is only an internal func. (quoted_encode): Return size_t just for consistency. * camel-block-file.c (block_file_validate_root): Comment out the debug and move it into a warning when the validation fails. svn path=/trunk/; revision=16394
* oops, I forgot to update the ChangeLog to be accurate for my last commitJeffrey Stedfast2002-04-091-4/+3
| | | | svn path=/trunk/; revision=16393
* Since bonobo doesn't seem to O_TRUNC the file stream before writing to it,Jeffrey Stedfast2002-04-092-26/+49
| | | | | | | | | | | | | 2002-04-08 Jeffrey Stedfast <fejj@ximian.com> * mail-signature-editor.c (menu_file_save_cb): Since bonobo doesn't seem to O_TRUNC the file stream before writing to it, write to a temp file first and then rename() it to the real filename. This also protects against losing data if the drive is full too. Also use a real mode, not 0, so that we can actually save/read the content ;-) svn path=/trunk/; revision=16392
* Re-added the config wizard interfaces. Ettore accidently removed themJeffrey Stedfast2002-04-094-47/+38
| | | | | | | | | | | | | | | | 2002-04-08 Jeffrey Stedfast <fejj@ximian.com> * GNOME_Evolution_Mail.oaf.in: Re-added the config wizard interfaces. Ettore accidently removed them thinking they were duplicates of the new mail-config interfaces. * mail-config.glade: Remove the OK, Apply, Cancel buttons from the keyboard shortcut tab in the composer_prefs dialog. * mail-account-gui.c: No need to check gui->source before using gui->source->url, since gui->source *has* to exist. svn path=/trunk/; revision=16391
* Don't count our filler when encoding our line-length octet.Jeffrey Stedfast2002-04-093-4/+12
| | | | | | | | | 2002-04-08 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-utils.c (uuencode_close): Don't count our filler when encoding our line-length octet. svn path=/trunk/; revision=16390
* Fix "evolution evolution:/path/to/folder" to use default viewDan Winship2002-04-086-46/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | prefs. * e-shell.c (impl_Shell_createNewView): Use e_shell_create_view_from_uri_and_settings to create the new view based on saved view 0 instead of always using the initial evolution defaults. (e_shell_create_view_from_uri_and_settings): Renamed and simplified; the template_view argument was useless and settings_found would always be set to TRUE in the context it was being used it. (e_shell_restore_from_settings): Simplify for e_shell_create_view_from_uri_and_settings changes. * e-shell-view.c (e_shell_view_load_settings): Only load the DisplayedURI if the view isn't already displaying a URI. Also, pass an &ev to the first bonobo_config_get_long so we can tell if it failed and bail out. * e-shell-view.h: Remove a prototype for a non-existent function (e_shell_view_remove_control_for_uri). * main.c (idle_cb): Add some comments here and remove some dead code. svn path=/trunk/; revision=16389
* added some debug printf'sJeffrey Stedfast2002-04-081-2/+6
| | | | svn path=/trunk/; revision=16388
* Updated French translation.Christophe Merlet2002-04-082-2268/+2046
| | | | svn path=/trunk/; revision=16386
* Remove notes files.JP Rosevear2002-04-072-2/+6
| | | | | | | | 2002-04-06 JP Rosevear <jpr@ximian.com> * POTFILES.in: Remove notes files. svn path=/trunk/; revision=16385
* Oops.JP Rosevear2002-04-071-0/+4
| | | | svn path=/trunk/; revision=16382
* Remove dead files.JP Rosevear2002-04-072-1250/+0
| | | | | | | | 2002-04-06 JP Rosevear <jpr@ximian.com> * pcs/cal-backend-db.[hc]: Remove dead files. svn path=/trunk/; revision=16381
* add config_item:typeJP Rosevear2002-04-072-0/+9
| | | | | | | | 2002-04-06 JP Rosevear <jpr@ximian.com> * gui/GNOME_Evolution_Calendar.oaf.in: add config_item:type svn path=/trunk/; revision=16380
* add config_item:priorityJP Rosevear2002-04-073-0/+12
| | | | | | | | 2002-04-06 JP Rosevear <jpr@ximian.com> * GNOME_Evolution_Summary.oaf.in.in: add config_item:priority svn path=/trunk/; revision=16379
* add config_item:typeJP Rosevear2002-04-072-0/+10
| | | | | | | | | 2002-04-06 JP Rosevear <jpr@ximian.com> * gui/component/GNOME_Evolution_Addressbook.oaf.in: add config_item:type svn path=/trunk/; revision=16378
* add config_item:typeJP Rosevear2002-04-072-1/+9
| | | | | | | | 2002-04-06 JP Rosevear <jpr@ximian.com> * GNOME_Evolution_Mail.oaf.in: add config_item:type svn path=/trunk/; revision=16377
* set type (load_pages): get the oaf property for type and track the pageJP Rosevear2002-04-074-10/+97
| | | | | | | | | | | | | | | | | | | | 2002-04-06 JP Rosevear <jpr@ximian.com> * e-shell-settings-dialog.c (page_new): set type (load_pages): get the oaf property for type and track the page number of the highest priority for each type (destroy_type_entry): destroy hash func (impl_destroy): destroy the hash table (init): create private struct and hash table (e_shell_settings_dialog_show_type): show the page of the given type * e-shell-view-menu.c (command_settings): show the page for the current folder type by default * e-shell-settings-dialog.h: new proto svn path=/trunk/; revision=16376
* Construct the buttons earlier so that the option-menu-setup code thatDan Winship2002-04-072-5/+11
| | | | | | | | * e-search-bar.c (e_search_bar_construct): Construct the buttons earlier so that the option-menu-setup code that tries to adjust the button sensitivity won't fail and g_warn. svn path=/trunk/; revision=16375
* show a specific page numberJP Rosevear2002-04-073-0/+23
| | | | | | | | | | | 2002-04-06 JP Rosevear <jpr@ximian.com> * e-multi-config-dialog.c (e_multi_config_dialog_show_page): show a specific page number * e-multi-config-dialog.h: new proto svn path=/trunk/; revision=16374
* Oops.JP Rosevear2002-04-071-1/+1
| | | | svn path=/trunk/; revision=16373
* Remove mail-summary.cJP Rosevear2002-04-071-0/+4
| | | | | | | | 2002-04-06 JP Rosevear <jpr@ximian.com> * POTFILES.in: Remove mail-summary.c svn path=/trunk/; revision=16372
* Remove executive summary files.JP Rosevear2002-04-072-9/+13
| | | | | | | | 2002-04-06 JP Rosevear <jpr@ximian.com> * POTFILES.in: Remove executive summary files. svn path=/trunk/; revision=16371
* Set the title of the dialog.Ettore Perazzoli2002-04-062-0/+5
| | | | | | * e-shell-settings-dialog.c (init): Set the title of the dialog. svn path=/trunk/; revision=16370
* Don't get the statuscode here anymore. (http_method_invoke): Use aJeffrey Stedfast2002-04-063-34/+170
| | | | | | | | | | | | | | | | | | | | 2002-04-05 Jeffrey Stedfast <fejj@ximian.com> * camel-http-stream.c (http_get_headers): Don't get the statuscode here anymore. (http_method_invoke): Use a User-Agent header and do basic proxy authentication. (stream_read): Handle redirects. (camel_http_stream_set_user_agent): New function to allow client to set the User-Agent string. (camel_http_stream_set_proxy): New function for setting the proxy server. (camel_http_stream_set_proxy_authrealm): New function for setting the proxy auth realm. (camel_http_stream_set_proxy_authpass): New function for setting the proxy auth password. svn path=/trunk/; revision=16367
* Fixes bug #3980.Jeffrey Stedfast2002-04-064-7/+21
| | | | | | | | | | | | | 2002-04-05 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #3980. * e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_cc): If a Cc list is set to something non-empty, make sure to show the Cc widgets. (e_msg_composer_hdrs_set_bcc): Same but for Bcc. (e_msg_composer_hdrs_set_reply_to): And here. svn path=/trunk/; revision=16366
* comment out more unused camel filesJP Rosevear2002-04-062-3/+8
| | | | | | | | 2002-04-05 JP Rosevear <jpr@ximian.com> * POTFILES.in: comment out more unused camel files svn path=/trunk/; revision=16365
* remove file that is not compiled (and hence not disted)JP Rosevear2002-04-062-1/+5
| | | | | | | | | 2002-04-05 JP Rosevear <jpr@ximian.com> * POTFILES.in: remove file that is not compiled (and hence not disted) svn path=/trunk/; revision=16364
* dist the relevant xpmsJP Rosevear2002-04-052-1/+8
| | | | | | | | 2002-04-05 JP Rosevear <jpr@ximian.com> * Makefile.am: dist the relevant xpms svn path=/trunk/; revision=16363
* If (body-contains) is not passed any arguments, return empty/false. FixesNot Zed2002-04-052-1/+5
| | | | | | | | | | 2002-04-04 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-search.c (imap_body_contains): If (body-contains) is not passed any arguments, return empty/false. Fixes a crash exposed by #15001. svn path=/trunk/; revision=16362
* Simplified since we can now decode in-reply-to without getting extraJeffrey Stedfast2002-04-054-42/+61
| | | | | | | | | | | | | | | | | 2002-04-04 Jeffrey Stedfast <fejj@ximian.com> * camel-folder-summary.c (message_info_new): Simplified since we can now decode in-reply-to without getting extra cruft. Get rid of the FIXME about having to check scan->id because of the possibility of it being NULL, this can no longer happen. * camel-mime-utils.c (header_references_inreplyto_decode): New function to decode in-reply-to headers. Only grabs the first thing that looks like a message-id and then returns. (header_references_decode): Loop calling header_references_decode_single (a new internal function). svn path=/trunk/; revision=16361
* Re-Add $(WOMBAT_LIBS) so wombat actually links.Jeffrey Stedfast2002-04-052-1/+6
| | | | | | | | 2002-04-04 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Re-Add $(WOMBAT_LIBS) so wombat actually links. svn path=/trunk/; revision=16360
* Fix a memory mixup.Dan Winship2002-04-052-2/+7
| | | | | | | * evolution-shell-client.c (evolution_shell_client_get_pixbuf_for_type): Fix a memory mixup. svn path=/trunk/; revision=16359
* link to the static libversitJP Rosevear2002-04-052-1/+5
| | | | | | | | 2002-04-04 JP Rosevear <jpr@ximian.com> * conduit/Makefile.am: link to the static libversit svn path=/trunk/; revision=16358
* add evolution-folder-selector-button.cDan Winship2002-04-051-0/+1
| | | | svn path=/trunk/; revision=16357
* Remove refs to drafts_folder_name and sent_folder_name in the corbaDan Winship2002-04-052-2/+6
| | | | | | | | * netscape-importer.c (netscape_import_accounts): Remove refs to drafts_folder_name and sent_folder_name in the corba account structure. svn path=/trunk/; revision=16356
* Update for evolution_shell_client_user_select_folder API change.Dan Winship2002-04-052-16/+18
| | | | | | | * gui/widgets/e-addressbook-util.c (e_addressbook_transfer_cards): Update for evolution_shell_client_user_select_folder API change. svn path=/trunk/; revision=16355
* Remove the #ifndef SHELL part. Use an EvolutionFolderSelectorButton.Dan Winship2002-04-056-126/+40
| | | | | | | | | | | | | | | | * filter-folder.c: Remove the #ifndef SHELL part. Use an EvolutionFolderSelectorButton. Remove FilterFolder->name since it's no longer needed. * filter-context.c (filter_rename_uri): Update for removal of FilterFolder->name. * filter-element.c (filter_element_copy_value): Likewise. * vfolder-rule.c (source_add): Update for evolution_shell_client_user_select_folder API change. svn path=/trunk/; revision=16354
* Make the drafts and sent folder buttons be EvolutionFolderSelectorButtons.Dan Winship2002-04-059-170/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mail-account-gui.c (mail_account_gui_new): Make the drafts and sent folder buttons be EvolutionFolderSelectorButtons. Remove the code to deal with drafts_folder_name and sent_folder_name, since they were only used to construct the button and aren't needed now. (mail_account_gui_save): Remove drafts/sent name references. (mail_account_gui_destroy): Likewise (folder_selected): Handle the "selected" signal on the folder selector button by updating the URI in the MailAccountGui. (mail_account_gui_folder_selector_button_new): Glade custom widget constructor. * mail-callbacks.c (transfer_msg): Update for evolution_shell_client_user_select_folder change. * message-browser.c (transfer_msg): Likewise. (Sigh. Why is this cut+pasted?) * mail-config.glade: Make the drafts/sent folder buttons custom widgets. * mail-config.c (account_copy): Remove drafts/sent folder name handling. (account_destroy): Likewise. (config_read): Likewise. (mail_config_write): Likewise. * Mail.idl (MailConfig:Account): remove drafts_folder_name and sent_folder_name. svn path=/trunk/; revision=16353
* New widget for a button that displays a folder selection in a standardDan Winship2002-04-0512-75/+712
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-folder-selector-button.c: New widget for a button that displays a folder selection in a standard form, and when clicked lets the user select a new folder. * Evolution-Shell.idl (FolderSelectionListener:notifySelected): Make this take an Evolution:Folder instead of a pair of uris. (Shell:getIconByType): New method to get the icon for a type from the folder type registry. * Evolution-common.idl (Folder): add "evolutionUri" to the folder structure. * Evolution-Storage.idl (StorageRegistry:getFolderByUri): get an Evolution:Folder for a given uri. * evolution-shell-client.c (evolution_shell_client_user_select_folder): Update this to reflect the IDL change: return a GNOME_Evolution_Folder instead of a pair of URIs. Make sure it always sets *@folder_return to %NULL if it fails (even if it's a g_return_if_fail). (evolution_shell_client_get_storage_registry_interface): New. (evolution_shell_client_get_pixbuf_for_type): New. Uses Shell_getIconByType, but caches results. * e-shell.c (folder_selection_dialog_folder_selected_cb): Update for API change. (Return a GNOME_Evolution_Folder.) (impl_Shell_getIconByType): Implement. * e-corba-storage-registry.c (impl_StorageRegistry_getFolderByUri): Implement. * evolution-storage.c (evolution_storage_new_folder): Add a (dummy) evolutionUri to the folder. * Makefile.am (libeshell_la_SOURCES): add evolution-folder-selector-button.c (eshellinclude_HEADERS): and .h svn path=/trunk/; revision=16352
* fix substitution typoJP Rosevear2002-04-053-5/+9
| | | | | | | | 2002-04-04 JP Rosevear <jpr@ximian.com> * Makefile.am: fix substitution typo svn path=/trunk/; revision=16351
* Fix static linking on solaris which doesn't have a static libresolv.JP Rosevear2002-04-052-1/+17
| | | | | | | | | 2002-04-04 JP Rosevear <jpr@ximian.com> * configure.in: Fix static linking on solaris which doesn't have a static libresolv. svn path=/trunk/; revision=16347
* Don't show the popup if the entry->item doesn't have focus.Ettore Perazzoli2002-04-041-0/+5
| | | | | | | * gal/e-text/e-entry.c (e_entry_show_popup): Don't show the popup if the entry->item doesn't have focus. svn path=/trunk/; revision=16345
* Added missing </submenu> tag. Remove bogus "Dump" menu item.Ettore Perazzoli2002-04-042-161/+162
| | | | | | | * evolution-addressbook.xml: Added missing </submenu> tag. Remove bogus "Dump" menu item. svn path=/trunk/; revision=16344
* Put DB3_LDADD and LDAP_LIBS on the top so the PAS backend uses the rightEttore Perazzoli2002-04-042-3/+9
| | | | | | | | * Makefile.am (wombat_LDADD): Put DB3_LDADD and LDAP_LIBS on the top so the PAS backend uses the right version of DB3 and always links to LDAP. svn path=/trunk/; revision=16343
* Change type of parent_class to BonoboXObjectClass.Ettore Perazzoli2002-04-049-64/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-shell-component.c: Change type of parent_class to BonoboXObjectClass. * e-shell.c (pop_up_activation_error_dialog): New helper function to pop up a dialog if one of the components couldn't be activated, getting the description for the error from e_get_activation_failure_msg(). (setup_components): Use this function in case of activation error. (set_owner_on_components): Likewise, when the component gets restarted. Also get a @splash arg so we can set the parent for this dialog correctly. * e-component-registry.c (register_component): New arg @ev. (e_component_registry_register_component): Likewise. (e_component_registry_restart_component): Likewise. Also, remove some bogus code that was #if'ed out. * evolution-shell-component-client.c (evolution_shell_component_client_new): New arg @ev. * evolution-shell-component-utils.c (e_get_activation_failure_msg): New. svn path=/trunk/; revision=16342
* Add GNOME_Evolution_Summary.oaf.in, as this file is now generated.Ettore Perazzoli2002-04-041-0/+1
| | | | svn path=/trunk/; revision=16341
* Remove bogus EXTRA_DIST with sgmldocs.make. Problem pointed out by RichardEttore Perazzoli2002-04-042-1/+5
| | | | | | | * C/Makefile.am: Remove bogus EXTRA_DIST with sgmldocs.make. Problem pointed out by Richard Boulton <richard@tartarus.org>. svn path=/trunk/; revision=16340
* Remove AddressbookConfig, ContactNew, ContactNewList EPixmap entries.Ettore Perazzoli2002-04-043-3/+13
| | | | | | | | | | | * gui/component/addressbook.c: Remove AddressbookConfig, ContactNew, ContactNewList EPixmap entries. * gui/component/addressbook-factory.c (main): Print out a debugging message just before the main loop starts, for debugging purposes. svn path=/trunk/; revision=16339
* Make the preferences seperate from the viewsIain Holmes2002-04-0412-265/+250
| | | | svn path=/trunk/; revision=16338
* Updated Brazilian Portuguese translation done by Gustavo Maciel DiasGustavo Maciel Dias Vieira2002-04-042-3131/+16350
| | | | | | | | | 2002-04-04 Gustavo Maciel Dias Vieira <gdvieira@zaz.com.br> * pt_BR.po: Updated Brazilian Portuguese translation done by Gustavo Maciel Dias Vieira <gdvieira@zaz.com.br>. svn path=/trunk/; revision=16337
* Reset the keepalive timeout to 10 minutes rather than the 30 seconds I wasNot Zed2002-04-042-1/+7
| | | | | | | | | | 2002-04-04 Not Zed <NotZed@Ximian.com> * camel-remote-store.c (remote_connect): Reset the keepalive timeout to 10 minutes rather than the 30 seconds I was using for testing. svn path=/trunk/; revision=16336
* Deal with folders with no physical_uri.Dan Winship2002-04-042-0/+7
| | | | | | | * e-storage.c (get_path_for_physical_uri_foreach): Deal with folders with no physical_uri. svn path=/trunk/; revision=16335
* Set the window title/icon here instead.Jeffrey Stedfast2002-04-0410-88/+210
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-04-03 Jeffrey Stedfast <fejj@ximian.com> * message-tag-followup.c (construct): Set the window title/icon here instead. * message-tag-editor.c (message_tag_editor_init): Don't set the title or window icon here, this is a generic class. * mail-format.c (handle_multipart_signed): Replace get_url_for_icon with the new mail_display_get_url_for_icon function. (handle_multipart_digest): Here too. (get_cid): Use mail_display_add_url instead. (get_location): Same. (handle_text_enriched): Here too. (handle_multipart_signed): And here. * message-tag-followup.c (message_tag_followup_i18n_name): Use the U_() macro, not the _() macro as it is what we really want. * mail-ops.c (mail_send_message): Don't cast the message into a CamelMedium before sending anymore. * mail-callbacks.c (expunge_folder): Set the followup argument to NULL here. (done_message_selected): Get the followup value here and pass it to the mail-display here. (do_mail_fetch_and_print): Again with the NULL followup here. * folder-browser.c (folder_browser_set_message_preview): Update to pass in NULL as the followup since we are setting the message to NULL here. (done_message_selected): Get and set the appropriate followup value here. (do_message_selected): Update to pass in NULL as the followup since we are setting the message to NULL here. * mail-display.c (mail_display_set_message): Now takes a followup tag value. (mail_display_init): Set md->followup to NULL. (mail_display_destroy): Free md->followup. (mail_display_add_url): New: replaces the static add_url function originally in mail-format.c (mail_display_get_url_for_icon): New: replaces get_url_for_icon which was originally in mail-format.c svn path=/trunk/; revision=16334
* Dutch translation updated by Tino Meinen.Vincent van Adrighem2002-04-041-8659/+8554
| | | | | | | 2002-04-03 Vincent van Adrighem <V.vanAdrighem@dirck.mine.nu> * nl.po: Dutch translation updated by Tino Meinen. svn path=/trunk/; revision=16332
* Changes to allow combined store/transport providers (like exchange andDan Winship2002-04-043-15/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | * mail-account-gui.c: Changes to allow combined store/transport providers (like exchange and nntp). You can only select the transport if the account is also using that provider for the source. (source_type_changed): If changing away from a combined store/transport type, disable that provider on the transport page. If change to a combined store/transport type, enable and select that provider on the transport page. (mail_account_gui_setup): Do some additional bookkeeping here to make the above stuff work. (transport_type_changed): If the provider is a combined store/transport type, pretend it doesn't need any additional URL configuration. (mail_account_gui_transport_complete): if the transport provider is also a store provider, then as long as it matches the source for the account, it's considered complete. (mail_account_gui_save): If the selected transport is a combined store/transport provider, use the source page's information to fill in the transport url. * mail-local.c (mail_local_provider_init): Don't set up service_cache. svn path=/trunk/; revision=16331
* make service_cache be an array of CAMEL_NUM_PROVIDER_TYPES elements so youDan Winship2002-04-049-27/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * camel-provider.h (CamelProvider): make service_cache be an array of CAMEL_NUM_PROVIDER_TYPES elements so you can have a single provider offer both stores and transports. (Eg, Exchange, NNTP) * providers/imap/camel-imap-provider.c: Don't initialize service_cache here. (The session code can do it itself since the url_hash and url_equal functions are stored as part of the provider.) * providers/nntp/camel-nntp-provider.c: Likewise. * providers/local/camel-local-provider.c: Likewise. * providers/pop3/camel-pop3-provider.c: Likewise. * providers/sendmail/camel-sendmail-provider.c: Likewise. * providers/smtp/camel-smtp-provider.c: Likewise. * camel-session.c (register_provider): Initialize the provider's service cache(s) here. (camel_session_class_init): Don't initialize. vee_provider.service_cache here. (camel_session_destroy_provider): Update to destroy multiple service_caches. (service_cache_remove, get_service): Tweak these a bit to deal with multiple service_caches. svn path=/trunk/; revision=16330
* Turn indexing back on, fingers crossed ...Not Zed2002-04-037-11/+246
| | | | | | | | | | | | | | | | | | | | | | | 2002-04-03 Not Zed <NotZed@Ximian.com> * providers/local/camel-local-folder.c (camel_local_folder_construct): Turn indexing back on, fingers crossed ... * camel-block-file.c (sync_nolock): #!@$@$#@~#$ DF@#$!Q@$#!@$#!#%. Well it helps if we're iterating a list to iterate the node pointer ... * camel-text-index.c (text_index_sync): Sync the key tables explcitly. (text_index_sync): Debug out frag info. (camel_text_index_dump): Added a (rather large, but optional) raw dumping mode for debugging purposes. * camel-partition-table.c (camel_key_table_finalise): Sync root block when done. svn path=/trunk/; revision=16329
* Pass the UID of the message being edited to the save-draft signal handler.Jeffrey Stedfast2002-04-032-9/+36
| | | | | | | | | | | | | | 2002-04-02 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (do_edit_messages): Pass the UID of the message being edited to the save-draft signal handler. (composer_save_draft_cb): Pass the old draft uid to our async append_message function and let the append_message callback worry about deleting the old draft message on success. (save_draft_done): Delete the old draft message if we successfully appended the new draft message. svn path=/trunk/; revision=16328
* Handle a ton more nspr i/o errno's. (stream_connect): Act as if we areJeffrey Stedfast2002-04-033-11/+109
| | | | | | | | | | | | | | | | | | | | | | 2002-04-02 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-ssl.c (set_errno): Handle a ton more nspr i/o errno's. (stream_connect): Act as if we are doing a non-blocking connect. This is to try and work around bug #15120 where users get an EINPROGRESS error. Maybe importing a PRFileDesc into SSL mode automagically makes it non-blocking? I dunno. 2002-04-01 Jeffrey Stedfast <fejj@ximian.com> * camel-folder-summary.c (message_info_new): Updated the construction of the references to match JWZ's updated algorithm initialization (ie, append any In-Reply-To reference onto any References header and never take more than a single message-id from the In-Reply-To header since anything after the first will probably just be email addresses). Fixes bug #1336. svn path=/trunk/; revision=16327
* Set the show_checkboxes field here instead of the show_folders field.Christopher James Lahey2002-04-032-2/+8
| | | | | | | | | | 2002-04-02 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (e_storage_set_view_set_show_checkboxes): Set the show_checkboxes field here instead of the show_folders field. svn path=/trunk/; revision=16326
* If folder is NULL, return the correct type of data.Christopher James Lahey2002-04-032-2/+9
| | | | | | | | | 2002-04-02 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (etree_value_at): If folder is NULL, return the correct type of data. svn path=/trunk/; revision=16325
* Added e-storage-set-view-checkboxes.etstate andChristopher James Lahey2002-04-037-16/+91
| | | | | | | | | | | | | | | | | | | | | | | 2002-04-02 Christopher James Lahey <clahey@ximian.com> * Makefile.am (etspec_DATA): Added e-storage-set-view-checkboxes.etstate and e-storage-set-view-no-checkboxes.etstate here. * e-storage-set-view-checkboxes.etstate, e-storage-set-view-no-checkboxes.etstate: The two possible states of the EStorageSetView. * e-storage-set-view.c, e-storage-set-view.h (e_storage_set_view_set_show_checkboxes, e_storage_set_view_get_show_checkboxes): Added this functionality. Added a model column to the underlying table for the checkbox data. * e-storage-set-view.etspec: Added a view column for the checkboxes. svn path=/trunk/; revision=16324
* Sync the key tables explcitly.Not Zed2002-04-035-34/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-04-03 Not Zed <NotZed@Ximian.com> * camel-text-index.c (text_index_sync): Sync the key tables explcitly. * camel-partition-table.c (camel_key_table_finalise): Sync root block when done. (camel_key_table_sync): New function, sync key table (root) explicitly. 2002-04-02 Not Zed <NotZed@Ximian.com> * camel-block-file.c (camel_block_file_free_block): Mark root block dirty when we change it (this function isn't used yet anyway). * camel-text-index.c (text_index_add_name_to_word): Touch the root block when we modify the counts. Also, abort processing on any errors. (text_index_sync): Fix typo in comments. Sync the block file inside the lock. (text_index_compress_nosync): Lock the old index while we're compressing. (text_index_compress_nosync): Remove the bogus while() at the end of the while() loops! Also plug a memleak - records weren't freed. (text_index_rename): Lock around rename op. (text_index_add_name): More typos. (text_index_sync): Touch root when changing it. (text_index_add_name): " (text_index_delete_name): " (camel_text_index_new): Touch root if we change it. (text_index_cursor_reset): Make sure we NULL pointers after we free them (nothing uses this yet). * camel-partition-table.c (hash_key): Remove some debug accidentally left in. (camel_partition_table_add): When linking in the next block list, set the right previous pointer. (camel_key_table_add): Simplify the 'left' calculation (it was already ok though). (camel_key_table_next): Initialise returns before processing. Broaden the lock slightly, and simplify validity calculations. svn path=/trunk/; revision=16323
* Updated Italian translation from Clara Tattoni <clara.tattoni@libero.it>.Ettore Perazzoli2002-04-032-6994/+7305
| | | | | | | * it.po: Updated Italian translation from Clara Tattoni <clara.tattoni@libero.it>. svn path=/trunk/; revision=16322
* Fix spelling of E_CARD_SIMPLE_PHONE_ID_TTYTDD andDan Winship2002-04-024-7/+17
| | | | | | | | | | | | * backend/ebook/e-card-simple.h: Fix spelling of E_CARD_SIMPLE_PHONE_ID_TTYTDD and E_CARD_SIMPLE_FIELD_PHONE_TTYTDD (they previously ended with "TTD" instead of "TDD") * backend/ebook/e-card-simple.c: Update for spelling fix. * backend/pas/pas-backend-ldap.c: Likewise svn path=/trunk/; revision=16321
* Put back in the exception setup stuff i disabled for debugging.Not Zed2002-04-022-4/+6
| | | | | | | | | 2002-04-02 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-store.c (imap_keepalive): Put back in the exception setup stuff i disabled for debugging. svn path=/trunk/; revision=16320
* Temporarily disable indexing.Not Zed2002-04-029-15/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-04-02 Not Zed <NotZed@Ximian.com> * providers/local/camel-local-folder.c (camel_local_folder_construct): Temporarily disable indexing. 2002-03-28 Not Zed <NotZed@Ximian.com> * camel-partition-table.c (camel_key_table_lookup): Change range checking assert to a warning. * providers/pop3/camel-pop3-folder.c (pop3_finalize): Make sure we flush out all outstanding commands before finalising, stops being finalised while outsanding requests are processed by the store finalise. (pop3_get_message): Instead of pre-fetching all messages, just pre-fetch a maxiumum number at any one time, stops us running out of cache fd's. * providers/nntp/camel-nntp-folder.c (nntp_folder_init/finalise): Setup priv data + locks, & free. * providers/imap/camel-imap-folder.c (imap_rescan): Batch all message_chagned events into a single folder_changed event (otherwise updates can be >>> expensive, like >5 hours for 80K messages changing!). Alternately it could use folder freeze/unfreeze perhaps. 2002-03-27 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-store.c (imap_keepalive): Pass an exception to called code so it behaves properly since it uses the passed exception to check returns. svn path=/trunk/; revision=16319
* Removed an unused pixmap from Tools/Settings to avoid a big nasty bonoboJeffrey Stedfast2002-04-022-1/+3
| | | | | | | | | 2002-04-01 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-ui.c: Removed an unused pixmap from Tools/Settings to avoid a big nasty bonobo warning. svn path=/trunk/; revision=16318
* Set 're' as the parent window rather than as the parent widget.Jeffrey Stedfast2002-04-023-7/+14
| | | | | | | | | | 2002-04-01 Jeffrey Stedfast <fejj@ximian.com> * rule-editor.c (rule_edit): Set 're' as the parent window rather than as the parent widget. (add_editor_clicked): Only unref the editor if it is non-NULL. svn path=/trunk/; revision=16317
* Re-Implemented the signature editor stuff (mostly just copy/paste fromJeffrey Stedfast2002-04-027-46/+479
| | | | | | | | | | | | | 2002-04-01 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (mail_composer_prefs_construct): Re-Implemented the signature editor stuff (mostly just copy/paste from Radeks original code). * mail-signature-editor.c (mail_signature_editor): Use the right oafiid for the html editor control. svn path=/trunk/; revision=16316
* only include if USE_STRTBL is defined. (deleteStrItem): same. (hashStr):Chris Toshok2002-04-022-1/+27
| | | | | | | | | | | | | | 2002-04-01 Chris Toshok <toshok@ximian.com> * libversit/vobject.c (newStrItem): only include if USE_STRTBL is defined. (deleteStrItem): same. (hashStr): same. (lookupStr): if USE_STRTBL is defined, use existing behavior. if not defined, just dup the string. (unUseStr): if USE_STRTBL is defined, use existing behavior. if svn path=/trunk/; revision=16314
* #include appropriate headers for mkdirJeffrey Stedfast2002-04-021-0/+2
| | | | svn path=/trunk/; revision=16313
* ignore .pureChris Toshok2002-04-027-2/+9
| | | | svn path=/trunk/; revision=16312
* Updated Norwegian (bokmål) translation.Kjartan Maraas2002-04-022-130/+147
| | | | | | | | 2002-04-01 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation. svn path=/trunk/; revision=16311
* Fix a string.Kjartan Maraas2002-04-022-1/+5
| | | | | | | | 2002-04-01 Kjartan Maraas <kmaraas@gnome.org> * gui/e-itip-control.c: Fix a string. svn path=/trunk/; revision=16310
* simple fix for DB3 header inclusion in Mac OS X, by Max HornRodrigo Moya2002-04-022-0/+9
| | | | | | | | | 2002-04-01 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend-db.c: simple fix for DB3 header inclusion in Mac OS X, by Max Horn <max@quendi.de> svn path=/trunk/; revision=16309
* Darwin/OS X portability from Max Horn <max@quendi.de>Dan Winship2002-04-023-7/+9
| | | | | | | | * libversit/vcc.y: Remove #include <malloc.h>. * libversit/vobject.c: Likewise, and #include <stdlib.h> svn path=/trunk/; revision=16308
* Darwin/OS portability from Max Horn <max@quendi.de>Dan Winship2002-04-025-9/+16
| | | | | | | | | | | | | * src/libical/icallangbind.c: #include <stdlib.h>, not <malloc.h> * src/libicalvcal/vobject.c: Likewise * src/libicalvcal/vcc.y: Likewise * src/libicalss/icaldirset.c: Rearrange #includes slightly to make Darwin happy. svn path=/trunk/; revision=16307
* Use -avoid-version -module. (From Max Horn <max@quendi.de>)Dan Winship2002-04-022-2/+8
| | | | | | | | * importers/Makefile.am (liboutlook_la_LDFLAGS, libmbox_la_LDFLAGS): Use -avoid-version -module. (From Max Horn <max@quendi.de>) svn path=/trunk/; revision=16306
* Use -avoid-version instead of -version-info 0:0:0, and specify -module.Dan Winship2002-04-027-7/+25
| | | | | | | | | | | | | | | | | | | | | * providers/imap/Makefile.am (libcamelimap_la_LDFLAGS): Use -avoid-version instead of -version-info 0:0:0, and specify -module. (From Max Horn <max@quendi.de>). * providers/local/Makefile.am (libcamellocal_la_LDFLAGS): Likewise. * providers/nntp/Makefile.am (libcamelnntp_la_LDFLAGS): Likewise. * providers/sendmail/Makefile.am (libcamelsendmail_la_LDFLAGS): Likewise. * providers/smtp/Makefile.am (libcamelsmtp_la_LDFLAGS): Likewise. * providers/pop3/Makefile.am (libcamelpop3_la_LDFLAGS): Likewise. Also remove $(KRB4_LDFLAGS) since KPOP is gone. (INCLUDES): and $(KRB4_CFLAGS) svn path=/trunk/; revision=16305
* parent_class should be static. (From Max Horn <max@quendi.de>)Dan Winship2002-04-012-1/+6
| | | | | | | * gui/component/select-names/e-select-names-text-model.c: parent_class should be static. (From Max Horn <max@quendi.de>) svn path=/trunk/; revision=16304
* free the my_address member (find_my_address): fall back on a CN match ifJP Rosevear2002-04-012-97/+158
| | | | | | | | | | | | | | | | 2002-03-31 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (clean_up): free the my_address member (find_my_address): fall back on a CN match if possible (change_status): handle changing the status of a non-existent address by adding a new attendee (update_attendee_status): if the attendee response is not from a user on the list of attendees, ask the user if they want to add the attendee any how (as an optional participant) (ok_clicked_cb): if we are suppose to rsvp and the status was ok, but the attendee address is not known, find it svn path=/trunk/; revision=16303
* Added missing file. Updated Swedish translation some.Christian Rose2002-04-013-2400/+3480
| | | | | | | | | 2002-04-01 Christian Rose <menthos@menthos.com> * POTFILES.in: Added missing file. * sv.po: Updated Swedish translation some. svn path=/trunk/; revision=16301
* New.Ettore Perazzoli2002-03-311-0/+67
| | | | | | * GNOME_Evolution_Summary.oaf.in.in: New. svn path=/trunk/; revision=16300
* [Some initial broken support for building components as shlib. MostlyEttore Perazzoli2002-03-318-71/+173
| | | | | | | | | | | | | | | | | | | | | | | just a playground for testing the idea.] * Makefile.am: Added support for the ENABLE_SHLIB_COMPONENTS conditional. * GNOME_Evolution_Summary.oaf.in.in: New. * e-summary-mail.c (update_folder_cb): Protect against summary->mail being NULL. * component-factory.c: Add a shlib factory. (create_component): Get a @factory and @data. (component_factory_init): Actually make it use a BonoboGenericFactory again. * configure.in: Add argument `--enable-shlib-components'. New substitutions OAF_SHLIB_LOCATION, OAF_SHLIB_PREFIX, OAF_SHLIB_SUFFIX. svn path=/trunk/; revision=16299
* Updated Norwegian (bokmål) translation.Kjartan Maraas2002-03-302-520/+569
| | | | | | | | 2002-03-30 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation. svn path=/trunk/; revision=16298
* Don't shift the r, g and b values here either.Jeffrey Stedfast2002-03-303-6/+18
| | | | | | | | | | | | 2002-03-29 Jeffrey Stedfast <fejj@ximian.com> * mail-preferences.c (colorpicker_get_color): Don't shift the r, g and b values here either. * mail-composer-prefs.c (colorpicker_get_color): Don't shift the r, g, b values. svn path=/trunk/; revision=16297
* Restore the labels & colours options from the grave.Jeffrey Stedfast2002-03-304-3/+350
| | | | | | | | | | 2002-03-29 Jeffrey Stedfast <fejj@ximian.com> * mail-preferences.c (mail_preferences_construct): Restore the labels & colours options from the grave. (mail_preferences_apply): Save these labels & colours options. svn path=/trunk/; revision=16296
* Add priority.Ettore Perazzoli2002-03-302-1/+7
| | | | | | * GNOME_Evolution_Summary.oaf.in: Add priority. svn path=/trunk/; revision=16295
* Added priorities for all the configuration pagesEttore Perazzoli2002-03-302-0/+11
| | | | | | | * GNOME_Evolution_Mail.oaf.in: Added priorities for all the configuration pages [evolution:config_item:priority]. svn path=/trunk/; revision=16294
* Set a priority for the config item. Rename to "Calendar and Tasks".Ettore Perazzoli2002-03-302-2/+9
| | | | | | | * gui/GNOME_Evolution_Calendar.oaf.in: Set a priority for the config item. Rename to "Calendar and Tasks". svn path=/trunk/; revision=16293
* Add priority for the config page. Renamed to "Directory Servers".Ettore Perazzoli2002-03-302-2/+9
| | | | | | | * gui/component/GNOME_Evolution_Addressbook.oaf.in: Add priority for the config page. Renamed to "Directory Servers". svn path=/trunk/; revision=16292
* Add type "Page". (page_new): New helper function. (page_free): New helperEttore Perazzoli2002-03-302-7/+114
| | | | | | | | | | | | * e-shell-settings-dialog.c: Add type "Page". (page_new): New helper function. (page_free): New helper function. (compare_page_func): Callback for sorting a GList of pages. (sort_page_list): New helper function. (load_pages): Create the pages, sort them, add them sorted. Now we have a priority field that overrides alphabetical sorting. svn path=/trunk/; revision=16291
* Same here.Jeffrey Stedfast2002-03-303-8/+46
| | | | | | | | | | | | 2002-03-29 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (mail_composer_prefs_construct): Same here. * mail-preferences.c (mail_preferences_construct): Do some gtk hackery action so we can detect if a option menu has changed. svn path=/trunk/; revision=16290
* Change the ETable specs so it doesn't sort.Ettore Perazzoli2002-03-302-1/+5
| | | | | | | * e-multi-config-dialog.c: Change the ETable specs so it doesn't sort. svn path=/trunk/; revision=16289
* s/libversit.la/libversit.a/JP Rosevear2002-03-303-2/+8
| | | | | | | | | | 2002-03-29 JP Rosevear <jpr@ximian.com> * conduits/calendar/Makefile.am: s/libversit.la/libversit.a/ * conduits/todo/Makefile.am: ditto svn path=/trunk/; revision=16288
* implement new pop up menu items for "Save as", "Print", "Assign Task",JP Rosevear2002-03-307-116/+664
| | | | | | | | | | | | | | | | | | | | | | | | 2002-03-29 JP Rosevear <jpr@ximian.com> * gui/e-calendar-table.c: implement new pop up menu items for "Save as", "Print", "Assign Task", "Forward as iCalendar" * gui/e-day-view.c: similarly, also "Publish Free/Busy Information" and "New Meeting" and "New Task" * gui/e-week-view.c: ditto * gui/dialogs/task-editor.c (show_assignment): move the assignment page stuff here (task_editor_show_assignment): use it (assign_task_cmd): ditto * gui/dialogs/task-editor.h: new proto * gui/dialogs/comp-editor.c (save_as_cmd): use new e-util file selector function svn path=/trunk/; revision=16287
* Cleaned up a bunch [removing duplicates ;-)], set up icons for all theEttore Perazzoli2002-03-302-89/+8
| | | | | | | * GNOME_Evolution_Mail.oaf.in: Cleaned up a bunch [removing duplicates ;-)], set up icons for all the configuration pages. svn path=/trunk/; revision=16286
* *** empty log message ***Ettore Perazzoli2002-03-307-59/+72
| | | | svn path=/trunk/; revision=16285
* open a file selection dialog with the given title and return the selectedJP Rosevear2002-03-303-0/+70
| | | | | | | | | | | | | | 2002-03-29 JP Rosevear <jpr@ximian.com> * e-dialog-utils.c (e_file_dialog_save): open a file selection dialog with the given title and return the selected file name (save_ok): if the ok button is clicked, make sure the file doesn't already exist and if it does, see if the user wants to over write it * e-dialog-utils.h: new proto svn path=/trunk/; revision=16284
* Remove old fileJP Rosevear2002-03-302-490/+0
| | | | | | | | | | 2002-03-29 JP Rosevear <jpr@ximian.com> * meeting-mockup.glade: Remove old file * topic.dat svn path=/trunk/; revision=16283
* Use iconv-detect.c to generate a iconv-detect.h file containingJeffrey Stedfast2002-03-301-13/+33
| | | | | | | | | | | | | | | | 2002-03-29 Jeffrey Stedfast <fejj@ximian.com> * configure.in: Use iconv-detect.c to generate a iconv-detect.h file containing information about the preferred charset formats to use with the system iconv. * iconv-detect.c: New program to detect the preferred charset formats for use with the system iconv. * gal/util/e-iconv.c (e_iconv_charset_name): Update to use macros defined in iconv-detect which is created at configure time. svn path=/trunk/; revision=16282
* Check for GConf. Add gthreads to LIBIBEX_CFLAGS and LIBIBEX_LIBS.Ettore Perazzoli2002-03-302-5/+11
| | | | | | | * configure.in: Check for GConf. Add gthreads to LIBIBEX_CFLAGS and LIBIBEX_LIBS. svn path=/trunk/; revision=16281
* We now have to check to make sure that p->message is non-NULL because weJeffrey Stedfast2002-03-292-3/+29
| | | | | | | | | | | 2002-03-28 Jeffrey Stedfast <fejj@ximian.com> * camel-filter-driver.c (do_copy): We now have to check to make sure that p->message is non-NULL because we only load the message when we have to. (do_move): Same here. svn path=/trunk/; revision=16280
* (account_cursor_change): Make sure that event is non-NULL here.Jeffrey Stedfast2002-03-292-2/+3
| | | | svn path=/trunk/; revision=16279
* Change the message arg to a CamelMimeMessage instead of a CamelMedium.Dan Winship2002-03-295-195/+73
| | | | | | | | | | | | | | | | | | | | | | | * camel-transport.c (camel_transport_send_to): Change the message arg to a CamelMimeMessage instead of a CamelMedium. Even the NNTP provider returns CamelMimeMessages, and we're never going to support anything more exotic than that. Also do a few more g_return_if_fails here instead of in the providers. (camel_transport_can_send): No longer needed. (camel_transport_send): Remove this too. It wasn't being used any more, and it doesn't behave exactly the same in sendmail and smtp. * providers/smtp/camel-smtp-transport.c (smtp_send, smtp_can_send): Gone. (smtp_send_to): Update for arg change. (smtp_data): Make this take a CamelMimeMessage too. * providers/sendmail/camel-sendmail-transport.c (sendmail_send, sendmail_can_send): Gone. (sendmail_send_to): Update for arg change, and merge in the part that used to be shared with sendmail_send. svn path=/trunk/; revision=16278
* Use a GtkCList instead of an ETable, for some reason the etable wasJeffrey Stedfast2002-03-294-35/+183
| | | | | | | | | | | 2002-03-28 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c: Use a GtkCList instead of an ETable, for some reason the etable was getting into some infinite resize loop or something. I probably did something wrong but I can't figure out what so I'm using a clist for now. svn path=/trunk/; revision=16277
* From composer/ChangeLog:Christopher James Lahey2002-03-292-41/+22
| | | | | | | | | 2002-03-28 Christopher James Lahey <clahey@ximian.com> * e-msg-composer-select-file.c: Switch to using EFileSelection here instead of GtkFileSelection. svn path=/trunk/; revision=16276
* Bumped the required version of gal to 0.19.99.10.Christopher James Lahey2002-03-292-1/+5
| | | | | | | | 2002-03-28 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the required version of gal to 0.19.99.10. svn path=/trunk/; revision=16275
* fix for the changes to GTKHTML_DATADIR that include the release number.Larry Ewing2002-03-282-3/+8
| | | | | | | | | 2002-03-27 Larry Ewing <lewing@ximian.com> * Makefile.am: fix for the changes to GTKHTML_DATADIR that include the release number. svn path=/trunk/; revision=16272
* Use gtk_container_add() to put the toplevel in the parent widget, insteadEttore Perazzoli2002-03-283-5/+4
| | | | | | | | | | * mail-accounts.c (mail_accounts_tab_construct): Use gtk_container_add() to put the toplevel in the parent widget, instead of just gtk_widget_set_parent(). * mail-preferences.c (mail_preferences_construct): Likewise. * mail-composer-prefs.c (mail_composer_prefs_construct): Likewise. svn path=/trunk/; revision=16271
* Use gtk_container_add() to put the toplevel in the parent widget, insteadEttore Perazzoli2002-03-282-2/+12
| | | | | | | | | | * mail-accounts.c (mail_accounts_tab_construct): Use gtk_container_add() to put the toplevel in the parent widget, instead of just gtk_widget_set_parent(). * mail-preferences.c (mail_preferences_construct): Likewise. * mail-composer-prefs.c (mail_composer_prefs_construct): Likewise. svn path=/trunk/; revision=16270
* end the line properlyJP Rosevear2002-03-282-2/+5
| | | | | | | | 2002-03-27 JP Rosevear <jpr@ximian.com> * C/Makefile.am: end the line properly svn path=/trunk/; revision=16269
* Adding topic.datAaron Weber2002-03-281-0/+11
| | | | svn path=/trunk/; revision=16268
* add from branch. merge from branch merge from branch merge from branchAaron Weber2002-03-288-129/+230
| | | | | | | | | | | | | | | | 2002-03-27 Aaron Weber <aaron@ximian.com> * C/topic.dat: add from branch. * C/figures/*: merge from branch * C/usage-calendar.sgml: merge from branch * C/usage-mail.sgml: merge from branch * C/usage-mail-org.sgml: merge from branch * C/Makefile.am: changes from other branch * C/usage-print.sgml: merge from branch * C/usage-exchange.sgml: merge from branch * C/usage-mail.sgml: merge from evolution-1-0-branch branch. svn path=/trunk/; revision=16267
* Updated to respect the new mail-config options for default reply styleJeffrey Stedfast2002-03-282-1/+21
| | | | | | | | | | 2002-03-27 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): Updated to respect the new mail-config options for default reply style that NotZed had started to implement before there was a gui. svn path=/trunk/; revision=16266
* don't free req->vcard. it's freed in pas_book_free_request.Chris Toshok2002-03-282-19/+12
| | | | | | | | | | | | | | | | 2002-03-27 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-file.c (pas_backend_file_process_create_card): don't free req->vcard. it's freed in pas_book_free_request. (pas_backend_file_process_remove_card): don't free req->id for the same reason. (pas_backend_file_process_modify_card): don't free req->vcard for the same reason. (pas_backend_file_process_get_changes): don't free req->change_id or release_unref the listener for the same reason. svn path=/trunk/; revision=16265
* eek, we don't want 2 seps in a rowJeffrey Stedfast2002-03-281-2/+0
| | | | svn path=/trunk/; revision=16264
* Removed the "Mail Settings" stuff.Jeffrey Stedfast2002-03-283-8/+10
| | | | | | | | 2002-03-27 Jeffrey Stedfast <fejj@ximian.com> * evolution-mail-global.xml: Removed the "Mail Settings" stuff. svn path=/trunk/; revision=16263
* make sure to call ldap_value_free (values);, and ldap_msgfree (resp).Chris Toshok2002-03-282-12/+40
| | | | | | | | | | | | | | | | | | | | | 2002-03-27 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-ldap.c (check_schema_support): make sure to call ldap_value_free (values);, and ldap_msgfree (resp). (get_ldap_library_info): don't ask me why, but it appears we have to free each extension char*. (query_ldap_root_dse): make sure to free values in the subschemaSubentry code before overwriting it, and call ldap_msgfree(resp) when we're all done. (build_card_from_entry): don't leak the DN, ldap attributes, or the berval the ldap_*_attribute calls use to step through the attributes. the docs say this berval is freed when ldap_next_attribute returns NULL, but if we don't free it it leaks a substantial amount of memory. (pas_backend_ldap_search): make sure to only allocate *op once, and fix the g_warning since op isn't valid in its scope anymore. svn path=/trunk/; revision=16262
* unset GTK_CAN_FOCUS on the button so that it can't grab focus when youDan Winship2002-03-282-0/+9
| | | | | | | | * mail-display.c (do_attachment_header): unset GTK_CAN_FOCUS on the button so that it can't grab focus when you click it. (do_signature): Likewise on the signature button. #3904 svn path=/trunk/; revision=16261
* Construct the source_url the right way. The previous way was generatingJeffrey Stedfast2002-03-282-7/+21
| | | | | | | | | | | 2002-03-27 Jeffrey Stedfast <fejj@ximian.com> * camel-filter-driver.c (camel_filter_driver_filter_folder): Construct the source_url the right way. The previous way was generating urls like pop://fejj@ximian.com;keep_on_server/inbox which is wrong. svn path=/trunk/; revision=16260
* Add gthreads to LIBIBEX_CFLAGS and LIBIBEX_LIBS.Ettore Perazzoli2002-03-282-1/+6
| | | | | | * configure.in: Add gthreads to LIBIBEX_CFLAGS and LIBIBEX_LIBS. svn path=/trunk/; revision=16259
* Updated Norwegian (bokmål) translation. Bring back up to speed.Kjartan Maraas2002-03-273-727/+1118
| | | | | | | | | 2002-03-27 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation. * POTFILES.in: Bring back up to speed. svn path=/trunk/; revision=16258
* Sync with yet-another-mail-config branch.Jeffrey Stedfast2002-03-2724-1599/+3629
| | | | | | | | | | | | | | | | | | 2002-03-26 Jeffrey Stedfast <fejj@ximian.com> Sync with yet-another-mail-config branch. * mail-composer-prefs.c: Updated to get the right widgets and whatnot. Also updated to tell the evolution-config-control that stuff has changed. * mail-preferences.c: Updated to get the right widgets and whatnot. Also updated to tell the evolution-config-control that stuff has changed. * mail-accounts.etspec: New file needed by mail-accounts.c svn path=/trunk/; revision=16257
* New. New.Ettore Perazzoli2002-03-273-0/+366
| | | | | | | * e-component-info.c: New. * e-component-info.h: New. svn path=/trunk/; revision=16256
* g_warning if the control cannot be activated.Ettore Perazzoli2002-03-273-1/+12
| | | | | | | * e-shell-settings-dialog.c (load_pages): g_warning if the control cannot be activated. svn path=/trunk/; revision=16254
* Changed to get the address from the messageinfo of the current selectedNot Zed2002-03-266-79/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-26 Not Zed <NotZed@Ximian.com> * mail-callbacks.c (addrbook_sender): Changed to get the address from the messageinfo of the current selected message rather than from the current_message. (requeue_mail_reply): Only re-queue if we got a message, could potentially cause an infinite loop trying to get a message it can't. (reply_to_sender, reply_to_list, reply_to_all): Always pass NULL as the msg to mail_replay, this forces mail_reply to always load the message anew. Fixes FIXME's and popup behaviour. Basically this and stuff below fixes #8542. Its probably not the nicest way, but it works. (mark_as_important): Use the flags properly, we can set all flags to any combination of on or off as we want, so we just need to call set_flags once, thats why its set flags and not set_option. (toggle_flags): Fixed the logic here also, so we dont have to call set_message_flags more than once, and also implement a true toggle for any number of simultaneous flags (whilst simplifying code). * mail-vfolder.c (vfolder_gui_add_from_mlist): Removed the 'msg' parameter, its not used, fixed callers. * folder-browser.c (on_right_click): Lookup the mlist from messageinfo, and change the 'no selected' logic slightly, fixes most of #8542. (filter_data_free): Free filter data struct. (vfolder_type_got_message): Actually create vfolder once we have the message we need to use for it. Code could probably be changed to use messageinfo instead. (vfolder_type_uid): Lookup a message based on uid, and use that to create a vfolder based on type. (vfolder_subject_uid, vfolder_sender_uid, vfolder_receipient_uid, vfolder_mlist_uid): Callbacks for the popup menu, used to create rules based on the uid rather than the message, which it loads as required. (filter_type_got_message, filter_*_uid): Similar to vfolder stuff above. (filter_menu[]): Changed callbacks to popup specific ones, not folderbrowser specific ones used by bonobo. (on_right_click): Initialise callback data for the filter submenu so it can look up messages for callback implementation. svn path=/trunk/; revision=16253
* New version from anna, with fixed widget names.Not Zed2002-03-262-165/+214
| | | | | | | | | 2002-03-26 Not Zed <NotZed@Ximian.com> * local-config.glade: New version from anna, with fixed widget names. svn path=/trunk/; revision=16252
* Added mention that 2048 maybe recommended by some people. Fixed a typo.Kevin Breit2002-03-262-4/+10
| | | | | | | | 2002-03-25 Kevin Breit <mrproper@ximian.com> * C/usage-mail.sgml: Added mention that 2048 maybe recommended by some people. Fixed a typo. svn path=/trunk/; revision=16251
* Changed to use just g_utf8_strdown instead of utf8_normalise, to match theNot Zed2002-03-262-2/+9
| | | | | | | | | | | 2002-03-26 Not Zed <NotZed@Ximian.com> * camel-text-index.c (text_index_normalise): Changed to use just g_utf8_strdown instead of utf8_normalise, to match the indexing code. utf8_normalise is just far too expensive (saves approx 25% total processing). svn path=/trunk/; revision=16250
* updatedJeffrey Stedfast2002-03-261-0/+1
| | | | svn path=/trunk/; revision=16249
* Added widgets/e-option-menu.lo.Christopher James Lahey2002-03-265-28/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-25 Christopher James Lahey <clahey@ximian.com> * gal/Makefile.am (libgal_la_LIBADD): Added widgets/e-option-menu.lo. * gal/util/e-util.c, gal/util/e-util.h (e_strdupv): Copied this function from glib2. (GET_STRING_ARRAY_FROM_ELLIPSIS, GET_DUPLICATED_STRING_ARRAY_FROM_ELLIPSIS): Added these macros to automate getting a NULL terminated array off of the stack. * gal/widgets/Makefile.am (libwidgets_la_SOURCES): Added e-option-menu.c. (libwidgetsinclude_HEADERS): Added e-option-menu.h. * gal/widgets/e-canvas.c (e_canvas_class_init): Reformatted this function. * gal/widgets/e-gui-utils.c, gal/widgets/e-gui-utils.h (e_glade_xml_connect_widget, e_glade_xml_set_sensitive): Two new functions to automate pulling a widget from a GladeXML and either connecting a signal or setting the sensitivity. * gal/widgets/e-option-menu.c, gal/widgets/e-option-menu.h: New class to simplify the interface to GtkOptionMenu. svn path=/trunk/; revision=16246
* Call the parent function after doing all the internal work so that whenChristopher James Lahey2002-03-261-9/+9
| | | | | | | | | | | 2002-03-25 Christopher James Lahey <clahey@ximian.com> * e-table-memory-store.c (e_table_memory_store_insert, e_table_memory_store_insert_adopt, e_table_memory_store_remove): Call the parent function after doing all the internal work so that when the changed signal goes out, our work is already done. svn path=/trunk/; revision=16245
* Register a "working" folder type with the hourglass icon. (WouldDan Winship2002-03-254-2/+17
| | | | | | | | | | | | | * e-shell.c (e_shell_construct): Register a "working" folder type with the hourglass icon. (Would eventually like an animated gif, when ETable supports that.) * e-storage.c (e_storage_has_subfolders): Use "working" rather than "noselect" as the folder type. * e-shell-view.c (get_view_for_uri): Simplify a bit. svn path=/trunk/; revision=16244
* Add working-16.png (the GNOME2 stock "wait" icon, from Jakub)Dan Winship2002-03-253-1/+7
| | | | | | | * Makefile.am (images_DATA): Add working-16.png (the GNOME2 stock "wait" icon, from Jakub) svn path=/trunk/; revision=16243
* When we add a new name, up all of the cache limits, because we're probablyNot Zed2002-03-2538-248/+5346
| | | | | | | | | | | | | | | | | | | 2002-03-25 Not Zed <NotZed@Ximian.com> * camel-text-index.c (text_index_add_name): When we add a new name, up all of the cache limits, because we're probably going to be adding more. (text_index_sync): Drop the cache limits back down again, we dont need them when looking words up. ** MERGE camel_index branch. * camel-text-index.[ch]: Added files i forgot to add (eep nearly lost all this work!) * camel-block-file.c (sync_nolock): Fix an infinite loop in syncing. svn path=/trunk/; revision=16242
* Change the OAFIID for the GtkHTML editor to have :1.1 at the end.Peter Williams2002-03-252-1/+6
| | | | | | | | | 2002-03-24 Peter Williams <peterw@ximian.com> * tools/killev: Change the OAFIID for the GtkHTML editor to have :1.1 at the end. svn path=/trunk/; revision=16241
* I fixed a typo which caused the documentation to not build.Kevin Breit2002-03-243-14/+29
| | | | | | | | 2002-03-23 Kevin Breit <mrproper@ximian.com> * C/usage-print.sgml: I fixed a typo which caused the documentation to not build. svn path=/trunk/; revision=16239
* Removed. (load_pages): Use e_get_language_list() here instead. Also, freeEttore Perazzoli2002-03-232-23/+10
| | | | | | | | * e-shell-settings-dialog.c (get_language_list): Removed. (load_pages): Use e_get_language_list() here instead. Also, free using e_free_language_list(). svn path=/trunk/; revision=16232
* New. New.Ettore Perazzoli2002-03-234-0/+96
| | | | | | | * e-lang-utils.c: New. * e-lang-utils.h: New. svn path=/trunk/; revision=16231
* *** empty log message ***Dan Winship2002-03-231-1/+1
| | | | svn path=/trunk/; revision=16230
* (evolution_storage_removed_folder): Oops. Fix here too.Dan Winship2002-03-232-1/+4
| | | | | | | (evolution_storage_has_subfolders): And here. When cut and paste goes bad... svn path=/trunk/; revision=16229
* Fix a "how can this ever have worked" bug to make unread message countsDan Winship2002-03-232-1/+5
| | | | | | | | * evolution-storage.c (evolution_storage_update_folder): Fix a "how can this ever have worked" bug to make unread message counts start working again. (#22293 etc) svn path=/trunk/; revision=16228
* Use e_folder_get_name. Don't assume it's the same as the last pathDan Winship2002-03-232-6/+9
| | | | | | | | * e-shell-folder-commands.c (e_shell_command_rename_folder): Use e_folder_get_name. Don't assume it's the same as the last path element. svn path=/trunk/; revision=16227
* Document the fact that this takes two locale charset strings and one UTF8Dan Winship2002-03-222-7/+13
| | | | | | | | * e-request.c (e_request_string): Document the fact that this takes two locale charset strings and one UTF8 string and returns a UTF8 string. (Huh.) svn path=/trunk/; revision=16226
* Use the date in the received header for the received_date.Jeffrey Stedfast2002-03-222-6/+22
| | | | | | | | | 2002-03-21 Jeffrey Stedfast <fejj@ximian.com> * camel-folder-summary.c (camel_message_info_new_from_header): Use the date in the received header for the received_date. svn path=/trunk/; revision=16225
* +2002-03-20 Christopher James Lahey <clahey@ximian.com>Chris Lahey2002-03-221-15/+15
| | | | | | | | | + + * e-table-header-item.c: Adjust this to handle the new EPopupMenu + API. + svn path=/trunk/; revision=16223
* Set the wmclass to "evolution-splash" so sawfish knows it's not the sameDan Winship2002-03-212-0/+7
| | | | | | | | * e-splash.c (e_splash_construct): Set the wmclass to "evolution-splash" so sawfish knows it's not the same kind of window as the main window. svn path=/trunk/; revision=16222
* Make all the verb/menu arrays appropriately static.Ettore Perazzoli2002-03-212-6/+11
| | | | | | | * e-shell-view-menu.c: Make all the verb/menu arrays appropriately static. svn path=/trunk/; revision=16221
* Move the ComponentActionsPlaceholder into the Actions menu, instead of theEttore Perazzoli2002-03-2122-89/+222
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution.xml: Move the ComponentActionsPlaceholder into the Actions menu, instead of the Actions menu being in the ComponentActionsPlaceholder. * evolution-addressbook.xml: Updated accordingly. * evolution-calendar.xml: Updated accordingly. * evolution-mail-global.xml: Updated accordingly. * evolution-mail-list.xml: Updated accordingly. * evolution-mail-message.xml: Updated accordingly. * evolution-mail-messagedisplay.xml: Updated accordingly. * evolution-tasks.xml: Updated accordingly. * evolution.xml: Add "SendReceive" verb, menu item and toolbar button. * evolution-mail-global.xml: Remove "MailGetSend" verb and menu item. * e-shell-view-menu.c (command_send_receive): New, implementation for the "SendReceive" verb. * e-shell.c (e_shell_send_receive): New. * evolution-shell-component.c (impl_sendReceive): Implementation of ShellComponent::sendReceive. (class_init): Add the "send_receive" signal. * evolution-shell-component.h: Added `send_receive' signal. * Evolution-ShellComponent.idl: Added ShellComponent::sendReceive. * component-factory.c (send_receive_cb): New, callback for the "send_receive" signal on the EvolutionShellComponent. (create_component): Connect. * folder-browser-ui.c: Remove verb "MailGetSend". * mail-callbacks.c (send_receive_mail): Removed. * mail-send-recv.c: Remove member current_folder from struct _send_data. (free_send_data): No need to unref here. (build_dialogue): Removed arg @current_folder. (mail_send_receive): Likewise. svn path=/trunk/; revision=16220
* Add accelerators for "Find Now" and "Clear".Ettore Perazzoli2002-03-216-12/+28
| | | | | | | | | | | | | * e-search-bar.c (update_bonobo_menus): Add accelerators for "Find Now" and "Clear". * e-filter-bar.h: Change search labels as suggested in Anna's redesign [#16246]. * folder-browser.c: Reorder folder_browser_search_menu_items according to #16246. svn path=/trunk/; revision=16219
* Remove all the SearchBar items before setting them up again.Ettore Perazzoli2002-03-212-25/+80
| | | | | | | | | | * e-search-bar.c (update_bonobo_menus): Remove all the SearchBar items before setting them up again. (free_menu_items): New. (impl_destroy): Call it. (set_menu): Call it here too before adding the new items. svn path=/trunk/; revision=16218
* Fix this to work right. We need to convert the input buffer to the charsetJeffrey Stedfast2002-03-204-25/+66
| | | | | | | | | | 2002-03-19 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-utils.c (header_encode_param): Fix this to work right. We need to convert the input buffer to the charset we claim in the encoded param (duh). svn path=/trunk/; revision=16214
* add missing NULL closure data to popup menu initialization.Larry Ewing2002-03-202-4/+9
| | | | | | | | | 2002-03-19 Larry Ewing <lewing@ximian.com> * mail-display.c: add missing NULL closure data to popup menu initialization. svn path=/trunk/; revision=16212
* more fixes for libversit.la -> libversit.aDan Winship2002-03-2017-12/+48
| | | | svn path=/trunk/; revision=16211
* Update for libversit change: Use .a rather than .la now.Dan Winship2002-03-204-10/+19
| | | | | | | | | | | * backend/ebook/Makefile.am: Update for libversit change: Use .a rather than .la now. * printing/Makefile.am: Likewise * gui/component/Makefile.am: Likewise svn path=/trunk/; revision=16210
* Move the preferences from a per-view setting to a global settingIain Holmes2002-03-199-36/+58
| | | | svn path=/trunk/; revision=16205
* Report a message before entering bonobo_main() to simplify debugging.Ettore Perazzoli2002-03-192-0/+7
| | | | | | | * main.c (main): Report a message before entering bonobo_main() to simplify debugging. svn path=/trunk/; revision=16204
* Updated to use the same logic as the POP code.Jeffrey Stedfast2002-03-192-8/+9
| | | | | | | | | | 2002-03-18 Jeffrey Stedfast <fejj@ximian.com> * providers/smtp/camel-smtp-transport.c (connect_to_server_wrapper): Updated to use the same logic as the POP code. svn path=/trunk/; revision=16203
* No longer takes a stls_supported argument since we no longer need it withJeffrey Stedfast2002-03-192-16/+21
| | | | | | | | | | | | | | 2002-03-18 Jeffrey Stedfast <fejj@ximian.com> * providers/pop3/camel-pop3-store.c (connect_to_server): No longer takes a stls_supported argument since we no longer need it with the new logic. (connect_to_server_wrapper): New logic: First try connecting to the SSL port (995 by default), if that fails with SERVICE_UNAVAILABLE, then we attempt to connect (to port 110 by default) and try to use STARTTLS. svn path=/trunk/; revision=16202
* No accelerator for "FindNow". (add_button): Add a one-pixel padding to theEttore Perazzoli2002-03-192-2/+8
| | | | | | | | * e-search-bar.c (update_bonobo_menus): No accelerator for "FindNow". (add_button): Add a one-pixel padding to the button. svn path=/trunk/; revision=16201
* Rename the "Search Now" menu entry to "Find Now". Rename the correspondingEttore Perazzoli2002-03-192-4/+12
| | | | | | | | | | * e-search-bar.c (update_bonobo_menus): Rename the "Search Now" menu entry to "Find Now". Rename the corresponding verb to "ESearchBar:FindNow". (update_sensitivity): Updated accordingly. (setup_standard_verbs): Likewise. svn path=/trunk/; revision=16200
* New halper function to update the sensitivity of the commands.Ettore Perazzoli2002-03-192-0/+46
| | | | | | | | | | | * e-search-bar.c (update_sensitivity): New halper function to update the sensitivity of the commands. (entry_changed_cb): New callback to make the activate_button and the "Find Now" verb sensitive only if the entry has some contents. (activate_by_subitems): Connect the callback here. (setup_standard_verbs): Call update_sensitivity() here. svn path=/trunk/; revision=16199
* Init clear_button to NULL. (add_button): New helper function to add aEttore Perazzoli2002-03-193-15/+54
| | | | | | | | | | | | | | | | * e-search-bar.c (init): Init clear_button to NULL. (add_button): New helper function to add a button to the search bar with the right spacing etc. (clear_search): New helper function. (add_activate_button): Removed. (clear_button_clicked_cb): New. (e_search_bar_construct): Just add the button here using `add_button'. Also add a clear_button. (clear_verb_cb): Rewritten by means of `clear_search()'. * e-search-bar.h (ESearchBar): Add clear_button. svn path=/trunk/; revision=16198
* New, implementation for a new "SearchNow" verb. (setup_standard_verbs):Ettore Perazzoli2002-03-192-0/+21
| | | | | | | | | * e-search-bar.c (search_now_verb_cb): New, implementation for a new "SearchNow" verb. (setup_standard_verbs): Create verb here. (update_bonobo_menus): Add SearchNow menu item. svn path=/trunk/; revision=16197
* Free account_name so we don't leak. Also after getting the source uri, useJeffrey Stedfast2002-03-192-34/+72
| | | | | | | | | | | | | | | 2002-03-18 Jeffrey Stedfast <fejj@ximian.com> * filter-source.c (filter_source_get_sources): Free account_name so we don't leak. Also after getting the source uri, use camel-url to hide unwanted stuff. (xml_decode): Use xmlFree on the buffer returned from xmlNodeGetContent rather than g_free, as I think they are incompatable. Also use camel-url here to hide any params in the decoded url (to make things compatable with what older versions may have saved). svn path=/trunk/; revision=16196
* Add `search="string"' for the keyboard navigability search thingy.Ettore Perazzoli2002-03-192-1/+6
| | | | | | | * e-storage-set-view.etspec: Add `search="string"' for the keyboard navigability search thingy. svn path=/trunk/; revision=16195
* [Search bar re-design implementation, Take 2.]Ettore Perazzoli2002-03-1910-85/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-search-bar.c (clear_verb_cb): New. (setup_standard_verbs): New. (e_search_bar_set_ui_component): Call it if a new BonoboUIComponent is set. (append_xml_menu_item): New helper function. (update_bonobo_menus): Use it. Also add a "Clear" menu item. (e_search_bar_construct): @menu_items can be NULL now. (e_search_bar_new): Same here. (set_menu): Work with NULL items. * e-filter-bar.c (menubar_activated): Don't handle E_FILTERBAR_RESET_ID anymore. * e-filter-bar.h: Remove `E_FILTERBAR_RESET_ID' and `E_FILTERBAR_RESET'. * folder-browser.c: Remove E_FILTERBAR_RESET menu entry. * gui/cal-search-bar.c: Removed `search_menu_items'. (cal_search_bar_menu_activated): Removed. (cal_search_bar_class_init): Don't install. (cal_search_bar_construct): No menu items here. * gui/component/addressbook.c (addressbook_menu_activated): Removed. (addressbook_factory_new_control): Don't connect anymore, as this signal has been removed from the ESearchBar. (addressbook_factory_new_control): No more custom menu items here. svn path=/trunk/; revision=16194
* "Forward as iCalendar" uses set_body, so we can't make the composerDan Winship2002-03-194-16/+36
| | | | | | | | | | | | | | | | | * Evolution-Composer.idl, evolution-composer.c (impl_Composer_show): "Forward as iCalendar" uses set_body, so we can't make the composer un-showable after doing that. So get rid of the "cannot show" exception. * e-msg-composer.c (e_msg_composer_set_body): Prepare the composer to be shown in its weird state: Put an explanatory message in the body, then call disable_editor. (disable_editor): Common editor-disabling code - makes the editor and attachment bar insensitive and disables any menu items that could be used to modify them. (e_msg_composer_new_redirect): Use disable_editor here now. svn path=/trunk/; revision=16191
* VFolders in the summaryIain Holmes2002-03-1817-165/+1306
| | | | svn path=/trunk/; revision=16190
* Draw colour rectangles for each of the colour items and set a closure onJeffrey Stedfast2002-03-164-15/+108
| | | | | | | | | | 2002-03-15 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (on_right_click): Draw colour rectangles for each of the colour items and set a closure on each. (colourise_msg): colourise the message, yo. svn path=/trunk/; revision=16187
* New callback to set a colour on a message.Jeffrey Stedfast2002-03-1612-78/+667
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-15 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (colour_msg): New callback to set a colour on a message. * folder-browser.c (on_right_click): Setup our popup icons and stuff. Also add a submenu for Labels. * mail-display.c (pixmap_press): Sync up with the new EPopupMenu API. Note: This code can probably now be fixed to use per-item closures - yay! * mail-accounts.c (construct): Connect to the label GtkEntry's and GnomeColorPickers and also to the Restore Defaults button. * mail-config.c (mail_config_get_label_name): New function to get a label's name. (mail_config_set_label_name): New function to set the label name. (mail_config_get_label_color): New function to get the label color. (mail_config_set_label_color): New function to set the label color. (config_read): Read in the config options for the labels and their colors. (mail_config_write_on_exit): Save the label options. svn path=/trunk/; revision=16186
* Updated to use new EPopupMenu API.Jeffrey Stedfast2002-03-162-4/+9
| | | | | | | | | 2002-03-15 Jeffrey Stedfast <fejj@ximian.com> * e-activity-handler.c (show_cancellation_popup): Updated to use new EPopupMenu API. svn path=/trunk/; revision=16185
* Updated to use new EPopupMenu API.Jeffrey Stedfast2002-03-165-61/+72
| | | | | | | | | | | | 2002-03-15 Jeffrey Stedfast <fejj@ximian.com> * gui/e-day-view.c: Updated to use new EPopupMenu API. * gui/e-week-view.c: Updated to use new EPopupMenu API. * gui/e-calendar-table.c: Updated to use new EPopupMenu API. svn path=/trunk/; revision=16184
* Update to use new EPopupMenu API.Jeffrey Stedfast2002-03-164-31/+44
| | | | | | | | | | | | | | | | 2002-03-15 Jeffrey Stedfast <fejj@ximian.com> * gui/widgets/e-addressbook-view.c (table_right_click): Update to use new EPopupMenu API. * gui/widgets/e-addressbook-reflow-adapter.c (e_addressbook_reflow_adapter_right_click): Update to use new EPopupMenu API. * gui/component/select-names/e-select-names.c (section_right_click_cb): Update to match new EPopupMenu api. svn path=/trunk/; revision=16183
* Allow for per-item closures and also instead of taking a const charJeffrey Stedfast2002-03-162-37/+40
| | | | | | | | | | | | | 2002-03-15 Jeffrey Stedfast <fejj@ximian.com> * gal/gal/widgets/e-popup-menu.c: Allow for per-item closures and also instead of taking a const char *pixname, take a GtkWidget *pixmap instead. * gal/widgets/e-categories.c: Update to sync up with changes made to the EPopupMenu Api. svn path=/trunk/; revision=16182
* expand the relative urls of the object at the point so that relativeLarry Ewing2002-03-163-3/+17
| | | | | | | | | | | 2002-03-15 Larry Ewing <lewing@ximian.com> * mail-display.c: expand the relative urls of the object at the point so that relative images can be saved correctly. * folder-browser.c: add a closing quote in a comment. svn path=/trunk/; revision=16181
* Check for a style_set signal on all the contained GnomeCanvasItems.Christopher James Lahey2002-03-166-0/+82
| | | | | | | | | | | | | | | | | | | | | 2002-03-15 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-canvas.c (e_canvas_style_set): Check for a style_set signal on all the contained GnomeCanvasItems. From gal/e-table/ChangeLog: 2002-03-15 Christopher James Lahey <clahey@ximian.com> * e-cell-toggle.c: Clear the pixmap cache in e_cell_style_set. * e-cell.c, e-cell.h (e_cell_style_set): Added this virtual method. * e-table-item.c, e-table-item.h: Call e_cell_style_set in out style_set signal. svn path=/trunk/; revision=16180
* Commit ChangeLog.Ettore Perazzoli2002-03-161-1/+0
| | | | svn path=/trunk/; revision=16179
* [Start implementing the new Search Bar design.]Ettore Perazzoli2002-03-1620-117/+268
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-search-bar.c (init): Init various members to NULL. (set_dropdown): Removed. (add_dropdown): Removed. (set_menu): New. (add_menu_items): New. (set_option): No need to setup the dropdown size here anymore. (verb_cb): Function implementing the search menu verbs. (update_bonobo_menus): New. (e_search_bar_set_ui_component): New. * e-search-bar.h: Remove the dropdown button stuff from struct ESearchBar. Add `uic' and `items' members. * e-filter-bar.c (e_filter_bar_new): Get a @uic arg. * folder-browser-factory.c (control_activate): Set the UI component on the search bar. * gui/tasks-control.c (tasks_control_activate): Call `e_tasks_set_ui_component()' here to give it the BonoboUIComponent. (tasks_control_deactivate): Likewise, call it here to unset the BonoboUIComponent. * gui/e-tasks.c (e_tasks_set_ui_component): New. * gui/calendar-commands.c (calendar_control_activate): Call gnome_calendar_set_ui_component() here. (calendar_control_deactivate): ...And here, with a NULL BonoboUIComponent. * gui/gnome-cal.c (gnome_calendar_set_ui_component): New. * gui/component/addressbook.c (control_activate): Call `e_search_bar_set_ui_component()' to set the BonoboUIComponent for the search bar. * gui/component/GNOME_Evolution_Addressbook.oaf.in: Add an icon for the LDAP sources configuration control. svn path=/trunk/; revision=16178
* Add a GdkPixmap * cache of rendered toggle images. This shouldChristopher James Lahey2002-03-161-48/+130
| | | | | | | | | | 2002-03-15 Christopher James Lahey <clahey@ximian.com> * e-cell-toggle.c: Add a GdkPixmap * cache of rendered toggle images. This should considerably speed up over the wire performance of ECellToggle. svn path=/trunk/; revision=16177
* Set horizontal scroll policy to GTK_POLICY_NEVER here. Don't set usizeChristopher James Lahey2002-03-162-9/+13
| | | | | | | | | | 2002-03-15 Christopher James Lahey <clahey@ximian.com> * e-multi-config-dialog.c (init): Set horizontal scroll policy to GTK_POLICY_NEVER here. Don't set usize here. Changed RGBA_COLOR to RGB_COLOR. Turned on horizontal resize. svn path=/trunk/; revision=16176