aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* New function that returns the total minimum width of all the columns.Christopher James Lahey2002-03-164-4/+39
| | | | | | | | | | | | | | | 2002-03-15 Christopher James Lahey <clahey@ximian.com> * e-table-header.c, e-table-header.h (e_table_header_min_width): New function that returns the total minimum width of all the columns. * e-table.c, e-table.h (set_header_width): Call e_table_header_min_width here instead of total_width. (et_size_request): Override the size_request method instead of doing set_usize. svn path=/trunk/; revision=16175
* Don't allow any empty structs. If !ENABLE_THREADS, provide a gpointerJeffrey Stedfast2002-03-162-0/+17
| | | | | | | | | 2002-03-15 Jeffrey Stedfast <fejj@ximian.com> * camel-private.h: Don't allow any empty structs. If !ENABLE_THREADS, provide a gpointer dummy member. Fixes bug #6382. svn path=/trunk/; revision=16174
* use gtkhtml editor API version 1.1Radek Doulik2002-03-162-1/+7
| | | | | | | | 2002-03-15 Radek Doulik <rodo@ximian.com> * e-msg-composer.c: use gtkhtml editor API version 1.1 svn path=/trunk/; revision=16173
* use bonobo exception macros to tidyJP Rosevear2002-03-157-41/+43
| | | | | | | | | | | | | | | | 2002-03-15 JP Rosevear <jpr@ximian.com> * gui/main.c: use bonobo exception macros to tidy * gui/itip-control-factory.c: ditto * gui/gnome-cal.c: ditto * gui/comp-editor-factory.c: ditto * gui/calendar-commands.c: ditto svn path=/trunk/; revision=16172
* Updated Norwegian (bokmål) translation.Kjartan Maraas2002-03-152-1199/+1477
| | | | | | | | 2002-03-15 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation. svn path=/trunk/; revision=16171
* Remove "mailstorage", since it's not needed any more. (storage_activate):Dan Winship2002-03-153-44/+47
| | | | | | | | | | | | | | | | | | | | | | * component-factory.c (folder_types): Remove "mailstorage", since it's not needed any more. (storage_activate): Gone, although some of it is moved to storage_connect. (create_view): Remove mailstorage code. (add_storage): Connect to the storage's open_folder signal. Instead of creating a "mailstorage" folder, call evolution_storage_has_subfolders to let the shell know we haven't finished filling it in yet. (storage_connect): Handler for the storage's asyncOpenFolder signal. Call mail_note_store() to try to connect. (storage_connected): Callback for above. If the connection attempt failed, call evolution_storage_has_subfolders again to make the shell re-close the storage. * mail-folder-cache.c (update_folders): Remove a piece of mailstorage legacy code from here. svn path=/trunk/; revision=16170
* Support for delayed filling-in of storages/folders.Dan Winship2002-03-1514-10/+447
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Evolution-Storage.idl (StorageListener): add notifyHasSubfolders, to announce that a folder has currently- unknown subfolders. (Storage): add asyncOpenFolder, to request that previously- announced subfolders be filled in. * evolution-storage.c (impl_Storage_async_open_folder): emit OPEN_FOLDER. (evolution_storage_has_subfolders): Implement by calling notifyHasSubfolders on all of its listeners. * evolution-storage-listener.c (impl_GNOME_Evolution_StorageListener_notifyHasSubfolders): emit HAS_SUBFOLDERS. * e-corba-storage.c (impl_StorageListener_notifyHasSubfolders): Implement by calling e_storage_has_subfolders. (async_open_folder): Implement by calling asyncOpenFolder on the CORBA storage. * e-storage.c (EStoragePrivate, init, destroy): Keep a list of pseudofolders representing un-filled-in subtrees. (impl_async_open_folder): No-op default implementation (e_storage_async_open_folder): New function to request that un-filled-in subtrees be filled in. (e_storage_new_folder): If the new folder's parent has an "un-filled-in children" pseudofolder, remove it. (e_storage_has_subfolders): New function to note that a folder has unknown children. If the folder previously was marked as having real children, remove them, and emit CLOSE_FOLDER to reset it back to an a "unknown subfolders" state. * e-storage-set.c (make_full_path): Make this deal with path being "/", since that case gets used from storage_close_folder_cb sometimes. (storage_close_folder_cb): Proxy EStorage's CLOSE_FOLDER signal. (storage_set_view_folder_opened): Handle EStorageSetView's FOLDER_OPENED signal by calling e_storage_async_open_folder. * e-storage-set-view.c (etree_fill_in_children): If the given node is its parent's first child, emit FOLDER_OPENED for the parent. (close_folder_cb): Handler for EStorageSet's CLOSE_FOLDER signal. Ask the model to close that node. (e_storage_set_view_construct): Set the default expanded state for the tree to FALSE rather than TRUE, to prevent unwanted expansion of delayed nodes. (This only affects the very first time the tree is displayed anyway: after that its state is loaded off disk.) * e-shell.c (e_shell_construct): Register the "noselect" type with the folder type registry, so icon lookups on placeholder folders will work. svn path=/trunk/; revision=16169
* Implemented capitalization keybindings.Christopher James Lahey2002-03-152-17/+91
| | | | | | | | | | | 2002-03-14 Christopher James Lahey <clahey@ximian.com> * e-cell-text.c: Implemented capitalization keybindings. * e-tree.c (item_key_press): Added parentheses to the default case here. svn path=/trunk/; revision=16168
* create new signature file (delete_unused_signature_file): be more carefulRadek Doulik2002-03-152-3/+21
| | | | | | | | | | | 2002-03-14 Radek Doulik <rodo@ximian.com> * mail-config.c (get_new_signature_filename): create new signature file (delete_unused_signature_file): be more careful about signature file path before unlinking svn path=/trunk/; revision=16167
* Made this return a boolean that returns whether the ETableSearch used theChristopher James Lahey2002-03-154-9/+12
| | | | | | | | | | | | | 2002-03-14 Christopher James Lahey <clahey@ximian.com> * e-table-search.c, e-table-search.h (e_table_search_backspace): Made this return a boolean that returns whether the ETableSearch used the backspace at all. * e-table.c (group_key_press), e-tree.c (item_key_press): Used the new return value from e_table_search_backspace. svn path=/trunk/; revision=16166
* Implemented.Jeffrey Stedfast2002-03-156-2/+57
| | | | | | | | | | | 2002-03-14 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (next_thread): Implemented. * message-list.c (message_list_select_next_thread): New function to select the next thread. svn path=/trunk/; revision=16165
* Linked "expunge" to the glossary. Made some basic grammar changes.Kevin Breit2002-03-154-159/+182
| | | | | | | | | | | | | | | 2002-03-14 Kevin Breit <mrproper@ximian.com> * C/usage-mail.sgml: Linked "expunge" to the glossary. Made some basic grammar changes. Reindented a whole lot of things. * C/apx-gloss.sgml: Added Postscript as a glossary definition. * C/usage-print.sgml: Changed the introduction of this. Do users really care about gnome-print? Linked the Postscript line to the glossary. svn path=/trunk/; revision=16164
* Remove "Settings" item.Ettore Perazzoli2002-03-152-12/+4
| | | | | | * my-evolution.xml: Remove "Settings" item. svn path=/trunk/; revision=16163
* Call `e_summary_preferences_register_config_control_factory()'.Ettore Perazzoli2002-03-158-146/+242
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-summary-factory.c (e_summary_factory_new_control): Call `e_summary_preferences_register_config_control_factory()'. * e-summary-preferences.c: Remove member `box' from struct PropertyData. Added member `config_control'. (e_summary_configure): Removed. (property_box_destroy_cb): Removed. (property_box_clicked_cb): Removed. (property_box_apply_cb): New. (config_control_destroy_cb): New. (factory_fn): New, factory function for the EvolutionConfigControl. (e_summary_preferences_register_config_control_factory): New. (mail_show_full_path_toggled_cb): Invoke ::changed on pd->config_control. (add_dialog_clicked_cb): Likewise. (rdf_refresh_value_changed_cb): Likewise. (rdf_limit_value_changed_cb): Likewise. (mail_etable_item_changed_cb): Likewise. (rdf_etable_item_changed_cb): Likewise. (weather_etable_item_changed_cb): Likewise. (weather_refresh_value_changed_cb): Likewise. (weather_metric_toggled_cb): Likewise. (weather_imperial_toggled_cb): Likewise. (calendar_one_toggled_cb): Likewise. (calendar_five_toggled_cb): Likewise. (calendar_week_toggled_cb): Likewise. (calendar_month_toggled_cb): Likewise. (calendar_all_toggled_cb): Likewise. (calendar_today_toggled_cb): Likewise. (config_control_destroy_cb): Don't set ->prefs_window to NULL. * my-evolution.glade: Renamed "notebook2" to "notebook". Also change its parent into a GtkWindow as libglade seems to have some kind of problem with the GnomePropertyBox [glade_xml_get_widget() for "notebook" always returned NULL]. * e-summary.h: Remove member `prefs_window' from `ESummary'. svn path=/trunk/; revision=16162
* Don't search if any modifier but SHIFT or LOCK is pressed.Ettore Perazzoli2002-03-152-4/+6
| | | | | | | | | | * e-tree.c (item_key_press): Don't search if any modifier but SHIFT or LOCK is pressed. * e-table.c (group_key_press): Don't search if any modifier but SHIFT or LOCK is pressed. svn path=/trunk/; revision=16161
* oops.JP Rosevear2002-03-151-1/+2
| | | | svn path=/trunk/; revision=16160
* remove duplicate new items in the file and action menusJP Rosevear2002-03-152-15/+4
| | | | | | | | | 2002-03-14 JP Rosevear <jpr@ximian.com> * evolution-tasks.xml: remove duplicate new items in the file and action menus svn path=/trunk/; revision=16159
* remove duplicate new items in the file and action menusJP Rosevear2002-03-152-29/+5
| | | | | | | | | 2002-03-14 JP Rosevear <jpr@ximian.com> * evolution-calendar.xml: remove duplicate new items in the file and action menus svn path=/trunk/; revision=16158
* add all day event editor modeJP Rosevear2002-03-156-117/+119
| | | | | | | | | | | | | | | | | | | 2002-03-14 JP Rosevear <jpr@ximian.com> * idl/evolution-calendar.idl: add all day event editor mode * gui/component-factory.c: clean up exception handling (sc_user_create_new_item_cb): support the all day event id (create_object): add a user creatable all day appointment item * gui/comp-editor-factory.c (get_default_event): get a default event either all day or starting at the top of the hour (get_default_task): get a default task (edit_new): support the all day event mode * gui/calendar-commands.c: remove unused functions/verbs svn path=/trunk/; revision=16157
* Pulled warning about the HTML mail stuff.Kevin Breit2002-03-142-6/+4
| | | | | | | | 2002-03-14 Kevin Breit <mrproper@ximian.com> * C/usage-mail.sgml: Pulled warning about the HTML mail stuff. svn path=/trunk/; revision=16156
* add gal.Chris Toshok2002-03-142-1/+5
| | | | | | | | 2002-03-13 Chris Toshok <toshok@ximian.com> * configure.in (EVOLUTION_ADDRESSBOOK_DEPS): add gal. svn path=/trunk/; revision=16155
* If the charset item doesn't have a class (aka "Unknown"), don't write aJeffrey Stedfast2002-03-142-3/+12
| | | | | | | | | | | 2002-03-13 Jeffrey Stedfast <fejj@ximian.com> * e-charset-picker.c (add_charset): If the charset item doesn't have a class (aka "Unknown"), don't write a class name, instead just give the charset name as the menu item label. Fixes bug #14753. svn path=/trunk/; revision=16154
* Set a default size of the window, so we don't get this itty-bitty windowJeffrey Stedfast2002-03-142-0/+34
| | | | | | | | | | 2002-03-13 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-window.c (folder_browser_window_new): Set a default size of the window, so we don't get this itty-bitty window the size of a quarter on the screen when it first gets shown. svn path=/trunk/; revision=16153
* Added a work-around for SMTP servers that can't read the RFCs and thusJeffrey Stedfast2002-03-142-1/+24
| | | | | | | | | | | 2002-03-13 Jeffrey Stedfast <fejj@ximian.com> * providers/smtp/camel-smtp-transport.c (smtp_auth): Added a work-around for SMTP servers that can't read the RFCs and thus implement SASL incorrectly. Oh well, that's life in the world of mail clients I guess. svn path=/trunk/; revision=16152
* Added alpha blending here.Christopher James Lahey2002-03-142-2/+73
| | | | | | | | 2002-03-13 Christopher James Lahey <clahey@ximian.com> * e-multi-config-dialog.c: Added alpha blending here. svn path=/trunk/; revision=16151
* Remove the "Tasks Settings..." menu item.Ettore Perazzoli2002-03-144-21/+10
| | | | | | | | | | | | * evolution-tasks.xml: Remove the "Tasks Settings..." menu item. * evolution-calendar.xml: Remove the "Calendar Settings..." menu item. * evolution-addressbook.xml: Remove the "LDAP Sources..." menu item. svn path=/trunk/; revision=16150
* Added selected_column, focused_column, and unselected_column.Christopher James Lahey2002-03-142-17/+118
| | | | | | | | | 2002-03-13 Christopher James Lahey <clahey@ximian.com> * e-cell-pixbuf.c, e-cell-pixbuf.h (pixbuf_draw): Added selected_column, focused_column, and unselected_column. svn path=/trunk/; revision=16149
* reverted my USER/PASS quoting fixJeffrey Stedfast2002-03-142-8/+2
| | | | svn path=/trunk/; revision=16148
* Added this function.Christopher James Lahey2002-03-144-1/+26
| | | | | | | | | | | 2002-03-13 Christopher James Lahey <clahey@ximian.com> * e-table-search.c, e-table-search.h (e_table_search_backspace): Added this function. * e-table.c, e-tree.c: Call the new function on backspace. svn path=/trunk/; revision=16145
* Quote the USER and PASS arguments since some people have spaces in theirJeffrey Stedfast2002-03-142-2/+8
| | | | | | | | | | 2002-03-13 Jeffrey Stedfast <fejj@ximian.com> * providers/pop3/camel-pop3-store.c (pop3_try_authenticate): Quote the USER and PASS arguments since some people have spaces in their user-names and/or passwords. svn path=/trunk/; revision=16144
* Add an icon for the LDAP sources configuration control.Ettore Perazzoli2002-03-142-0/+8
| | | | | | | * gui/component/GNOME_Evolution_Addressbook.oaf.in: Add an icon for the LDAP sources configuration control. svn path=/trunk/; revision=16143
* Clean up comment.Ettore Perazzoli2002-03-141-3/+1
| | | | svn path=/trunk/; revision=16142
* Add an "evolution:config_item:icon_path" attribute so we get an icon forEttore Perazzoli2002-03-142-0/+9
| | | | | | | | * gui/GNOME_Evolution_Calendar.oaf.in: Add an "evolution:config_item:icon_path" attribute so we get an icon for the calendar preferences. svn path=/trunk/; revision=16141
* Use `evolution:config_item:icon_name' instead ofEttore Perazzoli2002-03-142-4/+21
| | | | | | | | | | * e-shell-settings-dialog.c (load_pages): Use `evolution:config_item:icon_name' instead of `evolution:config_item:icon_path'. If it's not an absolute path, load from the IMAGESDIR. Also, no need to specify the language list for this one, as the icon name shouldn't be translated. svn path=/trunk/; revision=16140
* Replaced e_marshal_BOOL__STRING with this since the function it was usedChristopher James Lahey2002-03-137-35/+68
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-13 Christopher James Lahey <clahey@ximian.com> * gal/util/e-util.c, gal/util/e-util.h (e_marshal_BOOL__STRING_INT): Replaced e_marshal_BOOL__STRING with this since the function it was used for has been modified. From gal/e-table/ChangeLog: 2002-03-13 Christopher James Lahey <clahey@ximian.com> * e-table-extras.c (e_string_search): Check for a NULL haystack here. * e-table-search.c, e-table-search.h: Added a parameter to the search signal here to pass in flags. Specifically, added the E_TABLE_SEARCH_FLAGS_CHECK_CURSOR_FIRST flag. Improved the search behavior here. * e-table.c, e-tree.c: Handle the new signature for the search signal here. svn path=/trunk/; revision=16139
* Added ETableSearch support.Christopher James Lahey2002-03-131-50/+164
| | | | | | | | 2002-03-13 Christopher James Lahey <clahey@ximian.com> * e-tree.c: Added ETableSearch support. svn path=/trunk/; revision=16138
* Add an entry to invoke the new unified config dialog.Ettore Perazzoli2002-03-132-6/+17
| | | | | | | * evolution.xml: Add an entry to invoke the new unified config dialog. svn path=/trunk/; revision=16137
* Remove verb "AddressbookConfig". (config_cb): Removed.Ettore Perazzoli2002-03-137-52/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook.c: Remove verb "AddressbookConfig". (config_cb): Removed. * gui/component/addressbook-config.c: Remove `dialog' member from `AddresbookDialog'. Instead, add a `config_control' member. (config_control_new): New. (addressbook_config): Removed. (addressbook_config_register_factory): New. (config_control_factory_fn): New, factory function for the ConfigControl page. (addressbook_source_edit_changed): Don't change the sensitivity of the dialog. Rather, invoke ::changed on the ConfigPage. (auth_checkbutton_changed): No need to manually change the sensitiviness of the buttons here either. (add_source_clicked): Likewise, just invoke evolution_config_control_changed(). (edit_source_clicked): Likewise. (addressbook_dialog_close): Removed. (config_control_destroy_callback): New, callback for when the config control gets destroyed. (addressbook_dialog_apply): Removed. (config_control_apply_callback): New callback for EvolutionConfigControl::apply. (addressbook_dialog_ok): Removed. (addressbook_config_control_new): Set up ->config_control and connect the signals. * gui/component/addressbook-config.glade: Call the main hbox in the addressbook_sources dialog `addressbook_sources_main_hbox'. * gui/component/addressbook-component.c (owner_set_cb): Call `addresbook_config_register_factory'. * gui/component/GNOME_Evolution_Addressbook.oaf.in: Add items for OAFIID:GNOME_Evolution_Addresbook_ConfigControl and OAFIID:GNOME_Evolution_Addressbook_ConfigControlFactory. svn path=/trunk/; revision=16136
* Add <visible>False</visible> to cal-prefs-dialog so it doesn't get shownEttore Perazzoli2002-03-1312-395/+447
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/dialogs/cal-prefs-dialog.glade: Add <visible>False</visible> to cal-prefs-dialog so it doesn't get shown when we load the Glade file with libglade. * gui/component-factory.c (owner_set_cb): Register the ConfigControl factory. * gui/tasks-control.c: Removed verb "TaskSettings". (tasks_control_settings_cmd): Removed. * gui/calendar-commands.c: Removed verb "CalendarSettings". (settings_cmd): Removed. * gui/dialogs/cal-prefs-dialog.c: Renamed `CalPrefsDialogPrivate' to `DialogData'. Replace `dialog' member with a `page' member. Remove `toplevel_notebook' member. (init_widgets): Renamed from `cal_prefs_dialog_init_widgets'. Just get a DialogData. (get_widgets): Get a DialogData pointer. (cal_prefs_dialog_destroy): Removed. (config_control_destroy_callback): New, signal handler for ::destroy for ConfigControl. (cal_prefs_dialog_new): Create a new DialogData, connect all the signal handlers. (create_time_edit): Renamed from `cal_prefs_dialog_create_time_edit'. (cal_prefs_dialog_show): Removed. (cal_prefs_dialog_button_clicked): Removed. (show_task_list_config): Get a DialogData. (show_config): Renamed from `cal_prefs_dialog_show_config'. Likewise. (update_task_list_config): Likewise. (update_config): Renamed from `cal_prefs_dialog_update_config'. Likewise. (color_set_callback): New callback, makes the dialog report changes when the setting in any of the color widgets is changed. (widget_changed_callback): New callback, makes the dialog report changes when any of the widgets changes status. (connect_changed): New utility function to connect this callback to all the widgets. (setup_widgets): Connect all the widgets. (cal_prefs_dialog_new): Call `setup_widgets'. * gui/config-control-factory.c: New. * gui/config-control-factory.h: New. * gui/GNOME_Evolution_Calendar.oaf.in: Add OAFIID:GNOME_Evolution_Calendar_ConfigControl and OAFIID:GNOME_Evolution_Calendar_ConfigControlFactory. svn path=/trunk/; revision=16135
* Update to create an EvolutionConfigControl instead of just aEttore Perazzoli2002-03-138-22/+362
| | | | | | | | | | | | | | | | | | | | | | | | * evolution-test-component.c (create_configuration_page): Update to create an EvolutionConfigControl instead of just a BonoboControl. * e-corba-config-page.c (e_corba_config_page_construct): Get a GNOME_Evolution_ConfigControl instead of a CORBA_Object. Retrieve the control from it using ::_get_control instead of just assuming it's a control. Also return a boolen indicating success or failure. (e_corba_config_page_new): Likewise, get a GNOME_Evolution_ConfigControl. (setup_listener): Renamed from `setup_config_control_interface'. Get a ::ConfigControl instead of a CORBA::Object. Thus, no need to queryInterface here anymore. * evolution-config-control.c, evolution-config-control.h: New, implementation for the Evolution::ConfigControl interface. * Evolution-ConfigControl.idl: New attribute `control'. svn path=/trunk/; revision=16134
* Handle digest: urls.Jeffrey Stedfast2002-03-133-5/+64
| | | | | | | | | | | 2002-03-12 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (on_link_clicked): Handle digest: urls. * mail-format.c (setup_mime_tables): Add a handler for multipart/digest. (handle_multipart_digest): Handle multipart/digest parts. svn path=/trunk/; revision=16133
* Added support for E_TABLE_MEMORY_STORE_OBJECT which represents a columnChristopher James Lahey2002-03-132-2/+17
| | | | | | | | | | 2002-03-12 Christopher James Lahey <clahey@ximian.com> * e-table-memory-store.c, e-table-memory-store.h: Added support for E_TABLE_MEMORY_STORE_OBJECT which represents a column storing a GtkObject. svn path=/trunk/; revision=16132
* Removed Page struct. (e_multi_config_dialog_add_page): Select the initialChristopher James Lahey2002-03-132-56/+15
| | | | | | | | | | 2002-03-12 Christopher James Lahey <clahey@ximian.com> * e-multi-config-dialog.c: Removed Page struct. (e_multi_config_dialog_add_page): Select the initial row after appending to the model. svn path=/trunk/; revision=16131
* Use Use e_table_memory_store instead of e_table_memory_callbacks. UseChristopher James Lahey2002-03-132-99/+44
| | | | | | | | | | 2002-03-12 Christopher James Lahey <clahey@ximian.com> * e-multi-config-dialog.c (init): Use Use e_table_memory_store instead of e_table_memory_callbacks. Use e_cell_vbox to include a pixbuf cell and a text cell. svn path=/trunk/; revision=16130
* Bumped the required version of gal.Christopher James Lahey2002-03-132-1/+5
| | | | | | | | 2002-03-12 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the required version of gal. svn path=/trunk/; revision=16129
* Give the correct height to the subcells instead of overlapping them.Christopher James Lahey2002-03-136-19/+39
| | | | | | | | | | | | | | | | | | | 2002-03-12 Christopher James Lahey <clahey@ximian.com> * e-cell-vbox.c (ecv_draw): Give the correct height to the subcells instead of overlapping them. * e-table-header.c, e-table-header.h (e_table_header_move, eth_calc_widths): Emit the dimension_changed signal with the width of the header. * e-table-memory-store.c (duplicate_value, etms_free_value): Handle NULL pixbufs here. * e-table.c, e-table.h: Connect to the dimension_changed signal and call set_header_width. Did a bit of refactoring here. svn path=/trunk/; revision=16128
* Set the folder on a folder-browser object.Jeffrey Stedfast2002-03-138-5/+270
| | | | | | | | | | | | | | | 2002-03-12 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (folder_browser_set_folder): Set the folder on a folder-browser object. * folder-browser-window.c (folder_browser_window_new): Simple window to display a folder-browser. * mail-callbacks.c (view_digest): New callback to open a folder-browser-window with a digest folder. svn path=/trunk/; revision=16127
* Now takes a url argument.Jeffrey Stedfast2002-03-136-26/+54
| | | | | | | | | | | | | | | | | | | 2002-03-12 Jeffrey Stedfast <fejj@ximian.com> * camel-digest-store.c (camel_digest_store_new): Now takes a url argument. * camel-digest-folder.c (digest_add_multipart): Fixed some memory corruption and also modified to use CAMEL_IS_MIME_MESSAGE() rather than comparing content-type strings. (digest_get_message): Fixed a logic blooper. * camel-folder-summary.c (camel_message_info_new_from_header): Set the date fields of the CamelMessageInfo as well. This may even fix some filter-related bugs where the user was trying to compare dates. svn path=/trunk/; revision=16126
* removed forgotten FIXMERadek Doulik2002-03-131-2/+0
| | | | svn path=/trunk/; revision=16125
* Replaced "png" with "PNG". This shouldn't break the SGML build and it's aKevin Breit2002-03-133-10/+103
| | | | | | | | | 2002-03-12 Kevin Breit <mrproper@ximian.com> * C/usage-mail.sgml: Replaced "png" with "PNG". This shouldn't break the SGML build and it's a slow start to the XML porting process. Included information about how to create an HTML signature. svn path=/trunk/; revision=16124
* Added e-table-search.lo.Christopher James Lahey2002-03-1216-72/+612
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-12 Christopher James Lahey <clahey@ximian.com> * gal/Makefile.am (libgal_la_LIBADD): Added e-table-search.lo. * gal/util/e-util.c, gal/util/e-util.h (e_marshal_BOOL__STRING): Added this marshal function. From gal/e-table/ChangeLog: 2002-03-12 Christopher James Lahey <clahey@ximian.com> * Makefile.am (libetable_la_SOURCES): Added e-table-search.c. (libetableinclude_HEADERS): Added e-table-search.h. * e-cell.h: Added ETableSearchFun here. * e-table-col.h: Added search here. * e-table-column-specification.c, e-table-column-specification.h: Added search here. * e-table-extras.c, e-table-extras.h (e_table_extras_add_search): Added ETableSearchFuncs here. * e-table-memory-store.c (e_table_memory_store_insert, e_table_memory_store_insert_adopt): Handle row == -1 here. * e-table-search.c, e-table-search.h: New class to reusably handle the semantics of searching for a string. * e-table-simple.c, e-table-simple.h: Added a bunch of simple functions here for if your table is all strings. Should be reusable. * e-table-utils.c (et_col_spec_to_col): Added support for searches here. * e-table.c, e-table.h: Added an ETableSearch here. svn path=/trunk/; revision=16119
* do the typedef's in camel-types.h and include camel-digest-store.h in camel.hJeffrey Stedfast2002-03-124-2/+3
| | | | svn path=/trunk/; revision=16117
* Proxy request_collapse signals.Christopher James Lahey2002-03-121-48/+65
| | | | | | | | | 2002-03-11 Christopher James Lahey <clahey@ximian.com> * e-tree-sorted.c (ets_proxy_node_request_collapse): Proxy request_collapse signals. svn path=/trunk/; revision=16116
* Christian: Fix linker errors on SGI IRIX 6.5 by not using libtool forSebastian Rittau2002-03-122-11/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libversit/Makefile.am: * gncal/Makefile.am: * gnomecard/Makefile.am: Christian: Fix linker errors on SGI IRIX 6.5 by not using libtool for libversit.a. (Bugzilla #61031) -rpath removal and some small cleanups by me. * gncal/corba-cal-factory.c: (init_corba_server, unregister_calendar_services): Christian: Fix startup crashes. * gncal/calobj.c: (ical_object_to_vobject): Christian: Don't save dtend if it's 0 (i.e. the epoch 1970-01-01 00:00). Partly addresses Bugzilla #6058. * gncal/calendar.c: (calendar_open): Store errno privately so that the displayed error message is correct. * gncal/gncal-week-view.c: (gncal_week_view_set): Put %W time format string in week_end part, since otherwise we get problems when the week start is set to Sunday. Also use %V instead of %W to get the ISO week number, instead of the C week number. This makes the week number consistent with the one from GtkCalendar. * libversit/vcc.y: Christian: Fix a problem with locale-dependent string comparisons. (Bugzilla #64801) svn path=/trunk/; revision=16114
* A pretty empty store implementation to be the parent store of aJeffrey Stedfast2002-03-126-3/+229
| | | | | | | | | | | 2002-03-11 Jeffrey Stedfast <fejj@ximian.com> * camel-digest-store.c: A pretty empty store implementation to be the parent store of a CamelDigestFolder. * camel-digest-folder.c: Updated to reference it's parent store. svn path=/trunk/; revision=16113
* Updated Estonian translation by the Gnome Estonian teamTõivo Leedjärv2002-03-122-3002/+3081
| | | | | | | | | 2002-03-12 Tõivo Leedjärv <toivo@linux.ee> * et.po: Updated Estonian translation by the Gnome Estonian team <gnome-et@linux.ee>. svn path=/trunk/; revision=16112
* Allow any leaf part to be a message/rfc822 part. (digest_get_uids):Jeffrey Stedfast2002-03-122-41/+88
| | | | | | | | | | | | | 2002-03-11 Jeffrey Stedfast <fejj@ximian.com> * camel-digest-folder.c (camel_digest_folder_new): Allow any leaf part to be a message/rfc822 part. (digest_get_uids): Recurse the mime structure and add all message/rfc822 parts and use a uid scheme similar to IMAP's mime part naming convention. (digest_get_message): Decode the uid to get the correct mime part. svn path=/trunk/; revision=16111
* Added e-cell-vbox.lo.Christopher James Lahey2002-03-122-0/+556
| | | | | | | | | | | | | | | | | | 2002-03-11 Christopher James Lahey <clahey@ximian.com> * gal/Makefile.am (libgal_la_LIBADD): Added e-cell-vbox.lo. From gal/e-table/ChangeLog: 2002-03-11 Christopher James Lahey <clahey@ximian.com> * Makefile.am (libetable_la_SOURCES): Added e-cell-vbox.c. (libetableinclude_HEADERS): Added e-cell-vbox.h. * e-cell-vbox.c, e-cell-vbox.h: New ECell to take multiple other ECells and use them all in a vertical series. svn path=/trunk/; revision=16110
* Added this function to take a ... list of column data. The expected numberChristopher James Lahey2002-03-122-0/+24
| | | | | | | | | | | 2002-03-11 Christopher James Lahey <clahey@ximian.com> * e-table-memory-store.c (e_table_memory_store_insert_list): Added this function to take a ... list of column data. The expected number of parameters in the ... is the number of columns in the table. svn path=/trunk/; revision=16109
* Added a pixbuf column type.Christopher James Lahey2002-03-126-38/+69
| | | | | | | | | | | | | | 2002-03-11 Christopher James Lahey <clahey@ximian.com> * e-table-memory-store.c, e-table-memory-store.h (E_TABLE_MEMORY_STORE_PIXBUF): Added a pixbuf column type. * e-table-specification.c, e-table-specification.h: Added horizontal-resize attribute. * e-table.c, e-table.h: Handle horizontal_resize. svn path=/trunk/; revision=16108
* Use GNOME_STOCK_BUTTON_CLOSE, not GNOME_STOCK_BUTTON_CANCEL. (do_close):Ettore Perazzoli2002-03-122-10/+18
| | | | | | | | | | * e-multi-config-dialog.c (init): Use GNOME_STOCK_BUTTON_CLOSE, not GNOME_STOCK_BUTTON_CANCEL. (do_close): Renamed from `cancel'. (do_apply): Renamed from `apply'. (do_ok): Renamed from `ok'. svn path=/trunk/; revision=16106
* change contains x-evolution-any-field to beginswith on email, full_name,Chris Toshok2002-03-122-1/+11
| | | | | | | | | | | 2002-03-11 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names.c (update_query): change contains x-evolution-any-field to beginswith on email, full_name, and nickname. faster, and more applicable to this dialog. svn path=/trunk/; revision=16103
* Change the order of the mailing list magic patterns so that the moreEttore Perazzoli2002-03-122-17/+23
| | | | | | | | * camel-mime-utils.c: Change the order of the mailing list magic patterns so that the more mailing-list specific ones are on the top. svn path=/trunk/; revision=16101
* Remove the extremely verbose printf here.Dan Winship2002-03-122-2/+5
| | | | | | | * listener.c (impl_event): Remove the extremely verbose printf here. svn path=/trunk/; revision=16100
* doh. In my previous commit, a whole bunch of changes that were supposed toAnna Marie Dirks2002-03-122-60/+8
| | | | | | | | | | | | 2002-03-11 Anna Marie Dirks <anna@ximian.com> * evolution-mail-message.xml: doh. In my previous commit, a whole bunch of changes that were supposed to be kept in my personal evo were added to HEAD. (Mainly, this was the addition of a "Search" menu.) I am reverting the wrong parts of that patch, and am committing only the accelerators which that patch was supposed to add. Sorry. svn path=/trunk/; revision=16099
* oops, musta backspaced over a brace?Jeffrey Stedfast2002-03-121-1/+1
| | | | svn path=/trunk/; revision=16098
* These fixes should fix bug #21737.Jeffrey Stedfast2002-03-123-17/+32
| | | | | | | | | | | | | | | | 2002-03-11 Jeffrey Stedfast <fejj@ximian.com> These fixes should fix bug #21737. * providers/smtp/camel-smtp-transport.c (connect_to_server_wrapper): Same as with the POP code. * providers/pop3/camel-pop3-store.c (connect_to_server_wrapper): Slight restructuring of the if-statements for the USE_SSL_ALWAYS case so that we can't possibly return TRUE unless we really did connect successfully. svn path=/trunk/; revision=16097
* Updated French translation.Christophe Merlet2002-03-112-878/+1290
| | | | svn path=/trunk/; revision=16095
* Rename the OpenSSL implementation of things to match the NSSDan Winship2002-03-119-193/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | implementation so that callers don't need to care which one is being used. * camel-tcp-stream-openssl.c: Implement CamelTcpStreamSSL, not CamelTcpStreamOpenSSL. Rename methods as well. Replace the camel-tcp-stream-openssl.h include with camel-tcp-stream-ssl.h. * camel-tcp-stream-openssl.h: Gone. * camel-tcp-stream-ssl.c: Add a note explaining that this implementation is only used for NSS, and that OpenSSL's implementation is in another file. (Should probably do some CVS renaming magic at some point.) * camel-http-stream.c (http_connect): Remove OpenSSL refs; the previously-NSS-specific code works for both now. * camel-remote-store.c: Likewise. * providers/smtp/camel-smtp-transport.c: Likewise. * providers/pop3/camel-pop3-store.c: Likewise. * Makefile.am (libcamelinclude_HEADERS): Remove camel-tcp-stream-openssl.h svn path=/trunk/; revision=16093
* Remove this: it couldn't be generically used, because different subclassesDan Winship2002-03-118-79/+238
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * camel-tcp-stream.c (camel_tcp_stream_get_socket): Remove this: it couldn't be generically used, because different subclasses returned entirely different types of data. (camel_tcp_stream_get_local_address, camel_tcp_stream_get_remote_address): Add these to replace what get_socket was being used for. (camel_tcp_address_new, camel_tcp_address_free): Utility functions for get_{local,remote}_address. * providers/smtp/camel-smtp-transport.c: Change localaddr to a CamelTcpAddress *. (connect_to_server): Call camel_tcp_stream_get_local_address to get the local IP address. (smtp_disconnect): free localaddr. (smtp_helo): Update for localaddr change. * camel-tcp-stream-raw.c (stream_get_socket): Remove (stream_get_local_address, stream_get_remote_address): Implement. * camel-tcp-stream-ssl.c (stream_get_socket): Remove (stream_get_local_address, stream_get_remote_address): Implement. * camel-tcp-stream-openssl.c (stream_get_socket): Remove (stream_get_local_address, stream_get_remote_address): Implement. svn path=/trunk/; revision=16092
* Updated Slovenian translationAndraz Tori2002-03-111-946/+1255
| | | | svn path=/trunk/; revision=16091
* The main window's title is now just one localized string. This should makeSebastian Rittau2002-03-111-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gncal/main.c: The main window's title is now just one localized string. This should make l10n easier. * gncal/calendar-conduit.c: Move #define of G_LOG_DOMAIN to the top of the file. * gncal/calendar.h: * gncal/calendar.c: (calendar_save): Rewrote function. Does now try to restore the backup file if writing the calendar file failed. (Bugzilla #51662) Also, make fname argument const. * gncal/gncal-full-day.c: Renamed get_tm_range() to time_row_usage(), documented this function and cleaned it up. * gncal/gncal-week-view.c: Christian/me: Show week numbers. (Bugzilla #26377) * gncal/corba-cal-factory.h: s/corba_server_init/init_corba_server/ * gnomecard/sort.c: (gnomecard_do_sort_cards): Christian: Fixed a crash that occured if an empty card list was sorted. Also increased sort speed a bit. * libversit/vobject.c: (fakeCString): Christian: Fixed possible crashes by just returning an empty string if NULL is passed in. * gncal/calobj.c: (ical_object_create_from_vobject): Christian: Remove a now redundant error check. * gncal/main.h: * gncal/main.c: * gncal/calendar.c: (calendar_day_change): * gncal/prop.c: Christian/me: Calendar roll over at midnight. (Bugzilla #6435) svn path=/trunk/; revision=16090
* Distribute gnome-pilot.m4.Sebastian Rittau2002-03-102-0/+6
| | | | svn path=/trunk/; revision=16010
* Make old_name_locale non-const to placate a compiler warning.Ettore Perazzoli2002-03-103-1/+12
| | | | | | | | | | * e-shell-folder-commands.c (e_shell_command_rename_folder): Make old_name_locale non-const to placate a compiler warning. (get_corba_null_value): Likewise. * e-activity-handler.c (report_task_event): `#if 0' out. svn path=/trunk/; revision=16008
* Use ECorbaConfigPages.Ettore Perazzoli2002-03-107-6/+353
| | | | | | | | | | | | | | * e-shell-settings-dialog.c (load_pages): Use ECorbaConfigPages. * e-corba-config-page.c: New. * e-corba-config-page.h: New. * Evolution.idl: #include <Evolution-ConfigControl.idl>. * Evolution-ConfigControl.idl: New IDL for configuration Controls that will be displayed in the global config dialog. svn path=/trunk/; revision=16007
* Rename Page.widget -> Page.page_widget; it is now an EConfigPage insteadEttore Perazzoli2002-03-107-17/+427
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-multi-config-dialog.c: Rename Page.widget -> Page.page_widget; it is now an EConfigPage instead of just a GtkWidget. Add `num_unapplied' to EMultiConfigDialogPrivate. Derive from GnomeDialog, not GtkWindow. (update_buttons): New function to update the sensitiveness of the buttons according to whether all the settings have been applied or not. (page_new): Likewise. (create_page_container): Renamed from `create_page_widget'. (init): Add Apply/OK/Cancel buttons to the dialog. Init ->num_unapplied to zero. (page_changed_callback): New, callback for the page's "changed" signal. (e_multi_config_dialog_add_page): Connect the callback, update ->num_unapplied, update the buttons by calling `update_buttons'. (ok): New function for handling the OK button. (apply): New function for handling the Apply button. (cancel): New function for handling the Cancel button. (impl_clicked): Implementation for the GnomeDialog's ::clicked signal. (class_init): Install. * test-multi-config-dialog.c (add_pages): Update to use EConfigPages instead of plain GtkWidgets. * e-multi-config-dialog.c, e-multi-config-dialog.h: Derive from GnomeDialog, not GtkWindow. * e-config-page.c: New. * e-config-page.h: New. svn path=/trunk/; revision=16006
* add TLSNotAvailable to BookLister_CallStatus.Chris Toshok2002-03-105-16/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-09 Chris Toshok <toshok@ximian.com> * backend/idl/addressbook.idl: add TLSNotAvailable to BookLister_CallStatus. * backend/ebook/e-book-types.h: add TLS_NOT_AVAILABLE to the EBookStatus enum. * backend/ebook/e-book-listener.c (e_book_listener_convert_status): add TLS_NOT_AVAILABLE to the switch. * backend/pas/pas-backend-ldap.c (pas_backend_ldap_get_static_capabilities): fix name. (pas_backend_ldap_class_init): fix name. (pas_backend_ldap_connect): change return type to CallStatus so we can return different errors from here. Also, do STARTTLS if the user has asked for it and the connection supports it, returning TLSNotAvailable (and close the connection) if they chose to require it. (pas_backend_ldap_load_uri): return pas_backend_ldap_connect. (func_beginswith): pull in change from evolution-1-0-branch to make full_name beginswith search both cn and sn. svn path=/trunk/; revision=16005
* since I've gone ahead and made the file backend (by way ofChris Toshok2002-03-104-22/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-09 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.c (jump_to_letter): since I've gone ahead and made the file backend (by way of pas-backend-card-sexp.c) use case insensitive searches for beginswith, there's no need to list upper and lower case here. * gui/component/addressbook.c (addressbook_search_option_items): reorder things to put "Any field contains" at the end, since it's the least efficient search. Also reorder the enum to the same ordering. Change "Name contains" to "Name begins with" and change "Email contains" to "Email is". (addressbook_search_activated): change FULL_NAME to beginswith, and change EMAIL to is to match the labels. * backend/pas/pas-backend-card-sexp.c (compare_name): new function, so we can compare both full and family names (so beginswith can operate on them both.) (endswith_helper): use e_utf8_strstrcase here, since all the backends backends use case insensitive searching. (func_endswith): same. svn path=/trunk/; revision=16004
* Bumped version number to 0.19.99.7Chris Toshok2002-03-101-2/+2
| | | | | | | | | | | | | 2002-03-09 Chris Toshok <toshok@ximian.com> * configure.in: Bumped version number to 0.19.99.7 * gal/widgets/e-unicode.c (e_utf8_strstrcasedecomp): we want to return o from here on success, not p, since p is incremented one unicode character past the point where the substring begins. (e_utf8_strstrcase): same. svn path=/trunk/; revision=16000
* Don't call camel_remote_store_get_authtypes since we no longer subclassJeffrey Stedfast2002-03-097-50/+290
| | | | | | | | | | | | | | | | | | | | | | 2002-03-08 Jeffrey Stedfast <fejj@ximian.com> * providers/pop3/camel-pop3-provider.c (camel_provider_module_init): Don't call camel_remote_store_get_authtypes since we no longer subclass camel-remote-store. * providers/pop3/camel-pop3-engine.c: Added STARTTLS to the capabilities to look for. (camel_pop3_engine_reget_capabilities): New function to re-get capabilities. * providers/pop3/camel-pop3-store.c: Updated to not subclass CamelRemoteStore. (connect_to_server): Rewritten to not depend on CamelRemoteStore's connect implementation. Also added support for STLS (aka STARTTLS). svn path=/trunk/; revision=15998
* truncate stream before savingRadek Doulik2002-03-092-2/+6
| | | | | | | | | 2002-03-08 Radek Doulik <rodo@ximian.com> * mail-signature-editor.c (menu_file_save_cb): truncate stream before saving svn path=/trunk/; revision=15997
* new functionRadek Doulik2002-03-095-3/+54
| | | | | | | | | | | | | 2002-03-08 Radek Doulik <rodo@ximian.com> * mail-config.c (mail_config_signature_set_html): new function * mail-accounts.c (sig_event_client): watch for HTML changed event * mail-signature-editor.c: added HTML check menu item to Format menu svn path=/trunk/; revision=15996
* moved format menu, avoided two separatorsRadek Doulik2002-03-092-13/+14
| | | | svn path=/trunk/; revision=15995
* A small update evolution/po/da.poKeld Jørn Simonsen2002-03-091-2/+2
| | | | | | | A small update evolution/po/da.po svn path=/trunk/; revision=15994
* Note that e_storage_set_view_new shouldn't be used directly.Dan Winship2002-03-095-2/+15
| | | | | | | | | | | | | * e-storage-set-view.[ch]: Note that e_storage_set_view_new shouldn't be used directly. * e-shell-view.c (setup_storage_set_subwindow): Use e_storage_set_new_view instead of e_storage_set_view_new. * evolution-storage-set-view-factory.c (evolution_storage_set_view_factory_new_view): Likewise. svn path=/trunk/; revision=15993
* added FormatHTMLRadek Doulik2002-03-092-0/+12
| | | | | | | | 2002-03-08 Radek Doulik <rodo@ximian.com> * evolution-signature-editor.xml: added FormatHTML svn path=/trunk/; revision=15992
* Rewrite this to not use stpcpy, which isn't portable.Dan Winship2002-03-092-5/+11
| | | | | | | * mail-config-druid.c (management_prepare): Rewrite this to not use stpcpy, which isn't portable. svn path=/trunk/; revision=15991
* Handle a collapse request by marking all descendents of that node asChristopher James Lahey2002-03-095-125/+193
| | | | | | | | | | | | | | | | | | | | 2002-03-08 Christopher James Lahey <clahey@ximian.com> * e-tree-memory.c (etmm_node_request_collapse): Handle a collapse request by marking all descendents of that node as needing their children recomputed. * e-tree-model.c, e-tree-model.h (e_tree_model_node_request_collapse): Added this signal to request that the view of your tree collapse this node. * e-tree-selection-model.c (etsm_selected_count): Pass the root of the sorted model here instead of the root of the base model. * e-tree-table-adapter.c (etta_proxy_node_request_collapse): Handle a collapse request by collapsing the node in the tree. svn path=/trunk/; revision=15990
* handle name changed event (sig_load_preview): don't run script before eachRadek Doulik2002-03-093-6/+57
| | | | | | | | | | | | | | 2002-03-08 Radek Doulik <rodo@ximian.com> * mail-accounts.c (sig_event_client): handle name changed event (sig_load_preview): don't run script before each reload (sig_script_activate): run script only if script entry is activated * mail-signature-editor.c (mail_signature_editor): added signature name entry svn path=/trunk/; revision=15989
* Added a fill_in_children signal.Christopher James Lahey2002-03-082-5/+50
| | | | | | | | | 2002-03-08 Christopher James Lahey <clahey@ximian.com> * e-tree-memory.c, e-tree-memory.h (check_children): Added a fill_in_children signal. svn path=/trunk/; revision=15988
* track union/struct change. (pas_book_queue_remove_card): same.Chris Toshok2002-03-085-713/+1136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-07 Chris Toshok <toshok@ximian.com> * backend/pas/pas-book.c (pas_book_queue_create_card): track union/struct change. (pas_book_queue_remove_card): same. (pas_book_queue_modify_card): same. (pas_book_queue_get_cursor): same. (pas_book_queue_get_vcard): same. (pas_book_queue_authenticate_user): same. (pas_book_queue_get_book_view): same. (pas_book_queue_get_changes): same. (pas_book_free_request): new function - free everything we need to for each type of request. (pas_book_destroy): call pas_book_free_request here instead of just freeing 3 elements of the old struct. yay plugging memleaks. * backend/pas/pas-book.h: make PASRequest a union and split out members into structs, so it's a little clearer which fields are used by which requests. Also, add prototype for pas_book_free_request so backends can just free everything at once (usually in their requests_queued signal func.) * backend/pas/pas-backend-file.c (pas_backend_file_process_create_card): track struct/union change. (pas_backend_file_process_remove_card): same. (pas_backend_file_process_modify_card): same. (pas_backend_file_build_cards_list): same. (pas_backend_file_process_get_vcard): same. (pas_backend_file_process_get_cursor): same. (pas_backend_file_process_get_book_view): same. (pas_backend_file_process_get_changes): same. (pas_backend_file_process_check_connection): same. (pas_backend_file_process_authenticate_user): same. (pas_backend_file_process_get_supported_fields): same. (pas_backend_file_process_client_requests): case the union to the specific struct and pass it to the process_* functions. also, call pas_book_free_request here, instead of relying on each of the functions to free their stuff. svn path=/trunk/; revision=15987
* Re-focus the account name entry widget. (identity_prepare): If a name isJeffrey Stedfast2002-03-083-15/+73
| | | | | | | | | | | | | 2002-03-07 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (management_changed): Re-focus the account name entry widget. (identity_prepare): If a name is not set, try and get the user's full name for them and set the text on the entry widget. (management_prepare): If the account name is already taken, generate a unique one by appending " (%d)". svn path=/trunk/; revision=15986
* make edit button sensitive after new signature is created (sig_new_text):Radek Doulik2002-03-082-0/+8
| | | | | | | | | | 2002-03-07 Radek Doulik <rodo@ximian.com> * mail-account-gui.c (sig_new_html): make edit button sensitive after new signature is created (sig_new_text): ditto svn path=/trunk/; revision=15984
* Shh againKjartan Maraas2002-03-081-0/+2
| | | | svn path=/trunk/; revision=15980
* notify accounts dialog about signature content changeRadek Doulik2002-03-087-23/+60
| | | | | | | | | | | | 2002-03-07 Radek Doulik <rodo@ximian.com> * mail-signature-editor.c: notify accounts dialog about signature content change * mail-accounts.c (run_script): run script only if file regular file exists and has x flag svn path=/trunk/; revision=15979
* Made all the acclerators in the context menu on a message work. (There areAnna Marie Dirks2002-03-082-14/+19
| | | | | | | | 2002-03-07 Anna Marie Dirks <anna@ximian.com> * folder-browser.c: Made all the acclerators in the context menu on a message work. (There are 22 different menu items here, so picking a unique accelerator for each label was tricky, and some of the choices I made are different from the ones I would have made if there weren't so many stinking menu items.) svn path=/trunk/; revision=15978
* New function to create a test configuration page for the test component.Ettore Perazzoli2002-03-088-14/+367
| | | | | | | | | | | | | | | | | | | | | * evolution-test-component.c (create_configuration_page): New function to create a test configuration page for the test component. (configuration_control_factory_fn): Factory function for the configuration controls. (register_configuration_control_factory): New function to register the factory. (main): Call it. * e-shell-view-menu.c: Add verb "Settings". (command_settings): Implementation for the "Settings" verb. * GNOME_Evolution_TestComponent.oaf: Add a configuration control. * e-shell-settings-dialog.c: New. * e-shell-settings-dialog.h: New. svn path=/trunk/; revision=15977
* Add test-multi-config-dialog.Ettore Perazzoli2002-03-081-1/+2
| | | | svn path=/trunk/; revision=15976
* Don't display a header in the table on the left.Ettore Perazzoli2002-03-082-2/+8
| | | | | | | * e-multi-config-dialog.c: Don't display a header in the table on the left. svn path=/trunk/; revision=15975
* fix a bug in the storage icon codeDan Winship2002-03-082-7/+9
| | | | svn path=/trunk/; revision=15974
* Fixed tiny typo ("Addressbook", not "Address book"), and cleaned upAnna Marie Dirks2002-03-082-12/+76
| | | | | | | | 2002-03-07 Anna Marie Dirks <anna@ximian.com> * evolution-mail-message.xml: Fixed tiny typo ("Addressbook", not "Address book"), and cleaned up accelerators more, so that all of them actually work. Also added accelerators to items in the Go To menu and the Forward menu as part of fixing bug #10666. svn path=/trunk/; revision=15973
* Don't use an uninitialized 'id'.Jeffrey Stedfast2002-03-082-4/+7
| | | | | | | | | 2002-03-07 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (config_import_old_signatures): Don't use an uninitialized 'id'. svn path=/trunk/; revision=15972
* added save & close on toolbar, added C-s shortcutRadek Doulik2002-03-082-1/+7
| | | | | | | | | 2002-03-07 Radek Doulik <rodo@ximian.com> * evolution-signature-editor.xml: added save & close on toolbar, added C-s shortcut svn path=/trunk/; revision=15971
* set initial focus to editor (do_exit): use hasUndo to avoid questionRadek Doulik2002-03-082-4/+22
| | | | | | | | | | | 2002-03-07 Radek Doulik <rodo@ximian.com> * mail-signature-editor.c (mail_signature_editor): set initial focus to editor (do_exit): use hasUndo to avoid question dialog when content is unchanged svn path=/trunk/; revision=15970
* Add support for hash type RIPEMD160.Jeffrey Stedfast2002-03-084-52/+100
| | | | | | | | | | | | | | | 2002-03-07 Jeffrey Stedfast <fejj@ximian.com> * camel-pgp-mime.c (camel_pgp_mime_part_sign): Add support for hash type RIPEMD160. * camel-cipher-context.h: Add RIPEMD160 hash type. * camel-pgp-context.c (pgp_sign): Updated to consider hash function for pgp5 and pgp6. (pgp_clearsign): Same. svn path=/trunk/; revision=15969
* Addendum to previous commit: Remove "storage_selected" vsDan Winship2002-03-089-109/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | "folder_selected" distinction. * evolution-storage-set-view.c (storage_set_view_widget_storage_selected_cb): Removed. * evolution-storage-set-view-listener.c (impl_GNOME_Evolution_StorageSetViewListener_notifyStorageSelected): Removed. (class_init): Remove STORAGE_SELECTED signal. * e-storage-set-view.c (impl_cursor_activated): Always emit FOLDER_SELECTED, never STORAGE_SELECTED. (class_init): Remove STORAGE_SELECTED signal. * e-shell-view.c (storage_selected_cb): Removed. * e-shell-folder-creation-dialog.c (storage_set_view_storage_selected_cb): Removed. * Evolution-StorageSetView.idl (StorageSetViewListener): Remove notifyStorageSelected. svn path=/trunk/; revision=15968
* Update for storage changes: explicitly create a root folder.Dan Winship2002-03-085-14/+31
| | | | | | | | | | | | | | | | | * component-factory.c (add_storage): Update for storage changes: explicitly create a root folder. * mail-display.c (mail_display_render): Fix the "don't scroll back to the top of the HTML widget when opening an attachment" hack again by moving it here from mail_display_redisplay(). (It has to happen after the gtk_html_begin.) (mail_display_redisplay): Pass reset_scroll arg to mail_display_render. * mail-callbacks.c (do_mail_print): Pass reset_scroll (TRUE) to mail_display_render. svn path=/trunk/; revision=15967
* Update for evolution_storage_new() change.Dan Winship2002-03-082-1/+7
| | | | | | | | * gui/component/addressbook-storage.c (addressbook_get_other_contact_storage): Update for evolution_storage_new() change. svn path=/trunk/; revision=15966
* Make storages-with-toplevel-views less of a hack.Dan Winship2002-03-0817-342/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-folder-tree.c (e_folder_tree_add): Allow the caller to "add" a root folder, if the existing root folder has no children. (e_folder_tree_new): Use e_folder_tree_add to create the root folder, since it can do that now. * e-storage.c: (e_storage_construct): Replace toplevel_node_uri and toplevel_node_type args with root_folder. (e_storage_new): Likewise. (*): Remove toplevel uri/type stuff everywhere. Also remove display_name since now we will use the name of the root folder for that. * evolution-storage.c: Remove toplevel uri/type stuff everywhere. * e-local-storage.c (construct): Pass root_folder to e_storage_construct instead of toplevel uri/type. Also, evolution_storage_new no longer takes toplevel uri/type. * e-corba-storage.c (e_corba_storage_construct): Out with toplevel uri/type, in with root_folder. (e_corba_storage_new): Remove toplevel uri/type. * e-shell.c (setup_local_storage): Create a top-level folder of type "summary" for the Summary storage. * e-storage-set-view.c (set_e_shortcut_selection): Remove special-case for storages. (etree_icon_at): Remove special case for figuring out storage icons (but leave the code that makes the icon disappear once the storage is opened). (etree_value_at): Remove special case for storage names. (But still make storages always bold.) Remove unused special-case code for Summary. * e-shortcuts.c (load_shortcuts): Remove special case for storages, reorganize a bit. * e-shortcuts-view.c (get_shortcut_info): Remove special case for storages. * e-shell-view.c (update_for_current_uri): Remove special case for storages. (socket_destroy_cb): Likewise. (get_type_for_storage): No longer needed. (get_view_for_uri): No longer needs to special-case storages (but add a special case for folders of type "noselect", to make them unselectable like storages-without-toplevel-views used to be). * e-storage-set.c (get_storage_for_path): If passed "/foo", return "/" as subpath_return so e_storage_set_get_folder will DTRT in the NWO. * Evolution-Storage.idl (addStorage): Remove the toplevel_node_uri and toplevel_node_type arguments. * e-corba-storage-registry.c (impl_StorageRegistry_addStorage): Likewise. svn path=/trunk/; revision=15965
* ops, unregister and not register new one sig_event_clientRadek Doulik2002-03-082-1/+6
| | | | | | | | | 2002-03-07 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (destroy): ops, unregister and not register new one sig_event_client svn path=/trunk/; revision=15964
* Add a timeout on the select. (stream_write): Same.Jeffrey Stedfast2002-03-082-8/+24
| | | | | | | | | | 2002-03-07 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-openssl.c (stream_read): Add a timeout on the select. (stream_write): Same. svn path=/trunk/; revision=15963
* removed missing fileRadek Doulik2002-03-071-1/+0
| | | | svn path=/trunk/; revision=15962
* comment out signature settingRadek Doulik2002-03-072-2/+7
| | | | | | | | | 2002-03-07 Radek Doulik <rodo@ximian.com> * netscape-importer.c (netscape_import_accounts): comment out signature setting svn path=/trunk/; revision=15961
* merge new signature handlingRadek Doulik2002-03-0718-455/+2540
| | | | svn path=/trunk/; revision=15960
* Fix to work with OpenSSL.Jeffrey Stedfast2002-03-072-3/+8
| | | | | | | | | 2002-03-06 Jeffrey Stedfast <fejj@ximian.com> * providers/smtp/camel-smtp-transport.c (connect_to_server): Fix to work with OpenSSL. svn path=/trunk/; revision=15959
* Keep the storage name and display_name in EStoragePriv. (impl_get_name,Dan Winship2002-03-0713-261/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-storage.c: Keep the storage name and display_name in EStoragePriv. (impl_get_name, impl_get_display_name): Return them. (e_storage_construct): Set them here. (e_storage_new): And here. * e-local-storage.c: (impl_get_name, impl_get_display_name): Removed. (construct): Pass E_LOCAL_STORAGE_NAME and U_("Local Folders") to e_storage_construct. * e-corba-storage.c: Remove priv->name. (get_name, get_display_name): Removed. (e_corba_storage_construct): Pass name to e_storage_construct(). * e-summary-storage.[ch]: Gone. This didn't override anything in EStorage but get_name/get_display_name, and the defaults for those DTRT now. * e-shell-constants.h: Move E_SUMMARY_STORAGE_NAME here from e-summary-storage.h, and move E_LOCAL_STORAGE_NAME too for consistency. * e-storage-set-view.c: Fix up #includes. * e-shell-importer.c: Likewise * e-shell.c: Likewise. Create summary_storage as a plain EStorage since ESummaryStorage is gone now. * Makefile.am (evolution_SOURCES): Remove e-summary-storage.[ch] svn path=/trunk/; revision=15955
* Fix up GList/GSList confusion.Dan Winship2002-03-073-2/+15
| | | | | | | | | | | | * e-corba-storage-registry.c (impl_StorageRegistry_removeListener): Fix up GList/GSList confusion. * e-shell-user-creatable-items-handler.c (get_default_action_for_view): Don't look into the types list if it's empty. svn path=/trunk/; revision=15954
* compile fixes. (camel_tcp_stream_openssl_enable_ssl): Check to make sureJeffrey Stedfast2002-03-072-12/+22
| | | | | | | | | | | | 2002-03-06 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-openssl.c: compile fixes. (camel_tcp_stream_openssl_enable_ssl): Check to make sure that the sockfd != -1, it's not enough to check that it is non-zero. Also set the sockfd to -1 on fail (open_ssl_connection will close the sockfd on fail). svn path=/trunk/; revision=15953
* Allow the user to enable OpenSSL over Mozilla NSS using --enable-opensslJeffrey Stedfast2002-03-072-101/+123
| | | | | | | | | 2002-03-06 Jeffrey Stedfast <fejj@ximian.com> * configure.in: Allow the user to enable OpenSSL over Mozilla NSS using --enable-openssl or --disable-nss. svn path=/trunk/; revision=15952
* updated i18n headerJeffrey Stedfast2002-03-071-18/+20
| | | | svn path=/trunk/; revision=15951
* Added beep and play-sound actions.Jeffrey Stedfast2002-03-072-0/+13
| | | | | | | | 2002-03-06 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Added beep and play-sound actions. svn path=/trunk/; revision=15950
* Reduce width of the copyright message so it looks prettier with the newEttore Perazzoli2002-03-072-2/+7
| | | | | | | * e-shell-about-box.c: Reduce width of the copyright message so it looks prettier with the new Rupert artwork. svn path=/trunk/; revision=15947
* Make this compile.Dan Winship2002-03-072-1/+6
| | | | | | | * providers/smtp/camel-smtp-transport.c (smtp_construct): Make this compile. svn path=/trunk/; revision=15946
* Should fix #21240Rodrigo Moya2002-03-072-22/+38
| | | | | | | | | | | 2002-03-06 Rodrigo Moya <rodrigo@ximian.com> Should fix #21240 * gui/alarm-notify/alarm-notify.c: replaced use of GnomeVFSURI with EUri, to allow non-registered methods. svn path=/trunk/; revision=15944
* reverted my last change of adding the METHOD property to the incomingRodrigo Moya2002-03-063-2/+37
| | | | | | | | | | | | | 2002-03-05 Rodrigo Moya <rodrigo@ximian.com> * gui/e-itip-control.c (e_itip_control_set_data): reverted my last change of adding the METHOD property to the incoming request. * gui/itip-utils.c (comp_string): added extra X-MICROSOFT-CDO-REPLYTIME property for broken Outlook. Should fix #20783. svn path=/trunk/; revision=15940
* treat "" as "always" to maintain compatablity with old config settingsJeffrey Stedfast2002-03-061-1/+2
| | | | svn path=/trunk/; revision=15939
* Removed. Glory glory hallelujah! (ssl_bad_cert): No longer callsJeffrey Stedfast2002-03-062-55/+7
| | | | | | | | | | | 2002-03-05 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-ssl.c (save_ssl_cert): Removed. Glory glory hallelujah! (ssl_bad_cert): No longer calls ssl_save_cert or ssl_cert_is_saved. svn path=/trunk/; revision=15938
* Start the ssl stream off in non-ssl mode (useful for STARTTLS).Jeffrey Stedfast2002-03-068-84/+433
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-05 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-openssl.c (camel_tcp_stream_openssl_new_raw): Start the ssl stream off in non-ssl mode (useful for STARTTLS). (camel_tcp_stream_openssl_enable_ssl): New function to toggle an ssl stream into ssl mode. (open_ssl_connection): Close the sockfd on fail so our caller doesn't have to - this also allows us to save the original errno. (stream_connect): If we want ssl mode, do our ssl stuff. (camel_tcp_stream_openssl_class_init): Init some SSL stuff here instead of in open_ssl_connection since these only ever need to be called once. (stream_read): Only use SSL_read if we are in ssl mode. (stream_write): Only use SSL_write if we are in ssl mode. * providers/smtp/camel-smtp-transport.c (smtp_helo): Check for the STARTTLS extension. (connect_to_server): Try to use STARTTLS whenever possible rather than the old way of doing things. (connect_to_server_wrapper): Wrapper around connect_to_server() to first try STARTTLS and then attempt normal SSL mode if we can't connect via STARTTLS. * camel-tcp-stream-ssl.c (camel_tcp_stream_ssl_enable_ssl): New function to toggle an ssl stream into ssl mode. (camel_tcp_stream_ssl_new_raw): Start the ssl stream off in non-ssl mode (useful for STARTTLS). (stream_connect): Only connect in SSL mode if required. svn path=/trunk/; revision=15937
* Don't try to set pixmap for /Toolbar/MailCompose, since it doesn't existDan Winship2002-03-062-1/+5
| | | | | | | * folder-browser-ui.c: Don't try to set pixmap for /Toolbar/MailCompose, since it doesn't exist any more. svn path=/trunk/; revision=15935
* "use_ssl" can now be 3 options, modify the code to handle this.Jeffrey Stedfast2002-03-064-46/+184
| | | | | | | | | | | | 2002-03-05 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (save_service): "use_ssl" can now be 3 options, modify the code to handle this. (setup_service): Toggle the correct ssl option. (source_type_changed): Show/hide the ssl hbox container widget. (transport_type_changed): Same. svn path=/trunk/; revision=15933
* New. New.Ettore Perazzoli2002-03-065-4/+563
| | | | | | | | | | * test-multi-config-dialog.c: New. * test-multi-config-dialog.h: New. * e-multi-config-dialog.c: New. * e-multi-config-dialog.h: New. svn path=/trunk/; revision=15932
* [pullup from evolution-1-0-branch]Dan Winship2002-03-062-0/+11
| | | | | | | | | * gui/itip-utils.c (comp_compliant): Reset the DTSTAMP of the new component. (RFC2245 says DTSTAMP corresponds to the time the particular iCalendar representation of the object was created.) Fixes #21198. svn path=/trunk/; revision=15930
* Pull up assertion change from evolution-1-0-branch to allow externalDan Winship2002-03-062-1/+6
| | | | | | | * mail-folder-cache.c (mail_note_store): Pull up assertion change from evolution-1-0-branch to allow external storages. svn path=/trunk/; revision=15928
* Re-disable tooltips since they're (still) fantastically obnoxious withDan Winship2002-03-061-2/+0
| | | | | | | * e-table-item.c: Re-disable tooltips since they're (still) fantastically obnoxious with focus-follows-mouse. (OKed by Ettore). svn path=/trunk/; revision=15927
* remove unneeded parameter from print_text_size everywhereJP Rosevear2002-03-066-69/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-05 JP Rosevear <jpr@ximian.com> * gui/print.c: remove unneeded parameter from print_text_size everywhere (get_font_for_size): calculate a font size based on the available height (print_text): calculate the top of where the font should be drawn (print_text_size): use get_font_for_size (print_day_background): use get_font_for_size 2002-03-05 JP Rosevear <jpr@ximian.com> * gui/e-meeting-time-sel-item.c (e_meeting_time_selector_item_draw): pass the real table to e_meeting_model_etable_view_to_model_row (e_meeting_time_selector_item_paint_busy_periods): ditto * gui/dialogs/meeting-page.c (right_click_cb): ditto * gui/e-meeting-model.h: update protos * gui/e-meeting-model.c (e_meeting_model_etable_model_to_view_row): take in to account the fact the table used the without model (e_meeting_model_etable_view_to_model_row): ditto svn path=/trunk/; revision=15926
* oops. not these twoDan Winship2002-03-062-690/+0
| | | | svn path=/trunk/; revision=15924
* I'm not dead yet!Dan Winship2002-03-0633-0/+5009
| | | | svn path=/trunk/; revision=15919
* These macros aren't needed in gnome2Tov Are Jacobsen2002-03-0632-4326/+0
| | | | | | These macros aren't needed in gnome2 svn path=/trunk/; revision=15918
* don't set "editable" here, as the way things work the backend isn't ableChris Toshok2002-03-052-1/+7
| | | | | | | | | | | 2002-03-05 Chris Toshok <toshok@ximian.com> * gui/widgets/e-minicard-view-widget.c (e_minicard_view_widget_realize): don't set "editable" here, as the way things work the backend isn't able to override a setting from the UI, so writable books never show up as writable. svn path=/trunk/; revision=15917
* If the clicked column was column 0, enable/disable it. (mail_select):Jeffrey Stedfast2002-03-052-7/+21
| | | | | | | | | | 2002-03-04 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (mail_unselect): If the clicked column was column 0, enable/disable it. (mail_select): Same. svn path=/trunk/; revision=15914
* [fixes bug #20871] add the status-message label.Chris Toshok2002-03-053-1/+43
| | | | | | | | | | | | | | | | | | | 2002-03-04 Chris Toshok <toshok@ximian.com> [fixes bug #20871] * gui/component/select-names/select-names.glade: add the status-message label. * gui/component/select-names/e-select-names.h (struct _ESelectNames): add status_message field. * gui/component/select-names/e-select-names.c (status_message): new function, set the label's text from the message. (e_select_names_init): get the status-message label, and if it's valid, connect to the status_message signal of the EAddressbookModel. svn path=/trunk/; revision=15913
* Added more debugging code to help figure out why a certain image isn'tJeffrey Stedfast2002-03-053-6/+17
| | | | | | | | | | 2002-03-04 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (load_http): Added more debugging code to help figure out why a certain image isn't loading - looks like gnome-vfs is getting a premature EOF? svn path=/trunk/; revision=15910
* Connect to the focus-in/out events on the message-list so that we canJeffrey Stedfast2002-03-056-7/+78
| | | | | | | | | | | | | | | | | | | | | | | 2002-03-04 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (my_folder_browser_init): Connect to the focus-in/out events on the message-list so that we can disable the EditInvertSelection and EditSelectThread menu items when the message-list is not in focus. * folder-browser-ui.c (folder_browser_ui_message_list_unfocus): New function to de-sensitize some items if the message-list is not in focus. (folder_browser_ui_message_list_focus): New function to sensitize some items if the message-list is not in focus. * mail-callbacks.c (invert_selection): Only invert the selection of the message-list if it is the widget in focus. * message-list.c (message_list_select): Do not explicitly grab the focus here. svn path=/trunk/; revision=15909
* Rename the internal structure to coincide with the filenames.Jeffrey Stedfast2002-03-054-3/+8
| | | | | | | | | 2002-03-04 Jeffrey Stedfast <fejj@ximian.com> * forward.xpm, reply.xpm, reply_to_all.xpm: Rename the internal structure to coincide with the filenames. svn path=/trunk/; revision=15908
* #include <string.h> for strcmp.Jeffrey Stedfast2002-03-052-2/+9
| | | | | | | | 2002-03-04 Jeffrey Stedfast <fejj@ximian.com> * e-mktemp.c: #include <string.h> for strcmp. svn path=/trunk/; revision=15907
* added support for printing the Tasks table. I hacked it a bit so the userDamon Chaplin2002-03-052-0/+220
| | | | | | | | | | | 2002-03-04 Damon Chaplin <damon@ximian.com> * gui/tasks-control.c: added support for printing the Tasks table. I hacked it a bit so the user could choose portrait or landscape mode. This is bug #9677. ETable printing has a few issues, though, and it isn't very pretty. svn path=/trunk/; revision=15906
* added Print & PrintPreview stuff.Damon Chaplin2002-03-052-0/+19
| | | | | | | | 2002-03-04 Damon Chaplin <damon@ximian.com> * evolution-tasks.xml: added Print & PrintPreview stuff. svn path=/trunk/; revision=15905
* only call the cell's print method if it has one. Avoids crashing forDamon Chaplin2002-03-051-1/+2
| | | | | | | | | 2002-03-04 Damon Chaplin <damon@ximian.com> * e-cell.c (e_cell_print): only call the cell's print method if it has one. Avoids crashing for unimplemented print methods. svn path=/trunk/; revision=15903
* Set X-Mailer to say "Ximian Evolution", not just "Evolution".Ettore Perazzoli2002-03-052-1/+8
| | | | | | | * mail-ops.c (mail_send_message): Set X-Mailer to say "Ximian Evolution", not just "Evolution". svn path=/trunk/; revision=15901
* CORBA stuff required for the summary to find out details about storages from ↵Iain Holmes2002-03-055-2/+221
| | | | | | the shell svn path=/trunk/; revision=15899
* [Fix #20234, Deleting Folder gratuitiously causes /local to open.]Ettore Perazzoli2002-03-053-4/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-04 Ettore Perazzoli <ettore@ximian.com> [Fix #20234, Deleting Folder gratuitiously causes /local to open.] * e-shell-view.c (find_inbox_in_storage): New helper function to heuristically find an Inbox folder. (handle_current_folder_removed): New function to handle the removal of the currently displayed folder in a slightly smarter way than before. It tries to display the parent folder of the folder that got deleted and, if not possible, the Inbox in the same storage. If neither of this is possible, it displays the default local Inbox. [It still doesn't handle the case where you have no Inbox gracefully, but that can come later.] (storage_set_removed_folder_callback): Call `handle_current_folder_removed'. 2002-03-04 Ettore Perazzoli <ettore@ximian.com> [Fix #20237, Shell silently drops xfer_folder errors.] * e-shell-folder-commands.c (xfer_result_callback): Display an error message if the operation failed. svn path=/trunk/; revision=15898
* [pullup from evolution-1-0-branch]Dan Winship2002-03-042-80/+93
| | | | | | | | | * gui/itip-utils.c (comp_subject): Prefix the subject with an indicator like "Accepted" or "Cancelled" explaining what the action is, since Outlook doesn't display any of that information inline like we do. (20780) svn path=/trunk/; revision=15896
* [pullup from evolution-1-0-branch]Dan Winship2002-03-042-1/+6
| | | | | | | * e-msg-composer.c (build_message): Fix a dumb bug in previous commit that broke iMIP containing 8-bit data. svn path=/trunk/; revision=15895
* Updated Slovenian translationAndraz Tori2002-03-031-1/+1
| | | | svn path=/trunk/; revision=15891
* Add c++ armoring.Jeffrey Stedfast2002-03-0230-18/+324
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-01 Jeffrey Stedfast <fejj@ximian.com> * camel-vtrash-folder.h: * camel-vee-store.h: * camel-vee-folder.h: * camel-stream-null.h: * camel-stream-filter.h: * camel-store-summary.h: * camel-news-address.h: * camel-mime-utils.h: * camel-mime-parser.h: * camel-mime-filter-save.h: * camel-mime-filter-linewrap.h: * camel-mime-filter-index.h: * camel-mime-filter-html.h: * camel-mime-filter.h: * camel-mime-filter-from.h: * camel-mime-filter-crlf.h: * camel-mime-filter-chomp.h: * camel-mime-filter-charset.h: * camel-mime-filter-bestenc.h: * camel-mime-filter-basic.h: * camel-internet-address.h: * camel-folder-thread.h: * camel-folder-summary.h: * camel-folder-search.h: * camel-filter-driver.h: * camel-charset-map.h: * camel-address.h: Add c++ armoring. * camel-object.h: s/class/klass svn path=/trunk/; revision=15885
* Reverted my pgp/mime fixes here too.Jeffrey Stedfast2002-03-024-45/+12
| | | | | | | | | | | | | | 2002-03-01 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-part-utils.c (camel_mime_part_construct_content_from_parser): Reverted my pgp/mime fixes here too. * camel-mime-part.c (write_to_stream): Removed my pgp/mime raw stream hack, this is causing problems such as some messages to not displaying, view->source not working at all, etc. svn path=/trunk/; revision=15883
* Forward all selected messages. Fixes bug #21190.Jeffrey Stedfast2002-03-022-7/+18
| | | | | | | | | 2002-03-01 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (forward_message): Forward all selected messages. Fixes bug #21190. svn path=/trunk/; revision=15882
* added the METHOD property to the top level component we create.Rodrigo Moya2002-03-012-0/+7
| | | | | | | | | 2002-02-28 Rodrigo Moya <rodrigo@ximian.com> * calendar/gui/e-itip-control.c (e_itip_control_set_data): added the METHOD property to the top level component we create. svn path=/trunk/; revision=15880
* Updated Slovenian translationAndraz Tori2002-03-011-158/+184
| | | | svn path=/trunk/; revision=15879
* If tab is hit and the cursor is still in the entry, move down into theJon Trowbridge2002-03-011-11/+36
| | | | | | | | | | | 2002-02-28 Jon Trowbridge <trow@ximian.com> * gal/e-text/e-completion-view.c (e_completion_view_key_press_handler): If tab is hit and the cursor is still in the entry, move down into the entry otherwise unbrowse. svn path=/trunk/; revision=15878
* don't ref the view here, since it keeps the view alive until the search isChris Toshok2002-03-012-4/+12
| | | | | | | | | | | | | | | | 2002-02-28 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-ldap.c (pas_backend_ldap_search): don't ref the view here, since it keeps the view alive until the search is over, which we don't want. we want the view's death to cancel the search. This speeds up starting new searches after one is already active (since switching searches actually creates a new book view and destroys the old one.) (ldap_search_dtor): remove the matching unref here. The unref as it was was incorrect anyway, and caused a crash (we needed search_op->view, not op->view.) svn path=/trunk/; revision=15877
* New cool artwork from Jakub.Ettore Perazzoli2002-03-013-0/+4
| | | | | | * about-box.png, splash.png: New cool artwork from Jakub. svn path=/trunk/; revision=15875
* Changed offset variables from int's to off_t's since the system mayJeffrey Stedfast2002-03-012-4/+7
| | | | | | | | | 2002-02-28 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-parser.c: Changed offset variables from int's to off_t's since the system may support large files. svn path=/trunk/; revision=15874
* Rearrange the save filter stuff so that we save raw streams for all mimeJeffrey Stedfast2002-03-012-36/+40
| | | | | | | | | | | | | 2002-02-28 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-part-utils.c (camel_mime_part_construct_content_from_parser): Rearrange the save filter stuff so that we save raw streams for all mime parts. If the mime part turns out to be a multupart, then don't bother saving the raw stream, we only need to save the raw stream for leaf parts. svn path=/trunk/; revision=15873
* i2002-02-26 Chris Toshok <toshok@ximian.com>Chris Toshok2002-03-012-2/+7
| | | | | | | | * backend/pas/pas-backend-file.c (pas_backend_file_search): move card_count++ inside the if that checks to see if a card matches (and adds the card to the list). svn path=/trunk/; revision=15872
* [fixes bug #20690] the data arg is not GList** anymore, it'sChris Toshok2002-03-012-52/+86
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-27 Chris Toshok <toshok@ximian.com> [fixes bug #20690] * backend/pas/pas-backend-ldap.c (func_and): the data arg is not GList** anymore, it's PASBackendLDAPSExpData*, so use ldap_data->list instead of *list. (func_or): same. (func_not): same. (func_contains): same. (func_is): same. (func_endswith): same. (func_beginswith): same, but also special case the beginswith "fileAs" query type (the one used by the alphabet buttons on the right hand side, so we can deal with entries that don't have fileAs attributes, and return meaningful responses.) (pas_backend_ldap_build_query): initialize the PASBackendLDAPSExpData struct and pass that instead of &list. Also, take the PASBackendLDAP arg to add to the struct in case we need it at some point in the future. (ldap_search_handler): pass in the PASBackendLDAP. svn path=/trunk/; revision=15871
* Updated Norwegian (bokmål) translation.Kjartan Maraas2002-03-012-560/+604
| | | | | | | | | | 2002-02-28 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation. 2002-02-27 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz> svn path=/trunk/; revision=15869
* only save raw streams for leaf parts.Jeffrey Stedfast2002-02-281-2/+9
| | | | svn path=/trunk/; revision=15868
* Don't #include camel-mime-filter-save.h, we don't use it.Jeffrey Stedfast2002-02-288-126/+173
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-27 Jeffrey Stedfast <fejj@ximian.com> * camel-folder-summary.h: Don't #include camel-mime-filter-save.h, we don't use it. * camel-file-utils.c: Fixed a few 'might be used uninitialized' warnings which were real problems. * camel-mime-part-utils.c (camel_mime_part_construct_content_from_parser): Save the raw mime stream for any/all signed parts. * camel-mime-part.c (camel_mime_part_init): Initialize our raw stream to NULL. (camel_mime_part_finalize): Unref our raw stream, if we have one. (write_to_stream): If we have a raw stream, write that out instead of re-encoding. * camel-mime-filter-save.[c,h]: Rewritten to save to a stream rather than a file. svn path=/trunk/; revision=15867
* Use the FOLD_SIZE as a recommended folding size, but add a newNot Zed2002-02-284-6/+14
| | | | | | | | | | 2002-02-28 Not Zed <NotZed@Ximian.com> * camel-mime-utils.c (header_fold): Use the FOLD_SIZE as a recommended folding size, but add a new FOLD_MAX_SIZE (=998, the smtp max line size) as the hard limit for any output. svn path=/trunk/; revision=15866
* Updated Slovenian translationAndraz Tori2002-02-281-2469/+3216
| | | | svn path=/trunk/; revision=15864
* New stream filter that chomps excess trailing whitespace from the end ofJeffrey Stedfast2002-02-286-12/+256
| | | | | | | | | | | | | | | | | 2002-02-27 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-filter-chomp.c (camel_mime_filter_chomp_new): New stream filter that chomps excess trailing whitespace from the end of the stream. This is needed to update the PGP/MIME code to comply with rfc3156. * camel-pgp-mime.c (camel_pgp_mime_part_verify): Don't attach a from filter, if it ain't from-filtered already, then we'll just be breaking stuff. To become rfc3156 compliant, add a chomp filter here. (camel_pgp_mime_part_sign): Add a chomp filter here too. svn path=/trunk/; revision=15863
* make a right click bring up the popup menu.Larry Ewing2002-02-282-2/+9
| | | | | | | | | 2002-02-27 Larry Ewing <lewing@ximian.com> * misc/e-combo-button.c (impl_button_press_event): make a right click bring up the popup menu. svn path=/trunk/; revision=15858
* Updated Slovak translation.Stanislav Visnovsky2002-02-272-3925/+4561
| | | | | | | | 2002-02-27 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz> * sk.po: Updated Slovak translation. svn path=/trunk/; revision=15854
* Changed header formatted table to contain a pointer to an output function,Not Zed2002-02-272-10/+102
| | | | | | | | | | | | | | | | | | | | | | 2002-02-27 Not Zed <NotZed@Ximian.com> * camel-mime-part.c (init_header_name_table): Changed header formatted table to contain a pointer to an output function, and added in-reply-to and references headers. (write_references): New function to write out references header, folded properly. It only approximates based on the last >, but it should be adequate and will also handle invalid headers. (write_fold): Function to write out headers folded. Since this is the default it isn't required. (write_raw): Write out an already formatted header, e.g. most of the rest. (write_to_stream): Lookup header output function, if we have one, use that, otherwise fold header using basic (dumb) function. This is all for #14779. A better fix is probably do have the headers always stored formatted, but that can wait. svn path=/trunk/; revision=15852
* Get the Content-Base if the header exists and use gtk_html_set_base to setJeffrey Stedfast2002-02-274-44/+33
| | | | | | | | | | | | | | | | | | 2002-02-26 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_text_html): Get the Content-Base if the header exists and use gtk_html_set_base to set this base url. * mail-display.c (on_link_clicked): No longer need to calculate the full url. This is now handled by GtkHTML. (on_set_base): Removed. (on_url_requested): No longer need to calculate the full url. (mail_display_initialize_gtkhtml): Don't connect to the set_base signal anymore. We don't care. * mail-display.h: No longer need base_url (it was broken anyway). svn path=/trunk/; revision=15850
* [This gets rid of some spurious "could not find handler" messagesEttore Perazzoli2002-02-272-5/+18
| | | | | | | | | | | | on exit. What happened is that the signal would be disconnected twice, once by cleanup_delayed_selection() and once by the while_alive handler.] * e-shell-view.c (destroy): Call cleanup_delayed_selection() here. (e_shell_view_display_uri): Use gtk_signal_connect_full(), not e_gtk_signal_connect_full_while_alive(). svn path=/trunk/; revision=15848
* display an error message if the call to gnome_calendar_open orRodrigo Moya2002-02-273-2/+29
| | | | | | | | | | | 2002-02-26 Rodrigo Moya <rodrigo@ximian.com> * gui/control-factory.c (set_prop): * gui/tasks-control.c (tasks_control_set_property): display an error message if the call to gnome_calendar_open or e_tasks_open does not return TRUE. Fixes #20346. svn path=/trunk/; revision=15845
* updated Basque filePablo Saratxaga2002-02-272-724/+800
| | | | svn path=/trunk/; revision=15844
* Updated Slovenian translationAndraz Tori2002-02-261-2/+2
| | | | svn path=/trunk/; revision=15843
* Updated Slovenian translationAndraz Tori2002-02-261-1742/+1742
| | | | svn path=/trunk/; revision=15842
* Copy values across to new part.Not Zed2002-02-269-18/+126
| | | | | | | | | | | | | | | | | | 2002-02-26 Not Zed <NotZed@Ximian.com> * filter-filter.c (option_activate): Copy values across to new part. * filter-rule.c (option_activate): copy values across to new part, if they are compatible. * filter-element.c (filter_element_copy_value): New function to copy values (where they can be) from one filter element to another. * filter-part.c (filter_part_copy_values): New function to copy values of a filter part. #1359. svn path=/trunk/; revision=15841
* Updated Slovenian translationAndraz Tori2002-02-261-14/+14
| | | | svn path=/trunk/; revision=15840
* If a related part is requested, remove it from the related undisplayedNot Zed2002-02-265-6/+49
| | | | | | | | | | | | 2002-02-26 Not Zed <NotZed@Ximian.com> * mail-display.c (on_url_requested): If a related part is requested, remove it from the related undisplayed list. * mail-format.c (handle_multipart_related): Check if related parts are displayed, if not, remove them. For #2741. svn path=/trunk/; revision=15837
* Allow all multiparts that contain message/rfc822 attachments.Jeffrey Stedfast2002-02-262-6/+21
| | | | | | | | | | 2002-02-25 Jeffrey Stedfast <fejj@ximian.com> * camel-digest-folder.c (camel_digest_folder_new): Allow all multiparts that contain message/rfc822 attachments. (digest_get_uids): Only assign uids to message parts. svn path=/trunk/; revision=15836
* [pullup from evolution-1-0-branch]Dan Winship2002-02-262-33/+17
| | | | | | | | | | | * gui/itip-utils.c (itip_send_comp): use GNOME_Evolution_Composer_setBody rather than _setMultipartType and _attachData now, to send a message containing just a text/calendar part. Fixes 14705. Mostly. (comp_content_type): Include the filename here since we can't add a Content-Disposition now. svn path=/trunk/; revision=15834
* [pulled up from evolution-1-0-branch]Dan Winship2002-02-265-25/+112
| | | | | | | | | | | | | | | | | | | | | | | | Mailer side of 14705. * Evolution-Composer.idl (setBody): Change setBodyText to setBody and take a MIME type as well. (show): Add an exception. * evolution-composer.c (impl_Composer_set_body, etc): Update for IDL change. While I'm here, fix this to DTRT with both plaintext and HTML bodies. (It claimed to take plain text before, but then passed it to the composer as HTML.) (impl_Composer_show): Raise an exception if setBody has been called, since the composer window will not display the real data in that case. * e-msg-composer.c (e_msg_composer_set_body): interface for impl_Composer_set_body. (build_message): If e_msg_composer_set_body has been called, use the body and MIME type supplied to it rather than the contents of the HTML editor. svn path=/trunk/; revision=15833
* change query_changed to search_activated.Chris Toshok2002-02-252-4/+11
| | | | | | | | | | | 2002-02-24 Chris Toshok <toshok@ximian.com> * gui/cal-search-bar.c (cal_search_bar_class_init): change query_changed to search_activated. (cal_search_bar_search_activated): rename cal_search_bar_query_changed to this. svn path=/trunk/; revision=15830
* rename folder_browser_search_query_changed to this.Chris Toshok2002-02-252-2/+12
| | | | | | | | | | | | 2002-02-24 Chris Toshok <toshok@ximian.com> * folder-browser.c (folder_browser_search_do_search): rename folder_browser_search_query_changed to this. (folder_browser_gui_init): hook both query_changed and search_activated up to folder_browser_search_do_search, preserving current behavior. svn path=/trunk/; revision=15829
* only handle the ESB_ADVANCED case here now. the actual query work is doneChris Toshok2002-02-252-2/+29
| | | | | | | | | | | | | | 2002-02-24 Chris Toshok <toshok@ximian.com> * gui/component/addressbook.c (addressbook_query_changed): only handle the ESB_ADVANCED case here now. the actual query work is done in addressbook_search_activated. (addressbook_search_activated): split out all the searching functionality here. (addressbook_factory_new_control): hook up "search_activated" to addressbook_search_activated. svn path=/trunk/; revision=15828
* preserve behavior - hook search_activated signal to the same function asChris Toshok2002-02-254-23/+63
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-24 Chris Toshok <toshok@ximian.com> * e-filter-bar.c (init): preserve behavior - hook search_activated signal to the same function as query_changed. * e-search-bar.c (emit_search_activated): new function. (entry_activated_cb): use emit_search_activated instead of emit_query_changed. (subitem_activated_cb): same. (activate_button_clicked_cb): same. (class_init): add the search_activated signal. (idle_activate_hack): rename idle_change_hack to this, and emit_search_activated. (e_search_bar_construct): idle_change_hack -> idle_activate_hack. (e_search_bar_set_subitem_id): emit_search_activated instead of emit_query_changed. (e_search_bar_set_text): same. * e-search-bar.h (struct _ESearchBarClass): add a search_activated signal. svn path=/trunk/; revision=15827
* Updated French translation.Christophe Merlet2002-02-252-1410/+1603
| | | | svn path=/trunk/; revision=15826
* make the right auth page start up open.Chris Toshok2002-02-253-1/+15
| | | | | | | | | | | | | | 2002-02-24 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-config.c (addressbook_source_dialog_set_source): make the right auth page start up open. * gui/component/addressbook-storage.c (addressbook_source_free): free the binddn. (addressbook_source_copy): copy the binddn; svn path=/trunk/; revision=15819
* add $(sounds_DATA)jacob berkman2002-02-252-0/+5
| | | | | | | | 2002-02-24 jacob berkman <jacob@ximian.com> * sounds/Makefile.am (EXTRA_DIST): add $(sounds_DATA) svn path=/trunk/; revision=15817
* Small fix.Carlos Perelló Marín2002-02-252-1/+5
| | | | | | | | 2002-02-24 Carlos Perelló Marín <carlos@gnome-db.org> * es.po: Small fix. svn path=/trunk/; revision=15816
* Fix license text.Ettore Perazzoli2002-02-242-6/+4
| | | | svn path=/trunk/; revision=15813
* Add year 2002 to the copyright.Ettore Perazzoli2002-02-242-2/+6
| | | | | | * e-shell-about-box.c: Add year 2002 to the copyright. svn path=/trunk/; revision=15812