aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component
Commit message (Collapse)AuthorAgeFilesLines
...
* Return the serialized EDestinations (rather than just a string w/ e-mailJon Trowbridge2001-05-185-24/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-18 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-bonobo.c (entry_get_property_fn): Return the serialized EDestinations (rather than just a string w/ e-mail addresses) through the bonobo component's property bag. * gui/component/select-names/e-select-names-model.c (e_select_names_model_export_destinationv): Added. A convenience routine for serializing the model's EDestinations into a string. * gui/component/select-names/e-select-names-popup.c (add_html_mail): Added. Puts in a check menu item for whether or not the recipient wants HTML mail. (popup_menu_card): Add menu item for HTML mail. Enable edit contact info item. (popup_menu_nocard): Add menu item for HTML mail. Enable edit contact info item. * backend/ebook/e-book-util.c (e_book_use_local_address_book): Added. Fetches the local addressbook and caches it on the first call. This is meant to be an easy and efficient way to get at the local addressbook with the minimum of code. (e_book_query_address_locally): Added. Convenience code that does an e-mail only e_book_name_and_email_query against the local address book. * backend/ebook/e-destination.c (e_destination_set_html_mail_pref): Added. Allows the intended recipient's HTML mail preference to be manipulated. (e_destination_get_email_verbose): Added. Cleaned up to use e_destination_get_name. (e_destination_get_html_mail_pref): Added. Read the recipient's HTML mail preference. If the destination is linked to a card, the preference is taken from the card (unless it has been explicitly overridden by a called to e_destination_set_html_mail_pref). (e_destination_get_address_textv): Added. Form a unified address string from a NULL-terminated vector of EDestinations. (e_destination_export): Added. Serialize an EDestination to a string. (e_destination_import): Added. Unserialize a string to build an EDestination. (e_destination_exportv): Added. Serialize a NULL-terminated vector of EDestinations to a string. (e_destination_importv): Added. Unserialize a string to build a NULL-terminated vector of EDestinations. * gui/component/select-names/e-select-names-completion.c: Implemented local versions of g_strcasecmp and g_strncasecmp (which should really be in glib, I think...) for utf8, and used them to make this code utf8-safe. 2001-05-18 Jon Trowbridge <trow@ximian.com> * Makefile.am (evolution_mail_LDADD): Added libebook.la (which is now required by the composer.) 2001-05-18 Jon Trowbridge <trow@ximian.com> * e-msg-composer-hdrs.c (set_recipients): Properly unserialize the string returned by the "text" property of the bonobo control, convert it into EDestinations, and use them to get the e-mail addresses of our recipients. 22001-05-18 Jon Trowbridge <trow@ximian.com> * Makefile.am (SUBDIRS): Changed build order. Now addressbook gets built before mail. svn path=/trunk/; revision=9878
* no more ContactFind command.Chris Toshok2001-05-181-47/+0
| | | | | | | | | 2001-05-17 Chris Toshok <toshok@ximian.com> * gui/component/addressbook.c (update_command_state): no more ContactFind command. svn path=/trunk/; revision=9876
* add our selection_change signal. (e_minicard_view_widget_realize): connectChris Toshok2001-05-181-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-17 Chris Toshok <toshok@ximian.com> * gui/widgets/e-minicard-view-widget.c (e_minicard_view_widget_class_init): add our selection_change signal. (e_minicard_view_widget_realize): connect to the ESelectionModel's selection_changed signal. (e_minicard_view_widget_selected_count): new function. (selection_change): new function - emit our "selection_change" signal. * gui/widgets/e-minicard-view-widget.h (struct _EMinicardViewWidgetClass): add selection_change signal. also, add prototype for e_minicard_view_widget_selected_count. * gui/widgets/e-addressbook-view.c (e_addressbook_view_class_init): add our command_state_change signal. (e_addressbook_view_init): connect to the writable_status signal on the EAddressbookModel. (minicard_selection_change): new function - calls command_state_change. (create_minicard_view): connect to selection_change on the minicard_view so we know when to update command state. (table_selection_change): new function - calls command_state_change. (writable_status): new function - calls command_state_change. (command_state_change): new function - emits our "command_state_change" signal. (create_table_view): connect to the selection_change signal so we know to update the command state. (change_view_type): update the command state every time we change view types. (e_addressbook_view_can_create): new function. (e_addressbook_view_can_print): new function. (e_addressbook_view_can_delete): new function. (e_addressbook_view_can_stop): new function. * gui/widgets/e-addressbook-view.h (struct _EAddressbookViewClass): add command_state_change signal, and prototypes of functions the component can use to test the state of commands. * gui/widgets/e-addressbook-model.c (addressbook_destroy): unlink the writable_status signal on the EBook. (writable_status): new function. (e_addressbook_model_class_init): add our writable_status signal. (e_addressbook_model_init): init writable_status_id. (e_addressbook_model_set_arg): unlink the writable_status signal on the old EBook, and connect it on the new one. * gui/widgets/e-addressbook-model.h: add writable_status signal. * gui/component/addressbook.c (update_command_state): new function, set the sensitivity of the bonobo commands. (control_activate): update our command state immediately upon activating the control. (addressbook_factory_new_control): register command_state_change to update the commands. svn path=/trunk/; revision=9874
* add prototype for addressbook_expand_uri.Chris Toshok2001-05-143-20/+62
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-13 Chris Toshok <toshok@ximian.com> * gui/component/addressbook.h: add prototype for addressbook_expand_uri. * gui/component/addressbook-component.c (destination_folder_handle_drop): create an EBook for @physical_uri. (dnd_drop_book_open_cb): actually add the dropped cards. * gui/component/addressbook.c (addressbook_expand_uri): abstract this code out from the set_prop method so we can use it in the component. (set_prop): call addressbook_expand_uri. * backend/ebook/e-card.c (e_card_load_cards_from_string): new function. * backend/ebook/e-card.h: add prototype for e_card_load_cards_from_string. svn path=/trunk/; revision=9788
* spew the data passed to us. (destination_folder_handle_motion): theChris Toshok2001-05-121-1/+4
| | | | | | | | | | | 2001-05-12 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-component.c (destination_folder_handle_drop): spew the data passed to us. (destination_folder_handle_motion): the suggested_action is not an ActionSet, but an Action, so don't or together multiple actions. svn path=/trunk/; revision=9781
* correct bug causing the Ok button to never be enabled.Chris Toshok2001-05-121-2/+4
| | | | | | | | | 2001-05-11 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-config.c (addressbook_source_dialog): correct bug causing the Ok button to never be enabled. svn path=/trunk/; revision=9779
* example.Chris Toshok2001-05-121-3/+2
| | | | | | | | | 2001-05-11 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-component.c (populate_context_menu): example. svn path=/trunk/; revision=9776
* use e_card_list_get_vcard to build up the data to send.Chris Toshok2001-05-124-34/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-11 Chris Toshok <toshok@ximian.com> * gui/widgets/e-minicard-view.c (e_minicard_view_drag_data_get): use e_card_list_get_vcard to build up the data to send. (e_minicard_view_init): connect to the model's drag_begin signal. (e_minicard_view_drag_begin): gather the list of cards being dragged and call gtk_drag_begin. (add_to_list): new function. (get_card_list): same. (disconnect_signals): disconnect the drag_data_get signal. (e_minicard_view_init): connect to the drag_begin signal on our model. * gui/widgets/e-minicard-view.h (struct _EMinicardView): change drag_card to drag_list. * gui/widgets/e-minicard-view-model.c (minicard_drag_begin): new function, emit our drag_begin signal. (addressbook_incarnate): connect to the item's drag_begin signal. (e_minicard_view_model_class_init): init our drag_begin signal. * gui/widgets/e-minicard-view-model.h: add drag_begin signal. * gui/component/addressbook-config.c (addressbook_source_dialog): always loop through all source types here, making LDAP first so it's forces as the first notebook item. (addressbook_config_auth_label): remove SASL case. (addressbook_source_edit_changed): same. (addressbook_source_item_new): flag the area of code that needs to go into the advanced dialog (if we add one before someone graciously redesigns the entire addressbook gui :) * gui/component/addressbook-storage.c (ldap_unparse_auth): remove SASL case. (ldap_parse_auth): same. * gui/component/addressbook-storage.h: make LDAP come first in our source type enumeration, and remove the SASL auth type. svn path=/trunk/; revision=9774
* flesh out the function more. It should work now, but there's no way toChris Toshok2001-05-081-4/+73
| | | | | | | | | | 2001-05-07 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-component.c (remove_folder): flesh out the function more. It should work now, but there's no way to invoke this method from the ui at the moment, heh. svn path=/trunk/; revision=9704
* Use a different error message in the ldap support/no ldap support/fileChris Toshok2001-05-081-22/+38
| | | | | | | | | 2001-05-07 Chris Toshok <toshok@ximian.com> * gui/component/addressbook.c (book_open_cb): Use a different error message in the ldap support/no ldap support/file cases. svn path=/trunk/; revision=9700
* use define from widgets/misc/e-filter-bar.h instead of own enumeration andGediminas Paulauskas2001-05-083-11/+5
| | | | | | | | | | | | | | | | | | | | | | | | 2001-05-07 Gediminas Paulauskas <menesis@delfi.lt> * gui/component/addressbook.c: use define from widgets/misc/e-filter-bar.h instead of own enumeration and search menu names. * gui/component/Makefile.am, gui/component/select-names/Makefile.am: removed EVOLUTION_VERSION. 2001-05-07 Gediminas Paulauskas <menesis@delfi.lt> * gui/event-editor.c (make_title_from_comp): conversion summary from utf8 here, use translated strings as is. (set_title_from_comp): reflect this, simplify. * gui/dialogs/task-editor.c: updated copies of above functions here. * gui/gnome-cal.c: use defines from widgets/misc/e-filter-bar.h for consistency in "Show all". svn path=/trunk/; revision=9693
* un-#if 0 this. (xfer_folder): add skeleton code to validate xfer request.Chris Toshok2001-05-051-12/+73
| | | | | | | | | | | | | | | | | 2001-05-04 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-component.c (remove_folder): un-#if 0 this. (xfer_folder): add skeleton code to validate xfer request. always notifies with PERMISSION_DENIED at present. (populate_context_menu): un-#if 0 this. (get_dnd_selection): same. (destination_folder_handle_motion): new function. (destination_folder_handle_drop): new function. (factory_fn): create a EvolutionShellComponentDndDestinationFolder interface, and add it to our shell component. svn path=/trunk/; revision=9679
* unref the book if the view is being destroyedJP Rosevear2001-05-031-0/+8
| | | | | | | | | | | | | | | | 2001-05-02 JP Rosevear <jpr@ximian.com> * gui/component/addressbook.c (addressbook_view_free): unref the book if the view is being destroyed * backend/pas/pas-backend-file.c (pas_backend_file_process_get_book_view): unref the book_view when we are finished, it is only interesting if someone else has reffed it now (weak reference) (pas_backend_file_add_client): unref the book for the same reason as above svn path=/trunk/; revision=9647
* Remove call to unicode_init.Dan Winship2001-04-261-3/+0
| | | | | | | * gui/component/addressbook-factory.c (main): Remove call to unicode_init. svn path=/trunk/; revision=9566
* Removed attempts to use Radek's evil <DATA> hacks, which were just causingJon Trowbridge2001-04-242-101/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-04-23 Jon Trowbridge <trow@ximian.com> * e-html-utils.c (e_text_to_html_full): Removed attempts to use Radek's evil <DATA> hacks, which were just causing me (and GtkHTML) grief. 2001-04-23 Jon Trowbridge <trow@ximian.com> * gui/component/e-address-popup.c: Lots of code has been simplified here. (e_address_popup_factory_new_control): Rather than directly pop our control up in a window (via the e_address_popup_popup function, which is now gone), just return the widget and let the caller do the popping. This works better, since it means we don't have to work around the vagaries of bonobo focus & event handling. (e_address_popup_set_name): Refresh when both name & email have been set, rather than checking a stupid counter. (e_address_popup_set_email): Ditto. 2001-04-23 Jon Trowbridge <trow@ximian.com> * mail-display.c (html_button_press_event): Check for mailto: links, and pop up our mail address menu when we find one. (make_popup_window): The main piece of code (ignoring a zillion little callbacks) to pop up our windows with reasonable semantics for having them close automatically. (mail_text_write): Enable converting addresses to mailto links in message bodies. * mail-format.c (write_address): Simplify code, removing Radek's <DATA> hacks. Write out addresses as mailto: links. svn path=/trunk/; revision=9534
* Added save_source_data here.Christopher James Lahey2001-04-221-0/+2
| | | | | | | | | 2001-04-22 Christopher James Lahey <clahey@ximian.com> * gui/component/addressbook-storage.c (addressbook_storage_clear_sources): Added save_source_data here. svn path=/trunk/; revision=9493
* Added.Jon Trowbridge2001-04-175-14/+87
| | | | | | | | | | | | | | | | | | | | | | | | 2001-04-16 Jon Trowbridge <trow@ximian.com> * backend/ebook/e-destination.c (e_destination_get_name): Added. * gui/component/select-names/e-select-names.c (real_add_address_cb): Use e_select_names_model_append. It's nicer. * gui/component/select-names/e-select-names-model.c (e_select_names_model_append): Added. * gui/component/select-names/e-select-names-completion.c (book_query_process_card_list): Filter out completion matches that don't have an associated e-mail address. (book_query_score): Give a bonus to the primary address, so that it always comes up first in the completion results. * gui/component/e-address-popup.c (e_address_popup_refresh_names): Convert utf8 strings into gtk strings before displaying. svn path=/trunk/; revision=9390
* Do this everywhere, also fixup CLEANFILESMichael Meeks2001-04-141-0/+3
| | | | | | | | | | Do this everywhere, also fixup CLEANFILES 2001-04-14 Michael Meeks <michael@ximian.com> * Makefile.am (dist-hook): remove built sources from dist. svn path=/trunk/; revision=9309
* Get the ESelectNamesModel from the widget's text model instead of storingChristopher James Lahey2001-04-131-6/+14
| | | | | | | | | | | 2001-04-13 Christopher James Lahey <clahey@ximian.com> * gui/component/select-names/e-select-names-bonobo.c (entry_get_property_fn): Get the ESelectNamesModel from the widget's text model instead of storing it as a gtk_object_set_data since it may change. svn path=/trunk/; revision=9299
* Added E_CARD_SIMPLE_FIELD_LAST_SIMPLE_STRING.Christopher James Lahey2001-04-111-2/+2
| | | | | | | | | | | | | | | | | | | 2001-04-11 Christopher James Lahey <clahey@ximian.com> * backend/ebook/e-card-simple.h: Added E_CARD_SIMPLE_FIELD_LAST_SIMPLE_STRING. * gui/component/addressbook-component.c (accepted_dnd_types): Fixed a warning here. * gui/widgets/e-addressbook-model.c: Modified this to have more columns, but not let them be edited if they're not a simple string. * gui/widgets/e-minicard-view.c (e_minicard_view_init): Fixed a warning and a memory leak here. svn path=/trunk/; revision=9230
* stubbed, #if 0'ed (xfer_folder): same. (populate_context_menu): same.Chris Toshok2001-04-101-2/+58
| | | | | | | | | | | | | | 2001-04-09 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-component.c (remove_folder): stubbed, #if 0'ed (xfer_folder): same. (populate_context_menu): same. (get_dnd_selection): same. (factory_fn): add the accepted drag types ("text/x-vard") to folder_types. svn path=/trunk/; revision=9210
* Here goes my additional simple include fixes.Gediminas Paulauskas2001-04-051-0/+1
| | | | svn path=/trunk/; revision=9191
* Fix headers. Same here. Same here. Same here. Same here. Same here. SameKjartan Maraas2001-04-051-0/+3
| | | | | | | | | | | | | | | | | | 2001-04-04 Kjartan Maraas <kmaraas@gnome.org> * contact-editor/e-contact-editor.[ch]: Fix headers. * component/addressbook-storage.c: Same here. * gui/search/e-addressbook-search-dialog.c: Same here. * gui/widgets/e-addressbook-view.c: Same here. * gui/widgets/e-minicard-label.c: Same here. * gui/widgets/e-minicard-view-widget.c: Same here. * gui/widgets/e-minicard-view.c: Same here. * gui/widgets/e-minicard-widget-test.c: Same here. * gui/widgets/e-minicard-widget.c: Same here. * gui/widgets/e-minicard.c: Same here. * gui/widgets/test-minicard-label.c: Same here. svn path=/trunk/; revision=9179
* Blessed by Ettore.Gediminas Paulauskas2001-04-021-32/+15
| | | | | | | | | | | | | | Guided by Jacub Stener's mail, where he explaned which icons were renamed or added, I added a bunch of new icons to menus, fixed renamed ones. Changed Trash and Executive summary folder type icons. Fixed art/Makefile.am for these changes. Also, pulled icon cache from mailer and moved it to e-util/e-gui-utils.h, made all components and dialogs use cache and not load pixmaps every time. Accidentally got a couple of includes fix in, but they won't break anything. svn path=/trunk/; revision=9092
* Call e_select_names_model_clean after adding address. This should dealJon Trowbridge2001-03-313-1/+35
| | | | | | | | | | | | | | | | | 2001-03-31 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names.c (real_add_address_cb): Call e_select_names_model_clean after adding address. This should deal with the bug reports related to stray commas. * gui/component/select-names/e-select-names-model.c (e_select_names_model_clean): Added. Remove all empty destinations. * backend/ebook/e-destination.c (e_destination_is_empty): Added. Check if an EDestination is in essentially a null state. svn path=/trunk/; revision=9067
* Added #include <libgnome/gnome-paper.h>Jon Trowbridge2001-03-301-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-29 Jon Trowbridge <trow@ximian.com> * printing/e-contact-print.c: Added #include <libgnome/gnome-paper.h> * printing/e-contact-print-envelope.c: Added #include <time.h> and #include <libgnome/gnome-paper.h> * gui/component/select-names/e-select-names-completion.c (match_email): Better handle matching of "nameless" contacts. * backend/ebook/e-destination.c (e_destination_get_string): Better handle the case of a "nameless" contact. 2001-03-29 Jon Trowbridge <trow@ximian.com> * camel-filter-driver.c (camel_filter_driver_filter_message): Save the source URL using camel_mime_message_set_source. * camel-mime-message.c (camel_mime_message_set_source): Renamed camel_mime_message_set_identity to this. Sets the X-Evolution-Source header. (camel_mime_message_get_source): Returns the X-Evolution-Source header. 2001-03-29 Jon Trowbridge <trow@ximian.com> * mail-callbacks.c: Added #include <time.h> to get things to compile. * mail-callbacks.c (mail_generate_reply): Look at the X-Evolution-Source header, and try to find a corresponding account. If this works, send the mail from this account. If not, use the default account. * mail-ops.c (send_queue_send): Strip out the X-Evolution-Source header before sending. * mail-config.c (mail_config_get_account_by_source_url): Added. Look up accounts by source URL. svn path=/trunk/; revision=9032
* Clean up #includes. Replace <gnome.h>, <bonobo.h> and <gtk/gtk.h> withKjartan Maraas2001-03-3021-61/+101
| | | | | | | | | 2001-03-29 Kjartan Maraas <kmaraas@gnome.org> * *.*: Clean up #includes. Replace <gnome.h>, <bonobo.h> and <gtk/gtk.h> with more finegrained headers where needed. svn path=/trunk/; revision=9026
* Use E_CARD_SIMPLE_FIELD_NAME_OR_ORG instead of getting the NAME and thenChristopher James Lahey2001-03-292-6/+7
| | | | | | | | | | | | | | | 2001-03-28 Christopher James Lahey <clahey@ximian.com> * gui/component/select-names/e-select-names-table-model.c (fill_in_info): Use E_CARD_SIMPLE_FIELD_NAME_OR_ORG instead of getting the NAME and then the ORG. That way if we expand NAME_OR_ORG, this will use it. * gui/component/select-names/e-select-names.c (e_addressbook_create_ebook_table, SPEC): Use the correct column in the SPEC. svn path=/trunk/; revision=9000
* Rather than starting the pending query by directly callingJon Trowbridge2001-03-251-8/+33
| | | | | | | | | | | | | 2001-03-25 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-completion.c (e_select_names_completion_seq_complete_cb): Rather than starting the pending query by directly calling e_select_names_completion_do_query, call e_completion_begin_search. Circumventing the ECompletion API was causing it to get confused in some cases. svn path=/trunk/; revision=8922
* Added. Call me old-fashioned, but I just prefer to have a real API ratherJon Trowbridge2001-03-237-3/+640
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-23 Jon Trowbridge <trow@ximian.com> * gui/widgets/e-minicard-widget.c (e_minicard_widget_set_card): Added. Call me old-fashioned, but I just prefer to have a real API rather than doing everything via gtk_object_get/set-type calls. (e_minicard_widget_set_arg): Changed to call e_minicard_widget_set_card. * backend/ebook/e-book-util.c: Small changes to get rid of compiler warnings. (Casting out const, removed unused variables, etc.) Removed some debugging messages. * gui/component/addressbook-factory.c (main): Added call to e_address_popup_factory_init. * gui/component/e-address-popup.c: Added. A popup gadget that is invoked (as a bonobo control) when an address is left-clicked in the mailer. The addressbook is queries, and the address is either displayed as a minicard (if it already exists) or in a "generic format". A button is provided for editting/adding the contact. Some of the semantics of this widget are a bit... non-standard, because of bonobo issues. I can't really seem to replicate popup-menu behavior because of how bonobo propogates events, etc. so I've tried to produce something that I think is non-annoying. YMMV. 2001-03-23 Jon Trowbridge <trow@ximian.com> * mail-display.c (handle_embedded_address_object): #ifdef away some code I don't quite want to delete yet. (html_button_press_event): Remove some of Radek's placeholder code, replace it with code to create my AddressPopup bonobo control. * mail-format.c: Remove some obsolete code that if #ifdef-ed out a while ago. * mail-ops.c (send_queue_send): Strip out the X-Evolution-Identity header when sending. 2001-03-23 Jon Trowbridge <trow@ximian.com> * camel-filter-driver.c (camel_filter_driver_filter_message): Don't call camel_mime_message_set_identity. (The call is commented out, left over from some earlier experimentation that I want to be able to remember later...) * camel-mime-message.c (camel_mime_message_set_identity): Added. A function to set the X-Evolution-Identity header. svn path=/trunk/; revision=8916
* Added new icons.Miguel de Icaza2001-03-211-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-20 Miguel de Icaza <miguel@ximian.com> * folder-browser-factory.c: Added new icons. 2001-03-18 Miguel de Icaza <miguel@ximian.com> * folder-browser-factory.c: Remove duplicated verb. 2001-03-20 Miguel de Icaza <miguel@ximian.com> * gui/component/addressbook.c (update_pixmaps): Added artwork from Jakub. 2001-03-20 Miguel de Icaza <miguel@ximian.com> * evolution-addressbook.xml: Added artwork from Jakub. 2001-03-20 Miguel de Icaza <miguel@ximian.com> * art/Makefile.am (images_DATA): Added all the new icons to the distribution. svn path=/trunk/; revision=8859
* Brutally refactored to boost performance in large-addressbook situations.Jon Trowbridge2001-03-181-109/+238
| | | | | | | | | | | 2001-03-17 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-completion.c: Brutally refactored to boost performance in large-addressbook situations. These fixes give accepable performance (even with the suboptimal pas-backend-file searching) using tigert's addressbook-of-death. svn path=/trunk/; revision=8793
* Making warnings fatal is actually a pretty bad idea for anything otherJon Trowbridge2001-03-161-0/+2
| | | | | | | | | | 2001-03-16 Jon Trowbridge <trow@ximian.com> * gui/component/addressbook-factory.c (main): Making warnings fatal is actually a pretty bad idea for anything other than intensive debugging, so I've #if 0/#endif-ed it out. svn path=/trunk/; revision=8755
* Added addressbook querying and "cardification" functions, which are turnedJon Trowbridge2001-03-163-25/+213
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-15 Jon Trowbridge <trow@ximian.com> * gui/component/e-address-widget.c: Added addressbook querying and "cardification" functions, which are turned off by default for now because of addressbook bugs. Added a popup menu option to turn queries on, so that others can enjoy the thrill of massive flaming death. * gui/component/addressbook-factory.c (main): Made warnings always be fatal. * backend/pas/pas-book-view.c: Added some debugging spew. * backend/pas/pas-backend-file.c (pas_backend_file_search): Added a little experimental code to try to make file searches scale better. #if 0/#endif-ed out for now. * contact-editor/e-contact-quick-add.c: #included e-book-util.h. * backend/ebook/e-card.c (e_card_name_match_string): Added. Looser name-matching function. (e_card_email_match_string): Added. Loose e-mail matching. * backend/ebook/e-book-view-listener.c (e_book_view_listener_check_queue): Added code to cause us to abort rather than get trapped in a 100%-CPU-consuming loop in certain situations. Now we just need to figure out how to avoid these situations altogether. * backend/ebook/e-book-util.c: Added. Now contains the simple query stuff and the open local addressbook functions. * backend/ebook/e-book.c: Moved simple query stuff and open local addressbook functions into e-book-util.c. 2001-03-15 Jon Trowbridge <trow@ximian.com> * wombat.c (main): If we can't initialize a service on startup, tell us which one before terminating. svn path=/trunk/; revision=8754
* Removed .oafinfo files -- they are obsolete. Moved pixmaps fromGediminas Paulauskas2001-03-152-148/+0
| | | | | | | | | | | | 2001-03-15 Gediminas Paulauskas <menesis@delfi.lt> Removed .oafinfo files -- they are obsolete. Moved pixmaps from calendar/gui/ to art/ Moved evolution.png to art/ Moved evolution.desktop.in to data/ Generate doc/devel/executive-summary/Makefile svn path=/trunk/; revision=8727
* Fix a warning here.Christopher James Lahey2001-03-141-1/+1
| | | | | | | | | 2001-03-13 Christopher James Lahey <clahey@ximian.com> * gui/component/addressbook.c (update_pixmaps): Fix a warning here. svn path=/trunk/; revision=8695
* add is_read_only param.Chris Toshok2001-03-132-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-12 Chris Toshok <toshok@ximian.com> * gui/widgets/e-minicard.c (supported_fields_cb): add is_read_only param. * gui/widgets/e-minicard-view.c (supported_fields_cb): add is_read_only param. * gui/widgets/e-addressbook-view.c (supported_fields_cb): add is_read_only param. * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_activate_obj): add is_read_only param. also, include a little policy here and make it TRUE, as the user shouldn't be editting in this context anyway (imo). * gui/component/addressbook.c (supported_fields_cb): add is_read_only param. * contact-editor/test-editor.c (main): add is_read_only param. * contact-editor/e-contact-editor.c (set_read_only): new function, that either enables or disables all the text fields, combo boxes, and some buttons, depending on the state of is_read_only. (e_contact_editor_class_init): add read/write arg "is_read_only". (full_name_clicked): set the is_read_only of the fullname dialog to the editor's. (full_addr_clicked): same. (e_contact_editor_new): add is_read_only param, that gets set along with the other params. (e_contact_editor_set_arg): add setter for is_read_only. (e_contact_editor_get_arg): add getter for is_read_only. (_phone_arrow_pressed): change TRUE to !editor->is_read_only for entry. (_email_arrow_pressed): same. (_address_arrow_pressed): same. (enable_writable_fields): same. * contact-editor/e-contact-editor-fullname.c (e_contact_editor_fullname_class_init): add read/write arg "is_read_only". (e_contact_editor_fullname_set_arg): add setter for is_read_only that enables/disables all the entries/combos. (e_contact_editor_fullname_get_arg): add getter for is_read_only. * contact-editor/e-contact-editor-fullname.h (struct _EContactEditorFullname): add is_read_only flag. * contact-editor/e-contact-editor-address.c (e_contact_editor_address_class_init): add read/write arg "is_read_only". (e_contact_editor_address_set_arg): add setter for is_read_only that disables/enables all the entries/combos. (e_contact_editor_address_get_arg): add getter for is_read_only. * contact-editor/e-contact-editor-address.h (struct _EContactEditorAddress): add is_read_only flag. svn path=/trunk/; revision=8662
* Maybe I shouldn't have smoked all of that crack before I startedJon Trowbridge2001-03-091-1/+0
| | | | | | doing my commits? svn path=/trunk/; revision=8610
* Some dead code mades its way into my commit. Sorry.Jon Trowbridge2001-03-091-4/+2
| | | | svn path=/trunk/; revision=8608
* Switched to use e_contact_quick_add_free_form. Removed debugging code,Jon Trowbridge2001-03-099-38/+604
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-08 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-popup.c (quick_add_cb): Switched to use e_contact_quick_add_free_form. Removed debugging code, hopefully without introducing any bugs in the process. * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_insert_length): Fix bug with commas inside of name/address combos. As long as the comma is inside of quotes, it will be treated as part of the name rather than as a break between addresses. * gui/component/select-names/e-select-names-completion.c (match_nickname): Use e_card_name_to_string for nickname match strings. (match_email): Use e_card_name_to_string for email match strings. (e_select_names_completion_begin): Strip quotes out of query text, so we don't produce malformed sexps. Added William Blake quote easter egg. * contact-editor/e-contact-quick-add.c: Further attempts to fix... mostly unsuccessful. (e_contact_quick_add_free_form): Added. Takes a single string and tries to parse out (using some simple, loose rules) the name and e-mail -- then calls e_contact_quick_add. An attempt to get the computer to automatically Do The Right Thing. * backend/ebook/e-book.c: Fixed some broken indentation. Yes, I'm anal. * gui/component/GNOME_Evolution_Addressbook.oafinfo: Added oaf_server info for EAddressWidget. * gui/component/GNOME_Evolution_Addressbook.oaf.in: Added oaf_server info for EAddressWidget. * gui/component/addressbook-factory.c (main): Add call to e_address_widget_factory_init. * gui/component/e-address-widget.h: * gui/component/e-address-widget.c: Added. A little widget (and a Bonobo control, BTW) for displaying addresses, with a left-click menu. Used to display addresses in the mail viewer (as embedded GtkHTML objects, replacing the text previously used). Still quite incomplete. 2001-03-08 Jon Trowbridge <trow@ximian.com> * mail-format.c (write_field_row_begin): Added. Table row HTML broken out into its own function. (write_subject): Added. Emits the proper HTML for the subject line. (write_field_to_stream): #ifdef-ed out of existence. (write_address): Take a CamelInternetAddress and spit out an <object> tag with the appropriate <param>s. * mail-display.c (on_object_requested): Check for an "address" object. If found, call... (handle_embedded_address_object): ...this function, which creates an AddressWidget bonobo control and passes in the necessary info. I never really realized just quite how much GtkHTML kicks ass until I figured out how to make this work. svn path=/trunk/; revision=8607
* Added a ShellComponent method to retrieve the selection for drag andEttore Perazzoli2001-03-081-1/+2
| | | | | | drop and support for it in the shell. Untested. svn path=/trunk/; revision=8594
* Reorganize the menus to have entries always in a consistent fashion, asMiguel de Icaza2001-03-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-27 Miguel de Icaza <miguel@ximian.com> * gui/e-day-view.c (e_day_view_on_event_right_click): Reorganize the menus to have entries always in a consistent fashion, as reported to the genepool mailing list. (e_day_view_on_event_right_click): Added a FIXME comment to the FIXME comment without a FIXME. Now we use e_popup_menu. This allows us to hide/show items on demand, and to sensitize/de-sensitize items depending on their state. This will also let us add icon support (when we get nice icons for this) * gui/e-week-view.c (e_week_view_show_popup_menu): Ditto. The files popup-menu.c and popup-menu.h can now be removed. 2001-03-01 Miguel de Icaza <miguel@ximian.com> * folder-browser.c (on_right_click): Move the context menus to the toplevel code; Use enumerations for the various bitfield constants. Add support for hiding items that are not required (read/unread and delete/undelete). This requires my previous patch, as it assumes "Open" does the right thing instead of having two operations: Open and Edit. 2001-02-28 Miguel de Icaza <miguel@ximian.com> * folder-browser.c (on_right_click): Removed draft folders op here, since open_msg now does the right thing (edit or view). * folder-browser-factory.c (update_pixmaps): Removed MessageEdit from here. * mail-callbacks.c (open_msg): New function, does the "right thing" to a message (either, edit or open). * folder-browser-factory.c: Register new command here. (update_pixmaps): Rename keys that have been shuffled around. (update_pixmaps): Rename to match new updates on xml file. Rename MessageOpenNewWindow to MessageOpen. Change action from "view_message" to "open_message". * mail-callbacks.c (mark_all_as_seen): New command. Marks all messages as seen. 2001-03-06 Miguel de Icaza <miguel@ximian.com> * evolution-tasks.xml: Added "File/New/Task" as well. * evolution-mail.xml: Added "File/New/Mail Message" at the top with binding C-n. * evolution-calendar.xml: Set the binding for New Appointment to C-n * evolution-contact-editor.xml: Set the toolbar to hlook=text vlook=icon; Set all icons priority-text to 1. * evolution-addressbook.xml: Added "Contact" to the New menu. * evolution.xml: Provide an entry point to put "New" items on the first level. We are going to need some Bonobo support to "hide" objects when other objects appear (like, having Mail Message bound to C-S-X in the global space, and when we switch to Mail, we only show the entry that has C-n as the binding). 2001-02-28 Miguel de Icaza <miguel@ximian.com> * evolution.xml: Moved Importer after the Folder operations per Dan's proposal. * evolution-addressbook.xml: Renamed Settings/AddressBook Configuration to Tools/Settings. Make all the items have "Print" items that use the same icon instead of a collection of icons. * evolution-calendar.xml: Moved "Calendar Preferences" from "Settings" to "Tools/Settings". * evolution-mail.xml: Settings menu is fully gone. All things that run a dialog now end up in "Tools" while actions end up in "Actions". Hence I am right. Renamed "Mail Configuration..." to "Identieies and Servers" Move MessageMarkAsRead, MessageMarkAsUnRead to Edit menu. Add MessageMarkAllAsRead. Remove "Print Message" from Message menu. Remove "Print Preview Message" from Message menu. Leave them on the "File" menu. Renamed "Reply to Sender" to "Reply" (awaiting Ettore's permission). Renamed "Messages" to "Actions". Open Message renamed to "Open Selected Items" (as this is what it actually does). Moved "Save Message As" to "File" menu. Added "Properties" to the File/Folder submenu. Edit menu now looks like this: Message Move, Message Copy, Select All, Invert Selection, Delete, Undelete, Mark as Read, Mark as Unread. Some of them were moved from the "Messages" menu. "Forward message" shortcut changed to C-f Tools menu created. Create Rule From message moved to "Tools". * evolution.xml: Added Tools menu. Moved Edit/Customize to Tools/Customize Toolbar. Added File/Folder submenu. Duplicate "New Folder" in here. 2001-02-28 Miguel de Icaza <miguel@ximian.com> * menus/gal-view-menus.c (build_menus): Add translation string here. svn path=/trunk/; revision=8572
* Fix glitch with inserting comma-delimited stuff when length > 1.Jon Trowbridge2001-03-071-0/+2
| | | | | | | | | | 2001-03-06 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_insert_length): Fix glitch with inserting comma-delimited stuff when length > 1. svn path=/trunk/; revision=8571
* Fix a reference counting bug.Jon Trowbridge2001-03-065-1/+400
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-06 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-model.c (e_select_names_model_replace): Fix a reference counting bug. * gui/component/select-names/e-select-names-manager.c (popup_cb): A callback for creating the appropriate popup by calling e_select_names_popup. (e_select_names_manager_create_entry): Connect popup_cb to the entry's popup signal * gui/component/select-names/e-select-names-popup.c: Added. Code for popup right-click menus for recipient entries. Still a bit incomplete. * backend/ebook/e-destination.c (e_destination_get_email_num): Added. * contact-editor/e-contact-quick-add.c: Added. Some code and a dialog for very quickly adding entries to the address book. Still not fully working. svn path=/trunk/; revision=8567
* Cleaned up the formatting in this file a bit.Christopher James Lahey2001-03-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-04 Christopher James Lahey <clahey@ximian.com> * backend/ebook/e-card-simple.c: Cleaned up the formatting in this file a bit. * contact-editor/e-contact-editor.c (e_contact_editor_set_arg): Made it so that passing in NULL to the writable_fields arg sets the set of writable fields to the empty set. * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_activate_obj): Pass NULL as the writable_fields argument here. * gui/widgets/e-addressbook-model.c: Don't offset by one here. This way we will get the file_as field as one of our ETableColumns. * gui/widgets/e-addressbook-view.c (SPEC): Updated this for the changes in ECardSimple. * gui/widgets/e-minicard.c (remodel): Don't remodel if the item isn't realized. svn path=/trunk/; revision=8538
* track change to e_contact_editor_new.Chris Toshok2001-03-021-1/+1
| | | | | | | | | | 2001-03-02 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_activate_obj): track change to e_contact_editor_new. svn path=/trunk/; revision=8518
* new function. (e_minicard_view_event): split out the creation of theChris Toshok2001-03-021-11/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-02 Chris Toshok <toshok@ximian.com> * gui/widgets/e-minicard-view.c (supported_fields_cb): new function. (e_minicard_view_event): split out the creation of the contact editor to the supported_fields callback. * gui/widgets/e-minicard.c (supported_fields_cb): new function. (e_minicard_event): split out the creation of the contact editor to the supported_fields callback. * gui/widgets/e-addressbook-view.c (table_double_click): split function into two functions, since e_book_get_supported_fields requires a callback now. (supported_fields_cb): new function. * gui/component/addressbook.c (new_contact_cb): split this into two functions, since e_book_get_supported_fields requires a callback now. (supported_fields_cb): new function. * contact-editor/test-editor.c (main): track change to e_contact_editor_new (pass NULL for the writable_fields arg.) * contact-editor/contact-editor.glade: fix several labels so they make better sense (since we look them up in e-contact-editor.c.) * contact-editor/e-contact-editor.h (struct _EContactEditor): add writable_fields. also, add it to e_contact_editor_new. * contact-editor/e-contact-editor.c (e_contact_editor_class_init): add writable_fields arg. (e_contact_editor_destroy): unref the writable_fields list. (e_contact_editor_new): pass @fields as the writable_fields arg. (e_contact_editor_set_arg): add writable_fields support. (enable_writable_fields): new (very hairy) function, to disable everything and reenable just the fields listed in the writable_fields list. (_email_arrow_pressed): set label-email1, entry-email1, and checkbutton-htmlmail to be sensitive since the only way to get here is to activate a writable field in the menu. (_address_arrow_pressed): set label-address, button-fulladdr, and text-address to be sensitive for the same reason. (_phone_arrow_pressed): sensitize the label and entry for the same reason. svn path=/trunk/; revision=8516
* Oops, we do need to be able to write to "text" after all (for things likeJon Trowbridge2001-03-023-5/+14
| | | | | | | | | | | | | | | | | | | | | | | 2001-03-01 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-bonobo.c (entry_set_property_fn): Oops, we do need to be able to write to "text" after all (for things like Reply-to: to work properly). Fixed. (impl_SelectNames_get_entry_for_section): Made "text" a writeable property again. * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_insert_length): Increment pos so that we don't reverse strings when length > 1 (a particularly amusing bug). * gui/component/select-names/e-select-names-completion.c (e_select_names_completion_destroy): Check for NULL before calling gtk_object_unref (GTK_OBJECT (---)), to get rid of annoying error messages. svn path=/trunk/; revision=8512
* I am an idiot.Jon Trowbridge2001-03-021-12/+22
| | | | | | | | | 2001-03-01 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-completion.c: I am an idiot. svn path=/trunk/; revision=8464
* Change for new EDestination/ESelectNamesModel API.Jon Trowbridge2001-03-0212-716/+1874
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-01 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-table-model.c (fill_in_info): Change for new EDestination/ESelectNamesModel API. * gui/component/select-names/e-select-names-manager.c (e_select_names_manager_get_source): Added. A function for looking up the ESelectNamesModel by id. (I didn't end up using this function, but it might come in handy later.) (e_select_names_manager_get_cards): #if 0/#endif out this function. (e_select_names_manager_create_entry): Modified to attach an ESelectNamesCompletion to the entry we create. (completion_handler): A post-completion handler for our EEntry, to take the completion's extra data (an EDestination) and properly stick it into our ESelectNamesModel. * gui/component/select-names/e-select-names.c (real_add_address_cb): Changed to operate on EDestinations rather than ECards and to use the new ESelectNamesModel API. This leads to a rather nice code simplication. (remove_address): Changed for new ESelectNamesModel API. * gui/component/select-names/e-select-names-bonobo.c (entry_get_property_fn): Rather than just passing the entry's text through the property bag, get the "address text" from the model. This returns a nice, verbose string of addresses with names expanded when the address is tied to an ECard (i.e. "Jon Trowbridge <trow@ximian.com>"). (impl_SelectNames_get_entry_for_section): Make the text property read-only. (entry_set_property_fn): ...and since it is read-only now, chop out the setter code. * gui/component/select-names/e-select-names-text-model.h: * gui/component/select-names/e-select-names-text-model.c: Again, this code has been (pretty much) totally rewritten to convert all text operations into changes on the ESelectNamesModel. This lets us give the associated EEntry some (IMHO) nice semantics regarding whitespace, etc. Includes object activation, so destinations tied to ECards are underlined and can be double-clicked to bring up a contact editor. * gui/component/select-names/e-select-names-model.h: * gui/component/select-names/e-select-names-model.c: I've heavily modified this object to both hide all implementation details (which the old version exposed a bit too much for my peculiar tastes) and to act as an EDestination container. The old code put the text model operations here. I've moved them all to ESelectNamesTextModel --- so the text model actions (insert, delete, etc.) are all done through the API rather than operating on ESelectNamesModel internals. * gui/component/select-names/e-select-names-completion.c: Added. A fairly complicated object derived from ECompletion that searches our local addressbook in various and sundry ways. * gui/component/select-names/e-select-names-completion.h: * backend/ebook/e-destination.h: * backend/ebook/e-destination.c: Added. This object encapsulates a place to sent an email to, which can either be just a address as a string ("trow@ximian.com"), a fancier string ("Jon Trowbridge <trow@ximian.com>"), or an ECard and a specific address within that ECard. svn path=/trunk/; revision=8459
* Made this pay attention to the return value of e_sexp_parse.Christopher James Lahey2001-02-221-2/+3
| | | | | | | | | | | | | 2001-02-21 Christopher James Lahey <clahey@ximian.com> * backend/pas/pas-backend-file.c (pas_backend_file_search): Made this pay attention to the return value of e_sexp_parse. * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_activate_obj): Fixed a const inconsistency here. svn path=/trunk/; revision=8321
* When creating the entry, open up an ebook (corresponding to the localJon Trowbridge2001-02-205-19/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-19 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-manager.c (e_select_names_manager_create_entry): When creating the entry, open up an ebook (corresponding to the local addressbook) and make the entry use an EAddressCompletion. (completion_handler): Added; this is the actual completion handler, which manipulates the entry when the user selects something from the drop-down. * gui/component/select-names/e-select-names-model.c: Various hacks by clahey to unbreak e_select_names_model_add_item, e_select_names_model_replace_item (which I added) and e_select_names_model_remove_item. * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_obj_count, e_select_names_text_model_get_nth_obj): Make chunks of text that correspond to ECards in the ESelectNamesModel be embedded objects. (e_select_names_text_model_activate_obj): On activation, pop up a contact editor for the embedded object's card. (e_select_names_text_model_model_changed): Fixed to work with ETextModel API changes. (e_select_names_text_model_set_text): Make const correct. (e_select_names_text_model_insert): Make const correct. (e_select_names_text_model_insert_length): Make const correct. * backend/ebook/e-address-completion.h, backend/ebook/e-address-completion.c: Added. EAddressCompletion is a derived class of ECompletion that does asynchronous address lookups for completions. svn path=/trunk/; revision=8282
* Ignore generated .oaf filesDan Winship2001-02-152-0/+2
| | | | | | * various .cvsignore files: Ignore generated .oaf files svn path=/trunk/; revision=8237
* Undefine E_STRING_PROP and E_LIST_PROP here.Christopher James Lahey2001-02-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-14 Christopher James Lahey <clahey@ximian.com> * backend/pas/pas-backend-ldap.c: Undefine E_STRING_PROP and E_LIST_PROP here. * contact-editor/e-contact-editor.c, contact-editor/e-contact-editor.h (e_contact_editor_raise): Added this function. * gui/widgets/e-minicard.c, gui/widgets/e-minicard.h (e_minicard_event): Added an editor field to the EMinicard object. Made it so that if you double click on the same card twice, it doesn't open a new window, but instead raises the old. 2001-02-08 Iain Holmes <iain@ximian.com> * gui/component/addressbook-storage.c (addressbook_source_free): Free the ldap.binddn. * gui/widgets/e-addressbook-view.c (e_addressbook_view_setup_menus): Free the dir strings. 2001-02-08 Christopher James Lahey <clahey@ximian.com> * contact-editor/e-contact-editor.c (categories_clicked): Set the header on the category dialog we pop up. svn path=/trunk/; revision=8234
* Marked strings for translation in this newly created file. Hook up theKjartan Maraas2001-02-134-13/+22
| | | | | | | | | | | | | | 2001-02-12 Kjartan Maraas <kmaraas@gnome.org> * gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.oaf.in: Marked strings for translation in this newly created file. * gui/component/select-names/Makefile.am: Hook up the .oaf.in files in the xml-i18n-tools framework. * gui/component/Makefile.am: Same as above. * gui/component/GNOME_Evolution_Addressbook.oaf.in: Marked stuff for translation here too. svn path=/trunk/; revision=8183
* Removed an ancient #include <libgnorba/gnorba.h>Jason Leach2001-02-121-1/+0
| | | | | | | | | 2001-02-11 Jason Leach <jasonleach@usa.net> * gui/component/addressbook.c: Removed an ancient #include <libgnorba/gnorba.h> svn path=/trunk/; revision=8179
* Getting almost full and proper use of xml-i18n-tools.Gediminas Paulauskas2001-02-114-15/+1
| | | | | | | | | | | | | | | | | Removed all files where glade writes strings. Changed Makefile.am to not distribute them. Changed all glade files to not write strings to those files. Removed *.desktop and evolution.keys files, because they are generated. Added them to .cvsignore Added *.desktop.in evolution.keys.in files without transalted strings. Added all existing entries from desktop files to po files. Changed Makefile.am to distribute only .in files, and merge translations into desktop files. Removed obsolete files from po/ dir svn path=/trunk/; revision=8164
* Save the help_text in the closure.Christopher James Lahey2001-02-061-2/+10
| | | | | | | | | 2001-02-05 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook-config.c (table_add_elem): Save the help_text in the closure. svn path=/trunk/; revision=7998
* Call e_select_names_set_default when appropriate.Christopher James Lahey2001-02-053-38/+114
| | | | | | | | | | | | | | | | 2001-02-04 Christopher James Lahey <clahey@ximian.com> * gui/component/select-names/e-select-names-manager.c (e_select_names_manager_activate_dialog): Call e_select_names_set_default when appropriate. * gui/component/select-names/e-select-names.c, gui/component/select-names/e-select-names.h: Added support for double clicking sending the selected contacts to the default section. Added a set_default function. Made multiple selection work. svn path=/trunk/; revision=7962
* #ifdef INCLUDE_FILE_SOURCE. (table_add_elem): add help_text parameter andChris Toshok2001-01-301-15/+76
| | | | | | | | | | | | | | | 2001-01-29 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-config.c (addressbook_config_source_label): #ifdef INCLUDE_FILE_SOURCE. (table_add_elem): add help_text parameter and set up focus_in events to display the help in the dialog's html area. (focus_help): new function, calls put_html on the help text. (addressbook_ldap_auth_item_new): add help texts. (addressbook_source_item_new): add help texts. (addressbook_source_dialog): add help texts. svn path=/trunk/; revision=7906
* Replace the arrow icons in the ESelectNames component with "->" for aEttore Perazzoli2001-01-271-7/+7
| | | | | | better look. svn path=/trunk/; revision=7847
* Made this only add the initial VCard if it finds a file "create-initial"Christopher James Lahey2001-01-261-1/+21
| | | | | | | | | | | | | | | | | 2001-01-25 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-backend-file.c (pas_backend_file_load_uri): Made this only add the initial VCard if it finds a file "create-initial" in the directory it's creating the database in. * gui/component/addressbook-component.c (factory_fn): Added a create_folder function. * gui/search/e-addressbook-search-dialog.c (e_addressbook_search_dialog_init): Fixed an unused variable warning. svn path=/trunk/; revision=7816
* Actually make the icon for the "print" menu item work (I was missing aEttore Perazzoli2001-01-251-1/+1
| | | | | | placeholder in the path). svn path=/trunk/; revision=7806
* Make the addressbook use the new 16x16 icons in the menus.Ettore Perazzoli2001-01-251-0/+4
| | | | svn path=/trunk/; revision=7804
* Get the addressbook to use the new "Show all" icon.Ettore Perazzoli2001-01-251-0/+28
| | | | svn path=/trunk/; revision=7802
* (Adding a boolean "entry_changed" BonoboPropertyBag arg)Jason Leach2001-01-191-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-19 Jason Leach <jasonleach@usa.net> (Adding a boolean "entry_changed" BonoboPropertyBag arg) * gui/component/select-names/e-select-names-bonobo.c (entry_set_property_fn): Use a gtk_object_set_data to set the property to TRUE here. (entry_changed): New function, calls bonobo_control_set_property if entry_changed hasn't been set to TRUE yet. (impl_SelectNames_get_entry_for_section): Connect "changed" on each entry_widget to the new entry_changed() func. 2001-01-19 Jason Leach <jasonleach@usa.net> * e-msg-composer-hdrs.c (create_addressbook_entry): Listen for property bag changes to "entry_changed" on here, which means on the To, Cc, and Bcc entries. (addressbook_entry_changed): New function that gets called when "entry_changed" property is changed (to TRUE). svn path=/trunk/; revision=7649
* Moved ESearchBar from filter/ to widgets/misc/, a more appropriate home.Jacob Leach2001-01-171-1/+1
| | | | | | | Moved ESearchBar from filter/ to widgets/misc/, a more appropriate home. Bug #1060. svn path=/trunk/; revision=7536
* changed the signature of the property_bag get/set functionsDietmar Maurer2001-01-152-0/+4
| | | | svn path=/trunk/; revision=7499
* Add an ::asyncCopyFolder method to the ShellComponent interface. MoveEttore Perazzoli2001-01-131-1/+1
| | | | | | all the message hiding options to the View menu. svn path=/trunk/; revision=7456
* connect with the EAddressbookView's status_message signal.Chris Toshok2001-01-101-0/+62
| | | | | | | | | | | | | | | | | | | | | | 2001-01-09 Chris Toshok <toshok@helixcode.com> * gui/component/addressbook.c (addressbook_factory_new_control): connect with the EAddressbookView's status_message signal. (set_status_message): set the status message on the ShellView Interface associated with our control. (retrieve_shell_view_interface_from_control): new function. get the shell view inteface associated with a control. * gui/widgets/e-addressbook-view.c (e_addressbook_view_class_init): register status_message signal. (status_message): new function, emit our status_message signal. (change_view_type): connect with the view->object's "status_message" signal. * gui/widgets/e-addressbook-view.h (struct _EAddressbookViewClass): add status_message signal. svn path=/trunk/; revision=7346
* new function. (impl_BookListener_respond_authentication_result): newChris Toshok2001-01-054-0/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-04 Chris Toshok <toshok@helixcode.com> * backend/ebook/e-book-listener.c (e_book_listener_queue_authentication_response): new function. (impl_BookListener_respond_authentication_result): new function. (e_book_listener_get_epv): fill in epv->notifyAuthenticationResult. * backend/ebook/e-book-listener.h: add AuthenticationResponse to EBookListenerOperation. * backend/ebook/e-book.c (e_book_authenticate_user): new function. * backend/ebook/e-book.h: add prototype for e_book_authenticate_user. * backend/idl/addressbook.idl (GNOME:Evolution:Addressbook:Book): add authenticateUser method. (GNOME:Evolution:Addressbook:BookListener): add AuthenticationFailed and AuthenticationRequired to CallStatus. also add notifyAuthenticationResult method. * backend/pas/pas-backend-file.c (pas_backend_file_process_authenticate_user): dummy authenticate_user function that always succeeds. (pas_backend_file_process_client_requests): respond to the AuthenticateUser request. * backend/pas/pas-backend-ldap.c (pas_backend_ldap_build_query): gtk_object_unref(sexp) => s_exp_unref(sexp). (pas_backend_ldap_process_authenticate_user): fill in to use ldap_simple_bind_s. (pas_backend_ldap_process_client_requests): respond to the AuthenticateUser request. * backend/pas/pas-book.c (pas_book_queue_authenticate_user): new function. (impl_GNOME_Evolution_Addressbook_Book_authenticateUser): new function. (pas_book_respond_authenticate_user): new function. (pas_book_get_epv): fill in epv->authenticateUser. * backend/pas/pas-book.h: add AuthenticateUser operation type, and add user/passwd to the PASRequest struct. * gui/component/addressbook-storage.c (addressbook_storage_get_source_by_uri): new function. should use a hashtable, perhaps, but the lists will generally be small anyway. * gui/component/addressbook-storage.h: add prototype for addressbook_storage_get_source_by_uri. * gui/component/addressbook-config.c (addressbook_source_dialog_set_source): fill in the binddn if the auth page is shown. * gui/component/addressbook.c (book_open_cb): shoe-horn authentication in here. if the source was configured to use authentication, authenticate the user after opening the ebook. also, be paranoid and clear out the password after authenticating. (book_auth_cb): callback for auth. set the "book" arg on the view->view here. (passwd_cb): set the view's passwd that'll be used in book_open_cb. (addressbook_view_free): g_free view->passwd. svn path=/trunk/; revision=7265
* Added this function.Christopher James Lahey2001-01-056-21/+244
| | | | | | | | | | | | | | | | | | | 2001-01-04 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook-component.c, gui/component/addressbook-component.h (addressbook_component_get_shell_client): Added this function. * gui/component/select-names/e-select-names.c, gui/component/select-names/e-select-names.h: Added code for the ability to switch between different folders. This doesn't work yet. * gui/component/select-names/select-names.glade, gui/component/select-names/select-names.glade.h: Added an option menu to this dialog. svn path=/trunk/; revision=7262
* copy the dialog's source, destroy the dialog after we're done, and makeChris Toshok2000-12-316-171/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-30 Chris Toshok <toshok@helixcode.com> * gui/component/addressbook-config.c (edit_source_clicked): copy the dialog's source, destroy the dialog after we're done, and make sure to update both columns in the clist. (add_source_clicked): copy the dialog's source, and destroy the dialog when we're done. (addressbook_source_dialog_destroy): free up all the dialog's memory. * gui/component/addressbook.c (set_prop): allow file: uri's that point to files, not just dirs that contain addressbook.db. The rule is the addressbook file has to end in .db. * gui/component/addressbook-storage.c (file_source_foreach): contactserver => contactfile. cut and paste error. (addressbook_storage_init_source_uri): use file://%s to build the uri. * gui/component/e-ldap-server-dialog.[ch]: forgot to remove these in my last commit. svn path=/trunk/; revision=7199
* new function, calling our new config ui code. (control_activate): noChris Toshok2000-12-3011-882/+1151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-29 Chris Toshok <toshok@helixcode.com> * gui/component/addressbook.c (config_cb): new function, calling our new config ui code. (control_activate): no longer load evolution-addressbook-ldap.xml, as it's not there. * gui/component/addressbook-component.c (owner_set_cb): setup_ldap_storage => addressbook_storage_setup. * gui/component/Makefile.am (evolution_addressbook_SOURCES): remove e-ldap-storage.[ch] and add addressbook-storage.[ch]. (glade_DATA): remove ldap-server-dialog.glade and add addressbook-config.glade. (EXTRA_DIST): same. * gui/component/addressbook-config.[ch]: add another dialog to give a list of our sources and offer the Add/Delete/Edit interface. This plugs into the previous dialog work (the source editor.) * gui/component/addressbook-storage.[ch]: new files, containing the remains of e-ldap-storage.[ch] and adding the new AddressbookSource type and it's subordinates. Also, the xml format has changed slightly and the file name is no longer ~/evolution/ldap-servers.xml - it's ~/evolution/addressbook-sources.xml. * gui/component/addressbook-config.glade: new file, new config interface. * gui/component/ldap-server-dialog.glade: removed. * gui/component/e-ldap-storage.[ch]: removed. svn path=/trunk/; revision=7198
* add addressbook-config.[ch].Chris Toshok2000-12-293-0/+583
| | | | | | | | | | | | | | | | 2000-12-28 Chris Toshok <toshok@helixcode.com> * gui/component/Makefile.am (evolution_addressbook_SOURCES): add addressbook-config.[ch]. * gui/component/addressbook-config.c, gui/component/addressbook-config.h: new files, containing at the moment a beautiful "new/edit source dialog" inspired by the mail-config-gui code. It'll be ready for prime time after rev'ing the .xml file the addressbook uses to store it's "other sources" to include files, and the addition of the ldap auth stuff. svn path=/trunk/; revision=7191
* update cut and paste description error.Michael Meeks2000-12-142-2/+2
| | | | | | | | | 2000-12-14 Michael Meeks <michael@helixcode.com> * gui/component/GNOME_Evolution_Addressbook.oafinfo: update cut and paste description error. svn path=/trunk/; revision=6987
* Make the -> in the select names dialog into a GNOME stock arrow pixmap.Iain Holmes2000-12-131-4/+10
| | | | svn path=/trunk/; revision=6958
* Connect to the "cursor_change" signal on the ETable here instead of theChristopher James Lahey2000-12-101-3/+3
| | | | | | | | | | | | | | 2000-12-09 Christopher James Lahey <clahey@helixcode.com> * gui/component/select-names/e-select-names.c (e_select_names_init): Connect to the "cursor_change" signal on the ETable here instead of the ETableScrolled. (remove_address): Added the col and event parameters to this callback to match the added parameters to the double click signal. (e_select_names_add_section): Connect to the "double_click" signal on the ETable here instead of the ETableScrolled. svn path=/trunk/; revision=6894
* Complete the code to associate a URI and a folder type to the toplevelEttore Perazzoli2000-12-091-1/+1
| | | | | | | node in a storage. It sucks a bit and needs a little more refactoring. svn path=/trunk/; revision=6878
* Moved the gal view menu stuff from here to EAddressbookView.Christopher James Lahey2000-12-071-5/+1
| | | | | | | | | | | | | 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Moved the gal view menu stuff from here to EAddressbookView. * gui/widgets/e-addressbook-view.c, gui/widgets/e-addressbook-view.h: New function to set up the menus for the EAddressbookView. svn path=/trunk/; revision=6814
* Update the calls to `evolution_storage_new()' according to the newEttore Perazzoli2000-12-051-1/+1
| | | | | | | | API in `libeshell'. Sorry for breaking the build. :-( svn path=/trunk/; revision=6788
* return NULL if we can't create a view.Michael Meeks2000-12-0511-155/+32
| | | | | | | | | | | | | | 2000-12-04 Michael Meeks <michael@helixcode.com> * e-shell-view.c (get_control_for_uri): return NULL if we can't create a view. (setup_evolution_shell_view_interface): add precondition. + lots of cleans. svn path=/trunk/; revision=6778
* ugh, it helps when you save the ChangeLog before commiting it :)Jeffrey Stedfast2000-12-011-1/+1
| | | | svn path=/trunk/; revision=6747
* removed #ifdef ENABLE_NLS/#endif on Miguel's request.Gediminas Paulauskas2000-11-301-2/+0
| | | | | | | | 2000-11-30 Gediminas Paulauskas <menesis@delfi.lt> removed #ifdef ENABLE_NLS/#endif on Miguel's request. svn path=/trunk/; revision=6727
* Add widgets/menus/libmenus.la to evolution_addressbook_LDADD so that itMatt Bissiri2000-11-191-1/+2
| | | | | | | | | | | 2000-11-18 Matt Bissiri <matt@bissiri.org> * gui/component/Makefile.am: Add widgets/menus/libmenus.la to evolution_addressbook_LDADD so that it will link properly now that gal-view-menus.[ch] was moved from gal into evolution. svn path=/trunk/; revision=6611
* Added widgets/menus that contains the gal-view-menus.c code from Gal thatMiguel de Icaza2000-11-181-1/+1
| | | | | | | | | | | | | 2000-11-18 Miguel de Icaza <miguel@helixcode.com> * Added widgets/menus that contains the gal-view-menus.c code from Gal that depended on Bonobo. * configure.in: Update list of Makefiles; * widgets/Makefile.am: Update. svn path=/trunk/; revision=6608
* #!/usr/bin/perl -pi.bakMichael Meeks2000-11-166-12/+12
| | | | | | | | s/GNOME\/GenericFactory/GNOME\/ObjectFactory/g; s/Bonobo\/EmbeddableFactory/GNOME\/ObjectFactory/g; s/Bonobo\/GenericFactory/GNOME\/ObjectFactory/g; svn path=/trunk/; revision=6580
* Clear the rdate and exrule lists from the component if we are setting aFederico Mena Quintero2000-11-132-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-12 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (recur_to_comp_object): Clear the rdate and exrule lists from the component if we are setting a simple recurrence. (recur_to_comp_object): Set the exdate list here instead of in dialog_to_comp_object(). (preview_recur): New function to tag the recurrence preview calendar based on the information from the dialog box. (fill_exception_widgets): Fill the exception widgets here; moved over from fill_widgets(). (fill_recurrence_widgets): Call preview_recur(). Also, call fill_exception_widgets() first of all. (recurrence_type_toggled_cb): Call preview_recur(). (recur_interval_selection_done_cb): Likewise. (recur_ending_selection_done_cb): Likewise. (recurrence_exception_add_cb): Likewise. (recurrence_exception_modify_cb): Likewise. (recurrence_exception_delete_cb): Likewise. (date_changed_cb): Likewise. (recur_interval_value_changed_cb): Likewise, new function. * gui/tag-calendar.[ch]: New files with utilities for tagging calendars. mark.[ch] should go away some day. * gui/tag-calendar.c (tag_calendar): Moved over from gnome_calendar_tag_calendar(). Take in a CalClient instead of a GnomeCalendar. Added API docs. (tag_calendar_by_comp): New function to tag a calendar based on a single calendar component instead of a whole client. * gui/gnome-cal.c (initial_load): Use tag_calendar_by_client(). (obj_updated_cb): Likewise. (obj_removed_cb): Likewise. (gnome_calendar_on_date_navigator_date_range_changed): Likewise. (editor_closed_cb): Free the closure. (destroy_editor_cb): Renamed from free_uid(). Do not free the UID; just unref the event editor. Our destroy handler to it will free things properly. This will also cause the corresponding calendar client to be unrefed. (editor_closed_cb): Use a flag on the GnomeCalendar to decide whether to remove the editor from the hash table. This is sort of icky. * gui/calendar-model.c (obj_updated_cb): If the object is new, we have to use e_table_model_row_inserted(), not row_changed(). Thanks to JP Rosevear for reporting this. * gui/Makefile.am (evolution_calendar_SOURCES): Added tag-calendar.[ch] to the list of sources. svn path=/trunk/; revision=6547
* Update the remaining "IDL:Evolution*" to "IDL:GNOME/Evolution*" to sync upMatt Bissiri2000-11-116-6/+6
| | | | | | | | | 2000-11-11 Matt Bissiri <bissiri@eecs.umich.edu> Update the remaining "IDL:Evolution*" to "IDL:GNOME/Evolution*" to sync up with yesterday's IDL re-scoping. svn path=/trunk/; revision=6541
* A very, long, very tedious IDL API rename and re-scoping;Michael Meeks2000-11-116-24/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this script + some grunt approximates the work: s/Evolution_MessageList/GNOME_Evolution_MessageList/g; s/GNOME_Evolution_MessageList_select_message/GNOME_Evolution_MessageList_selectMessage/g; s/GNOME_Evolution_MessageList_open_message/GNOME_Evolution_MessageList_openMessage/g; s/Evolution_Folder([ \t])/GNOME_Evolution_Folder$1/g; s/Evolution_FolderTypeList/GNOME_Evolution_FolderTypeList/g; s/Evolution_FolderBrowser/GNOME_Evolution_FolderBrowser/g; s/GNOME_Evolution_FolderBrowser_get_message_list/GNOME_Evolution_FolderBrowser_getMessageList/g; s/Evolution_LocalStorage/GNOME_Evolution_LocalStorage/g; s/GNOME_Evolution_LocalStorage_update_folder/GNOME_Evolution_LocalStorage_updateFolder/g; s/Evolution_ShellView/GNOME_Evolution_ShellView/g; s/GNOME_Evolution_ShellView_set_message/GNOME_Evolution_ShellView_setMessage/g; s/GNOME_Evolution_ShellView_unset_message/GNOME_Evolution_ShellView_unsetMessage/g; s/GNOME_Evolution_ShellView_change_current_view/GNOME_Evolution_ShellView_changeCurrentView/g; s/Evolution_StorageSetViewListener/GNOME_Evolution_StorageSetViewListener/g; s/GNOME_Evolution_StorageSetViewListener_folder_selected/GNOME_Evolution_StorageSetViewListener_notifyFolderSelected/g; s/GNOME_Evolution_StorageSetViewListener_storage_selected/GNOME_Evolution_StorageSetViewListener_notifyStorageSelected/g; s/Evolution_StorageSetView/GNOME_Evolution_StorageSetView/g; s/GNOME_Evolution_StorageSetView_add_listener/GNOME_Evolution_StorageSetView_addListener/g; s/GNOME_Evolution_StorageSetView_remove_listener/GNOME_Evolution_StorageSetView_removeListener/g; s/Evolution_Shell/GNOME_Evolution_Shell/g; s/GNOME_Evolution_Shell_get_component_for_type/GNOME_Evolution_Shell_getComponentByType/g; s/GNOME_Evolution_Shell_user_select_folder/GNOME_Evolution_Shell_selectUserFolder/g; s/GNOME_Evolution_Shell_get_local_storage/GNOME_Evolution_Shell_getLocalStorage/g; s/GNOME_Evolution_Shell_create_storage_set_view/GNOME_Evolution_Shell_createStorageSetView/g; s/Evolution_FolderSelectionListener/GNOME_Evolution_FolderSelectionListener/g; s/GNOME_Evolution_FolderSelectionListener_selected/GNOME_Evolution_FolderSelectionListener_notifySelected/g; s/GNOME_Evolution_FolderSelectionListener_cancel/GNOME_Evolution_FolderSelectionListener_notifyCanceled/g; s/Evolution_Storage/GNOME_Evolution_Storage/g; s/GNOME_Evolution_Storage_add_listener/GNOME_Evolution_Storage_addListener/g; s/GNOME_Evolution_Storage_remove_listener/GNOME_Evolution_Storage_removeListener/g; s/GNOME_Evolution_StorageListener_destroyed/GNOME_Evolution_StorageListener_notifyDestroyed/g; s/GNOME_Evolution_StorageListener_new_folder/GNOME_Evolution_StorageListener_notifyFolderCreated/g; s/GNOME_Evolution_StorageListener_update_folder/GNOME_Evolution_StorageListener_notifyFolderUpdated/g; s/GNOME_Evolution_StorageListener_removed_folder/GNOME_Evolution_StorageListener_notifyFolderRemoved/g; s/GNOME_Evolution_StorageRegistry_register_storage/GNOME_Evolution_StorageRegistry_addStorage/g; s/GNOME_Evolution_StorageRegistry_unregister_storage/GNOME_Evolution_StorageRegistry_removeStorageByName/g; s/Evolution_ShellComponent/GNOME_Evolution_ShellComponent/g; s/GNOME_Evolution_ShellComponent_set_owner/GNOME_Evolution_ShellComponent_setOwner/g; s/GNOME_Evolution_ShellComponent_unset_owner/GNOME_Evolution_ShellComponent_unsetOwner/g; s/GNOME_Evolution_ShellComponent_create_view/GNOME_Evolution_ShellComponent_createView/g; s/GNOME_Evolution_ShellComponent_async_create_folder/GNOME_Evolution_ShellComponent_addFolderAsync/g; s/GNOME_Evolution_ShellComponent_async_remove_folder/GNOME_Evolution_ShellComponent_removeFolderAsync/g; s/GNOME_Evolution_ShellComponent_populate_folder_context_menu/GNOME_Evolution_ShellComponent_populateFolderContextMenu/g; s/GNOME_Evolution_ShellComponentListener_report_result/GNOME_Evolution_ShellComponentListener_notifyResult/g; s/Evolution_Session/GNOME_Evolution_Session/g; s/GNOME_Evolution_Session_save_configuration/GNOME_Evolution_Session_saveConfiguration/g; s/GNOME_Evolution_Session_load_configuration/GNOME_Evolution_Session_loadConfiguration/g; s/Evolution_Calendar_Cal/GNOME_Evolution_Calendar_Cal/g; s/GNOME_Evolution_Calendar_Cal_get_n_objects/GNOME_Evolution_Calendar_Cal_countObjects/g; s/GNOME_Evolution_Calendar_Cal_get_object/GNOME_Evolution_Calendar_Cal_getObject/g; s/GNOME_Evolution_Calendar_Cal_get_uids/GNOME_Evolution_Calendar_Cal_getUIds/g; s/GNOME_Evolution_Calendar_Cal_get_changed_uids/GNOME_Evolution_Calendar_Cal_getChangedUIds/g; s/GNOME_Evolution_Calendar_Cal_get_objects_in_range/GNOME_Evolution_Calendar_Cal_getObjectsInRange/g; s/GNOME_Evolution_Calendar_Cal_get_alarms_in_range/GNOME_Evolution_Calendar_Cal_getAlarmsInRange/g; s/GNOME_Evolution_Calendar_Cal_get_alarms_for_object/GNOME_Evolution_Calendar_Cal_getAlarmsForObject/g; s/GNOME_Evolution_Calendar_Cal_update_object/GNOME_Evolution_Calendar_Cal_updateObject/g; s/GNOME_Evolution_Calendar_Cal_remove_object/GNOME_Evolution_Calendar_Cal_removeObject/g; s/Evolution_Calendar_Listener/GNOME_Evolution_Calendar_Listener/g; s/GNOME_Evolution_Calendar_Listener_cal_loaded/GNOME_Evolution_Calendar_Listener_notifyCalLoaded/g; s/GNOME_Evolution_Calendar_Listener_obj_updated/GNOME_Evolution_Calendar_Listener_notifyObjUpdated/g; s/GNOME_Evolution_Calendar_Listener_obj_removed/GNOME_Evolution_Calendar_Listener_notifyObjRemoved/g; s/Evolution_Calendar_CalFactory/GNOME_Evolution_Calendar_CalFactory/g; s/GNOME_Evolution_Calendar_CalFactory_load/GNOME_Evolution_Calendar_CalFactory_load/g; s/GNOME_Evolution_Calendar_CalFactory_create/GNOME_Evolution_Calendar_CalFactory_create/g; s/Evolution_Composer/GNOME_Evolution_Composer/g; s/GNOME_Evolution_Composer_set_headers/GNOME_Evolution_Composer_setHeaders/g; s/GNOME_Evolution_Composer_set_body_text/GNOME_Evolution_Composer_setBodyText/g; s/GNOME_Evolution_Composer_attach_MIME/GNOME_Evolution_Composer_attachMIME/g; s/GNOME_Evolution_Composer_attach_data/GNOME_Evolution_Composer_attachData/g; s/GNOME_Evolution_Composer_show/GNOME_Evolution_Composer_show/g; s/Evolution_Addressbook_SelectNames/GNOME_Evolution_Addressbook_SelectNames/g; s/GNOME_Evolution_Addressbook_SelectNames_add_section/GNOME_Evolution_Addressbook_SelectNames_addSection/g; s/GNOME_Evolution_Addressbook_SelectNames_get_entry_for_section/GNOME_Evolution_Addressbook_SelectNames_getEntryBySection/g; s/GNOME_Evolution_Addressbook_SelectNames_activate_dialog/GNOME_Evolution_Addressbook_SelectNames_activateDialog/g; s/Evolution_CardCursor/GNOME_Evolution_Addressbook_CardCursor/g; s/GNOME_Evolution_Addressbook_CardCursor_get_length/GNOME_Evolution_Addressbook_CardCursor_getLength/g; s/GNOME_Evolution_Addressbook_CardCursor_get_nth/GNOME_Evolution_Addressbook_CardCursor_getNth/g; s/Evolution_BookViewListener/GNOME_Evolution_Addressbook_BookViewListener/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_card_added/GNOME_Evolution_Addressbook_BookViewListener_notifyCardAdded/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_card_removed/GNOME_Evolution_Addressbook_BookViewListener_notifyCardRemoved/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_card_changed/GNOME_Evolution_Addressbook_BookViewListener_notifyCardChanged/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_sequence_complete/GNOME_Evolution_Addressbook_BookViewListener_notifySequenceComplete/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_status_message/GNOME_Evolution_Addressbook_BookViewListener_notifyStatusMessage/g; s/Evolution_BookView/GNOME_Evolution_Addressbook_BookView/g; s/Evolution_Book/GNOME_Evolution_Addressbook_Book/g; s/GNOME_Evolution_Addressbook_Book_get_vcard/GNOME_Evolution_Addressbook_Book_getVCard/g; s/GNOME_Evolution_Addressbook_Book_can_write/GNOME_Evolution_Addressbook_Book_isWriteable/g; s/GNOME_Evolution_Addressbook_Book_can_write_card/GNOME_Evolution_Addressbook_Book_isCardWriteable/g; s/GNOME_Evolution_Addressbook_Book_create_card/GNOME_Evolution_Addressbook_Book_addCard/g; s/GNOME_Evolution_Addressbook_Book_remove_card/GNOME_Evolution_Addressbook_Book_removeCard/g; s/GNOME_Evolution_Addressbook_Book_modify_card/GNOME_Evolution_Addressbook_Book_modifyCard/g; s/GNOME_Evolution_Addressbook_Book_get_cursor/GNOME_Evolution_Addressbook_Book_getCursor/g; s/GNOME_Evolution_Addressbook_Book_get_book_view/GNOME_Evolution_Addressbook_Book_getBookView/g; s/GNOME_Evolution_Addressbook_Book_get_changes/GNOME_Evolution_Addressbook_Book_getChanges/g; s/GNOME_Evolution_Addressbook_Book_check_connection/GNOME_Evolution_Addressbook_Book_checkConnection/g; s/GNOME_Evolution_Addressbook_Book_get_static_capabilities/GNOME_Evolution_Addressbook_Book_getStaticCapabilities/g; s/GNOME_Evolution_Addressbook_Book_get_name/GNOME_Evolution_Addressbook_Book_getName/g; s/Evolution_BookListener/GNOME_Evolution_Addressbook_BookListener/g; s/GNOME_Evolution_Addressbook_BookListener_respond_create_card/GNOME_Evolution_Addressbook_BookListener_notifyCardCreated/g; s/GNOME_Evolution_Addressbook_BookListener_respond_remove_card/GNOME_Evolution_Addressbook_BookListener_notifyCardRemoved/g; s/GNOME_Evolution_Addressbook_BookListener_respond_modify_card/GNOME_Evolution_Addressbook_BookListener_notifyCardModified/g; s/GNOME_Evolution_Addressbook_BookListener_report_open_book_progress/GNOME_Evolution_Addressbook_BookListener_notifyOpenBookProgress/g; s/GNOME_Evolution_Addressbook_BookListener_respond_open_book/GNOME_Evolution_Addressbook_BookListener_notifyBookOpened/g; s/GNOME_Evolution_Addressbook_BookListener_respond_get_cursor/GNOME_Evolution_Addressbook_BookListener_notifyCursorRequested/g; s/GNOME_Evolution_Addressbook_BookListener_respond_get_view/GNOME_Evolution_Addressbook_BookListener_notifyViewRequested/g; s/GNOME_Evolution_Addressbook_BookListener_respond_get_changes/GNOME_Evolution_Addressbook_BookListener_notifyChangesRequested/g; s/GNOME_Evolution_Addressbook_BookListener_report_connection_status/GNOME_Evolution_Addressbook_BookListener_notifyConnectionStatus/g; s/Evolution_BookFactory/GNOME_Evolution_Addressbook_BookFactory/g; s/GNOME_Evolution_Addressbook_BookFactory_open_book/GNOME_Evolution_Addressbook_BookFactory_openBook/g; s/Evolution_SummaryComponent/GNOME_Evolution_Summary_Component/g; s/GNOME_Evolution_Summary_SummaryComponent_set_owner/GNOME_Evolution_Summary_Component_setOwner/g; s/GNOME_Evolution_Summary_SummaryComponent_unset_owner/GNOME_Evolution_Summary_Component_unsetOwner/g; s/GNOME_Evolution_Summary_SummaryComponent_create_view/GNOME_Evolution_Summary_Component_createView/g; s/GNOME_Evolution_Summary_SummaryComponent_destroy_view/GNOME_Evolution_Summary_Component_destroyView/g; s/Evolution_Summary([ \t])/GNOME_Evolution_Summary_ViewFrame$1/g; s/Evolution_Summary_set_title/GNOME_Evolution_Summary_ViewFrame_setTitle/g; s/Evolution_Summary_set_icon/GNOME_Evolution_Summary_ViewFrame_setIcon/g; s/Evolution_Summary_update_component/GNOME_Evolution_Summary_ViewFrame_updateComponent/g; s/GNOME_GNOME/GNOME/g; s/GNOME_GNOME/GNOME/g; s/GNOME_GNOME/GNOME/g; svn path=/trunk/; revision=6535
* Require gal 0.2.99.1.Christopher James Lahey2000-11-101-0/+6
| | | | | | | | | | | | | | | | | | | | 2000-11-09 Christopher James Lahey <clahey@helixcode.com> * configure.in: Require gal 0.2.99.1. From addressbook/ChangeLog: 2000-11-09 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-backend-ldap.c: Fixed a warning. * gui/component/addressbook.c: Put in gal view menus for testing purposes. * printing/e-contact-print-envelope.c: Fixed up envelope printing a bit. Added code for printing return addresses. svn path=/trunk/; revision=6529
* Switched from EAddressbookSearch to ESearchBar.Christopher James Lahey2000-11-071-27/+53
| | | | | | | | | | | | | | | | 2000-11-06 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Switched from EAddressbookSearch to ESearchBar. * gui/widgets/Makefile.am, gui/widgets/e-addressbook-search.c, gui/widgets/e-addressbook-search.h: Removed EAddressbookSearch. This has been moved to filter/ and renamed ESearchBar. * printing/e-contact-print-envelope.c: Forgot to set the font. This works for me now. svn path=/trunk/; revision=6455
* Fix the addressbook crash that happened when the ESelectNames controlEttore Perazzoli2000-11-071-1/+1
| | | | | | was getting destroyed. svn path=/trunk/; revision=6453
* Add menus items to the envelope printing stuff.Christopher James Lahey2000-11-061-0/+21
| | | | | | | | | | | | | | | | | | | | | 2000-11-05 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor.c, gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard.c: Add menus items to the envelope printing stuff. * gui/component/addressbook.c: Hook up the search menu. * gui/widgets/e-addressbook-search.c, gui/widgets/e-addressbook-search.h: Add the search menu. * printing/Makefile.am: Add e-contact-print-envelope.c and e-contact-print-envelope.h. * printing/e-contact-print-envelope.c, printing/e-contact-print-envelope.h: Added envelope printing. svn path=/trunk/; revision=6408
* Block signals from the toggle button. (date_changed_cb): MergedFederico Mena Quintero2000-11-051-0/+3
| | | | | | | | | | | | | | | | | | | | | 2000-11-03 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (check_all_day): Block signals from the toggle button. (date_changed_cb): Merged check_dates() and check_times() into this function; provide better behavior as well. (check_dates): Removed function. (check_times): Removed function. (init_widgets): Connect to the "changed" signal on the start_time and end_time widgets. (check_all_day): Use a better test. 2000-11-03 Federico Mena Quintero <federico@helixcode.com> * gui/component/select-names/Makefile.am: Clean the idl-generated files properly. svn path=/trunk/; revision=6396
* Removed these unnecessary .cvsignores.Christopher James Lahey2000-11-032-65/+53
| | | | | | | | | | | | | | | | | | | | | | 2000-11-02 Christopher James Lahey <clahey@helixcode.com> * ename/.cvsignore, gui/minicard/.cvsignore: Removed these unnecessary .cvsignores. * gui/component/addressbook.c: Switch to using EAddressbookSearch instead of custom quick search widget. * gui/component/select-names/e-select-names.c: Made this do a slightly better job of rendering names. * gui/widgets/Makefile.am: Added e-addressbook-search.c and e-addressbook-search.h. * gui/widgets/e-addressbook-search.c, gui/widgets/e-addressbook-search.h: New class that puts up an entry and a combo box. svn path=/trunk/; revision=6356
* The big api rename ...Michael Meeks2000-11-022-2/+2
| | | | | | | | 2000-11-02 Michael Meeks <michael@helixcode.com> * The big api rename ... svn path=/trunk/; revision=6346
* Add "highlighted" flag to evolution_storage_new_folderDan Winship2000-11-021-2/+4
| | | | | | | | * gui/component/e-ldap-storage.c (load_ldap_data): (e_ldap_storage_add_server): Add "highlighted" flag to evolution_storage_new_folder svn path=/trunk/; revision=6339
* modified or added a bunch of .cvsignore to ignore generated files, whichGediminas Paulauskas2000-11-011-0/+2
| | | | | | | | | * modified or added a bunch of .cvsignore to ignore generated files, which are not in repository. * call *textdomain() in various files only when ENABLE_NLS is defined svn path=/trunk/; revision=6310
* Mark two strings correctlyKjartan Maraas2000-10-311-2/+2
| | | | svn path=/trunk/; revision=6284
* Fixed marking of strings for translation. Use "_(" instead of "_ (". AddKjartan Maraas2000-10-312-1/+5
| | | | | | | | | | | | | 2000-10-30 Kjartan Maraas <kmaraas@gnome.org> * backend/e-book/e-card.c: Fixed marking of strings for translation. Use "_(" instead of "_ (". * gui/component/addressbook-factory.c: Add missing calls to bindtextdomain() and textdomain noticed by Dan Winship. * gui/component/addressbook.c: Marked string for translation. svn path=/trunk/; revision=6282
* Fixed these to include EXTRA_GNOME_CFLAGS.Christopher James Lahey2000-10-281-0/+1
| | | | | | | | | | | | 2000-10-27 Christopher James Lahey <clahey@helixcode.com> * backend/pas/Makefile.am, gui/search/Makefile.am, printing/Makefile.am: Fixed these to include EXTRA_GNOME_CFLAGS. * gui/component/select-names/e-select-names-manager.c: Turned off newlines in header fields. svn path=/trunk/; revision=6232
* AM_GNOME_GETTEXT doesn't use $(datadir)/locale as the locale dir. (ItDan Winship2000-10-242-2/+2
| | | | | | | uses either $(prefix)/share/locale or $(prefix)/lib/locale.) Cope with this. svn path=/trunk/; revision=6141
* 2000-10-20 Michael Meeks <michael@helixcode.com>Michael Meeks2000-10-211-9/+9
| | | | | | | | | | | | * contact-editor/e-contact-editor.c (tb_save_and_close_cb): * gui/component/addressbook.c (toggle_view_as_cb): 2000-10-20 Michael Meeks <michael@helixcode.com> * notes/component-factory.c (control_activate_cb): svn path=/trunk/; revision=6087
* Build fixes from Jacob, same as the other branch.Ettore Perazzoli2000-10-201-2/+3
| | | | svn path=/trunk/; revision=6035
* update to new UI handler. (update_view_type): split fromMichael Meeks2000-10-191-45/+53
| | | | | | | | | | | 2000-10-19 Michael Meeks <michael@helixcode.com> * gui/component/addressbook.c (change_view_type): update to new UI handler. (update_view_type): split from (change_view_type). (control_activate): add an update_view_type. svn path=/trunk/; revision=6011
* Change NAME_OR_ORG to return the email address if both name andChristopher James Lahey2000-10-191-12/+4
| | | | | | | | | | | | | 2000-10-18 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card-simple.c: Change NAME_OR_ORG to return the email address if both name and organization are taken. * gui/component/select-names/e-select-names.c: Fixed up the spec strings in this class. Removed the "cursor_mode" argument to ETable since it's part of the spec now. svn path=/trunk/; revision=6003
* Add this file I forgot earlierIain Holmes2000-10-181-1/+2
| | | | svn path=/trunk/; revision=5991
* Change the initial dialog visibility to FALSE so the contact editorIain Holmes2000-10-181-30/+11
| | | | | | | | | | | | | | | | 2000-10-17 Iain Holmes <iain@helixcode.com> * contact-editor/contact-editor.glade: Change the initial dialog visibility to FALSE so the contact editor doesn't flash when it appears. 2000-10-16 Iain Holmes <iain@helixcode.com> * gui/component/select-names/e-select-names-manager.c (e_select_names_manager_activate_dialog): Only allow one dialog per manager. svn path=/trunk/; revision=5986
* Move a bunch of CPPFLAGS defs into INCLUDES so they doesn't overrideDan Winship2000-10-162-6/+0
| | | | | | any CPPFLAGS set at configure time svn path=/trunk/; revision=5935
* if we are in LDAP mode then merge in the extra few items, otherwise justMichael Meeks2000-10-151-3/+4
| | | | | | | | | | | | 2000-10-14 Michael Meeks <michael@helixcode.com> * gui/component/addressbook.c (control_activate): if we are in LDAP mode then merge in the extra few items, otherwise just merge the standard thing; saves duplication. * shell/e-shell-view-menu.c: rename debug verb. svn path=/trunk/; revision=5920
* Icon property for the addressbook component.Ettore Perazzoli2000-10-153-0/+6
| | | | svn path=/trunk/; revision=5917
* Only allow one select-names dialog for each id.Iain Holmes2000-10-142-10/+42
| | | | svn path=/trunk/; revision=5910
* Changed these for boolean ascending attribute instead of int ascendingChristopher James Lahey2000-10-141-1/+1
| | | | | | | | | | | | | | | | 2000-10-13 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor-categories.c, gui/component/select-names/e-select-names.c, gui/widgets/e-addressbook-view.c: Changed these for boolean ascending attribute instead of int ascending attribute. Fixed e-select-names to not use a column past the end of its array. * contact-editor/e-contact-editor-address.c, contact-editor/fulladdr.glade, contact-editor/fulladdr.glade.h: Rearranged the address editor dialog. svn path=/trunk/; revision=5904
* Fixed the column elements, the no-headers attribute and added aChristopher James Lahey2000-10-111-2/+2
| | | | | | | | | | | | | 2000-10-11 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor-categories.c: Fixed the column elements, the no-headers attribute and added a cursor-mode=line attribute. * gui/component/select-names/e-select-names.c, gui/widgets/e-addressbook-view.c: Fixed the column elements here. svn path=/trunk/; revision=5851
* Updated these to the new style ETables.Christopher James Lahey2000-10-111-31/+13
| | | | | | | | | | | 2000-10-11 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor-categories.c, gui/component/select-names/e-select-names.c, gui/widgets/e-addressbook-view.c: Updated these to the new style ETables. svn path=/trunk/; revision=5843
* Disable summary stuff, it appears to be badly broken.Michael Meeks2000-10-051-47/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-05 Michael Meeks <michael@helixcode.com> * component-factory.c (summary_fn, component_factory_init): Disable summary stuff, it appears to be badly broken. * Makefile.am (evolution_mail_SOURCES): add mail-summary.[ch] * subscribe-dialog.c (update_pixmaps): upd. (set_pixmap): upd. (subscribe_dialog_gui_init): upd. remove redundant and annoying forward definitions. * folder-browser-factory.c (control_deactivate): upd. (control_activate_cb): upd. (control_activate): upd. (set_pixmap): upd. (update_pixmaps): upd. (register_ondemand): upd. (create_ondemand_hooks): upd. 2000-10-05 Michael Meeks <michael@helixcode.com> * e-shell-view-menu.c (shortcut_bar_mode_changed_cb): upd. (folder_bar_mode_changed_cb): upd. (command_xml_dump): clobber. (e_shell_view_menu_setup): upd. * e-shell-view.c (shell_view_interface_set_message_cb): upd. (shell_view_interface_unset_message_cb): upd. (e_shell_view_construct): upd. (get_control_for_uri): upd. (e_shell_view_get_bonobo_ui_component): upd. 2000-10-05 Michael Meeks <michael@helixcode.com> * contact-editor/e-contact-editor.c (create_ui): upd. (e_contact_editor_init): upd. * gui/component/addressbook.c (control_activate_cb): upd. (control_deactivate): kill. (control_activate): upd. 2000-10-05 Michael Meeks <michael@helixcode.com> * gui/calendar-commands.c: upd. (calendar_control_activate): upd. (calendar_control_deactivate): upd. 2000-10-05 Michael Meeks <michael@helixcode.com> * component/e-summary-factory.c (control_activate): upd. (set_pixmap): upd. (update_pixmaps): upd. (control_activate_cb): upd. (control_deactivate): upd. svn path=/trunk/; revision=5742
* Look for ename in /e-util/ename instead of /addressbook/enameJeffrey Stedfast2000-09-261-1/+1
| | | | | | | | | | | | | | | | | | 2000-09-25 Jeffrey Stedfast <fejj@helixcode.com> * gui/widgets/Makefile.am: * gui/component/Makefile.am: * contact-editor/Makefile.am: * printing/Makefile.am: Look for ename in /e-util/ename instead of /addressbook/ename * backend/ebook/e-card.c: Updated to include e-util/ename/*.h * ename: Moved to /e-util so it could be shared * Makefile.am (SUBDIRS): took out ename svn path=/trunk/; revision=5578
* Updates for the Bonobo changes from Michael who is having someEttore Perazzoli2000-09-231-14/+4
| | | | | | troubles with CVS at home (so I commit this on his behalf). svn path=/trunk/; revision=5560
* Added evolution-addressbook-ldap.xml.Christopher James Lahey2000-09-221-14/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-22 Christopher James Lahey <clahey@helixcode.com> * ui/Makefile.am: Added evolution-addressbook-ldap.xml. * ui/evolution-addressbook-ldap.xml: New file. (A Variation on evolution-addressbook.xml) * ui/evolution-addressbook.xml: Added View All and Stop buttons. From addressbook/ChangeLog: 2000-09-22 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-book.c, backend/ebook/e-book.h, backend/idl/addressbook.idl, backend/pas/pas-backend-file.c, backend/pas/pas-backend-ldap.c, backend/pas-backend.c, backend/pas/pas-backend.h, backend/pas/pas-book.c, backend/pas/pas-book.h: Added a function to query static capabilities (capabilities that can be reported immediately) and implemented them in the 2 servers. * gui/component/addressbook.c: Added a View All button and a Stop button. Sorted out the new directory server stuff a bit. * gui/widgets/e-addressbook-model.c, gui/widgets/e-addressbook-model.h: Cleaned up a bit. Added a stop function. Check for capabilities before deciding whether to load all cards when initially viewed. * gui/widgets/e-addressbook-view.c, gui/widgets/e-addressbook-view.h: Added stop and view all functions. * gui/widgets/e-minicard-view-widget.c, gui/widgets/e-minicard-view-widget.h, gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h: Added a stop function. Check for capabilities before deciding whether to load all cards when initially viewed. svn path=/trunk/; revision=5547
* s/Bonobo_UIHandler/Bonobo_UIContainer/Michael Meeks2000-09-211-1/+1
| | | | | | s/include "bonobo-ui-handler.h"/include "bonobo-ui-compat.h"/ svn path=/trunk/; revision=5539
* Added check for gnome-app-lib. Removed directories that have been moved toChristopher James Lahey2000-09-1813-22/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added check for gnome-app-lib. Removed directories that have been moved to gal. From addressbook/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am, contact-editor/Makefile.am, ename/Makefile.am, gui/component/Makefile.am, gui/widgets/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * backend/ebook/e-card.c, backend/pas/pas-backend-file.c, contact-editor/e-contact-editor-address.c, contact-editor/e-contact-editor-categories.c, contact-editor/e-contact-editor-categories.h, contact-editor/e-contact-editor-fullname.c, contact-editor/e-contact-editor.c, contact-editor/e-contact-save-as.c, ename/e-address-western.c, ename/test-ename-western-gtk.c, gui/component/addressbook-factory.c, gui/component/addressbook.c, gui/component/e-cardlist-model.h, gui/component/e-ldap-storage.c, gui/component/select-names/e-select-names-bonobo.c, gui/component/select-names/e-select-names-manager.c, gui/component/select-names/e-select-names-model.c, gui/component/select-names/e-select-names-table-model.c, gui/component/select-names/e-select-names-table-model.h, gui/component/select-names/e-select-names-text-model.h, gui/component/select-names/e-select-names.c, gui/component/select-names/e-select-names.h, gui/search/e-addressbook-search-dialog.c, gui/widgets/e-addressbook-model.h, gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard-label.c, gui/widgets/e-minicard-view-widget.c, gui/widgets/e-minicard-view-widget.h, gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h, gui/widgets/e-minicard-widget.h, gui/widgets/e-minicard.c, gui/widgets/test-minicard-label.c, gui/widgets/test-reflow.c, printing/e-contact-print.c: Fixed the #include lines to deal properly with gal. From calendar/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * gui/calendar-model.h, gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view-event-item.c, gui/e-week-view.c, gui/event-editor.c, gui/gncal-todo.c, gui/gnome-cal.c, gui/main.c, gui/print.c, gui/dialogs/task-editor.c: Fixed the #include lines to deal properly with gal. * gui/check-filled.xpm: New file since we can't include it from e-table anymore. From camel/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * camel-folder-search.c, camel-folder-search.h, camel-remote-store.c, providers/imap/camel-imap-folder.c, providers/imap/camel-imap-store.c: Fixed the #include lines to deal properly with gal. From composer/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-msg-composer-address-dialog.c, e-msg-composer-address-entry.c, e-msg-composer-attachment.c, e-msg-composer-hdrs.c, e-msg-composer.c: Fixed the #include lines to deal properly with gal. From e-util/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed all the files moved to gal. * e-dialog-widgets.c: Fixed the #include lines to deal properly with gal. * e-gui-utils.c, e-gui-utils.h: Removed all of the functionality that was moved to gal. * e-canvas-utils.c, e-canvas-utils.h, e-canvas-vbox.c, e-canvas-vbox.h, e-canvas.c, e-canvas.h, e-cursors.c, e-cursors.h, e-font.c, e-font.h, e-popup-menu.c, e-popup-menu.h, e-printable.c, e-printable.h, e-unicode.c, e-unicode.h, e-util.c, e-util.h, e-xml-utils.c, e-xml-utils.h: Moved to gal. From filter/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * filter-editor.c, filter-filter.c, filter-folder.c, filter-input.c, filter-message-search.c, filter-option.c, filter-rule.c, score-editor.c, vfolder-editor.c, vfolder-rule.c: Fixed the #include lines to deal properly with gal. From mail/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * component-factory.c, folder-browser-factory.c, folder-browser.c, mail-callbacks.c, mail-config-gui.c, mail-display.c, mail-display.h, main.c, message-list.c, message-list.h: Fixed the #include lines to deal properly with gal. From po/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * POTFILES.in: Removed files that have been moved to gal. From shell/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-component-registry.c, e-corba-storage-registry.c, e-corba-storage.c, e-folder-type-registry.c, e-folder.c, e-local-folder.c, e-local-storage.c, e-shell-folder-creation-dialog.c, e-shell-folder-selection-dialog.c, e-shell-folder-title-bar.c, e-shell-view.c, e-shell.c, e-shortcuts-view.c, e-shortcuts.c, e-storage-set-view.c, e-storage-set-view.h, e-storage-set.c, e-storage.c, evolution-local-storage.c, evolution-session.c, evolution-shell-client.c, evolution-shell-component-client.c, evolution-shell-component.c, evolution-shell-view.c, evolution-storage-listener.c, evolution-storage.c, main.c: Fixed the #include lines to deal properly with gal. From widgets/meeting-time-sel/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-meeting-time-sel-list-item.c, e-meeting-time-sel.c, e-meeting-time-sel.h: Fixed the #include lines to deal properly with gal. If you've read this far, you deserve a prize. The first email in my mailbox with the subject "What a commit message!" (and your physical mailing address somewhere in the message) will receive a free Helix Code T-shirt mailed to anywhere within the continental United States. I cannot be held responsible for problems with email systems anywhere. This is supposed to be for fun, so please don't make a fuss if something goes wrong and your mail doesn't reach me. Find my email elsewhere in this message, and if it's been more than a few days, you're probably too late. From widgets/misc/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-calendar-item.c, e-calendar.c, e-calendar.h, e-title-bar.c: Fixed the #include lines to deal properly with gal. * e-scroll-frame.c, e-scroll-frame.h: Moved to gal. From widgets/shortcut-bar/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-icon-bar.c, e-icon-bar.h, e-shortcut-bar.c, e-shortcut-model.c, test-shortcut-bar.c: Fixed the #include lines to deal properly with gal. From widgets/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed directories that have been moved to gal. * e-paned/.cvsignore, e-paned/Makefile.am, e-paned/e-hpaned.c, e-paned/e-hpaned.h, e-paned/e-paned.c, e-paned/e-paned.h, e-paned/e-vpaned.c, e-paned/e-vpaned.h: Moved to gal. * e-reflow/.cvsignore, e-reflow/Makefile.am, e-reflow/e-reflow-sorted.c, e-reflow/e-reflow-sorted.h, e-reflow/e-reflow.c, e-reflow/e-reflow.h: Moved to gal. * e-table/.cvsignore, e-table/ChangeLog, e-table/LICENSE, e-table/Makefile.am, e-table/ROADMAP.e-table, e-table/TODO, e-table/add-col.xpm, e-table/arrow-down.xpm, e-table/arrow-up.xpm, e-table/check-empty.xpm, e-table/check-filled.xpm, e-table/clip.png, e-table/e-cell-checkbox.c, e-table/e-cell-checkbox.h, e-table/e-cell-string.c, e-table/e-cell-text.c, e-table/e-cell-text.h, e-table/e-cell-toggle.c, e-table/e-cell-toggle.h, e-table/e-cell-tree.c, e-table/e-cell-tree.h, e-table/e-cell.c, e-table/e-cell.h, e-table/e-table-click-to-add.c, e-table/e-table-click-to-add.h, e-table/e-table-col-dnd.h, e-table/e-table-col.c, e-table/e-table-col.h, e-table/e-table-column-model.h, e-table/e-table-column.c, e-table/e-table-config.c, e-table/e-table-config.glade, e-table/e-table-config.glade.h, e-table/e-table-config.h, e-table/e-table-defines.h, e-table/e-table-example-1.c, e-table/e-table-example-2.c, e-table/e-table-field-chooser-dialog.c, e-table/e-table-field-chooser-dialog.h, e-table/e-table-field-chooser-item.c, e-table/e-table-field-chooser-item.h, e-table/e-table-field-chooser.c, e-table/e-table-field-chooser.glade, e-table/e-table-field-chooser.glade.h, e-table/e-table-field-chooser.h, e-table/e-table-group-container.c, e-table/e-table-group-container.h, e-table/e-table-group-leaf.c, e-table/e-table-group-leaf.h, e-table/e-table-group.c, e-table/e-table-group.glade, e-table/e-table-group.glade.h, e-table/e-table-group.h, e-table/e-table-header-item.c, e-table/e-table-header-item.h, e-table/e-table-header.c, e-table/e-table-header.h, e-table/e-table-item.c, e-table/e-table-item.h, e-table/e-table-model.c, e-table/e-table-model.h, e-table/e-table-one.c, e-table/e-table-one.h, e-table/e-table-scrolled.c, e-table/e-table-scrolled.h, e-table/e-table-selection-model.c, e-table/e-table-selection-model.h, e-table/e-table-simple.c, e-table/e-table-simple.h, e-table/e-table-size-test.c, e-table/e-table-sort-info.c, e-table/e-table-sort-info.h, e-table/e-table-sorted-variable.c, e-table/e-table-sorted-variable.h, e-table/e-table-sorted.c, e-table/e-table-sorted.h, e-table/e-table-sorter.c, e-table/e-table-sorter.h, e-table/e-table-subset-variable.c, e-table/e-table-subset-variable.h, e-table/e-table-subset.c, e-table/e-table-subset.h, e-table/e-table-text-model.c, e-table/e-table-text-model.h, e-table/e-table-tooltip.h, e-table/e-table-tree.h, e-table/e-table.c, e-table/e-table.h, e-table/e-tree-example-1.c, e-table/e-tree-example-2.c, e-table/e-tree-model.c, e-table/e-tree-model.h, e-table/e-tree-simple.c, e-table/e-tree-simple.h, e-table/image1.png, e-table/image2.png, e-table/image3.png, e-table/remove-col.xpm, e-table/sample.table, e-table/table-test.c, e-table/table-test.h, e-table/test-check.c, e-table/test-cols.c, e-table/test-table.c: Moved to gal. * e-text/.cvsignore, e-text/Makefile.am, e-text/e-entry-test.c, e-text/e-entry.c, e-text/e-entry.h, e-text/e-text-event-processor-emacs-like.c, e-text/e-text-event-processor-emacs-like.h, e-text/e-text-event-processor-types.h, e-text/e-text-event-processor.c, e-text/e-text-event-processor.h, e-text/e-text-model.c, e-text/e-text-model.h, e-text/e-text-test.c, e-text/e-text.c, e-text/e-text.h: Moved to gal. i.e., ... changed evolution to work with gal. svn path=/trunk/; revision=5490
* Fixed the paths of some .h #includes.Christopher James Lahey2000-09-181-536/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-15 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor.h, contact-editor/e-contact-save-as.h, gui/widgets/e-addressbook-model.h, gui/widgets/e-minicard-view-widget.h, gui/widgets/e-minicard-view.h, gui/widgets/e-minicard.c, gui/widgets/e-minicard.h: Fixed the paths of some .h #includes. * gui/component/addressbook.c: Removed all of the code to actually create and display the correct view of the addressbook and moved it to the new class gui/widgets/e-addressbook-view.c. * gui/widgets/Makefile.am: Added everything necessary for e-addressbook-view.c and e-addressbook-view.h. * gui/widgets/e-addressbook-view.c, gui/widgets/e-addressbook-view.h: New class to deal with actual display of addresses and switching between card view and table view. * gui/widgets/e-minicard-view-widget.c: Made this deal more gracefully with having the book set to NULL. svn path=/trunk/; revision=5475
* Everywhere add a -DEVOLUTION_DATADIR=${datadir} in the Makefile.amMichael Meeks2000-09-172-2/+4
| | | | | | | | And use this in grabbing the ui from the xml file. Requires HEAD bonobo. svn path=/trunk/; revision=5474
* *Sigh.*Ettore Perazzoli2000-09-164-6/+6
| | | | | | | | | | | Fix the massive, extreme breakage introduced by shuffling around a few addressbook-related files without updating the Makefiles. I hope at least it builds now. *Sigh.* svn path=/trunk/; revision=5473
* Moved files for Chris - FedericoFederico Mena Quintero2000-09-164-868/+0
| | | | svn path=/trunk/; revision=5471
* Call unicode_init for e-font stuff.Dan Winship2000-09-151-0/+3
| | | | | | | * gui/component/addressbook-factory.c (main): Call unicode_init for e-font stuff. svn path=/trunk/; revision=5435
* fix path.Michael Meeks2000-09-143-3/+3
| | | | | | | | | | | | | | | | 2000-09-14 Michael Meeks <michael@helixcode.com> * gui/component/Makefile.am (evolution_addressbook_LDADD): fix path. * gui/component/addressbook.c: update include. * gui/component/addressbook-factory.c: update include. * gui/widgets/e-minicard-view.h: update include. * gui/search/e-addressbook-search-dialog.c: update include path. svn path=/trunk/; revision=5418
* The Commit from hell that breaks all UI related stuff;Michael Meeks2000-09-141-100/+53
| | | | | | Anything UI related that breaks is now my fault; apologies in advance. svn path=/trunk/; revision=5415
* Added widgets/e-reflow/Makefile. ReplacedChristopher James Lahey2000-09-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-13 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added widgets/e-reflow/Makefile. Replaced addressbook/gui/minicard/Makefile with addressbook/gui/widgets/Makefile. From addressbook/ChangeLog: 2000-09-13 Christopher James Lahey <clahey@helixcode.com> * gui/widgets/*, gui/minicard/*: Moved gui/minicard to gui/widgets, except for e-reflow.c, e-reflow.h, e-reflow-sorted.c, and e-reflow-sorted.h. * gui/widgets/Makefile.am: Added e-reflow to the INCLUDES list and libereflow.a to a bunch of LDADD lines. * gui/component/Makefile.am (evolution_addressbook_LDADD): Added libereflow.a here. * gui/Makefile.am (SUBDIRS): Replaced minicard with widgets. From widgets/ChangeLog: 2000-09-13 Christopher James Lahey <clahey@helixcode.com> * Makefile.am (SUBDIRS): Added e-reflow. * e-reflow/e-reflow.c, e-reflow/e-reflow.h: Moved from addressbook/gui/minicard/. * e-reflow/Makefile.am, e-reflow/.cvsignore: New files for a new directory. svn path=/trunk/; revision=5414
* Thou shalt add a space after `-I' when invoking `orbit-idl'.Ettore Perazzoli2000-09-131-2/+2
| | | | svn path=/trunk/; revision=5386
* Get rid of the `ui.xml' stuff that Michael committed, as it's breakingEttore Perazzoli2000-09-131-4/+1
| | | | | | distcheck. svn path=/trunk/; revision=5381
* Tidy some xml.Michael Meeks2000-09-131-62/+0
| | | | svn path=/trunk/; revision=5376
* Made this a bit better balanced.Christopher James Lahey2000-09-111-2/+3
| | | | | | | | | | | | | | 2000-09-11 Christopher James Lahey <clahey@helixcode.com> * contact-editor/fulladdr.glade: Made this a bit better balanced. * gui/component/addressbook.c: Make the toolbar button for find do the same thing that the menu item for search does. * gui/search/e-addressbook-search-dialog.c: Made the top half of this not expand. svn path=/trunk/; revision=5321
* Preliminaries for new UI handler.Michael Meeks2000-09-082-1/+66
| | | | svn path=/trunk/; revision=5245
* Changed `Evolution::Storage' so that the displayed name for a folderEttore Perazzoli2000-09-011-2/+3
| | | | | | | is decoupled from its path, and updated all the components accordingly. svn path=/trunk/; revision=5159
* Add a name to the minicard viewer.Dan Winship2000-08-313-0/+6
| | | | | | | * gui/component/addressbook.oafinfo: Add a name to the minicard viewer. svn path=/trunk/; revision=5117
* Use the right argument name to turn on grid lines.Christopher James Lahey2000-08-291-6/+7
| | | | | | | | | 2000-08-28 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Use the right argument name to turn on grid lines. svn path=/trunk/; revision=5087
* Die gnorba die.JP Rosevear2000-08-263-31/+2
| | | | | | | | | | | | | | | | | | 2000-08-26 JP Rosevear <jpr@helixcode.com> Die gnorba die. * gui/component/addressbook-component.c: Remove gnorba stuff * gui/minicard/e-minicard-control.c (e_minicard_control_factory_init): ditto * gui/component/addressbook.c: ditto * gui/component/addressbook-factory.c: ditto svn path=/trunk/; revision=5053
* KillJP Rosevear2000-08-262-30/+1
| | | | | | | | | | 2000-08-26 JP Rosevear <jpr@helixcode.com> * gui/component/addressbook.gnorba: Kill * gui/component/Makefile.am: Remove gnorba stuff svn path=/trunk/; revision=5050
* Add -export-dynamic so libglade will be able to resolve custom widgetDan Winship2000-08-261-1/+1
| | | | | | | | * gui/component/Makefile.am (evolution_addressbook_LDFLAGS): Add -export-dynamic so libglade will be able to resolve custom widget callbacks. svn path=/trunk/; revision=5042
* Unicode in addressbook basically works, including simple searchingLauris Kaplinski2000-08-241-3/+6
| | | | svn path=/trunk/; revision=4997
* Link with filter library.Michael Zucci2000-08-231-2/+3
| | | | svn path=/trunk/; revision=4982
* Missing commit, changes for search gui to link.Michael Zucci2000-08-231-0/+7
| | | | svn path=/trunk/; revision=4981
* Started adding a time zone field to ECard.Christopher James Lahey2000-08-231-0/+2
| | | | | | | | | | | | | 2000-08-22 Christopher James Lahey <clahey@helixcode.com> * backend/e-card.h: Started adding a time zone field to ECard. * gui/component/e-addressbook-model.c: Added e_table_model_pre_change where appropriate. * gui/minicard/e-minicard-control.c: Added a ref and unref pair. svn path=/trunk/; revision=4971
* Linked in the search dialog again. It looks like some changes in the shellChristopher James Lahey2000-08-221-3/+10
| | | | | | | | | 2000-08-22 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Linked in the search dialog again. It looks like some changes in the shell made this not work. svn path=/trunk/; revision=4916
* many fixes to make it compile with strange prefixes...Mathieu Lacage2000-08-211-1/+1
| | | | | | | neither mail nor the calendar components work though... evil stuff. svn path=/trunk/; revision=4892
* Changed this to use ECardSimple.Christopher James Lahey2000-08-201-5/+78
| | | | | | | | | | | | | | | | | 2000-08-19 Christopher James Lahey <clahey@helixcode.com> * conduit/address-conduit.c, conduit/address-conduit.h: Changed this to use ECardSimple. * contact-editor/e-contact-editor.c: Fixed a memory leak. * gui/component/addressbook.c: Added stuff to the right click menu. Activated the new search dialog that doesn't quite work yet. * gui/minicard/e-minicard-view.c: Fixed some run time warnings. svn path=/trunk/; revision=4882
* Fixed a typo that cause the wrong field to be searched.Christopher James Lahey2000-08-131-1/+1
| | | | | | | | | | | | 2000-08-13 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-backend-file.c: Fixed a typo that cause the wrong field to be searched. * gui/component/select-names/e-select-names.c: Made the select names dialog only display entries with email addresses. svn path=/trunk/; revision=4800
* A few small interface fixes.Christopher James Lahey2000-08-131-1/+2
| | | | | | | | | | | | | | 2000-08-12 Christopher James Lahey <clahey@helixcode.com> * gui/search/Makefile.am, gui/search/e-addressbook-search-dialog.c, gui/search/e-addressbook-search-dialog.h: A few small interface fixes. * gui/component/Makefile.am: Link in the addressbook search dialog. svn path=/trunk/; revision=4780
* Ref our book view listener.Christopher James Lahey2000-08-121-95/+23
| | | | | | | | | | | | | | | | | | | | | 2000-08-12 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-book-view.c: Ref our book view listener. * gui/component/addressbook.c: Updated to use new minicard view widget. * gui/minicard/Makefile.am: Added e-minicard-view-widget.c and e-minicard-view-widget.h. * gui/minicard/e-minicard-view-widget.c, gui/minicard/e-minicard-view-widget.h: New class that's just a minicard view in an ECanvas. * gui/search/e-addressbook-search-dialog.c: New file for implementing a search dialog. svn path=/trunk/; revision=4771
* Remove bogus prototype that was causing compilation to fail when LDAPEttore Perazzoli2000-08-111-4/+0
| | | | | | was enabled. svn path=/trunk/; revision=4717
* New search dialog for addressbook.Christopher James Lahey2000-08-111-10/+2
| | | | | | | | | 2000-08-10 Christopher James Lahey <clahey@helixcode.com> * gui/search/, gui/search/addresstypes.xml: New search dialog for addressbook. svn path=/trunk/; revision=4715
* Update for changed prototype, pass evolution_homedir arg toDan Winship2000-08-113-13/+13
| | | | | | | | | | | | | | * gui/component/addressbook-component.c (owner_set_cb): Update for changed prototype, pass evolution_homedir arg to setup_ldap_storage. * gui/component/e-ldap-storage.c (setup_ldap_storage): Now takes an evolution_homedir arg, uses that to generate the path to the ldapservers.xml file, and stores the result in a static variable. (e_ldap_storage_add_server, e_ldap_storage_remove_server): Use that static variable rather than hardcoding the path to the file. svn path=/trunk/; revision=4713
* Made the toolbars conform to the user's gnomecc settings for detachableCody Russell2000-08-101-1/+6
| | | | | | toolbars. svn path=/trunk/; revision=4677
* Fixed a warning.Christopher James Lahey2000-08-091-1/+1
| | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Fixed a warning. svn path=/trunk/; revision=4641
* Add an icon to the "Print contacts" menu item.Ettore Perazzoli2000-08-091-1/+2
| | | | svn path=/trunk/; revision=4638
* Put the print menu item in the right placeholder for consistency.Ettore Perazzoli2000-08-091-3/+6
| | | | svn path=/trunk/; revision=4636
* Changed e_popup_menu_run call to match the new arguments.Christopher James Lahey2000-08-094-13/+52
| | | | | | | | | | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c, gui/minicard/e-minicard.c: Changed e_popup_menu_run call to match the new arguments. * gui/component/addressbook.oafinfo: Fixed this file to work properly. * gui/minicard/e-minicard-control.c: Use the correct oafinfo ID here. Also cleaned up the code a bit with the help of Michael Meeks. svn path=/trunk/; revision=4627
* use x-evolution-any-field.Chris Toshok2000-08-092-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-08-08 Chris Toshok <toshok@helixcode.com> * gui/component/e-addressbook-model.c (e_addressbook_model_init): use x-evolution-any-field. * gui/component/addressbook.c (search_entry_activated): use x-evolution-any-field. (change_view_type): same. * gui/minicard/e-minicard-view.c (e_minicard_view_init): set query to x-evolution-any-field. * backend/pas/pas-backend-ldap.c (func_contains): support x-evolution-any-field for matching any evolution supported field. * backend/pas/pas-backend-file.c (compare_email): switch to using ECardSimple calls. (compare_phone): same. (compare_address): same. (entry_compare): switch to using ECardSimple calls, and support a 'x-evolution-any-field' wildcard field. (vcard_matches_search): use an ECardSimple. svn path=/trunk/; revision=4626
* Everywhere unref the remote_uih having done a set_container.Michael Meeks2000-08-041-0/+1
| | | | svn path=/trunk/; revision=4524
* Emit "model_pre_change" signal as appropriate.Christopher James Lahey2000-08-031-0/+2
| | | | | | | | | | 2000-08-02 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor-categories.c, gui/component/e-addressbook-model.c: Emit "model_pre_change" signal as appropriate. svn path=/trunk/; revision=4473
* Adapted this to supply the new append_row API of ETableModel.Christopher James Lahey2000-08-021-7/+17
| | | | | | | | | 2000-08-02 Christopher James Lahey <clahey@helixcode.com> * gui/component/e-addressbook-model.c: Adapted this to supply the new append_row API of ETableModel. svn path=/trunk/; revision=4469
* Changed the default set of columns.Christopher James Lahey2000-08-011-6/+1
| | | | | | | | 2000-07-31 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Changed the default set of columns. svn path=/trunk/; revision=4441
* lowercasify the supported_mime_typesDan Winship2000-07-263-6/+6
| | | | | | | * gui/component/addressbook.oafinfo: lowercasify the supported_mime_types svn path=/trunk/; revision=4342
* Fixed the oaf info.Christopher James Lahey2000-07-213-0/+57
| | | | | | | | | | | | | | | | | | | 2000-07-20 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.oafinfo: Fixed the oaf info. * gui/minicard/.cvsignore, gui/minicard/Makefile.am, gui/minicard/e-minicard-widget-test.c: Added a test for the minicard widget. * gui/minicard/e-minicard-control.c: Fixed the mime type. * gui/minicard/e-minicard.c: Fixed some crashes if your parent isn't a minicard view. * gui/minicard/e-minicard-control.oafinfo: Removed. svn path=/trunk/; revision=4249
* Update the components to match the changes in the libeshell API.Ettore Perazzoli2000-07-211-1/+1
| | | | svn path=/trunk/; revision=4242
* Added gui/minicard/e-minicard-control.c,Christopher James Lahey2000-07-181-0/+3
| | | | | | | | | | | | | | | | | | | | | 2000-07-18 Christopher James Lahey <clahey@helixcode.com> * gui/minicard/Makefile.am: Added gui/minicard/e-minicard-control.c, gui/minicard/e-minicard-control.h, gui/minicard/e-minicard-widget.c, and gui/minicard/e-minicard-widget.h. * gui/minicard/e-minicard-control.c, gui/minicard/e-minicard-control.h, gui/minicard/e-minicard-widget.c, gui/minicard/e-minicard-widget.h: Got these to compile. * gui/minicard/e-minicard-control.gnorba, gui/minicard/e-minicard-control.oafinfo: Copied directly from bonobo-clock-control. These aren't done yet. svn path=/trunk/; revision=4211
* duh. don't save the port in the host slot either.Chris Toshok2000-07-151-1/+1
| | | | | | | | | 2000-07-14 Chris Toshok <toshok@helixcode.com> * gui/component/e-ldap-storage.c (ldap_server_foreach): duh. don't save the port in the host slot either. svn path=/trunk/; revision=4172
* Switched the order of compilation of printing and contact-editor.Christopher James Lahey2000-07-141-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-13 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Switched the order of compilation of printing and contact-editor. * contact-editor/Makefile.am: Added printing libraries and a confirm delete dialog glade file. * contact-editor/e-contact-editor.c, contact-editor/e-contact-editor.h: Enabled the delete and print functions as well as providing a confirm delete dialog to the outside world. * gui/component/addressbook.c: Made the delete button on new cards active. * gui/minicard/Makefile.am: Added printing libraries to a number of test programs. * gui/minicard/e-minicard.c: Added print and delete to the right click menu. Made the delete button on the card editor active. * printing/e-contact-print.c, printing/e-contact-print.h: Added a function to print a single card. svn path=/trunk/; revision=4151
* oops. fix typo that was saving the port in the rootdn spot.Chris Toshok2000-07-131-7/+57
| | | | | | | | | | | | | | 2000-07-12 Chris Toshok <toshok@helixcode.com> * gui/component/e-ldap-storage.c (ldap_server_foreach): oops. fix typo that was saving the port in the rootdn spot. (save_ldap_data): make this a bit safer - writing to a new file and renaming it. (load_ldap_data): make this a bit smarter - if parsing the ldapservers.xml file fails and there's a .new file there, rename it. svn path=/trunk/; revision=4131
* From addressbook/ChangeLog:Christopher James Lahey2000-07-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-12 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-backend-file.c: Do case insensitive compares. * addressbook/gui/component/addressbook.c: Make quick search search both name and company name. From camel/ChangeLog: 2000-07-12 Christopher James Lahey <clahey@helixcode.com> * camel-folder-search.c, providers/imap/camel-imap-store.c: Changed from strstrcase to e_strstrcase. * string-utils.c, string-utils.h: Removed strstrcase (in favor of e_strstrcase in e-util/e-util.c.) From e-util/ChangeLog: 2000-07-12 Christopher James Lahey <clahey@helixcode.com> * e-util.c, e-util.h: Added e_strstrcase function. svn path=/trunk/; revision=4127
* Removed an unused functionChristopher James Lahey2000-07-121-7/+0
| | | | | | | | 2000-07-11 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Removed an unused function svn path=/trunk/; revision=4103
* Add the OAF stuff to `EXTRA_DIST'.Ettore Perazzoli2000-07-111-2/+1
| | | | svn path=/trunk/; revision=4080
* add idl file to EXTRA_DISTDan Winship2000-07-111-1/+3
| | | | | | | * gui/component/select-names/Makefile.am (EXTRA_DIST): add idl file to EXTRA_DIST svn path=/trunk/; revision=4069
* Get rid of the ESelectNames test menu entry.Ettore Perazzoli2000-07-111-38/+0
| | | | svn path=/trunk/; revision=4044
* Fix the address entry box for more than one address being specifiedPeter Williams2000-07-101-19/+22
| | | | svn path=/trunk/; revision=4037
* Switched from ETable to ETableScrolled.Christopher James Lahey2000-07-103-15/+14
| | | | | | | | | | | | | | 2000-07-09 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c, gui/component/select-names/e-select-names.c, gui/component/select-names/e-select-names.h: Switched from ETable to ETableScrolled. * addressbook/gui/minicard/e-minicard.c: Don't display mailer or "name or org" fields. svn path=/trunk/; revision=4035
* Added a field that gives the name if it exists and the company nameChristopher James Lahey2000-07-103-10/+27
| | | | | | | | | | | | | | | | | | | 2000-07-09 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h: Added a field that gives the name if it exists and the company name otherwise. * gui/component/e-addressbook-model.c: Formatting changes. * gui/component/select-names/e-select-names-table-model.c: Added stripping of names and display of company name if name doesn't exist. * gui/component/select-names/e-select-names.c: Fixed up the display so that we display both name and email address. svn path=/trunk/; revision=4020
* Fixed a small off by one error that was causing an extra character to getChristopher James Lahey2000-07-091-1/+2
| | | | | | | | | | 2000-07-09 Christopher James Lahey <clahey@helixcode.com> * gui/component/select-names/e-select-names-model.c: Fixed a small off by one error that was causing an extra character to get deleted sometimes. svn path=/trunk/; revision=4016
* Several contacts list bugfixes.Anders Carlsson2000-07-092-14/+15
| | | | svn path=/trunk/; revision=4008
* Removed unused do_nothing_cb function.Christopher James Lahey2000-07-098-36/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-09 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Removed unused do_nothing_cb function. * gui/component/select-names/e-select-names-manager.c, gui/component/select-names/e-select-names-manager.h: Made the OK and Cancel buttons in the ESelectNames dialog we create work properly. * gui/component/select-names/e-select-names-model.c, gui/component/select-names/e-select-names-model.h: Added e_select_names_model_duplicate. * gui/component/select-names/e-select-names-text-model.c: Made the text be set correctly if there's already data in the source when the text model is created. * gui/component/select-names/e-select-names.c, gui/component/select-names/e-select-names.h: Removed handling of the buttons (the user of this dialog will have to handle them.) Added e_select_names_get_source. Fixed some typos. svn path=/trunk/; revision=4007
* Link the toolbar print button to the print callback.Not Zed2000-07-091-1/+1
| | | | | | | | | 2000-07-09 Not Zed <NotZed@HelixCode.com> * gui/component/addressbook.c: Link the toolbar print button to the print callback. svn path=/trunk/; revision=4000
* Hitting OK or Cancel at least closes the dialog now.Christopher James Lahey2000-07-091-0/+1
| | | | | | | | | | 2000-07-08 Christopher James Lahey <clahey@helixcode.com> * gui/component/select-names/e-select-names.c (e_select_names_clicked): Hitting OK or Cancel at least closes the dialog now. svn path=/trunk/; revision=3993
* Set the returned entry to use the ellipsis.Christopher James Lahey2000-07-091-0/+1
| | | | | | | | | | 2000-07-08 Christopher James Lahey <clahey@helixcode.com> * gui/component/select-names/e-select-names-manager.c (e_select_names_manager_create_entry): Set the returned entry to use the ellipsis. svn path=/trunk/; revision=3992
* Include e-select-names-factory.h.Christopher James Lahey2000-07-097-8/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-08 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook-factory.c: Include e-select-names-factory.h. * gui/component/select-names/e-select-names-model.c: Handle a NULL iterator properly in the replace function. * gui/component/select-names/e-select-names-table-model.c: Fill in info properly in the value_at function. * gui/component/select-names/e-select-names-text-model.c: Don't strlen a NULL text object. * gui/component/select-names/e-select-names.c: Close if the person hits ok or cancel (doesn't yet actually undo changes if Cancel is hit.) Handle removing addresses when they're double clicked on. * gui/component/select-names/select-names.glade, gui/component/select-names/select-names.glade.h: Hid some unused fields and changed the text at the top of the dialog. svn path=/trunk/; revision=3989
* Ignore dynamically created source filesJeffrey Stedfast2000-07-091-0/+4
| | | | | | | | | 2000-07-08 Jeffrey Stedfast <fejj@helixcode.com> * gui/component/select-names/.cvsignore: Ignore dynamically created source files svn path=/trunk/; revision=3980
* Added code for initializing the values of the fields in the messageEttore Perazzoli2000-07-081-2/+24
| | | | | | composer. Unfortunately the ESelectNames crashes when you do this... svn path=/trunk/; revision=3975
* Wrap the ESelectNames stuff into a Bonobo interface, so that we canEttore Perazzoli2000-07-0812-11/+597
| | | | | | | call it from the message composer in evolution-mail. The Bonobo interface is physically implemented in evolution-addressbook. svn path=/trunk/; revision=3972
* Added an "editable" argument.Christopher James Lahey2000-07-083-12/+29
| | | | | | | | | | | | 2000-07-08 Christopher James Lahey <clahey@helixcode.com> * gui/component/e-addressbook-model.c, gui/component/e-addressbook-model.h: Added an "editable" argument. * gui/component/select-names/e-select-names.c: Set our EAddressModel to not be editable. svn path=/trunk/; revision=3969
* Changed to line mode.Christopher James Lahey2000-07-081-0/+9
| | | | | | | | | 2000-07-07 Christopher James Lahey <clahey@helixcode.com> * gui/component/select-names/e-select-names.c: Changed to line mode. svn path=/trunk/; revision=3968
* Implemented the get_cards function.Christopher James Lahey2000-07-083-3/+75
| | | | | | | | | | | | | 2000-07-07 Christopher James Lahey <clahey@helixcode.com> * gui/component/select-names/e-select-names-manager.c, gui/component/select-names/e-select-names-model.c: Implemented the get_cards function. * gui/component/select-names/e-select-names.c: Implemented adding cards through the interface. svn path=/trunk/; revision=3966
* Make the entry widgets we create editable.Christopher James Lahey2000-07-085-12/+45
| | | | | | | | | | | | | | | | | | | | | | | 2000-07-07 Christopher James Lahey <clahey@helixcode.com> * gui/component/select-names/e-select-names-manager.c: Make the entry widgets we create editable. * gui/component/select-names/e-select-names-model.c: Use e_strsplit instead of g_strsplit. Fixed an off by 1 error. * gui/component/select-names/e-select-names-table-model.c: When the model changes, send a model changed signal. * gui/component/select-names/e-select-names-text-model.c: Made changing this work correctly if it's empty. Made change signals propagate properly. Is a bit better about freeing iterators when done. * gui/component/select-names/e-select-names.c: Made the finished lists be in order instead of being sorted. svn path=/trunk/; revision=3955
* Since ELDAPServer->port is a char *, allocate a string with the number 389Christopher James Lahey2000-07-0810-25/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-07 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c (new_server_cb): Since ELDAPServer->port is a char *, allocate a string with the number 389 contained. * gui/component/addressbook.c: Make the select names test test the new code instead of the old way of getting to an ESelectNames dialog. * gui/component/select-names/e-select-names-manager.c: Coded storing the model for each section, creating an entry and returning it, and for activating the dialog. Wrote a bit of the get_cards code, but not all of it. * gui/component/select-names/e-select-names-model.c, gui/component/select-names/e-select-names-model.h: Coded all of the code needed to make ESelectNamesTextModel work (it doesn't yet, but all the code should be there.) Removed E_SELECT_NAMES_MODEL_DATA_TYPE_SEPARATION_MATERIAL. * gui/component/select-names/e-select-names-table-model.c, gui/component/select-names/e-select-names-text-model.c: Changed these to compensate for removal of E_SELECT_NAMES_MODEL_DATA_TYPE_SEPARATION_MATERIAL. * gui/component/select-names/e-select-names-table-model.h, gui/component/select-names/e-select-names-text-model.h: Fixed some silly typos. * gui/component/select-names/e-select-names.c, gui/component/select-names/e-select-names.h: Added a parameter to add_section that lets you specify the source ESelectNamesModel. svn path=/trunk/; revision=3948
* add scope to ELDAPServer, and make port a string.Chris Toshok2000-07-073-20/+56
| | | | | | | | | | | | | | | | | | | | | 2000-07-06 Chris Toshok <toshok@helixcode.com> * gui/component/e-ldap-storage.h: add scope to ELDAPServer, and make port a string. * gui/component/e-ldap-storage.c (load_ldap_data): don't load a uri, load all the bits and pieces and build up the uri when creating the folder, according to the openldap url format. (ldap_server_foreach): store out each of the individual uri pieces. (e_ldap_storage_remove_server): free the new fields. (get_string_value): if the text is empty, return the empty string instead of NULL. * gui/component/e-ldap-server-dialog.c (extract_server_info): port is a string now. (fill_in_server_info): port is a string now. svn path=/trunk/; revision=3942
* Changed "FIXME: Save and Close" to "Save and Close". Removed some toolbarChristopher James Lahey2000-07-065-23/+355
| | | | | | | | | | | | | | | | | | | | | | 2000-07-06 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor.c: Changed "FIXME: Save and Close" to "Save and Close". Removed some toolbar items that will never be used. * gui/component/select-names/e-select-names-model.c, gui/component/select-names/e-select-names-model.h: Added functions to allow you to modify the model (not implemented yet.) * gui/component/select-names/e-select-names-table-model.c, gui/component/select-names/e-select-names-table-model.h: Finished this. Doesn't support changing the model at all. * gui/component/select-names/e-select-names-text-model.c: Finished this. Changing the model by typing is done, but doesn't work since none of the functions in the base model are implemented. svn path=/trunk/; revision=3918
* call e_ldap_storage_add_server call.Chris Toshok2000-07-067-94/+191
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-05 Chris Toshok <toshok@helixcode.com> * gui/component/addressbook.c (new_server_cb): call e_ldap_storage_add_server call. * gui/component/ldap-server-dialog.glade: add name row. * gui/component/e-ldap-server-dialog.h: remove the ELDAPServer type. * gui/component/e-ldap-server-dialog.c (extract_server_info): add support for the name-entry. * gui/component/e-ldap-server-dialog.c (fill_in_server_info): same. * gui/component/e-ldap-storage.h: add ELDAPServer type, and add prototypes for e_ldap_storage_add_server and e_ldap_storage_remove_server. * gui/component/e-ldap-storage.c (e_ldap_storage_add_server): new function, add it to our hash table, add a shell folder, and save out the metadata. (ldap_server_foreach): add the ldap server info under a "contactserver" node. (setup_ldap_storage): create our hashtable. svn path=/trunk/; revision=3895
* remove hack to read "uri" file from local directory.Chris Toshok2000-07-065-9/+249
| | | | | | | | | | | | | | | | | | | | 2000-07-05 Chris Toshok <toshok@helixcode.com> * gui/component/addressbook.c (set_prop): remove hack to read "uri" file from local directory. * gui/component/Makefile.am (evolution_addressbook_SOURCES): add e-ldap-storage.{c,h} * gui/component/addressbook-component.c (owner_set_cb): call setup_ldap_storage. * gui/component/e-ldap-storage.c (setup_ldap_storage): Register the LDAP storage and load the .xml file. (load_ldap_data): function to load our xml file. (save_ldap_data): function to save our xml file. svn path=/trunk/; revision=3890
* Fixed more compile errors.Christopher James Lahey2000-07-043-3/+4
| | | | | | | | | | | 2000-07-03 Christopher James Lahey <clahey@helixcode.com> * gui/component/select-names/e-select-names-manager.c, gui/component/select-names/e-select-names-text-model.c, gui/component/select-names/e-select-names.c: Fixed more compile errors. svn path=/trunk/; revision=3878
* Fixed compile error.Christopher James Lahey2000-07-041-2/+0
| | | | | | | | 2000-07-03 Christopher James Lahey <clahey@helixcode.com> * gui/component/select-names/Makefile.am: Fixed compile error. svn path=/trunk/; revision=3877
* Removed e-card-iterator.c, e-card-iterator.h, e-card-list-iterator.c,Christopher James Lahey2000-07-0417-51/+995
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-03 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am: Removed e-card-iterator.c, e-card-iterator.h, e-card-list-iterator.c, e-card-list-iterator.h, e-card-list.c, e-card-list.h. * backend/ebook/e-card-iterator.c, backend/ebook/e-card-iterator.h, backend/ebook/e-card-list-iterator.c, backend/ebook/e-card-list-iterator.h, backend/ebook/e-card-list.c, backend/ebook/e-card-list.h: Removed in favor or versions without the -card in the e-util directory since these classes are not specific to cards at all. * backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h, backend/ebook/e-card.c, backend/ebook/e-card.h, backend/ebook/load-pine-addressbook.c, backend/ebook/test-card.c, backend/pas/pas-backend-file.c: Changed the references to e-card-list.c and friends to e-list.c and friends. * contact-editor/e-contact-editor.c: Added #include <e-contact-save-as.h> to fix a warning. * gui/component/Makefile.am: Moved a number of classes associated with the select-names object to the new select-names directory. * gui/component/addressbook.c: Changed the reference to e-select-names.h. * gui/component/e-select-names.c, gui/component/e-select-names.h, gui/component/select-names.glade, gui/component/select-names.glade.h: Moved these files into select-names/. * gui/component/select-names/.cvsignore, gui/component/select-names/Makefile.am, gui/component/select-names/e-select-names-manager.c, gui/component/select-names/e-select-names-manager.h, gui/component/select-names/e-select-names-model.c, gui/component/select-names/e-select-names-model.h, gui/component/select-names/e-select-names-table-model.c, gui/component/select-names/e-select-names-table-model.h, gui/component/select-names/e-select-names-text-model.c, gui/component/select-names/e-select-names-text-model.h, gui/component/select-names/e-select-names.c, gui/component/select-names/e-select-names.h, gui/component/select-names/recipient.glade, gui/component/select-names/select-names.glade, gui/component/select-names/select-names.glade.h: New files for select names dialog (e-select-names.c, e-select-names.h, select-names.glade, select-names.glade.h and recipient.glade moved from gui/component/.) svn path=/trunk/; revision=3876
* EvolutionShellClient.Ettore Perazzoli2000-06-301-1/+1
| | | | svn path=/trunk/; revision=3820
* New select names manager interface (Not complete.)Christopher James Lahey2000-06-292-0/+220
| | | | | | | | | | | 2000-06-28 Christopher James Lahey <clahey@helixcode.com> * gui/component/select-names/, gui/component/select-names/e-select-names-manager.c, gui/component/select-names/e-select-names-manager.h: New select names manager interface (Not complete.) svn path=/trunk/; revision=3785
* Calculate height including if clip_height is set to -1.Christopher James Lahey2000-06-274-2/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c: Calculate height including if clip_height is set to -1. From addressbook/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor-categories.c, addressbook/gui/component/e-cardlist-model.c: Added value_to_string handlers. * demo/addressbook-widget.c, demo/demo.c: Removed usage of "x" and "y" arguments. * addressbook/gui/component/addressbook.c: Activated Click To Add and set the click to add message. * addressbook/gui/component/e-addressbook-model.c: Added value_to_string and append_row handlers. * addressbook/gui/component/e-select-names.c: Added a column. From calendar/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * gui/calendar-model.c: Added an #ifdefed value_to_string handler assignment. From camel/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * providers/mbox/camel-mbox-summary.c: Added debugging information. From composer/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-msg-composer-select-file.h for make distcheck. From e-util/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-canvas-vbox.c and e-canvas-vbox.h. * e-canvas-vbox.c, e-canvas-vbox.h: New canvas object to act like a vbox using the reflow system. From mail/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Added a value_to_string handler. From shell/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * glade/Makefile.am: Added EXTRA_DIST for make distcheck. From widgets/e-table/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-table-click-to-add.c, e-table-click-to-add.h, e-table-one.c, and e-table-one.h. * e-table-click-to-add.c, e-table-click-to-add.h: A new canvas item that represents a single row that sometimes exists. It's for adding new rows to your table. * e-table-example-1.c, e-table-example-2.c, e-table-size-test.c, test-check.c, test-cols.c, test-table.c: Added value_to_string handlers. * e-table-group-container.c: Use value_to_string to make grouping not crash for non string columns. Made some changes to work properly in an ECanvasVbox. * e-table-group-leaf.c, e-table-item.c: Made some changes to work properly in an ECanvasVbox. * e-table-model.c, e-table-model.h: Added append_row and value_to_string methods. * e-table-one.c, e-table-one.h: Given a source ETableModel, this provides a single row model that uses the initialize_value, duplicate_value, free_value, and value_is_empty methods of the original source to implement set_value and value_at (and proxies most of the other methods.) This is used for ETableClickToAdd. * e-table-simple.c, e-table-simple.h: Added append_row and value_to_string handlers. append_row uses a GtkArg instead of a parameter to e_table_simple_new. * e-table-subset.c: Added append_row and value_to_string handlers. * e-table.c, e-table.h: Use a vbox containing an ETableClickToAdd and an ETableItem instead of an ETableItem directly. Only show the ETableClickToAdd if the top level of the xml SPEC has the attribute click-to-add set to some non-zero integer. (click-to-add="1"). Add a "click_to_add_message" argument. * e-tree-model.c: Add a commented out value_to_string handler. From widgets/meeting-time-sel/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added the include path to top_srcdir. svn path=/trunk/; revision=3744
* Build a `libeshell.a' library in `shell/' so that we don't need toEttore Perazzoli2000-06-131-9/+1
| | | | | | | link to the shell's object files directly from the components anymore. (That was really gross.) svn path=/trunk/; revision=3546
* Removed the ETableModel thaw handler. Likewise.Federico Mena Quintero2000-06-132-22/+4
| | | | | | | | | | 2000-06-12 Federico Mena Quintero <federico@helixcode.com> * contact-editor/e-contact-editor-categories.c: Removed the ETableModel thaw handler. * gui/component/e-cardlist-model.c: Likewise. svn path=/trunk/; revision=3541
* Fixed the widget reparenting.Christopher James Lahey2000-06-111-2/+4
| | | | | | | | 2000-06-11 Christopher James Lahey <clahey@helixcode.com> * gui/component/e-select-names.c: Fixed the widget reparenting. svn path=/trunk/; revision=3521
* Added glade files.Christopher James Lahey2000-06-115-11/+38
| | | | | | | | | | | | | | | | | | | | 2000-06-11 Christopher James Lahey <clahey@helixcode.com> * gui/component/Makefile.am: Added glade files. * gui/component/addressbook.c: Added a test of the Select Names functionality. * gui/component/e-addressbook-model.c: Made this class_init function a bit cleaner. * gui/component/e-select-names.c: Tested this and fixed some obvious errors. * gui/component/select-names.glade: The main window shouldn't be visible by default. svn path=/trunk/; revision=3518
* Make ETable use EScrollFrame instead of GtkScrolledWindow.Ettore Perazzoli2000-06-111-0/+1
| | | | svn path=/trunk/; revision=3515
* Renamed a bunch of functions for better readability.Christopher James Lahey2000-06-114-53/+108
| | | | | | | | | | | | | | | 2000-06-10 Christopher James Lahey <clahey@helixcode.com> * gui/component/e-cardlist-model.c: Renamed a bunch of functions for better readability. * gui/component/e-select-names.c, gui/component/e-select-names.h: This should be a working dialog now. * gui/component/select-names.glade: Changed the name & creation function of the ETable here. svn path=/trunk/; revision=3514
* Glade files for Select Names dialog.Christopher James Lahey2000-06-112-0/+254
| | | | | | | | | | 2000-06-10 Christopher James Lahey <clahey@helixcode.com> * gui/component/select-names.glade, gui/component/select-names.glade.h: Glade files for Select Names dialog. svn path=/trunk/; revision=3513
* Do e_card_simple_sync and extract_info more often.Christopher James Lahey2000-06-111-5/+102
| | | | | | | | | | | 2000-06-10 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor.c: Do e_card_simple_sync and extract_info more often. * gui/component/addressbook.c: Added table printing code. svn path=/trunk/; revision=3512
* Initial support for creating/removing folders. This implies some newEttore Perazzoli2000-06-101-3/+10
| | | | | | | | IDL methods and new functions to implement on the component side. I have also added a simple folder creation dialog in the shell. It's quite unfinished and untested. svn path=/trunk/; revision=3491
* Now this derives from GtkObject. It follows the same strategy as theFederico Mena Quintero2000-06-091-68/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-08 Federico Mena Quintero <federico@helixcode.com> * contact-editor/e-contact-editor.h (EContactEditor): Now this derives from GtkObject. It follows the same strategy as the EventEditor in the calendar. (EContactEditor): Added an is_new_card field so that we can know whether to add() or commit() the card. * contact-editor/e-contact-editor.c (e_contact_editor_get_type): Derive from GtkObject. (e_contact_editor_class_init): Likewise. (e_contact_editor_class_init): Added an "is_new_card" argument. (e_contact_editor_set_arg): Handle ARG_IS_NEW_CARD. (e_contact_editor_get_arg): Likewise. (e_contact_editor_new): Take in an is_new_arg argument and set it on the object. (e_contact_editor_init): Load the app widget into the app field of the EContactEditor structure. Create its UIHandler as well. (e_contact_editor_class_init): New "add_card", "commit_card", and "editor_closed" signals. * contact-editor/test-editor.c (main): Modified for the new API. (editor_closed_cb): Tweaked for the new API. Since this test program does not use Bonobo, it doesn't work, though. * gui/component/addressbook.c (new_contact_cb): Use the new contact editor API. (table_double_click): Ditto. * gui/minicard/e-minicard-view.c (e_minicard_view_event): Use the new contact editor API. * gui/minicard/e-minicard.c (e_minicard_event): Use the new contact editor API. svn path=/trunk/; revision=3479
* Bind right click on the ETable to "Save to VCard."Christopher James Lahey2000-06-061-0/+21
| | | | | | | | | 2000-06-06 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Bind right click on the ETable to "Save to VCard." svn path=/trunk/; revision=3438
* Made evolution-addressbook shut down when the shell is done with it.Christopher James Lahey2000-06-031-2/+19
| | | | | | | | | 2000-06-02 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook-component.c: Made evolution-addressbook shut down when the shell is done with it. svn path=/trunk/; revision=3398
* return TRUE if opening a contact editor so that we don't get a "newChristopher James Lahey2000-06-026-24/+403
| | | | | | | | | 2000-06-01 Christopher James Lahey <clahey@helixcode.com> * gui/minicard/e-minicard.c: return TRUE if opening a contact editor so that we don't get a "new dialog" contact editor. svn path=/trunk/; revision=3342
* Use stock Cancel buttons in the addressbook dialogs.Ettore Perazzoli2000-06-011-3/+5
| | | | svn path=/trunk/; revision=3333
* Make the toolbar look like a standard GNOME toolbar my putting it intoEttore Perazzoli2000-06-011-2/+9
| | | | | | | | a GtkFrame. Also, make sure it cannot be dragged to the left or right of the dock, because with the current non-BonoboUIHandler system we use it causes bad bad things to happen. svn path=/trunk/; revision=3321
* New files for card list.Christopher James Lahey2000-05-312-0/+268
| | | | | | | | | 2000-05-30 Christopher James Lahey <clahey@helixcode.com> * gui/component/e-cardlist-model.c, gui/component/e-cardlist-model.h: New files for card list. svn path=/trunk/; revision=3309
* Made the alphabet buttons not focusable.Christopher James Lahey2000-05-311-27/+1
| | | | | | | | | | | | | | 2000-05-30 Christopher James Lahey <clahey@helixcode.com> * gui/component/alphabet.glade: Made the alphabet buttons not focusable. * gui/minicard/e-minicard-view.c: Made the "123" button work. * gui/minicard/e-reflow-sorted.c: Made all buttons past the last letter available work. svn path=/trunk/; revision=3285
* Added a bit of space around the alphabet bar.Christopher James Lahey2000-05-311-2/+3
| | | | | | | | | 2000-05-30 Christopher James Lahey <clahey@helixcode.com> * gui/component/alphabet.glade: Added a bit of space around the alphabet bar. svn path=/trunk/; revision=3284
* Added alphabet.glade and alphabet.glade.h.Christopher James Lahey2000-05-314-11/+499
| | | | | | | | | | | | | | | | 2000-05-30 Christopher James Lahey <clahey@helixcode.com> * gui/component/Makefile.am: Added alphabet.glade and alphabet.glade.h. * gui/component/addressbook.c, gui/component/alphabet.glade, gui/component/alphabet.glade.h: Added an alphabet bar. * gui/minicard/e-minicard-view.c, gui/minicard/e-minicard-view.h, gui/minicard/e-reflow-sorted.c, gui/minicard/e-reflow-sorted.h: Added the ability to just to a particular spot in the reflow. svn path=/trunk/; revision=3283
* Remove storage test code that I committed by accident.Ettore Perazzoli2000-05-282-5/+7
| | | | svn path=/trunk/; revision=3243
* Added double click to open contact editor.Christopher James Lahey2000-05-283-0/+79
| | | | | | | | | | | 2000-05-25 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c, gui/component/e-addressbook-model.c, gui/component/e-addressbook-model.h: Added double click to open contact editor. svn path=/trunk/; revision=3239
* Fix 'make dist' errors.Ross Golder2000-05-281-1/+1
| | | | svn path=/trunk/; revision=3231
* Removed some columns.Christopher James Lahey2000-05-261-4/+0
| | | | | | | | 2000-05-25 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Removed some columns. svn path=/trunk/; revision=3204
* Reorganized the shell to allow dynamic registration of storages andEttore Perazzoli2000-05-2510-4/+249
| | | | | | | folder types, and changed all the components to work with the new setup. svn path=/trunk/; revision=3199
* Switched printing and gui.Christopher James Lahey2000-05-242-3/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-23 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Switched printing and gui. * backend/ebook/e-book-view-listener.h, backend/ebook/e-book-view.h, backend/ebook/e-book.h, backend/ebook/e-card-cursor.h, backend/ebook/e-card-list.h, backend/ebook/e-card-simple.h, backend/ebook/e-card.h: Fixed the #defines to work elsewhere in evolution. * gui/component/Makefile.am: Added linking to libecontactprint. * gui/component/addressbook.c: Added a menu item to print the current query. * printing/Makefile.am: Add linking to libebook and requirements. Add installation of ecps files. * printing/e-contact-print.c, printing/e-contact-print.h: Changed this to use real data from an EBook. * printing/test-print.c: Made this pass NULL, NULL to e_contact_print_dialog_new so that it will compile. svn path=/trunk/; revision=3188
* Added initialize_value and value_is_empty callbacks.Christopher James Lahey2000-05-201-0/+14
| | | | | | | | | | 2000-05-19 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor-categories.c, gui/component/e-addressbook-model.c: Added initialize_value and value_is_empty callbacks. svn path=/trunk/; revision=3139
* Fixed some memory leaks.Christopher James Lahey2000-05-161-2/+6
| | | | | | | | | | | | | 2000-05-16 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card-simple.c, backend/pas/pas-backend-file.c, contact-editor/e-contact-editor.c, ename/e-name-western.c, gui/component/addressbook.c, gui/minicard/e-minicard-view.c: Fixed some memory leaks. * backend/ebook/e-card.c: Rearranged some code. svn path=/trunk/; revision=3085
* From widgets/e-table/ChangeLogChristopher James Lahey2000-05-142-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-14 Christopher James Lahey <clahey@helixcode.com> * Implemented the feature where the ETable columns automatically fill the given space. * e-cell-text.c, e-cell-text.h: Moved #include e-text-event-processor.h from the .h to the .c. * e-table-col.c, e-table-col.h: Added an expansion variable, and made it so that width isn't set by the programmer but instead by the e-table-header. * e-table-example-1.c, e-table-example-2.c, e-table-size-test.c, test-check.c, test-cols.c, test-table.c: Fixed to handle new ETable column resizing. * e-table-group-container.c, e-table-group-container.h, e-table-group-leaf.c, e-table-group-leaf.h, e-table-group.c, e-table-group.h, e-table-item.c, e-table-item.h: Fixed these to do a proper canvas reflow/update loop. Changed them to take a minimum width and return a width and a height. * e-table-header-item.c, e-table-header-item.h: Made this so that it depends on e-table-header.c for deciding the actual size of columns during resize (it was making incorrect decisions on its own.) * e-table-header.c, e-table-header.h: Changed this to make sure that the sum of the widths of the columns was always as close as possible to the width of the window. This is done by taking a full width and having each of the columns have an "expansion" field. This field is what makes each column have approximately the same portion of its part of the screen that it used to. * e-table.c: Changed this to set the width on the ETableHeader as well as set the proper minimum width on the ETableGroup and get the width and height it reports. From addressbook/ChangeLog 2000-05-14 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am: Added libeutil for e-card's support for categories. * backend/ebook/e-card-list.c, backend/ebook/e-card-list.h: Added a function to get the length. * backend/ebook/e-card.c, backend/ebook/e-card.h: Added categories support (accessible either as "categories" or "category_list".) * contact-editor/Makefile.am: Added e-table and all of the categories files. * contact-editor/categories.glade, contact-editor/categories-strings.h, contact-editor/e-contact-editor-categories.c, contact-editor/e-contact-editor-categories.h: * contact-editor/contact-editor.glade, contact-editor/e-contact-editor-strings.h: Rearranged this dialog. * contact-editor/e-contact-editor.c: Rearranged dialog a bit. Added opening of categories dialog. * gui/component/Makefile.am: Rearranged libraries so that libetable would be available for the contact editor categories dialog. * gui/component/addressbook.c: Fix for new ETable resizing. Make contact editor dialog resizable. * gui/minicard/Makefile.am: Added libetable contact editor categories dialog. * gui/minicard/e-minicard.c: Make contact editor dialog resizable. From mail/ChangeLog 2000-05-14 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Updated to work with new ETable resizing. svn path=/trunk/; revision=3027
* Saved translatable strings. Added files to POTFILES.in.Valek Frob2000-05-132-34/+57
| | | | svn path=/trunk/; revision=3009
* make the toolbars detachable now that we require a new enough versionDan Winship2000-05-121-1/+0
| | | | | | of gnome-libs to avoid the bonobo-toolbar-detaching bug svn path=/trunk/; revision=2997
* Make the table view be sorted by name initially.Christopher James Lahey2000-05-111-1/+1
| | | | | | | | | 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Make the table view be sorted by name initially. svn path=/trunk/; revision=2981
* Send a proper response when you can't find the ldap URI.Christopher James Lahey2000-05-111-10/+12
| | | | | | | | | | | | 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-book-factory.c: Send a proper response when you can't find the ldap URI. * gui/component/addressbook.c: Cleaned up the open error dialog a bit. svn path=/trunk/; revision=2975
* Added a dialog for when you can't open an addressbook.Christopher James Lahey2000-05-111-0/+30
| | | | | | | | | 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Added a dialog for when you can't open an addressbook. svn path=/trunk/; revision=2972
* Removed dist-hook section.Christopher James Lahey2000-05-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed dist-hook section. * configure.in: Set the version number. Added a check for gnome window icons. Removed a bunch of unused Makefiles. * tools/Makefile.am: Created a proper EXTRA_DIST section. * widgets/e-text/Makefile.am: Added e-text-event-processor-types.h. From addressbook/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am: Added e-book-types.h, e-card-pairs.h, e-card-types.h. * backend/pas/Makefile.am: Added pas-backend-ldap.h. * contact-editor/Makefile.am: Added a proper EXTRA_DIST section. Removed some old defines. * ename/Makefile.am: Added e-name-western-tables.h. * gui/component/Makefile.am: Added e-ldap-server-dialog.h. Added a proper EXTRA_DIST section. * gui/minicard/e-reflow.c: Added a missed cast. * printing/Makefile.am: Added a proper EXTRA_DIST section. From calendar/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added main.h. Combined the two EXTRA_DIST sections. From camel/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added camel-types.h, camel-folder-pt-proxy.h, and camel-thread-proxy.h. From default_user/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am, local/Calendar/Makefile.am, local/Contacts/Makefile.am, local/Directories/Makefile.am, local/Directories/subfolders/Bigfoot/Makefile.am, local/Directories/subfolders/Netcenter/Makefile.am, local/Drafts/Makefile.am, local/Inbox/Makefile.am, local/Outbox/Makefile.am, local/Trash/Makefile.am: Created a proper EXTRA_DIST section. From filter/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * filter-arg.h: Changed tree.h to gnome-xml/tree.h. * Makefile.am: Added filter-arg-types.h, filter-arg.h, filter-xml.h, filter-format.h, filter-druid.h, filter-editor.h. From libical/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * configure.in: Reorder Makefiles so that it will build. From mail/ChangeLog: 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed folder-browser-factory.h since it doesn't exist. Added mail-display.h, mail-types.h, pixmaps.h. From widgets/e-table/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-table-col-dnd.h and table-test.h. From wombat/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added an include for the pcs directory. svn path=/trunk/; revision=2966
* Destroy the view object when leaving the minicard view.Christopher James Lahey2000-05-101-1/+4
| | | | | | | | | 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Destroy the view object when leaving the minicard view. svn path=/trunk/; revision=2953
* Rearranged order of things getting destroyed.Christopher James Lahey2000-05-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * gui/component/e-addressbook-model.c: Rearranged order of things getting destroyed. * gui/minicard/e-minicard-view.c: Rearranged order of things getting destroyed. Don't set attributes of non-null or destroyed items. Destroy parent object when destroyed. Maintain ref_count of items in list. * gui/minicard/e-minicard.c: Don't set attributes of non-null items. * gui/minicard/e-reflow-sorted.c: Maintain ref_count of items in list. * gui/minicard/e-reflow.c: Maintain ref_count of items in list. Destroy parent object when destroyed. svn path=/trunk/; revision=2935
* Fixed the string duplication problem. Fixed the business/home addressChristopher James Lahey2000-05-091-1/+1
| | | | | | | | | | | | 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card-simple.c: Fixed the string duplication problem. Fixed the business/home address string mix up. * gui/component/addressbook.c: Made the minicard view the default view. svn path=/trunk/; revision=2932
* make sure to free the return value of e_card_simple_get.Chris Toshok2000-05-081-2/+8
| | | | | | | | | | | | * gui/minicard/e-minicard.c (remodel): make sure to free the return value of e_card_simple_get. * gui/component/addressbook.c (teardown_table_view): destroy the ECardSimple here, plug memory leak. (create_table_view): use view->simple so we can destroy the ECardSimple later on. svn path=/trunk/; revision=2899
* (addressbook_factory): create the ebook once.Chris Toshok2000-05-081-3/+4
| | | | svn path=/trunk/; revision=2887
* don't create a new ebook. instead, unload the current uri (if there isChris Toshok2000-05-081-10/+6
| | | | | | | | * gui/component/addressbook.c (set_prop): don't create a new ebook. instead, unload the current uri (if there is one) and load the new one. svn path=/trunk/; revision=2885
* Replaced some model_changed calls with row_inserted calls.Christopher James Lahey2000-05-081-2/+2
| | | | | | | | | 2000-05-07 Christopher James Lahey <clahey@helixcode.com> * gui/component/e-addressbook-model.c: Replaced some model_changed calls with row_inserted calls. svn path=/trunk/; revision=2881
* Removed some code that was notifying too many clients at the wrong times.Christopher James Lahey2000-05-081-30/+10
| | | | | | | | | | | | | | 2000-05-07 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-backend-file.c, backend/pas/pas-backend-ldap.c: Removed some code that was notifying too many clients at the wrong times. * gui/component/addressbook.c: Set view->book. Unreffed view->book. Unreffed the model instead of destroying it. Removed the /tmp/test.db stuff. svn path=/trunk/; revision=2876
* Make the addressbook create the correct file uri. Added a default query.Christopher James Lahey2000-05-072-4/+15
| | | | | | | | | | | | | | 2000-05-07 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Make the addressbook create the correct file uri. Added a default query. Initialize view->model and view->view to NULL. * gui/component/e-addressbook-model.c, gui/minicard/e-minicard-view.c: Only call get_book_view if both book and query and non-null. svn path=/trunk/; revision=2861
* remove the separator and toggle view items as well. (toggle_view_as_cb):Chris Toshok2000-05-071-74/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook.c (control_deactivate): remove the separator and toggle view items as well. (toggle_view_as_cb): callback for the "/View/Toggle View" menu item. (get_query): getter for the query string that takes into account the two view types. (set_query): setter for the query string that takes into account the two view types. (set_book): setter for the EBook type - not really a setter, since the book is kept in the AddressbookView, but this method actually sets the "book" property on the current view. (find_contact_cb): make use of get/set_query (search_entry_activated): make use of set_query. (control_activate): add a menu separator and an item to toggle between view types. (book_open_cb): make use of set_book. (ebook_create): no longer needs to return the EBook, since we set the book field in our view. (teardown_minicard_view): destructor function for the minicard specific ui. (create_minicard_view): constructor function for the minicard specific ui. (teardown_table_view): destructor function for the e-table specific ui. (create_table_view): constructor function for the e-table specific ui. (change_view_type): destroy the old and create the new view ui, change the label of the Toggle View menu item, and reset the book and query on the new view type. (addressbook_factory): create an all-encompassing vbox that the view uses to create the bonobo control, which contains 1 widget per ui specific view (the e-table in the table case, and another vbox in the minicard case.) use change_view_type to create the initial view. svn path=/trunk/; revision=2855
* Made a NULL callback just mean to not call back.Christopher James Lahey2000-05-072-0/+399
| | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-07 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-book.c: Made a NULL callback just mean to not call back. * backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h: Reordered fields. Added a get_const function to get a constant string that persists until the simple is destroyed. * gui/component/Makefile.am: Added e-addressbook-model.c and e-addressbook-model.h and all of the libraries and includes that they are dependent on. * gui/component/addressbook-factory.c: Initialize e cursors. * gui/component/addressbook.c: Added inactive code to display an ETable view of the addressbook. * gui/component/e-addressbook-model.c, gui/component/e-addressbook-model.h: New files to implement an ETable model with a EBook back end. svn path=/trunk/; revision=2845
* Made a NULL callback just mean to not call back.Christopher James Lahey2000-05-073-41/+163
| | | | | | | | | | | | | | | | | | | | | | 2000-05-07 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-book.c: Made a NULL callback just mean to not call back. * backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h: Reordered fields. Added a get_const function to get a constant string that persists until the simple is destroyed. * gui/component/Makefile.am: Added e-addressbook-model.c and e-addressbook-model.h and all of the libraries and includes that they are dependent on. * gui/component/addressbook-factory.c: Initialize e cursors. * gui/component/addressbook.c: Added inactive code to display an ETable view of the addressbook. svn path=/trunk/; revision=2844