aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
Commit message (Collapse)AuthorAgeFilesLines
* strlen -> g_utf8_strlen. (e_select_names_text_model_insert): same.Chris Toshok2003-05-143-31/+94
| | | | | | | | | | | | | | | | | | | | | | | 2003-05-13 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_set_separator): strlen -> g_utf8_strlen. (e_select_names_text_model_insert): same. (e_select_names_text_model_insert_length): big change, make this work with multibyte utf8. (e_select_names_text_model_delete): same. this could possibly use a tighter loop + a memmove, but this works. * gui/component/select-names/e-select-names-model.c (e_select_names_model_get_textification): make sure our truncation to MAX_LENGTH characters uses utf8 characters, not bytes. (e_select_names_model_name_pos): track e-text-model change. pos/length are now in utf8 character terms, so use g_utf8_strlen instead of strlen. (e_select_names_model_text_pos): same. svn path=/trunk/; revision=21165
* rename addressbook_destroy to this, and guard against multiple calls.Chris Toshok2003-05-142-6/+18
| | | | | | | | | | | | | 2003-05-13 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-table-adapter.c (addressbook_dispose): rename addressbook_destroy to this, and guard against multiple calls. (e_addressbook_table_adapter_class_init): GtkObject -> GObject, and destroy -> dispose. (e_addressbook_table_adapter_init): GtkObject -> GObject. svn path=/trunk/; revision=21157
* terminate g_build_filename with NULL.Sean Gao2003-05-122-1/+7
| | | | | | | | | | 2003-05-12 Sean Gao <sean.gao@sun.com> * gui/contact-list-editor/e-contact-list-editor.c (e_contact_list_editor_init): terminate g_build_filename with NULL. svn path=/trunk/; revision=21151
* [ fixes bug #42048 ] button => response. (e_addressbook_view_print):Chris Toshok2003-05-122-3/+10
| | | | | | | | | | | 2003-05-11 Chris Toshok <toshok@ximian.com> [ fixes bug #42048 ] * gui/widgets/e-addressbook-view.c (e_contact_print_button): button => response. (e_addressbook_view_print): connect to "response", not "clicked". svn path=/trunk/; revision=21145
* [ fixes bug #41245 ] fix spacing/border widths as per HIG.Chris Toshok2003-05-123-151/+164
| | | | | | | | | | | | | | 2003-05-11 Chris Toshok <toshok@ximian.com> [ fixes bug #41245 ] * gui/component/select-names/select-names.glade: fix spacing/border widths as per HIG. * gui/component/select-names/e-select-names.c (e_select_names_init): set the border width/spacing on widgets we create here. svn path=/trunk/; revision=21144
* Use glib macro to case from pointer to int.Jeremy Katz2003-05-094-2/+14
| | | | | | | | | | | | | | | 2003-05-09 Jeremy Katz <katzj@redhat.com> * printing/e-contact-print.c (e_contact_print_response): Use glib macro to case from pointer to int. * printing/e-contact-print-envelope.c: Add missing #include. * gui/component/select-names/e-select-names-completion.c (e_select_names_completion_start_query): Use E_SELECT_NAMES_COMPLETION to avoid warning svn path=/trunk/; revision=21138
* i2003-05-06 Chris Toshok <toshok@ximian.com>Chris Toshok2003-05-072-14/+13
| | | | | | | | | | | | | [ really commit this, fixes bug #41910 ] * gui/contact-list-editor/e-contact-list-model.c (e_contact_list_model_remove_row): change from model_changed to row_deleted here. model_changed causes the table to free its ETableSelection, which is what we iterate over when deleting contacts. (e_contact_list_model_add_destination): no need to be calling model_changed here either. svn path=/trunk/; revision=21117
* [ fixes bug #41255 ] use stock buttons for Add/Remove.Chris Toshok2003-04-302-4/+10
| | | | | | | | | | 2003-04-29 Chris Toshok <toshok@ximian.com> [ fixes bug #41255 ] * gui/contact-list-editor/contact-list-editor.glade: use stock buttons for Add/Remove. svn path=/trunk/; revision=21030
* [ fixes bug #41144 ] use stock buttons for the Add/Delete buttons. SwitchChris Toshok2003-04-302-6/+67
| | | | | | | | | | | | 2003-04-29 Chris Toshok <toshok@ximian.com> [ fixes bug #41144 ] * gui/component/ldap-config.glade: use stock buttons for the Add/Delete buttons. Switch from "Delete" to "Remove", though, as "Remove" fits much better with the one for "Add". Also, add our stock-edit-24.png icon for "Edit". svn path=/trunk/; revision=21028
* [ fixes bug #41211 ] call e_button_new_with_stock_icon to create ourChris Toshok2003-04-302-1/+9
| | | | | | | | | | | 2003-04-29 Chris Toshok <toshok@ximian.com> [ fixes bug #41211 ] * gui/component/e-address-popup.c (e_address_popup_no_matches): call e_button_new_with_stock_icon to create our button and give it the right icon. svn path=/trunk/; revision=21023
* remove duplicate HOME_COUNTRY field add.Gilbert Fang2003-04-302-2/+5
| | | | | | | | | 2003-04-29 Gilbert Fang <gilbert.fang@sun.com> * tools/evolution-addressbook-export-list-cards.c (set_pre_defined_field): remove duplicate HOME_COUNTRY field add. svn path=/trunk/; revision=21015
* [ fixes bug #41910 ] change from model_changed to row_deleted here.Chris Toshok2003-04-301-0/+12
| | | | | | | | | | | | | | | 2003-04-28 Chris Toshok <toshok@ximian.com> [ fixes bug #41910 ] * gui/contact-list-editor/e-contact-list-model.c (e_contact_list_model_remove_row): change from model_changed to row_deleted here. model_changed causes the table to free its ETableSelection, which is what we iterate over when deleting contacts. (e_contact_list_model_add_destination): no need to be calling model_changed here either. svn path=/trunk/; revision=21010
* [ fixes bug #41843] use e_card_simple_get_ecard_field instead ofChris Toshok2003-04-282-1/+9
| | | | | | | | | | | | 2003-04-28 Chris Toshok <toshok@ximian.com> [ fixes bug #41843] * tools/evolution-addressbook-export-list-cards.c (e_card_simple_csv_get_name): use e_card_simple_get_ecard_field instead of e_card_simple_get_name, so the return value won't be localized. svn path=/trunk/; revision=20978
* [ fixes bug #41779 ] we don't need to call gtk_widget_destroy on the oldChris Toshok2003-04-282-1/+8
| | | | | | | | | | | 2003-04-28 Chris Toshok <toshok@ximian.com> [ fixes bug #41779 ] * gui/component/e-address-popup.c (mini_wizard_container_add): we don't need to call gtk_widget_destroy on the old child, since gtk_container_remove will unref it for us. svn path=/trunk/; revision=20977
* [ fixes bug #37351 ] the row the signal is called with is already theChris Toshok2003-04-242-1/+7
| | | | | | | | | | | 2003-04-23 Chris Toshok <toshok@ximian.com> [ fixes bug #37351 ] * gui/widgets/e-addressbook-view.c (table_drag_data_get): the row the signal is called with is already the model row, not the view row, so don't call e_table_view_to_model_row on it. svn path=/trunk/; revision=20944
* [ either mostly or entirely fixes #33708 ] new function, factor it out ofChris Toshok2003-04-242-20/+48
| | | | | | | | | | | | | | | | | | | | | | | 2003-04-23 Chris Toshok <toshok@ximian.com> [ either mostly or entirely fixes #33708 ] * gui/component/select-names/e-select-names-completion.c (e_select_names_completion_done): new function, factor it out of _seq_complete_cb because we need to run the same code in a couple of places. (e_select_names_completion_got_book_view_cb): treat an error from a book as getting a "sequence_complete", and decrement the count of pending complete signals. (e_select_names_completion_got_book_view_cb): remove the increment of pending_completion_seq from here. (e_select_names_completion_seq_complete_cb): factor out the body of e_select_names_completion_done from here, and call it. (e_select_names_completion_start_query): increment pending_completion_seq here. remove the async variable, as we can now use pending_completion_seq for that purpose (it's > 0 iff async would have been TRUE). svn path=/trunk/; revision=20943
* [ fixes bug #40954 ] guard against NULL bf->priv->summary (happens if theChris Toshok2003-04-202-7/+18
| | | | | | | | | | | | | | | 2003-04-19 Chris Toshok <toshok@ximian.com> [ fixes bug #40954 ] * backend/pas/pas-backend-file.c (pas_backend_file_dispose): guard against NULL bf->priv->summary (happens if the initial load_uri failed). (pas_backend_file_load_uri): always set bf->priv->uri, since it's used in _get_uri, which is called when the backend goes away. This only happened before if you tried to load a folder that didn't exist. svn path=/trunk/; revision=20898
* [ fixes #40694 ] just grab focus if @activate == TRUE. we'll do allChris Toshok2003-04-202-9/+25
| | | | | | | | | | | | | | 2003-04-16 Chris Toshok <toshok@ximian.com> [ fixes #40694 ] * gui/component/select-names/e-select-names-bonobo.c (control_activate_cb): just grab focus if @activate == TRUE. we'll do all merging/unmerging in the focus handler. (widget_focus_cb): handle the merging here. (e_bonobo_control_automerge_ui): store off the widget (so we can grab focus on it) and connect to "activate". svn path=/trunk/; revision=20897
* Add missing -DPREFIXRodney Dawes2003-04-192-0/+5
| | | | | | | | 2003-04-18 Rodney Dawes <dobey@ximian.com> * gui/component/select-names/Makefile.am: Add missing -DPREFIX svn path=/trunk/; revision=20893
* [ fixes #21499 ]Rodney Dawes2003-04-198-4/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-18 Rodney Dawes <dobey@ximian.com> [ fixes #21499 ] * gui/component/Makefile.am: * gui/component/addressbook.c: * gui/component/select-names/e-select-names-bonobo.c: * gui/contact-editor/Makefile.am: * gui/contact-editor/e-contact-editor.c: * gui/contact-list-editor/Makefile.am: * gui/contact-list-editor/e-contact-list-editor.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * gui/Makefile.am: * gui/calendar-commands.c: * gui/tasks-control.c: * gui/dialogs/Makefile.am: * gui/dialogs/comp-editor.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * Makefile.am: * e-msg-composer.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui (). Fixes bug #21499. * Makefile.am: * folder-browser-ui.c: * mail-signature-editor.c: * message-browser.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui (). Fixes bug #21499. * Makefile.am: * e-summary-factory.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * e-shell-view.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () [#21499] svn path=/trunk/; revision=20888
* [ fixes #41252 ] change title from "Check Address" to "Full Address".Chris Toshok2003-04-162-1/+7
| | | | | | | | | | 2003-04-15 Chris Toshok <toshok@ximian.com> [ fixes #41252 ] * gui/contact-editor/fulladdr.glade: change title from "Check Address" to "Full Address". svn path=/trunk/; revision=20848
* [ fixes #40727 ] if the query text is either shorter than the cachedChris Toshok2003-04-092-5/+18
| | | | | | | | | | | | | 2003-04-09 Chris Toshok <toshok@ximian.com> [ fixes #40727 ] * gui/component/select-names/e-select-names-completion.c (e_select_names_completion_start_query): if the query text is either shorter than the cached query_text or they don't match, don't just set can_reuse_cached_cards to FALSE. we also need to invalidate the cache. svn path=/trunk/; revision=20780
* kill an old e_utf8_gtk usageMike Kestner2003-04-091-1/+0
| | | | | | | | | | 2003-04-08 Mike Kestner <mkestner@ximian.com> * e-search-bar.c (set_option): kill an old e_utf8_gtk usage and remove some straggling e-font.h includes. svn path=/trunk/; revision=20769
* (d): Remove all debuggingEttore Perazzoli2003-04-092-1/+6
| | | | | | messages. svn path=/trunk/; revision=20764
* Remove color specifications from the druid so it will use theme colors.Dan Winship2003-04-083-30/+17
| | | | | | | | | | | * gui/component/ldap-config.glade: Remove color specifications from the druid so it will use theme colors. * gui/component/addressbook-config.c (addressbook_add_server_druid): Use g_signal_connect_after for "prepare" signal (to work around b.g.o 81869) svn path=/trunk/; revision=20756
* [ fixes #7103 ] init style_set. and add the signal.Chris Toshok2003-04-086-97/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-07 Chris Toshok <toshok@ximian.com> [ fixes #7103 ] * gui/widgets/e-minicard-label.c (e_minicard_label_class_init): init style_set. and add the signal. (e_minicard_label_realize): include e_minicard_label_construct's code here, and call set_colors after we create the sub-items. (e_minicard_label_unrealize): indent, and remove dead code. (e_minicard_label_event): indent, and call set_colors instead of setting the colors manually. (set_colors): new function, set our colors based on the current style. (e_minicard_label_style_set): new function, just call set_colors. (e_minicard_label_new): e_minicard_label_construct doesn't exist anymore. * gui/widgets/e-minicard-label.h (struct _EMinicardLabelClass): add style_set signal. * gui/widgets/e-minicard.c (set_selected): little tweaks in the coloring. (e_minicard_unrealize): reindent, and remove some unused code. * gui/widgets/e-minicard-view-widget.h (struct _EMinicardViewWidget): add background. * gui/widgets/e-minicard-view-widget.c (e_minicard_view_widget_class_init): init widget_class->style_class. (e_minicard_view_widget_style_set): new function, just set the background's fill_color_gdk to base[GTK_STATE_NORMAL]. (e_minicard_view_widget_realize): store off the background canvas item so we can set the color later. svn path=/trunk/; revision=20742
* [ fixes bug #40901 ] HIG-ify the ldap server edit dialog's button layout.Chris Toshok2003-04-082-13/+19
| | | | | | | | | | 2003-04-07 Chris Toshok <toshok@ximian.com> [ fixes bug #40901 ] * gui/component/ldap-config.glade: HIG-ify the ldap server edit dialog's button layout. svn path=/trunk/; revision=20737
* [ fixes bug #39763 ] verb callback for EditCopy (cut_cb): verb callbackChris Toshok2003-04-082-0/+180
| | | | | | | | | | | | | | | | | | | | | | | | 2003-04-07 Chris Toshok <toshok@ximian.com> [ fixes bug #39763 ] * gui/component/select-names/e-select-names-bonobo.c (copy_cb): verb callback for EditCopy (cut_cb): verb callback for EditCut. (paste_cb): verb callback for EditPaste. (select_all_cb): verb callback for SelectAll. (free_closure): new function (merge_menu_items): same (unmerge_menu_items): same (control_set_frame_cb): same (control_activate_cb): same (widget_focus_cb): same (e_bonobo_control_automerge_ui): new function, sets up focus signals on the widget passed in to merge/unmerge the passed in ui/verbs. (impl_SelectNames_get_entry_for_section): call e_bonobo_control_automerge_ui for this entry. svn path=/trunk/; revision=20735
* change the ok/cancel button layout to be higified.Chris Toshok2003-04-082-6/+18
| | | | | | | | | 2003-04-07 Chris Toshok <toshok@ximian.com> * gui/component/e-address-popup.c (mini_wizard_new): change the ok/cancel button layout to be higified. svn path=/trunk/; revision=20720
* [ last portion of #40046 fix ] ifdef this out to quiet the compiler.Chris Toshok2003-04-082-141/+50
| | | | | | | | | | | | | | | | | | | | 2003-04-07 Chris Toshok <toshok@ximian.com> [ last portion of #40046 fix ] * gui/component/select-names/e-select-names-popup.c (remove_recipient_cb): ifdef this out to quiet the compiler. (remove_all_recipients_cb): same. (toggle_html_mail_cb): same. (populate_popup_card): change the #if 0 to #if TOO_MANY_MENU_ITEMS. (popup_menu_list): nuke, as it's handled by populate_popup_card. (populate_popup_nocard): rename popup_menu_nocard to this, and implement it as in populate_popup_card. (e_select_names_populate_popup): we don't need the card, since we don't check if it's a list here anymore. also, remove the #if 0 surrounding the nocard case. svn path=/trunk/; revision=20718
* Fixes #40252.Not Zed2003-04-082-45/+52
| | | | | | | | | | | | | 2003-04-07 Not Zed <NotZed@Ximian.com> Fixes #40252. * conduit/address-conduit.c: Change the LOG macro to a single arg macro which copies its arg. Fix all callers. Change WARN and INFO to simply g_warning/g_message. Init G_LOG_DOMAIN before including anything. svn path=/trunk/; revision=20715
* add tools.Chris Toshok2003-04-082-1/+5
| | | | | | | | 2003-04-07 Chris Toshok <toshok@ximian.com> * Makefile.am (SUBDIRS): add tools. svn path=/trunk/; revision=20711
* [ fixes bug #23036 ] : new and improved export utility.Gilbert Fang2003-04-087-0/+1168
| | | | | | | | | | | | 2003-04-07 Gilbert Fang <gilbert.fang@sun.com> [ fixes bug #23036 ] * tools/evolution-addressbook-export.c, tools/evolution-addressbook-export-list-cards.c, tools/evolution-addressbook-export-list-folders.c: : new and improved export utility. svn path=/trunk/; revision=20709
* Clean up server names.Dan Winship2003-04-085-29/+41
| | | | | | | | | | | | | | | | * gui/component/GNOME_Evolution_Addressbook.server.in.in: Clean up server names. * gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.server.in.in: Likewise * backend/ebook/GNOME_Evolution_Addressbook_LDIF_Importer.server.in.in: Likewise. Also mark the evolution:menu_name for i18n. * backend/ebook/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in: Likewise svn path=/trunk/; revision=20704
* set "handle_popup" on the field to be TRUE if it's got focus, FALSE ifChris Toshok2003-04-042-0/+17
| | | | | | | | | | 2003-04-03 Chris Toshok <toshok@ximian.com> * gui/widgets/e-minicard-label.c (e_minicard_label_event): set "handle_popup" on the field to be TRUE if it's got focus, FALSE if not. svn path=/trunk/; revision=20665
* set the im_context on the field's EText. (e_minicard_label_event): removeChris Toshok2003-04-042-46/+7
| | | | | | | | | | 2003-04-03 Chris Toshok <toshok@ximian.com> * gui/widgets/e-minicard-label.c (e_minicard_label_construct): set the im_context on the field's EText. (e_minicard_label_event): remove a huge swath of #if 0'd code. svn path=/trunk/; revision=20663
* [ fixes bug #40715 ] add this callback, to unref the book/free the closureChris Toshok2003-04-044-20/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-03 Chris Toshok <toshok@ximian.com> [ fixes bug #40715 ] * gui/merging/e-card-merging.c (final_id_cb): add this callback, to unref the book/free the closure after calling the user's callback. (final_cb): same. (doit): use final{_id}_cb (cancelit): same. (response): don't free the lookup struct here. (match_query_callback): same. (e_card_merging_book_add_card): ref the book. (e_card_merging_book_commit_card): same. * gui/component/e-address-popup.c (card_picker_init): make sure to set the "text" attribute on the cell renderer so the text actually shows up. also, g_object_connect -> g_signal_connect *sigh*. Lastly, get rid of the scrolled window and just make the window size to show the text. * gui/widgets/e-minicard.c (e_minicard_style_set): only call set_selected if we're realized (we create all the canvas objects that set_selected manipulates in our realize method.) svn path=/trunk/; revision=20662
* add EVOLUTION_IMAGESDIRChris Toshok2003-04-032-0/+8
| | | | | | | | | 2003-04-03 Chris Toshok <toshok@ximian.com> * gui/component/select-names/Makefile.am (INCLUDES): add EVOLUTION_IMAGESDIR svn path=/trunk/; revision=20658
* change all this around so that we populate the existing popup. This meansChris Toshok2003-04-034-179/+138
| | | | | | | | | | | | | | | | | | | | 2003-04-02 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-popup.c: change all this around so that we populate the existing popup. This means we get the select names popup stuff on top of the normal EEntry popup foo. * gui/component/select-names/e-select-names-popup.h (e_select_names_populate_popup): rename e_select_names_popup to this. * gui/component/select-names/e-select-names-manager.c (populate_popup_cb): rename popup_cb here, and e_select_names_popup -> e_select_names_populate_popup. (e_select_names_manager_entry_new): popup -> populate_popup. svn path=/trunk/; revision=20654
* add NONE:OBJECTChris Toshok2003-04-034-0/+35
| | | | | | | | | | | | | | | | 2003-04-02 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-marshal.list: add NONE:OBJECT * gui/widgets/e-minicard.c (e_minicard_class_init): add style_set signal. (e_minicard_style_set): just call set_selected with the currently selected flag, so we recolor properly. * gui/widgets/e-minicard.h (struct _EMinicardClass): add style_set signal. svn path=/trunk/; revision=20651
* added "folder_type" parameter to EvolutionImporterLoadFileFn.Rodrigo Moya2003-04-033-0/+8
| | | | | | | | | | 2003-04-01 Rodrigo Moya <rodrigo@ximian.com> * backend/ebook/evolution-ldif-importer.c (load_file_fn): * backend/ebook/evolution-vcard-importer.c (load_file_fn): added "folder_type" parameter to EvolutionImporterLoadFileFn. svn path=/trunk/; revision=20644
* new function, just return the local uri. (set_default_book_uri_local): useChris Toshok2003-04-012-7/+34
| | | | | | | | | | | | 2003-03-31 Chris Toshok <toshok@ximian.com> * backend/ebook/e-book-util.c (get_local_book_uri): new function, just return the local uri. (set_default_book_uri_local): use get_local_book_uri. (e_book_default_book_open): only try and reload the default book if it's not already the local book. svn path=/trunk/; revision=20610
* it emits a list nowJP Rosevear2003-03-312-17/+26
| | | | | | | | 2003-03-31 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (card_removed): it emits a list now svn path=/trunk/; revision=20598
* Remove folder-selector button initialization. (e_select_names_new):Dan Winship2003-03-316-61/+84
| | | | | | | | | | | | | | | | | | | | * gui/component/select-names/e-select-names.c (e_select_names_init): Remove folder-selector button initialization. (e_select_names_new): Initialize folder-selector button here, using the passed-in EvolutionShellClient rather than depending on a global variable. * gui/component/select-names/e-select-names-manager.c (e_select_names_manager_activate_dialog): take an EvolutionShellClient and pass it to e_select_names_new(). * gui/component/select-names/e-select-names-bonobo.c (impl_SelectNames_activate_dialog): get a pointer to the shell from bonobo-activation, create a shell_client, and pass it to e_select_names_manager_activate_dialog. svn path=/trunk/; revision=20597
* constify return valueDan Winship2003-03-312-3/+3
| | | | | | | * backend/ebook/e-book-util.c (e_book_get_default_book_uri): constify return value svn path=/trunk/; revision=20596
* add vcard testsChris Toshok2003-03-3116-0/+218
| | | | svn path=/trunk/; revision=20590
* braindead, and *extremely* forgiving vcard parser. not for publicChris Toshok2003-03-313-0/+1038
| | | | | | | | | 2003-03-30 Chris Toshok <toshok@ximian.com> * backend/ebook/e-vcard.[ch]: braindead, and *extremely* forgiving vcard parser. not for public consumption yet. svn path=/trunk/; revision=20589
* add vcard docsChris Toshok2003-03-314-0/+6593
| | | | svn path=/trunk/; revision=20587
* [ fixes bug #39381 (again) ] add "GtkWidget *button" first arg, so weChris Toshok2003-03-312-1/+7
| | | | | | | | | | 2003-03-30 Chris Toshok <toshok@ximian.com> [ fixes bug #39381 (again) ] * gui/component/e-address-popup.c (edit_contact_info_cb): add "GtkWidget *button" first arg, so we don't crash. svn path=/trunk/; revision=20585
* [ fixes bug #40403 ] revert the fix for 28945, as was done on the 1.2Chris Toshok2003-03-292-10/+9
| | | | | | | | | | | | 2003-03-28 Chris Toshok <toshok@ximian.com> [ fixes bug #40403 ] * backend/ebook/e-card.c (e_card_get_vobject): revert the fix for 28945, as was done on the 1.2 branch. this is because the "fix" actually breaks internal use of contact lists. We need to make the exporting of contacts DTRT, instead of fixing it here. svn path=/trunk/; revision=20568
* [ fix the contact editor so that the only time the address is parsed isChris Toshok2003-03-293-36/+46
| | | | | | | | | | | | | | | | | | 2003-03-28 Chris Toshok <toshok@ximian.com> [ fix the contact editor so that the only time the address is parsed is when the user types in the address GtkTextView. ] * gui/contact-editor/e-contact-editor.c (address_mailing_changed): make this use delivery addresses instead of labels. (full_addr_clicked): same. (find_address_mailing): same. * backend/ebook/e-card-simple.c (e_card_simple_set_delivery_address): make this operate similar to e_card_simple_set_address: it sets both the delivery address and the label for the address. svn path=/trunk/; revision=20567
* [ fixes bug #19178 ] use e_book_load_address_book_by_uri on the passed inChris Toshok2003-03-273-42/+19
| | | | | | | | | | | | | | | 2003-03-26 Chris Toshok <toshok@ximian.com> [ fixes bug #19178 ] * backend/ebook/evolution-ldif-importer.c (ebook_open): use e_book_load_address_book_by_uri on the passed in uri. (load_file_fn): pass the uri. * backend/ebook/evolution-vcard-importer.c (ebook_open): use e_book_load_address_book_by_uri on the passed in uri. (load_file_fn): pass the uri. svn path=/trunk/; revision=20543
* [ fixes bug #34651 ] strcmp -> g_utf8_collate. (update_query): encode theChris Toshok2003-03-272-6/+20
| | | | | | | | | | | 2003-03-26 Chris Toshok <toshok@ximian.com> [ fixes bug #34651 ] * gui/component/select-names/e-select-names.c (select_entry_changed): strcmp -> g_utf8_collate. (update_query): encode the string we pass for the query. svn path=/trunk/; revision=20541
* [ fixes bug #34085 ] only successfully complete the drag if they dropped aChris Toshok2003-03-272-11/+25
| | | | | | | | | | | | 2003-03-26 Chris Toshok <toshok@ximian.com> [ fixes bug #34085 ] * gui/contact-list-editor/e-contact-list-editor.c (table_drag_data_received_cb): only successfully complete the drag if they dropped a valid vcard (or vcard list). Call gtk_drag_finish. svn path=/trunk/; revision=20539
* $evolution_uidir -> $evolutionuidirChris Toshok2003-03-272-1/+6
| | | | | | | | | 2003-03-26 Chris Toshok <toshok@ximian.com> * gui/contact-list-editor/Makefile.am (INCLUDES): $evolution_uidir -> $evolutionuidir svn path=/trunk/; revision=20538
* [ fixes bug #39170 ] remove 'return'. (pas_backend_remove_cards): same.Philip Zhao2003-03-272-12/+29
| | | | | | | | | | | | | | | | | | | | | 2003-03-26 Philip Zhao <philip.zhao@sun.com> [ fixes bug #39170 ] * backend/pas/pas-backend.c (pas_backend_create_card): remove 'return'. (pas_backend_remove_cards): same. (pas_backend_modify_card): same. (pas_backend_check_connection): same. (pas_backend_get_vcard): same. (pas_backend_get_cursor): same. (pas_backend_get_book_view): same. (pas_backend_get_completion_view): same. (pas_backend_get_changes): same. (pas_backend_authenticate_user): same. (pas_backend_get_supported_fields): same. (pas_backend_get_supported_auth_methods): same. svn path=/trunk/; revision=20532
* append the second line to the address if necessaryJP Rosevear2003-03-272-3/+25
| | | | | | | | | | | 2003-03-26 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (local_record_from_ecard): append the second line to the address if necessary (ecard_from_remote_record): split the address line in two if necessary svn path=/trunk/; revision=20526
* set the dialog to "Visible: No" so it doesn't flash when we bring it up.Chris Toshok2003-03-242-254/+294
| | | | | | | | | 2003-03-23 Chris Toshok <toshok@ximian.com> * gui/contact-list-editor/contact-list-editor.glade: set the dialog to "Visible: No" so it doesn't flash when we bring it up. svn path=/trunk/; revision=20475
* [ fixes bug #40026 ] add EContactEditor arg, and block/unblock signalsChris Toshok2003-03-242-9/+26
| | | | | | | | | | | | | | 2003-03-23 Chris Toshok <toshok@ximian.com> [ fixes bug #40026 ] * gui/contact-editor/e-contact-editor.c (set_field): add EContactEditor arg, and block/unblock signals around the gtk_entry_set_text, since that generates a "changed" signal which causes problems. (set_phone_field): take and pass along an EContactEditor arg. (set_fields): pass editor to set_field. svn path=/trunk/; revision=20474
* nuke.Chris Toshok2003-03-245-49/+94
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-23 Chris Toshok <toshok@ximian.com> * gui/contact-editor/arrow.png: nuke. * gui/contact-editor/Makefile.am (EXTRA_DIST): remove images_DATA (images_DATA): nuke, don't need it anymore. * gui/contact-editor/e-contact-editor.c (connect_arrow_button_signal): rename _replace_button to this. we no longer create an image, as it's a GtkArrow in the .glade file now. (connect_arrow_button_signals): rename _replace_buttons to this. no longer pass the arrow.png's to _replace_button. (e_contact_editor_init): _replace_buttons -> connect_arrow_button_signals. (_arrow_pressed): remove some dead code, and some args that aren't used. (_phone_arrow_pressed): track change to _arrow_pressed. (_email_arrow_pressed): same. (_address_arrow_pressed): same. svn path=/trunk/; revision=20473
* [ fixes bug #31786 ] fix some gtk warnings. (set_advanced_button_state):Chris Toshok2003-03-243-3248/+35
| | | | | | | | | | | | | | | | 2003-03-23 Chris Toshok <toshok@ximian.com> [ fixes bug #31786 ] * gui/component/addressbook-config.c (addressbook_source_dialog_set_source): fix some gtk warnings. (set_advanced_button_state): the advanced dialog isn't present in the glade file anymore, so ifdef everything dealing with it. (addressbook_edit_server_dialog): same. * gui/component/ldap-config.glade: remove all the unused Advanced UI stuff to lessen the amount of strings needing translation. svn path=/trunk/; revision=20472
* [ fixes bug #32113 ] add include_email arg to e_destination_get_textrep.Chris Toshok2003-03-239-20/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-23 Chris Toshok <toshok@ximian.com> [ fixes bug #32113 ] * backend/ebook/e-destination.h: add include_email arg to e_destination_get_textrep. * backend/ebook/e-destination.c (e_destination_get_textrep): add include_email arg. if it's TRUE, and if there's an email address to add * gui/contact-list-editor/e-contact-list-model.c (contact_list_value_at): use e_destination_get_textrep so we don't display QP text, and pass TRUE for include_email. * gui/widgets/e-minicard.c (add_field): same. (remodel): same. * gui/widgets/e-addressbook-treeview-adapter.c (adapter_get_value): same. * gui/widgets/e-addressbook-table-adapter.c (addressbook_value_at): same. * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_insert_length): pass FALSE for include_email. * gui/component/select-names/e-select-names-model.c (e_select_names_model_get_textification): pass FALSE for include_email. (e_select_names_model_get_string): same. (e_select_names_model_replace): same. (e_select_names_model_name_pos): same. (e_select_names_model_text_pos): same. svn path=/trunk/; revision=20467
* Replace "evolution:menu-name" prop with "evolution:menu_name". [#39692]Ettore Perazzoli2003-03-203-2/+8
| | | | | | | | * backend/ebook/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in: Replace "evolution:menu-name" prop with "evolution:menu_name". [#39692] * backend/ebook/GNOME_Evolution_Addressbook_LDIF_Importer.server.in.in: Likewise. svn path=/trunk/; revision=20366
* up the column count by one for the underline.Chris Toshok2003-03-192-1/+12
| | | | | | | | | | | 2003-03-18 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-table-model.c (e_select_names_table_model_col_count): up the column count by one for the underline. (e_select_names_table_model_value_at): add handling for underline. svn path=/trunk/; revision=20355
* fix use of deprecated gtk_menu_append. (card_picker_selection_changed):Chris Toshok2003-03-192-54/+48
| | | | | | | | | | | | | | | | | | | | | 2003-03-18 Chris Toshok <toshok@ximian.com> * gui/component/e-address-popup.c (email_menu_add_option): fix use of deprecated gtk_menu_append. (card_picker_selection_changed): change this to be used with the "changed" signal on GtkTreeSelection. (free_str): yeah, gross. i know. (card_picker_init): this needed some fixing, so the strings don't go away after we insert them into the model. also, connect to the "changed" GtkTreeSelection signal instead of using the nonexistant gtk_tree_selection_set_func. (e_address_popup_construct): gtk_style_unref -> g_object_unref. (popup_size_allocate_cb): nuke. (e_address_popup_ambiguous_email_add): use gtk_window_set_position and let the window manager place the window instead of doing it ourself. svn path=/trunk/; revision=20352
* [ Fixes addressbook bug #39730 ] add response ids to the search baseChris Toshok2003-03-193-55/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-18 Chris Toshok <toshok@ximian.com> [ Fixes addressbook bug #39730 ] * gui/component/ldap-config.glade: add response ids to the search base dialog. * gui/component/addressbook-config.c (addressbook_source_dialog_destroy): use g_object_unref, not gtk_widget_destroy, on the GladeXML. (addressbook_add_server_druid): call gtk_window_set_type_hint GDK_WINDOW_TYPE_HINT_DIALOG so this window looks like a dialog. (editor_modify_cb): no more apply button. (edit_dialog_apply_clicked): nuked. (edit_dialog_close_clicked): rename to _cancal_clicked. (edit_dialog_ok_clicked): call gtk_widget_destroy here instead of calling _cancel_clicked. (addressbook_edit_server_dialog): no more apply button, and close_button -> cancel_button. Also, set the hint to GDK_WINDOW_TYPE_HINT_DIALOG. (ldap_dialog_new): fix compiler warning. (addressbook_dialog_create_sources_table): same. svn path=/trunk/; revision=20351
* use alternating-row-colors="false"Chris Toshok2003-03-194-61/+44
| | | | | | | | | | | | | | | | | | | | | | | | 2003-03-18 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-section.etspec: use alternating-row-colors="false" * gui/component/select-names/e-select-names.h: nuke prototypes for e_select_names_get_source/section. * gui/component/select-names/e-select-names.c (set_book): remove the signal disconnect from here. (addressbook_model_set_uri): same. (e_select_names_init): connect to the search_result signal on the addressbook model. (e_select_names_child_free): disconnect the changed_id signal. (e_select_names_add_section): set the underline column so the recipient tables look like they did when they were EEntry. (e_select_names_add_section): store off the changed_id. (e_select_names_get_section): nuke. (e_select_names_get_source): nuke. svn path=/trunk/; revision=20345
* kill warning by sinking objectsJP Rosevear2003-03-192-0/+9
| | | | | | | | | 2003-03-18 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (addrconduit_load_configuration): kill warning by sinking objects svn path=/trunk/; revision=20338
* disconnect/keep track of search result signal id. (e_select_names_init):Not Zed2003-03-183-5/+38
| | | | | | | | | | | | | | 2003-03-18 Not Zed <NotZed@Ximian.com> * gui/component/select-names/e-select-names.c (set_book, addressbook_model_set_uri): disconnect/keep track of search result signal id. (e_select_names_init): Keep track of various signals, particularly status signal. (e_select_names_dispose): disconnect from any signals that are still active. Fixes crash for #38202. svn path=/trunk/; revision=20334
* use set_entry_changed_signal_email for the email entry so the email getsChris Toshok2003-03-142-1/+18
| | | | | | | | | | | | 2003-03-13 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c (set_entry_changed_signals): use set_entry_changed_signal_email for the email entry so the email gets saved out. (set_entry_changed_signal_email): new function, analogous to set_entry_changed_signal_phone, but for email. svn path=/trunk/; revision=20282
* [ fixes bug #20210 ] change "Edit Contact Info" to "View Contact Info", asChris Toshok2003-03-132-2/+11
| | | | | | | | | | | | | 2003-03-12 Chris Toshok <toshok@ximian.com> [ fixes bug #20210 ] * gui/component/select-names/e-select-names-popup.c (popup_menu_card): change "Edit Contact Info" to "View Contact Info", as you can't always edit the contact (if the book is read only). (popup_menu_list): same, but for a contact list. svn path=/trunk/; revision=20270
* [ fixes bug #39507 ] new function, sync the models after we do a search.Chris Toshok2003-03-122-0/+49
| | | | | | | | | | | 2003-03-11 Chris Toshok <toshok@ximian.com> [ fixes bug #39507 ] * gui/component/select-names/e-select-names.c (search_result): new function, sync the models after we do a search. (addressbook_model_set_uri): connect to search_result. svn path=/trunk/; revision=20260
* fix compiler warnings about deprecated functions.Chris Toshok2003-03-125-77/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-11 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names.c (e_select_names_init): fix compiler warnings about deprecated functions. (e_select_names_child_free): unref the table model. (remove_address): re-enable. (section_right_click_cb): this is an ETable callback now. (e_select_names_add_section): remove a gross gross awful hack, and make the recipient tables ETables instead EEntry's. We lose the nice underlining, but we can add that back in as another ETable style (like strikeout and bold), and we also fix the longstanding scrolling problems (like bug #25148) and can finally remove addresses by double clicking on them (which is also a bug someplace I think.. dunno the # offhand.) * gui/component/select-names/e-select-names-table-model.c (clear_info): always set the count to -1, regardless of what model->data is. * gui/component/select-names/e-select-names-model.c: remove some unused enums. * gui/component/select-names/Makefile.am (etspec_DATA): add e-select-names-section.etspec * gui/component/select-names/e-select-names-section.etspec: new file, spec for the To:/Cc:/Bcc: etable's in the select-names dialog. svn path=/trunk/; revision=20259
* Updated phone number. Bug #37204.Not Zed2003-03-112-2/+4
| | | | | | | | | 2003-03-11 Not Zed <NotZed@Ximian.com> * backend/pas/pas-backend-file.c (INITIAL_VCARD): Updated phone number. Bug #37204. svn path=/trunk/; revision=20247
* re-enable in build, include e-destination.h. For #39256.Not Zed2003-03-102-2/+6
| | | | | | | | | 2003-03-11 Not Zed <NotZed@Ximian.com> * gui/widgets/e-addressbook-util.c (e_addressbook_send_card_list): re-enable in build, include e-destination.h. For #39256. svn path=/trunk/; revision=20229
* Likewise. Likewise. Likewise. Likewise. Likewise. (ebook_create):Ettore Perazzoli2003-03-0711-14/+27
| | | | | | | | | | | | | | | | | * backend/ebook/load-pine-addressbook.c (ebook_create): Likewise. * backend/ebook/load-gnomecard-addressbook.c (ebook_create): Likewise. * backend/ebook/evolution-vcard-importer.c (ebook_create): Likewise. * backend/ebook/evolution-ldif-importer.c (ebook_create): Likewise. * backend/ebook/test-client.c (get_cursor_cb): Likewise. (ebook_create): Likewise. * gui/widgets/e-minicard.c (e_minicard_set_property): Likewise. (card_modified_cb): Likewise. (e_minicard_event): Likewise. * gui/widgets/gal-view-minicard.c (column_width_changed): Likewise. * gui/widgets/test-minicard-view.c (ebook_create): Likewise. * gui/widgets/gal-view-treeview.c (column_width_changed): Likewise. svn path=/trunk/; revision=20203
* removed. (owner_unset_cb): Basically a noop, the shell does the quit, weNot Zed2003-03-052-10/+10
| | | | | | | | | | | 2003-03-05 Not Zed <NotZed@Ximian.com> * gui/component/addressbook-component.c (bonobo_main_quit_cb): removed. (owner_unset_cb): Basically a noop, the shell does the quit, we just note we have no owner anymore. svn path=/trunk/; revision=20164
* Fixes #37881JP Rosevear2003-03-052-1/+9
| | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> Fixes #37881 * gui/component/select-names/e-simple-card-bonobo.c (impl_SimpleCard_get): if we get a null value, send back the empty string svn path=/trunk/; revision=20159
* reflect prior column additionJP Rosevear2003-03-059-4/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> * gui/component/select-names/e-select-names.etspec: reflect prior column addition * gui/component/select-names/e-select-names-bonobo.c (entry_get_property_fn): set the arg properly * gui/component/select-names/Evolution-Addressbook-SelectNames.idl: add Icscalendar to field list * backend/pas/pas-backend-ldap.c: add icscalendar to prop list * backend/ebook/e-card.h: add icscalendar data member * backend/ebook/e-card.c: add icscalendar to list and its parse routine (e_card_get_vobject): add icscalendar prop value (parse_icscalendar): parse routine (e_card_class_init): add icscalendar arg (e_card_destroy): destroy icscalendar member (e_card_set_arg): set icscalendar (e_card_init): init icscalendar (e_card_get_arg): return icscalendar * backend/ebook/e-card-simple.c (field_data): add icscalendar * backend/ebook/e-card-simple.h: ditto svn path=/trunk/; revision=20153
* (e_select_names_new): Don't set the "modal" property throughEttore Perazzoli2003-03-042-1/+10
| | | | | | | g_object_new(). (e_select_names_init): Explictly make the dialog modal here. svn path=/trunk/; revision=20131
* (create_minicard_view): No needEttore Perazzoli2003-03-042-5/+6
| | | | | | to do any reparenting here; the widget is created with no parent. svn path=/trunk/; revision=20129
* (e_select_names_init): Instead of using gtk_widget_unparent(),Ettore Perazzoli2003-03-042-2/+10
| | | | | | | | remove the widget from the container using gtk_container_remove(). This fixes a bunch of crashers in all the places using the ESelectNames widget/control. svn path=/trunk/; revision=20127
* Build libecontacteditor as an uninstalled shared library.Dan Winship2003-03-018-26/+46
| | | | | | | | | | | | | | | | | | | | | | * gui/contact-editor/Makefile.am: Build libecontacteditor as an uninstalled shared library. * gui/contact-list-editor/Makefile.am: Likewise for libecontactlisteditor * gui/merging/Makefile.am: and libecardmerging * gui/search/Makefile.am: and libeaddressbooksearch * gui/widgets/Makefile.am: and libeminicard * printing/Makefile.am: and libecontactprint * gui/component/Makefile.am (libevolution_addressbook_la_LIBADD): Update for new library names (and get rid of libtool portability warnings). svn path=/trunk/; revision=20112
* Remove these from here; talking to the mailer doesn't really belong at theDan Winship2003-03-0112-307/+342
| | | | | | | | | | | | | | | | | | | | | | | | | | | * backend/ebook/e-card.c (e_card_list_send, e_card_send): Remove these from here; talking to the mailer doesn't really belong at the libebook level anyway. * backend/ebook/Makefile.am: Remove Evolution-Composer CORBA stuff, which fixes some linking problems on OS X. * gui/widgets/e-addressbook-util.c (e_addressbook_send_card_list, e_addressbook_send_card): Move from e-card.c and rename. * gui/widgets/Makefile.am: move Evolution-Composer CORBA stuff here * gui/widgets/e-addressbook-view.c (send_as, send_to, e_addressbook_view_send, e_addressbook_view_send_to): Update for new function names. * gui/contact-list-editor/e-contact-list-editor.c (file_send_as_cb, file_send_to_cb): Likewise * gui/contact-editor/e-contact-editor.c (file_send_as_cb, file_send_to_cb): Likewise svn path=/trunk/; revision=20103
* use g_signal_connect here, not swapped... although since we pass theChris Toshok2003-02-286-10/+47
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-27 Chris Toshok <toshok@ximian.com> * gui/component/addressbook.c (book_open_cb): use g_signal_connect here, not swapped... although since we pass the widget as the closure it really doesn't matter. (load_uri_auth_cb): use a GtkDialog here. (search_result): same. * gui/component/select-names/e-simple-card-bonobo.h: add prototype for e_simple_card_bonobo_construct to fix warning. * gui/widgets/e-addressbook-view.c (create_alphabet): remove call to gtk_widget_set_usize. * gui/contact-editor/e-contact-editor-address.c (e_contact_editor_address_init): gtk_window_set_policy => gtk_window_set_resizable. * gui/contact-editor/e-contact-editor-fullname.c (e_contact_editor_fullname_init): same. svn path=/trunk/; revision=20095
* link to libversit libtool objectJP Rosevear2003-02-282-1/+5
| | | | | | | | 2003-02-27 JP Rosevear <jpr@ximian.com> * conduit/Makefile.am: link to libversit libtool object svn path=/trunk/; revision=20093
* Fix for server files from Antonio XuRodney Dawes2003-02-282-1/+5
| | | | | | | | 2003-02-27 Rodney Dawes <dobey@ximian.com> * backend/ebook/Makefile.am: Fix for server files from Antonio Xu svn path=/trunk/; revision=20087
* if we fail to activate factories for a given protocol, return.Chris Toshok2003-02-273-62/+23
| | | | | | | | | | | | 2003-02-26 Chris Toshok <toshok@ximian.com> * backend/ebook/e-book.c (e_book_load_uri): if we fail to activate factories for a given protocol, return. * gui/component/ldap-config.glade: remove the two unused custom widgets to cut down on gtk warning spam. svn path=/trunk/; revision=20080
* Make libversit a shared library, update stuff for that, and clean upDan Winship2003-02-226-65/+38
| | | | | | some LDADDs in the process svn path=/trunk/; revision=19994
* Make libemiscwidgets, libefilterbar, and libetimezonedialog dynamicDan Winship2003-02-213-5/+13
| | | | | | | libraries, so they can be portably linked into the (shared library) components. (Part 1 of N.) svn path=/trunk/; revision=19971
* revert previous changeDan Winship2003-02-208-32/+23
| | | | svn path=/trunk/; revision=19968
* oopsDan Winship2003-02-201-1/+1
| | | | svn path=/trunk/; revision=19964
* Build the subparts as (noinst) shared libraries rather than staticDan Winship2003-02-208-22/+31
| | | | | | | | | | | | | * gui/component/Makefile.am: * gui/contact-editor/Makefile.am: * gui/contact-list-editor/Makefile.am: * gui/search/Makefile.am: * gui/widgets/Makefile.am: * printing/Makefile.am: Build the subparts as (noinst) shared libraries rather than static libraries, so they can be portably linked into libevolution-addressbook.so svn path=/trunk/; revision=19963
* Make parent_class static.Dan Winship2003-02-204-3/+11
| | | | | | | | | | * gui/widgets/e-addressbook-model.c: Make parent_class static. * gui/widgets/e-addressbook-reflow-adapter.c: Likewise * gui/widgets/e-addressbook-table-adapter.c: Likewise svn path=/trunk/; revision=19961
* ignore more generated stuffChris Toshok2003-02-201-0/+1
| | | | svn path=/trunk/; revision=19960
* [ fix #38074 ] first arg is a GtkWidget. duh.Chris Toshok2003-02-202-1/+7
| | | | | | | | | | 2003-02-19 Chris Toshok <toshok@ximian.com> [ fix #38074 ] * gui/component/e-address-popup.c (add_contacts_cb): first arg is a GtkWidget. duh. svn path=/trunk/; revision=19952
* (INCLUDES): Use $(evolutionuidir)Ettore Perazzoli2003-02-202-1/+6
| | | | | | instead of $(evolution_uidir). [Pointed out by Grzegorz Goawski.] svn path=/trunk/; revision=19946
* add .server.in filesDan Winship2003-02-201-0/+2
| | | | svn path=/trunk/; revision=19944
* if we can complete solely from our cached cards, callChris Toshok2003-02-182-0/+21
| | | | | | | | | | | 2003-02-17 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-completion.c (e_select_names_completion_start_query): if we can complete solely from our cached cards, call e_completion_end_search from here when we're done. svn path=/trunk/; revision=19925
* plug memory leak (always free val).Chris Toshok2003-02-171-2/+2
| | | | | | | | | | 2003-02-17 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-component.c (ensure_completion_uris_exist): plug memory leak (always free val). svn path=/trunk/; revision=19921
* move the bulk of the non-summary searching stuff here. we aggregate up toChris Toshok2003-02-172-61/+122
| | | | | | | | | | | | | | | 2003-02-16 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-file.c (pas_backend_file_search_timeout): move the bulk of the non-summary searching stuff here. we aggregate up to our threshold, then send them to the front end and register a timeout to do another batch. This keeps us from totally spamming the UI, making things a bit more responsive. (pas_backend_file_search): set up the closure and call the timeout in an idle func. svn path=/trunk/; revision=19920
* indent properly.Chris Toshok2003-02-172-12/+17
| | | | | | | | | 2003-02-16 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-manager.c (e_select_names_manager_entry_new): indent properly. svn path=/trunk/; revision=19919
* disconnect search_started and search_result. (addressbook_compare): ifChris Toshok2003-02-174-55/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-16 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-reflow-adapter.c (unlink_model): disconnect search_started and search_result. (addressbook_compare): if we're loading, just compare model positions (so we just append while loading). (remove_card): use e_reflow_model_item_removed. (search_started): new function, set loading = TRUE. (search_result): new function, set loading = FALSE and emit "comparison_changed". (e_addressbook_reflow_adapter_init): init loading and the new signal ids. (e_addressbook_reflow_adapter_construct): connect "search_started" and "search_result". * gui/widgets/e-addressbook-model.h (struct _EAddressbookModelClass): add search_started signal. * gui/widgets/e-addressbook-model.c (e_addressbook_model_class_init): new signal "search_started". (book_view_loaded): emit "search_started" after "model_changed". (remove_card): simplify this, and use CARD_REMOVED all the time, instead of just in the single card case. svn path=/trunk/; revision=19916
* [ fixes bug #33066 ] new function (set_entry_changed_signals): callChris Toshok2003-02-113-46/+92
| | | | | | | | | | | | | | | | | | | | | | 2003-02-10 Chris Toshok <toshok@ximian.com> [ fixes bug #33066 ] * gui/contact-editor/e-contact-editor.c (set_urlentry_changed_signal_field): new function (set_entry_changed_signals): call set_urlentry_changed_signal_field for entry-web, entry-caluri, and entry-fburl. (fill_in_field): add handling for EUrlEntry's. (extract_field): same. (enable_widget): same. (e_contact_editor_create_date): show the widget. (e_contact_editor_create_web): same, create a url entry. (set_urlentry_changed_signal_field): new function * gui/contact-editor/contact-editor.glade: entry-web, entry-caluri, and entry-fburl are all custom widgets now. svn path=/trunk/; revision=19879
* Install load-pine-addressbook and load-gnomecard-addressbook intoEttore Perazzoli2003-02-114-9/+36
| | | | | | | | | | | | | | | | | | | | | * backend/ebook/Makefile.am: Install load-pine-addressbook and load-gnomecard-addressbook into ${privdatadir}/tools. Install evolution-vcard-importer and evolution-ldif-importer into ${privlibexecdir}. * backend/ebook/GNOME_Evolution_Addressbook_VCard_Importer.server.in: Removed. * backend/ebook/GNOME_Evolution_Addressbook_LDIF_Importer.server.in: Removed. * backend/ebook/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in: New. Specify an absolute path for the executable, using @LIBEXECDIR@. * backend/ebook/GNOME_Evolution_Addressbook_LDIF_Importer.server.in.in: Likewise. svn path=/trunk/; revision=19870
* gone. (match_initials): gone. (book_query_sexp): remove the primaryChris Toshok2003-02-105-52/+44
| | | | | | | | | | | | | | | | | | | | | | | 2003-02-09 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-completion.c (sexp_initials): gone. (match_initials): gone. (book_query_sexp): remove the primary handling. (book_query_score): same. * backend/ebook/e-card.c (e_card_set_property): g_value_get_pointer => g_value_get_object for "category_list". * backend/ebook/e-book.c (struct _EBookPrivate): add a comment. * backend/pas/pas-backend-ldap.c (func_beginswith): performance at the cost of a tiny bit of correctness. If the ldap server doesn't support evolutionPerson don't query on fileAs, use sn (since that's effectively what gets used in the display when fileAs isn't supported.) svn path=/trunk/; revision=19863
* lots of changes here. should be a big performance gain. god i hope this isChris Toshok2003-02-102-228/+110
| | | | | | | | | | 2003-02-09 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-completion.c: lots of changes here. should be a big performance gain. god i hope this is finally right. svn path=/trunk/; revision=19860
* [ huge change, all for 1 little performance problem :) fixes #18207 ] useChris Toshok2003-02-0816-148/+244
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-08 Chris Toshok <toshok@ximian.com> [ huge change, all for 1 little performance problem :) fixes #18207 ] * gui/widgets/e-addressbook-model.c (get_view): use e_book_check_static_capability here to make things a little prettier. (remove_card): complain about my life, and add code to use one "model_changed" signal if we get back a list of cards instead of multiple "card_removed" signals. * gui/widgets/e-addressbook-model.h: little clean up. * gui/widgets/e-addressbook-view.c (delete): write a bulk-remove case for this. if the backend supports it, send all the ids at once. otherwise loop over the ids. (e_addressbook_view_delete_selection): fake a CardAndBook structure and call delete, instead of duplicating the code in 2 places. * gui/component/addressbook.c (delete_contact_cb): don't call e_contact_editor_confirm_delete here, it's handled by the EAddressbookView. * backend/pas/pas-card-cursor.c (pas_card_cursor_construct): fix a compiler warning about a stupid crash. * backend/pas/pas-book.h (PASOperation): RemoveCard -> RemoveCards. (PASRemoveCardsReques): char *id -> GList *ids. (PASRequest): PASRemoveCardRequest -> PASRemoveCardsRequest. * backend/pas/pas-book.c (pas_book_queue_remove_cards): build up a GList from the id sequence. (pas_book_respond_remove): notifyCardRemoved -> notifyCardsRemoved. (impl_GNOME_Evolution_Addressbook_Book_removeCards): rename. (pas_book_free_request): free the idlist for RemoveCards. (pas_book_class_init): removeCard -> removeCards. * backend/pas/pas-book-view.h: change prototype for pas_book_view_notify_remove, and add prototype for pas_book_view_notify_remove_1. * backend/pas/pas-book-view.c (pas_book_view_notify_remove_1): build up a list and call pas_book_view_notify_remove. (pas_book_view_notify_remove): build up the corba id sequence and call BookViewListener::notifyCardsRemoved. * backend/pas/pas-backend.h: remove_card -> remove_cards. * backend/pas/pas-backend.c (pas_backend_remove_cards): rename from _remove_card. (process_client_requests): RemoveCard -> RemoveCards and _remove_card -> _remove_cards. * backend/pas/pas-backend-ldap.c (check_schema_support): g_strcasecmp -> g_ascii_strcasecmp. (remove_card_handler): _remove => _remove_1. (modify_card_modify_handler): same. (pas_backend_ldap_process_remove_cards): rename from _remove_card. (pas_backend_ldap_class_init): _remove_card -> _remove_cards. * backend/pas/pas-backend-file.c (pas_backend_file_class_init): remove_card -> remove_cards. (pas_backend_file_get_static_capabilities): add "bulk-removes". (pas_backend_file_process_remove_cards): rewrite this function largely, so that it handles lists of ids. first we loop through and for every successful deletion we build a list of deleted ECards. Then for each view we build a list (a subset of the deleted ECard list) and pass back that list to the view. (pas_backend_file_process_modify_card): use _remove_1 instead of _remove. (ecard_matches_search): new function. * backend/pas/pas-backend-card-sexp.c (pas_backend_card_sexp_match_vcard): rewrite in terms of _match_ecard. (pas_backend_card_sexp_match_ecard): new function, the guts from _match_vcard. * backend/pas/pas-backend-card-sexp.h: add prototype for pas_backend_card_sexp_match_ecard. * backend/idl/addressbook.idl: the card removal stuff now takes CardIdList. * backend/ebook/e-book.c (e_book_get_static_capabilities): cache successful capability queries (since they're static). (e_book_check_static_capability): new, convenience function to check if a particular capability is supported. (e_book_remove_card_by_id): build a single element GList and call e_book_remove_cards. (e_book_remove_cards): build up a CORBA sequence from the GList and call Book::removeCards. (e_book_dispose): free the cached capabilities string. * backend/ebook/e-book.h: add new prototypes for e_book_check_static_capability and e_book_remove_cards. * backend/ebook/e-book-view.h (struct _EBookViewClass): rename "card_removed" signal to "cards_removed". * backend/ebook/e-book-view.c (e_book_view_do_removed_event): id -> ids, and free the id list. (e_book_view_check_listener_queue): CardRemovedEvent -> CardsRemovedEvent. * backend/ebook/e-book-view-listener.c (e_book_view_listener_queue_response): free the id list. (e_book_view_listener_queue_idlist_event): new function, used for cards_removed. (e_book_view_listener_queue_status_event): id -> ids. (e_book_view_listener_queue_sequence_event): same. (e_book_view_listener_queue_message_event): same. (impl_BookViewListener_notify_cards_removed): call queue_idlist_event. (e_book_view_listener_dispose): free the id list. (e_book_view_listener_class_init): track change to idl call. * backend/ebook/e-book-view-listener.h (EBookViewListenerOperation): CardRemovedEvent -> CardsRemovedEvent. (EBookViewListenerResponse): char *id -> GList *ids. * backend/ebook/e-book-listener.c (impl_BookListener_respond_r svn path=/trunk/; revision=19854
* [ huge change, all for 1 little performance problem :) fixes #18207 ] useChris Toshok2003-02-088-46/+243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-08 Chris Toshok <toshok@ximian.com> [ huge change, all for 1 little performance problem :) fixes #18207 ] * gui/widgets/e-addressbook-model.c (get_view): use e_book_check_static_capability here to make things a little prettier. (remove_card): complain about my life, and add code to use one "model_changed" signal if we get back a list of cards instead of multiple "card_removed" signals. * gui/widgets/e-addressbook-model.h: little clean up. * gui/widgets/e-addressbook-view.c (delete): write a bulk-remove case for this. if the backend supports it, send all the ids at once. otherwise loop over the ids. (e_addressbook_view_delete_selection): fake a CardAndBook structure and call delete, instead of duplicating the code in 2 places. * gui/component/addressbook.c (delete_contact_cb): don't call e_contact_editor_confirm_delete here, it's handled by the EAddressbookView. * backend/pas/pas-card-cursor.c (pas_card_cursor_construct): fix a compiler warning about a stupid crash. * backend/pas/pas-book.h (PASOperation): RemoveCard -> RemoveCards. (PASRemoveCardsReques): char *id -> GList *ids. (PASRequest): PASRemoveCardRequest -> PASRemoveCardsRequest. * backend/pas/pas-book.c (pas_book_queue_remove_cards): build up a GList from the id sequence. (pas_book_respond_remove): notifyCardRemoved -> notifyCardsRemoved. (impl_GNOME_Evolution_Addressbook_Book_removeCards): rename. (pas_book_free_request): free the idlist for RemoveCards. (pas_book_class_init): removeCard -> removeCards. * backend/pas/pas-book-view.h: change prototype for pas_book_view_notify_remove, and add prototype for pas_book_view_notify_remove_1. * backend/pas/pas-book-view.c (pas_book_view_notify_remove_1): build up a list and call pas_book_view_notify_remove. (pas_book_view_notify_remove): build up the corba id sequence and call BookViewListener::notifyCardsRemoved. * backend/pas/pas-backend.h: remove_card -> remove_cards. * backend/pas/pas-backend.c (pas_backend_remove_cards): rename from _remove_card. (process_client_requests): RemoveCard -> RemoveCards and _remove_card -> _remove_cards. * backend/pas/pas-backend-ldap.c (check_schema_support): g_strcasecmp -> g_ascii_strcasecmp. (remove_card_handler): _remove => _remove_1. (modify_card_modify_handler): same. (pas_backend_ldap_process_remove_cards): rename from _remove_card. (pas_backend_ldap_class_init): _remove_card -> _remove_cards. * backend/pas/pas-backend-file.c (pas_backend_file_class_init): remove_card -> remove_cards. (pas_backend_file_get_static_capabilities): add "bulk-removes". (pas_backend_file_process_remove_cards): rewrite this function largely, so that it handles lists of ids. first we loop through and for every successful deletion we build a list of deleted ECards. Then for each view we build a list (a subset of the deleted ECard list) and pass back that list to the view. (pas_backend_file_process_modify_card): use _remove_1 instead of _remove. (ecard_matches_search): new function. * backend/pas/pas-backend-card-sexp.c (pas_backend_card_sexp_match_vcard): rewrite in terms of _match_ecard. (pas_backend_card_sexp_match_ecard): new function, the guts from _match_vcard. * backend/pas/pas-backend-card-sexp.h: add prototype for pas_backend_card_sexp_match_ecard. * backend/idl/addressbook.idl: the card removal stuff now takes CardIdList. * backend/ebook/e-book.c (e_book_get_static_capabilities): cache successful capability queries (since they're static). (e_book_check_static_capability): new, convenience function to check if a particular capability is supported. (e_book_remove_card_by_id): build a single element GList and call e_book_remove_cards. (e_book_remove_cards): build up a CORBA sequence from the GList and call Book::removeCards. (e_book_dispose): free the cached capabilities string. * backend/ebook/e-book.h: add new prototypes for e_book_check_static_capability and e_book_remove_cards. * backend/ebook/e-book-view.h (struct _EBookViewClass): rename "card_removed" signal to "cards_removed". * backend/ebook/e-book-view.c (e_book_view_do_removed_event): id -> ids, and free the id list. (e_book_view_check_listener_queue): CardRemovedEvent -> CardsRemovedEvent. * backend/ebook/e-book-view-listener.c (e_book_view_listener_queue_response): free the id list. (e_book_view_listener_queue_idlist_event): new function, used for cards_removed. (e_book_view_listener_queue_status_event): id -> ids. (e_book_view_listener_queue_sequence_event): same. (e_book_view_listener_queue_message_event): same. (impl_BookViewListener_notify_cards_removed): call queue_idlist_event. (e_book_view_listener_dispose): free the id list. (e_book_view_listener_class_init): track change to idl call. * backend/ebook/e-book-view-listener.h (EBookViewListenerOperation): CardRemovedEvent -> CardsRemovedEvent. (EBookViewListenerResponse): char *id -> GList *ids. * backend/ebook/e-book-listener.c (impl_BookListener_respond_remove_cards): rename from remove_card. svn path=/trunk/; revision=19853
* check the status, not the book, and unref the book here.Chris Toshok2003-02-0718-139/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-06 Chris Toshok <toshok@ximian.com> * gui/component/e-address-popup.c (email_table_save_card_cb): check the status, not the book, and unref the book here. (contact_editor_cb): same. (start_query): unref the book in the failure case. (add_card_idle_cb): addressbook_load_default_book returns void now. (edit_contact_info_cb): same. (e_address_popup_query): same. * gui/component/addressbook.c (control_activate_cb): track change to addressbook_load_uri return type. (set_prop): same. (addressbook_load_uri): return type is void now. (addressbook_load_default_book): same. * gui/component/addressbook.h: addressbook_load_uri/addressbook_load_default_book return void now. * conduit/address-conduit.c (start_addressbook_server): e_book_load_default_book returns void now. * backend/ebook/e-book-util.h: track changes to return types. * backend/ebook/e-book-util.c (e_book_load_address_book_by_uri): fallout from change to e_book_load_uri. return type for this function is void now too. (e_book_use_address_book_by_uri): same. (e_book_use_default_book): same. (e_book_load_default_book): same. (got_uri_book_cb): if unsuccessful and book is non-NULL, unref it here. (got_default_book_cb): same. * backend/ebook/e-book.c (e_book_load_uri): no longer return a gboolean. any error is communicated to the callback. * backend/ebook/e-book.h: e_book_load_uri no longer returns a gboolean (it's void.) * backend/ebook/evolution-ldif-importer.c (ebook_create): track change to the e_book_load_uri family of functions. * backend/ebook/test-client-list.c (ebook_create): same. * backend/ebook/test-client.c (ebook_create): same. * backend/ebook/load-pine-addressbook.c (ebook_create): same. * backend/ebook/evolution-vcard-importer.c (ebook_create): same. svn path=/trunk/; revision=19839
* Use different tmp file names so these rules can be executed in parallelEttore Perazzoli2003-02-074-24/+64
| | | | | | | | | | | | | | | * backend/ebook/Makefile.am (e-book-marshal.c, e-book-marshal.h): Use different tmp file names so these rules can be executed in parallel without interfering with each otehr. * backend/pas/Makefile.am: Make the ORBit compilation work properly with parallel makes (i.e. make sure it does not spawn multiple orbit-idl processes on the same IDL file at the same time). * gui/component/select-names/Makefile.am: Likewise. * backend/ebook/Makefile.am: Likewise. svn path=/trunk/; revision=19834
* s/PACKAGE/GETTEXT_PACKAGE/ in gettext initDan Winship2003-02-072-2/+7
| | | | svn path=/trunk/; revision=19818
* update Makefile.ams and fix a lot of warningsDan Winship2003-02-061-0/+143
| | | | svn path=/trunk/; revision=19788
* Remove cruftDan Winship2003-02-061-2/+1
| | | | | | * conduit/Makefile.am (INCLUDES): Remove cruft svn path=/trunk/; revision=19787
* Remove cruft, rename ICONSDIR to IMAGESDIR. (serverdir, gladedir): RemoveDan Winship2003-02-064-35/+29
| | | | | | | | | | | | | | | | | | * gui/component/Makefile.am (INCLUDES): Remove cruft, rename ICONSDIR to IMAGESDIR. (serverdir, gladedir): Remove defintions. * gui/component/addressbook-component.c (IS_CONTACT_TYPE): use g_ascii_strcasecmp (add_creatable_item): s/ICONSDIR/IMAGESDIR/ * gui/component/component-factory.c: #include <string.h> * gui/component/e-address-widget.c: Likewise. (e_address_widget_destroy): s/gtk_idle_remove/g_source_remove/ (e_address_widget_schedule_query): s/gtk_idle_add/g_idle_add/ svn path=/trunk/; revision=19786
* Remove cruft. (serverdir, gladedir, etspecdir): Remove definitionsDan Winship2003-02-064-10/+2
| | | | | | | | | | | | | | | | | * gui/component/select-names/Makefile.am (INCLUDES): Remove cruft. (serverdir, gladedir, etspecdir): Remove definitions * gui/component/select-names/e-select-names.c: #include <string.h> * gui/component/select-names/e-select-names-popup.c (init_html_mail): Remove deprecated gtk_check_menu_item_set_show_toggle call. * gui/component/select-names/e-select-names-manager.c (e_select_names_manager_entry_free): s/gtk_timeout_remove/g_source_remove/ svn path=/trunk/; revision=19785
* Remove cruft. (gladedir, etspecdir): Remove definitions. (glade_DATA):Dan Winship2003-02-067-31/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/widgets/Makefile.am (INCLUDES): Remove cruft. (gladedir, etspecdir): Remove definitions. (glade_DATA): Empty, so remove it. * gui/widgets/e-addressbook-reflow-adapter.c: #include <string.h> (addressbook_get_property): Remove unused variable * gui/widgets/e-addressbook-view.c: #include <string.h> (get_selection_model): Add a g_return_val_if_reached. * gui/widgets/e-minicard.c: #include string.h, gtkmain.h, gnome-canvas-pixbuf.h (field_changed): s/gtk_object_unref/g_object_unref/ (get_left_width): Remove unused variable * gui/widgets/e-minicard-control.c: #include <string.h> (pstream_load, pstream_save): Use g_ascii_strcasecmp * gui/widgets/e-minicard-view.c: #include <string.h> * gui/widgets/e-minicard-view-widget.c (e_minicard_view_widget_new): s/gtk_type_new/g_object_new/ svn path=/trunk/; revision=19784
* Remove cruft. Define in terms of privdatadirDan Winship2003-02-062-3/+1
| | | | | | | * gui/merging/Makefile.am (INCLUDES): Remove cruft. * gui/search/Makefile.am (ruledir): Define in terms of privdatadir svn path=/trunk/; revision=19783
* Remove cruft, s/ICONSDIR/IMAGESDIR/ (gladedir, etspecdir): RemoveDan Winship2003-02-063-12/+7
| | | | | | | | | | | | | | | * gui/contact-list-editor/Makefile.am (INCLUDES): Remove cruft, s/ICONSDIR/IMAGESDIR/ (gladedir, etspecdir): Remove definitions. * gui/contact-list-editor/e-contact-list-editor.c: #include <string.h> (e_contact_list_editor_init): s/ICONSDIR/IMAGESDIR/ (e_contact_list_editor_new): s/gtk_object_ref/g_object_ref/ * gui/contact-list-editor/e-contact-list-model.c: #include <string.h> svn path=/trunk/; revision=19782
* Remove some cruft. rename ICONSDIR to IMAGESDIR. (images_DATA): InstallDan Winship2003-02-065-32/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/contact-editor/Makefile.am (INCLUDES): Remove some cruft. rename ICONSDIR to IMAGESDIR. (images_DATA): Install arrow.png in imagesdir instead of privdatadir. * gui/contact-editor/e-contact-quick-add.c: #include <string.h> * gui/contact-editor/e-contact-editor.c: #include <string.h> (e_contact_editor_init): s/EVOLUTION_ICONSDIR/EVOLUTION_IMAGESDIR/ (e_contact_editor_new): s/gtk_object_ref/g_object_ref/ (_replace_button): Look in imagesdir, not privdatadir (_phone_arrow_pressed): Remove call to deprecated gtk_check_menu_item_set_show_toggle. (_email_arrow_pressed): Likewise (_address_arrow_pressed): Likewise (set_address_field): Remove unused variable (enable_widget): s/gtk_entry_set_editable/gtk_editable_set_editable/ * gui/contact-editor/e-contact-editor-address.c (e_contact_editor_address_init): s/EVOLUTION_ICONSDIR/EVOLUTION_IMAGESDIR (e_contact_editor_address_set_property): s/gtk_entry_set_editable/gtk_editable_set_editable/ * gui/contact-editor/e-contact-editor-fullname.c (e_contact_editor_fullname_init): s/EVOLUTION_ICONSDIR/EVOLUTION_IMAGESDIR (e_contact_editor_fullname_set_property): Likewise. svn path=/trunk/; revision=19781
* Define in terms of privdatadir. (gladedir): Defined in configure.in now.Dan Winship2003-02-064-5/+4
| | | | | | | | | | | | * printing/Makefile.am (ecpsdir): Define in terms of privdatadir. (gladedir): Defined in configure.in now. * printing/e-contact-print.c: #include <string.h> * printing/test-print.c: #include <bonobo/bonobo-main.h> * printing/test-contact-print-style-editor.c: Likewise svn path=/trunk/; revision=19780
* Remove cruft (ldapschemadir): Use privdatadir (pasincludedir): UseDan Winship2003-02-063-5/+2
| | | | | | | | | | | | * backend/pas/Makefile.am (INCLUDES): Remove cruft (ldapschemadir): Use privdatadir (pasincludedir): Use privincludedir. * backend/pas/pas-book-factory.c (pas_book_factory_activate): Remove unused variable. * backend/pas/pas-book-view.c (pas_book_view_new): Likewise svn path=/trunk/; revision=19779
* Remove cruft. (libebookincludedir): Use privincludedir.Dan Winship2003-02-069-20/+33
| | | | | | | | | | | | | | | | | | | | | | | | * backend/ebook/Makefile.am (INCLUDES): Remove cruft. (libebookincludedir): Use privincludedir. * backend/ebook/e-book-util.c: #include <string.h> * backend/ebook/e-card-compare.c: Likewise * backend/ebook/load-pine-addressbook.c: Likewise * backend/ebook/test-client.c: Likewise * backend/ebook/evolution-vcard-importer.c: #include <e-book-util.h> (factory_fn): Fix this to actually return the importer. * backend/ebook/evolution-ldif-importer.c (parseLine): #include <e-book-util.h> and <bonobo/bonobo-main.h>. Use g_ascii_strcmp. * backend/ebook/e-card.c (e_card_email_match_single_string): (e_card_email_find_number): s/g_str/g_ascii_str/ * backend/ebook/e-destination.c (e_destination_equal): Likewise. Also, add an "else return FALSE;" svn path=/trunk/; revision=19778
* Replace deprecated glade_gnome_init() with glade_init().Dan Winship2003-02-065-4/+15
| | | | | | | | | | | | | * gui/component/addressbook-config.c (main): Replace deprecated glade_gnome_init() with glade_init(). * gui/contact-editor/test-editor.c (main): Likewise. * printing/test-contact-print-style-editor.c (main): Likewise. * printing/test-print.c (main): Likewise. svn path=/trunk/; revision=19760
* updated for e scroll frame --> gtk scrolled windowRadek Doulik2003-02-052-10/+10
| | | | svn path=/trunk/; revision=19736
* [ pull forward Jack Jia's fix for #34900 ] use a weak ref for the fileChris Toshok2003-02-042-9/+15
| | | | | | | | | | | | | | | 2003-02-03 Chris Toshok <toshok@ximian.com> [ pull forward Jack Jia's fix for #34900 ] * gui/contact-editor/e-contact-save-as.c (e_contact_save_as): use a weak ref for the file selector. (e_contact_list_save_as): same. (destroy_it): rewrite this as a weak ref notify function. (close_it): remove frees of the info (it's freed in the weak ref function). (save_it): same. svn path=/trunk/; revision=19722
* pull forward Jack Jia's fix for #33672, but convert it to use unlinkChris Toshok2003-02-042-13/+22
| | | | | | | | | | 2003-02-03 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-component.c (remove_folder): pull forward Jack Jia's fix for #33672, but convert it to use unlink instead of the gnome-vfs stuff. svn path=/trunk/; revision=19721
* add a scrolled window (SHADOW_IN) around the address textview.Chris Toshok2003-01-282-25/+41
| | | | | | | | | 2003-01-27 Chris Toshok <toshok@ximian.com> * gui/contact-editor/contact-editor.glade: add a scrolled window (SHADOW_IN) around the address textview. svn path=/trunk/; revision=19649
* rename the category entry to entry-categories.Chris Toshok2003-01-273-3/+22
| | | | | | | | | | | | | 2003-01-26 Chris Toshok <toshok@ximian.com> * gui/contact-editor/contact-editor.glade: rename the category entry to entry-categories. * gui/contact-editor/e-contact-editor.c (set_entry_changed_signals): use the specialized "changed" signal handlers for entry-company and entry-fullname. svn path=/trunk/; revision=19640
* i need to sleep more.Chris Toshok2003-01-262-1/+4
| | | | | | | | 2003-01-26 Chris Toshok <toshok@ximian.com> * gui/component/Makefile.am: i need to sleep more. svn path=/trunk/; revision=19635
* need to assign this here or else the lib doesn't get built.Chris Toshok2003-01-262-0/+6
| | | | | | | | | 2003-01-26 Chris Toshok <toshok@ximian.com> * gui/component/Makefile.am (componentdir): need to assign this here or else the lib doesn't get built. svn path=/trunk/; revision=19634
* begin the new page after showing the last one. (complete_sequence):Chris Toshok2003-01-262-7/+21
| | | | | | | | | | | | | | 2003-01-26 Chris Toshok <toshok@ximian.com> * printing/e-contact-print.c (e_contact_start_new_page): begin the new page after showing the last one. (complete_sequence): beginpage before we start printing. (e_contact_print_response): GtkDialog-ify this. (e_contact_print_dialog_new): "clicked" -> "response". (e_contact_print_card_dialog_new): same. (e_contact_print_card_list_dialog_new): same. svn path=/trunk/; revision=19633
* enable this, as building the conduit works if you have gnome-pilot2.Chris Toshok2003-01-262-3/+6
| | | | | | | | | 2003-01-26 Chris Toshok <toshok@ximian.com> * Makefile.am (CONDUIT_SUBDIR): enable this, as building the conduit works if you have gnome-pilot2. svn path=/trunk/; revision=19632
* GObjectify the stuff in here that refers to addressbook objects. theChris Toshok2003-01-262-52/+35
| | | | | | | | | | 2003-01-25 Chris Toshok <toshok@ximian.com> * conduit/address-conduit.c: GObjectify the stuff in here that refers to addressbook objects. the gnome-pilot stuff is still GtkObject for the moment. svn path=/trunk/; revision=19630
* Remove definition; this is now in configure.in. Likewise. Likewise.Ettore Perazzoli2003-01-254-4/+7
| | | | | | | | | * gui/component/Makefile.am (iconsdir): Remove definition; this is now in configure.in. * gui/contact-editor/Makefile.am (iconsdir): Likewise. * gui/contact-list-editor/Makefile.am (iconsdir): Likewise. svn path=/trunk/; revision=19619
* [ fixes bug #34898 ] handle modifications to email addresses in contactSean Gao2003-01-242-0/+33
| | | | | | | | | | 2003-01-23 Sean Gao <Sean.Gao@Sun.COM> [ fixes bug #34898 ] * gui/widgets/e-minicard.c (field_changed): handle modifications to email addresses in contact lists. svn path=/trunk/; revision=19604
* [ fixes bug #36375 ] use PHONE_OTHER_FAX instead of PHONE_OTHER forSean Gao2003-01-242-1/+7
| | | | | | | | | | 2003-01-23 Sean Gao <Sean.Gao@Sun.COM> [ fixes bug #36375 ] * backend/pas/pas-backend-ldap.c: use PHONE_OTHER_FAX instead of PHONE_OTHER for "other_fax". svn path=/trunk/; revision=19602
* [ fixes bug #31014, roll this in from the 1.2 branch ] use "categories"Chris Toshok2003-01-242-1/+8
| | | | | | | | | | | 2003-01-23 Chris Toshok <toshok@ximian.com> [ fixes bug #31014, roll this in from the 1.2 branch ] * backend/pas/pas-backend-ldap.c: use "categories" instead of "category" for the ECard field so the UI/get_supported_fields stuff actually thinks its usable in the contact editor.. svn path=/trunk/; revision=19599
* fix for bug 34883 broke ssl transactions (at least those where we wereChris Toshok2003-01-242-0/+17
| | | | | | | | | | 2003-01-23 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-ldap.c (pas_backend_ldap_connect): fix for bug 34883 broke ssl transactions (at least those where we were connecting to port 636). Move it to after the SSL stanza. svn path=/trunk/; revision=19598
* Remove definition; no need to set it here since it's now defined inEttore Perazzoli2003-01-242-1/+7
| | | | | | | | | * gui/component/select-names/Makefile.am (componentdir): Remove definition; no need to set it here since it's now defined in configure.in * gui/component/Makefile.am (componentdir): Likewise. svn path=/trunk/; revision=19594
* Define componentdir instead of COMPONENT_DIR. Set it toEttore Perazzoli2003-01-241-2/+0
| | | | | | | | | | | | | | | | | | | | | | * configure.in (idldir): Define componentdir instead of COMPONENT_DIR. Set it to $privlibdir/components instead of $libdir/evolution-$(BASE_VERSION)/components. * gui/component/select-names/Makefile.am (componentdir): Remove definition; no need to set it here since it's now defined in configure.in * gui/component/Makefile.am (componentdir): Likewise. * gui/Makefile.am (componentdir): Removed definition; this is now defined in configure.in. * Makefile.am (componentdir): Removed definition; this is now defined in configure.in. * Makefile.am (componentdir): Removed definition; this is now defined in configure.in. svn path=/trunk/; revision=19588
* Version using $(BASE_VERSION). (etspecdir): Likewise. (iconsdir):Ettore Perazzoli2003-01-2315-115/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/select-names/Makefile.am (gladedir): Version using $(BASE_VERSION). (etspecdir): Likewise. (iconsdir): Likewise. * gui/contact-list-editor/Makefile.am (iconsdir): Version using $(BASE_VERSION). (gladedir): Likewise. * gui/merging/Makefile.am (gladedir): Version using $(BASE_VERSION). * gui/search/Makefile.am (ruledir): Version using $(BASE_VERSION). * gui/component/Makefile.am (INCLUDES): Update EVOLUTION_IMAGESDIR to be versioned through $(BASE_VERSION). * gui/widgets/e-addressbook-view.c (init_collection): Use EVOLUTION_GALVIEWSDIR. * gui/widgets/Makefile.am (INCLUDES): Define EVOLUTION_GALVIEWSDIR and update EVOLUTION_IMAGESDIR. svn path=/trunk/; revision=19551
* don't use gnome_print_multipage_new_from_sizes and add warningRadek Doulik2003-01-222-2/+17
| | | | | | | | | 2003-01-21 Radek Doulik <rodo@ximian.com> * printing/e-contact-print.c (e_contact_print_button): don't use gnome_print_multipage_new_from_sizes and add warning svn path=/trunk/; revision=19542
* applied patch from Frederic Crozat <fcrozat@mandrakesoft.com>Radek Doulik2003-01-223-45/+45
| | | | svn path=/trunk/; revision=19540
* reenable all the importers/loaders.Chris Toshok2003-01-165-175/+101
| | | | | | | | | | | | | | | | 2003-01-15 Chris Toshok <toshok@ximian.com> * backend/ebook/Makefile.am (bin_PROGRAMS): reenable all the importers/loaders. * backend/ebook/evolution-ldif-importer.c, backend/ebook/evolution-vcard-importer.c: Finish gnome2 port issues, and get these to compile. * backend/ebook/load-gnomecard-addressbook.c, backend/ebook/load-pine-addressbook.c: same. svn path=/trunk/; revision=19485
* Change dialog from Yes/No/Cancel to Discard/Cancel/Save to match the HIG.Ettore Perazzoli2003-01-1510-14/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/widgets/e-addressbook-util.c (e_addressbook_prompt_save_dialog): Change dialog from Yes/No/Cancel to Discard/Cancel/Save to match the HIG. * gui/search/e-addressbook-search-dialog.c (e_addressbook_search_dialog_init): Change dialog from OK/Cancel to Cancel/OK to match the HIG. * gui/contact-editor/e-contact-save-as.c (file_exists): Change dialog from Overwrite/Cancel to Cancel/Overwrite to match the HIG. * gui/contact-editor/e-contact-quick-add.c (build_quick_add_dialog): Fix typo s/reponse/response/. Also change the dialog to be Edit/Cancel/OK instead of OK/Edit/Cancel to match the HIG. * gui/contact-editor/e-contact-editor.c (e_contact_editor_confirm_delete): Make alert cancel/delete instead of delete/cancel to match the HIG. * gui/contact-editor/e-contact-editor-fullname.c (e_contact_editor_fullname_init): Make dialog Cancel/OK instead of OK/Cancel to match the HIG. * gui/contact-editor/e-contact-editor-address.c (e_contact_editor_address_init): Make dialog Cancel/OK instead of OK/Cancel to match the HIG. * gui/component/select-names/e-select-names.c (e_select_names_init): Make dialog Cancel/OK instead of OK/Cancel to match the HIG. svn path=/trunk/; revision=19472
* Add $(schema_DATA).Ettore Perazzoli2003-01-153-3/+9
| | | | | | | | | | | * gui/component/Makefile.am (EXTRA_DIST): Add $(schema_DATA). * Makefile.am: Do not dist the .server.in files; just dist the .server.in.in ones. (EXTRA_DIST): Add GNOME_Evolution_WombatLDAP.server.in.in and GNOME_Evolution_WombatNOLDAP.server.in.in svn path=/trunk/; revision=19451
* try to load the uri again if it failed previously. (book_open_cb): setChris Toshok2003-01-104-3/+47
| | | | | | | | | | | | | | | | | | | | | | 2003-01-09 Chris Toshok <toshok@ximian.com> * gui/component/addressbook.c (control_activate_cb): try to load the uri again if it failed previously. (book_open_cb): set failed_to_load based on the response. (set_prop): initialize failed_to_load to FALSE before we kick off the first load. * backend/pas/pas-book-factory.c (pas_book_factory_process_request): if the load_uri fails, remove it from the hashtable and free it, so we'll try to load it again from scratch the next time it's requested instead of serving up a backend that doesn't function. * backend/pas/pas-backend.c (pas_backend_get_uri): we need to be able to get the uri from backends that aren't loaded (so we can remove them from the hashtable.) svn path=/trunk/; revision=19392
* doh, fix build error.Chris Toshok2003-01-102-2/+7
| | | | | | | | | 2003-01-09 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-ldap.c (query_ldap_root_dse): doh, fix build error. svn path=/trunk/; revision=19388
* #include gtklabel.h, fixes an unresolved symbol.Chris Toshok2003-01-102-0/+6
| | | | | | | | | 2003-01-09 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-popup.c: #include gtklabel.h, fixes an unresolved symbol. svn path=/trunk/; revision=19387
* build up the list of supported auth_methods.Chris Toshok2003-01-1011-66/+411
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-09 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-ldap.c (query_ldap_root_dse): build up the list of supported auth_methods. (pas_backend_ldap_process_get_supported_auth_methods): respond with the list of auth methods we've built up. (pas_backend_ldap_dispose): unref the auth_method list. (pas_backend_ldap_class_init): hook up pas_backend_ldap_process_get_supported_auth_methods. * backend/pas/pas-backend.c (pas_backend_get_supported_auth_methods): new function. (process_client_requests): add clause for GetSupportedAuthMethods. * backend/pas/pas-backend.h: add prototype for pas_backend_get_supported_auth_methods, and add it to the class vtable. * backend/pas/pas-book.h: add GetSupportedAuthMethods enum member and PASGetSupportedAuthMethodsRequest. and add prototype for pas_book_respond_get_supported_auth_methods. * backend/pas/pas-book.c (pas_book_queue_get_supported_auth_methods): new function. (impl_GNOME_Evolution_Addressbook_Book_getSupportedAuthMethods): new function. (pas_book_respond_get_supported_auth_methods): new function. (pas_book_free_request): add clause for GetSupportedAuthMethods. (pas_book_class_init): hook up getSupportedAuthMethods. * backend/ebook/e-book-listener.c (e_book_listener_queue_get_supported_fields_response): fields -> list. (e_book_listener_queue_get_supported_auth_methods_response): new function. (impl_BookListener_response_get_supported_auth_methods): new function. (e_book_listener_class_init): hook up epv->notifySupportedAuthMethods. * backend/ebook/e-book-listener.h: add GetSupportedAuthMethodsResponse enum member, and change the field name from "fields" to list (and use it for both GetSupportedFields and GetSupportedAuthMethods) * backend/ebook/e-book.c (e_book_get_supported_auth_methods): new function. (e_book_do_response_get_supported_auth_methods): new function. * backend/ebook/e-book.h: add prototype for e_book_get_supported_auth_methods. * backend/idl/addressbook.idl: add getSupportedAuthMethods IDL call. svn path=/trunk/; revision=19386
* deal with backends that might not have loaded successfully (they'll have aChris Toshok2003-01-102-12/+19
| | | | | | | | | | 2003-01-09 Chris Toshok <toshok@ximian.com> * backend/pas/pas-book-factory.c (backend_last_client_gone_cb): deal with backends that might not have loaded successfully (they'll have a NULL uri). svn path=/trunk/; revision=19385
* call e_select_names_bonobo_construct on the newly created object.Chris Toshok2003-01-102-0/+8
| | | | | | | | | | 2003-01-09 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-bonobo.c (e_select_names_bonobo_new): call e_select_names_bonobo_construct on the newly created object. svn path=/trunk/; revision=19384
* addressbook-config.etspec is gone.Chris Toshok2003-01-105-6353/+6001
| | | | | | | | | | | | | | 2003-01-09 Chris Toshok <toshok@ximian.com> * gui/component/Makefile.am: addressbook-config.etspec is gone. * gui/component/addressbook-config.c: make the sources table be a gtktreeview instead of an etable. * gui/component/ldap-config.glade: remove all references to gnome-hint.png svn path=/trunk/; revision=19380
* fix parameter types here (this signal isn't generated from an ETable.)Chris Toshok2003-01-106-1/+26
| | | | | | | | | | | | | | | | | | 2003-01-09 Chris Toshok <toshok@ximian.com> * gui/widgets/gal-view-minicard.c (column_width_changed): fix parameter types here (this signal isn't generated from an ETable.) * gui/widgets/gal-view-factory-minicard.c: include e-util.h * gui/widgets/e-minicard.h: include gnome-canvas.h here. * gui/widgets/e-addressbook-table-adapter.c: #include e-destination.h here. * gui/widgets/e-minicard.c: same. svn path=/trunk/; revision=19378
* remove the select names stuff (the Related Contacts button/entry.)Chris Toshok2003-01-103-2537/+2285
| | | | | | | | | | | 2003-01-09 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.[ch]: remove the select names stuff (the Related Contacts button/entry.) * gui/contact-editor/contact-editor.glade: same. svn path=/trunk/; revision=19376
* comment out the factory oaf_server, and change the location of theChris Toshok2003-01-104-6/+33
| | | | | | | | | | | | | | | | | | | 2003-01-09 Chris Toshok <toshok@ximian.com> * gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.server.in.in: comment out the factory oaf_server, and change the location of the SelectNames controls to be OAFIID:GNOME_Evolution_Addressbook_Factory so the normal addressbook.so will create them. * gui/component/select-names/Makefile.am (libeselectnames_la_SOURCES): remove the e-select-names-factory.[ch] stuff for the time being. * gui/component/component-factory.c (factory): we're now (for the time being) the factory for the select names control. svn path=/trunk/; revision=19369
* oops, don't include e-treeview-selection-model.h unless we're building theChris Toshok2003-01-092-1/+6
| | | | | | | | | 2003-01-08 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.c: oops, don't include e-treeview-selection-model.h unless we're building the treeview. svn path=/trunk/; revision=19304
* Fix to build.Jeffrey Stedfast2003-01-092-1/+6
| | | | | | | | | 2003-01-08 Jeffrey Stedfast <fejj@ximian.com> * backend/pas/pas-backend-ldap.c (pas_backend_ldap_process_authenticate_user): Fix to build. svn path=/trunk/; revision=19302
* add in the schema entry for minimum_query_length.Chris Toshok2003-01-092-0/+16
| | | | | | | | | 2003-01-08 Chris Toshok <toshok@ximian.com> * gui/component/apps_evolution_addressbook.schemas: add in the schema entry for minimum_query_length. svn path=/trunk/; revision=19301
* add E_ADDRESSBOOK_VIEW_TREEVIEW to the enum, ifdef'ed out.Chris Toshok2003-01-094-18/+190
| | | | | | | | | | | | | | | | | | | | | | | 2003-01-08 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.h: add E_ADDRESSBOOK_VIEW_TREEVIEW to the enum, ifdef'ed out. * gui/widgets/e-addressbook-view.c (e_addressbook_view_class_init): add ifdefed treeview code. (init_collection): same. (display_view): same. (get_selection_model): same. (treeview_row_activated): same. (create_treeview_view): same. (change_view_type): same.xo (e_addressbook_view_print): same. (e_addressbook_view_print_preview): same. * gui/widgets/Makefile.am: add in the treeview sources (commented out). svn path=/trunk/; revision=19300
* add parent arg.Chris Toshok2003-01-097-1/+1063
| | | | | | | | | | | | | | | | 2003-01-08 Chris Toshok <toshok@ximian.com> * gui/widgets/gal-view-minicard.c (gal_view_minicard_edit): add parent arg. * gui/widgets/e-addressbook-treeview-adapter.[ch]: new files, for a GtkTreeView view of contacts. * gui/widgets/gal-view-treeview.[ch]: same * gui/widgets/gal-view-favroty-treeview.[ch]: same svn path=/trunk/; revision=19299
* make it buildJeffrey Stedfast2003-01-091-1/+1
| | | | svn path=/trunk/; revision=19297
* $(datadir)/evolution/images instead of $(datadir)/images/evolution.Ettore Perazzoli2003-01-095-22/+30
| | | | | | | | | | * gui/component/Makefile.am: $(datadir)/evolution/images instead of $(datadir)/images/evolution. * gui/contact-editor/Makefile.am: Likewise. * gui/contact-list-editor/Makefile.am (iconsdir): Likewise. * gui/widgets/Makefile.am: Likewise. svn path=/trunk/; revision=19295
* Move PASBook request handling into PASBackend itself since allDan Winship2003-01-095-395/+559
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | existing backends do it exactly the same way. (Part of 32866). * backend/pas/pas-backend.h (PASBackendClass): add new methods for the various pas book requests. * backend/pas/pas-backend.c: Add a clients list to PASBackendPrivate. (pas_backend_create_card, etc): Add these to invoke the new methods. (process_client_requests, book_destroy_cb): Moved here and slightly rewritten from pas-backend-file. (last_client_gone): Now static. (add_client, remove_client): Default implementations, based on pas-backend-file, that add the client to/remove it from the backend's clients list and connect to its requests_queued signal. (pas_backend_init, pas_backend_dispose): Deal with the clients list. * backend/pas/pas-backend-file.c (struct _PASBackendFilePrivate): Remove GList *clients. (pas_backend_file_process_client_requests, pas_backend_file_book_destroy_db, pas_backend_file_add_client, pas_backend_file_remove_client): Gone. (pas_backend_file_class_init): Remove add_client/remove_client method initializations, add initializations for processing the various book requests. * backend/pas/pas-backend-ldap.c (struct _PASBackendLDAPPrivate): Remove GList *clients. (pas_backend_ldap_process_create_card, etc): Make these take the specific PAS*Request types rather than a generic PASRequest. (pas_backend_ldap_process_client_requests, pas_backend_ldap_book_destroy_db, pas_backend_ldap_add_client, pas_backend_ldap_remove_client): Gone. (pas_backend_ldap_class_init): Remove add_client/remove_client method initializations, add initializations for processing the various book requests. svn path=/trunk/; revision=19287
* fix the SYNTAX for the telephone attributes, and make the fax attributesChris Toshok2003-01-082-13/+15
| | | | | | | | | | 2003-01-07 Chris Toshok <toshok@ximian.com> * backend/pas/evolutionperson.schema: fix the SYNTAX for the telephone attributes, and make the fax attributes more closely mirror those from core.schema. Fixes the schema for openldap-2.1. svn path=/trunk/; revision=19268
* remove idldir definition. (It's defined in configure.in now)Dan Winship2003-01-063-4/+7
| | | | | | | * Makefile.am: remove idldir definition. (It's defined in configure.in now) svn path=/trunk/; revision=19242
* [ fixes the non-ui portion of #36183 ] use the entry'sChris Toshok2003-01-025-15/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-01 Chris Toshok <toshok@ximian.com> [ fixes the non-ui portion of #36183 ] * gui/component/select-names/e-select-names-completion.c (e_select_names_completion_start_query): use the entry's minimum_query_length instead of a constant here. (e_select_names_completion_set_minimum_query_length): new function, set the entry's minimum_query_length. * gui/component/select-names/e-select-names-manager.c (e_select_names_manager_entry_new): set the minimum_query length after setting the completion books. (read_completion_settings_from_db): rename read_completion_books_from_db to this, and read the minimum_query_length too. (db_listener): rename uris_listener to this, and listen for changes on both the uris and minimum_query_length settings. * gui/component/select-names/e-select-names-completion.h: add prototype for e_select_names_completion_set_minimum_query_length. * gui/component/select-names/e-select-names-manager.h: add minimum_query_length to struct _ESelectNamesManager. svn path=/trunk/; revision=19199
* One more typoAndrew V. Samoilov2002-12-271-1/+1
| | | | svn path=/trunk/; revision=19181
* Typo fixedAndrew V. Samoilov2002-12-271-1/+1
| | | | svn path=/trunk/; revision=19180
* (addressbook_config_control_new): Made it return anEttore Perazzoli2002-12-203-2/+11
| | | | | | | EvolutionConfigControl instead of a BonoboControl (and removed a bogus EvolutionConfigControl -> BonoboControl cast). svn path=/trunk/; revision=19168
* [ fixes bug #34897 ] don't free the return of e_card_simple_get_const, asChris Toshok2002-12-192-1/+8
| | | | | | | | | | | 2002-12-17 Chris Toshok <toshok@ximian.com> [ fixes bug #34897 ] * gui/widgets/e-addressbook-table-adapter.c (addressbook_value_at): don't free the return of e_card_simple_get_const, as this causes a double free later on. svn path=/trunk/; revision=19163
* convert the clist in here to a GtkTreeView. your guess is as good as mineChris Toshok2002-12-192-38/+68
| | | | | | | | | | 2002-12-18 Chris Toshok <toshok@ximian.com> * gui/component/e-address-popup.c: convert the clist in here to a GtkTreeView. your guess is as good as mine if it works (i can't test it at present) but it compiles. svn path=/trunk/; revision=19162
* g_string_sprintfa -> g_string_append_printf. (create_alphabet): same.Chris Toshok2002-12-193-7/+16
| | | | | | | | | | | | | 2002-12-18 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.c (jump_to_letters): g_string_sprintfa -> g_string_append_printf. (create_alphabet): same. (create_minicard_view): remove gtk_widget_{push,pop}_visual. * gui/widgets/Makefile.am (INCLUDES): add -D*_DISABLE_DEPRECATED. svn path=/trunk/; revision=19161
* drop use of "font" arg. (get_left_width): use pango to calculate thisChris Toshok2002-12-1926-121/+227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-18 Chris Toshok <toshok@ximian.com> * gui/widgets/e-minicard.c (e_minicard_realize): drop use of "font" arg. (get_left_width): use pango to calculate this instead of a GdkFont. * gui/widgets/e-minicard-view.c: drop include of e-unicode.h. * gui/widgets/e-minicard-label.c (e_minicard_label_construct): don't need to create the font anymore. * gui/search/Makefile.am (INCLUDES): add -D*_DISABLE_DEPRECATED. * gui/search/e-addressbook-search-dialog.c (e_addressbook_search_dialog_new): use g_object_new instead of gtk_type_new. * gui/merging/Makefile.am (INCLUDES): add -D*_DISABLE_DEPRECATED. * gui/contact-list-editor/Makefile.am (INCLUDES): add -D*_DISABLE_DEPRECATED. * gui/contact-list-editor/e-contact-list-editor.c (is_named): strdup (or not, if we don't need to save the value) instead of using the e_utf8 functions. (fill_in_info): same. * gui/contact-editor/Makefile.am (INCLUDES): add -D*_DISABLE_DEPRECATED. * gui/contact-editor/e-contact-save-as.c (e_contact_save_as): strdup (or not, if we don't need to save the value) instead of using the e_utf8 functions. (e_contact_list_save_as): same. * gui/contact-editor/e-contact-quick-add.c (clicked_cb): strdup (or not, if we don't need to save the value) instead of using the e_utf8 functions. (build_quick_add_dialog): same. * gui/contact-editor/e-contact-editor.c (phone_entry_changed): strdup (or not, if we don't need to save the value) instead of using the e_utf8 functions. (file_as_set_style): same. (name_entry_changed): same. (full_name_clicked): same. (categories_clicked): same. (set_field): same. (fill_in_field): same. (fill_in_single_field): same. (extract_field): same. (extract_single_field): same. * gui/contact-editor/e-contact-editor-fullname.c (extract_field): just strdup, it's already utf8. * gui/contact-editor/e-contact-editor-address.c (extract_field): they're all entries, use GTK_ENTRY foo here. * gui/component/select-names/Makefile.am (INCLUDES): add -D*_DISABLE_DEPRECATED. * gui/component/select-names/e-select-names.c (e_select_names_add_section): remove the extra utf8_from_locale_string stuff. * gui/component/select-names/e-select-names-popup.c (set_uiinfo_label): gtk_container_children -> gtk_container_get_children, and remove the extra utf8 stuff. * gui/component/Makefile.am (INCLUDES): add -D*_DISABLE_DEPRECATED. * gui/component/addressbook-storage.c (addressbook_storage_init_source_uri): g_string_sprintfa -> g_string_append_printf. * gui/component/addressbook-config.c (focus_help): gtk_notebook_set_page -> gtk_notebook_set_current_page. (addressbook_source_dialog_set_source): same. (auth_optionmenu_activated): gtk_container_children -> gtk_container_get_children. (ssl_optionmenu_activated): same. (ssl_optionmenu_selected): same, and gtk_notebook_set_page -> gtk_notebook_set_current_page. (scope_optionmenu_activated): same. (set_advanced_button_state): same. (addressbook_ldap_init): hook "response" to gtk_widget_destroy to make the dialog go away when clicked. (addressbook_ldap_auth): same. (addressbook_root_dse_query): same. (do_ldap_root_dse_query): same. (addressbook_config_control_new): fix return type and cast. (main): remove call to gtk_widget_push_visual. * gui/component/addressbook-config.h: addressbook_config_control_new returns a BonoboObject, not a BonoboControl. * gui/component/addressbook.c: remove e-unicode.h include. * backend/pas/Makefile.am (INCLUDES): Add -DLIBGNOME_DISABLE_DEPRECATED. * backend/ebook/Makefile.am (INCLUDES): Add -DLIBGNOME_DISABLE_DEPRECATED. * backend/ebook/e-card.c (e_card_get_property): remove misleading comment. svn path=/trunk/; revision=19160
* g_strcasecmp -> g_ascii_strcasecmp. (FIND_INSERT): same.Chris Toshok2002-12-185-3/+20
| | | | | | | | | | | | | | | | | | | 2002-12-17 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-ldap.c (build_card_from_entry): g_strcasecmp -> g_ascii_strcasecmp. (FIND_INSERT): same. * backend/pas/pas-backend-file.c (pas_backend_file_load_uri): g_dirname -> g_path_get_dirname. * backend/pas/Makefile.am (INCLUDES): add -DG_DISABLE_DEPRECATED. * backend/ebook/Makefile.am (INCLUDES): add -DG_DISABLE_DEPRECATED. svn path=/trunk/; revision=19156
* oops, use strcmp, not !strcmp here.Chris Toshok2002-12-182-1/+6
| | | | | | | | | 2002-12-17 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-manager.c (uris_listener): oops, use strcmp, not !strcmp here. svn path=/trunk/; revision=19149
* [ Fixes bug #35135 ] don't free the default_book_uri here, it's done inChris Toshok2002-12-182-9/+48
| | | | | | | | | | | | | | | | 2002-12-17 Chris Toshok <toshok@ximian.com> [ Fixes bug #35135 ] * backend/ebook/e-book-util.c (set_default_book_uri_local): don't free the default_book_uri here, it's done in set_default_book_uri. (set_default_book_uri): break some stuff out from set_default_book_uri_from_bonobo_conf to here so it can be used both from that function and the bonobo listener. (default_folder_listener): set the new default book uri. (set_default_book_uri_from_bonobo_conf): install the bonobo conf listener so we'll get updates. svn path=/trunk/; revision=19148
* (addressbook_config_control_new): UseEttore Perazzoli2002-12-172-1/+8
| | | | | | | evolution_shell_client_corba_objref() instead of BONOBO_OBJREF() to get the Shell CORBA object. svn path=/trunk/; revision=19139
* Don't #include <e-util/e-html-utils.h>Jeffrey Stedfast2002-12-172-2/+5
| | | | | | | | | 2002-12-16 Jeffrey Stedfast <fejj@ximian.com> * gui/component/addressbook-config.c: Don't #include <e-util/e-html-utils.h> svn path=/trunk/; revision=19132
* GObject-ize this.Chris Toshok2002-12-103-75/+55
| | | | | | | | 2002-12-09 Chris Toshok <toshok@ximian.com> * gui/search/e-addressbook-search-dialog.[ch]: GObject-ize this. svn path=/trunk/; revision=19078
* pass "Addressbook" to e_passwords*. (addressbook_authenticate): same.Chris Toshok2002-12-102-3/+9
| | | | | | | | | | 2002-12-09 Chris Toshok <toshok@ximian.com> * gui/component/addressbook.c (load_uri_auth_cb): pass "Addressbook" to e_passwords*. (addressbook_authenticate): same. svn path=/trunk/; revision=19072
* remove PENDING_PORT_WORK. (addressbook_search_activated): same.Chris Toshok2002-12-103-8/+11
| | | | | | | | | | | | | | 2002-12-09 Chris Toshok <toshok@ximian.com> * gui/component/addressbook.c (search_cb): remove PENDING_PORT_WORK. (addressbook_search_activated): same. (addressbook_query_changed): same. * gui/component/Makefile.am (libevolution_addressbook_la_LIBADD): add libfilter.la back in. svn path=/trunk/; revision=19069
* Forgot to commit this new file.Ettore Perazzoli2002-12-101-0/+67
| | | | svn path=/trunk/; revision=19067
* #define MINICARD_CONTROL_ID.Ettore Perazzoli2002-12-102-0/+7
| | | | svn path=/trunk/; revision=19063
* connect ::response to gtk_widget_destroy so the dialog goes away.Chris Toshok2002-12-093-4/+15
| | | | | | | | | | | | 2002-12-08 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-util.c (e_addressbook_error_dialog): connect ::response to gtk_widget_destroy so the dialog goes away. * gui/widgets/e-minicard-label.c (e_minicard_label_construct): don't use font_gdk anymore on EText. it doesn't exist. svn path=/trunk/; revision=19059
* this uses pango now. (addressbook_height): same.Chris Toshok2002-12-092-23/+18
| | | | | | | | | | 2002-12-08 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-reflow-adapter.c (text_height): this uses pango now. (addressbook_height): same. svn path=/trunk/; revision=19058
* use e_card_set_book instead of basically duplicating its code here.Chris Toshok2002-12-072-8/+8
| | | | | | | | | | 2002-12-06 Chris Toshok <toshok@ximian.com> * backend/ebook/e-book.c (e_book_commit_card): use e_card_set_book instead of basically duplicating its code here. (e_book_add_card): same. svn path=/trunk/; revision=19052
* #include <string.h>.Ettore Perazzoli2002-12-0720-327/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/e-cardlist-model.c: #include <string.h>. * gui/component/addressbook-storage.c: #include <string.h>, <ctype.h>, <unistd.h>. * gui/component/addressbook-factory.c: Removed. * gui/component/addressbook-component.c: #include <bonobo/bonobo-main.h>, <unistd.h> and <string.h>. (create_view): addressbook_new_control() instead of addressbook_factory_new_control(). * gui/component/select-names/e-select-names.c (e_addressbook_create_ebook_table): Removed unused variable. (e_select_names_add_section): Removed unused variable. * gui/component/select-names/e-select-names-manager.c (focus_in_cb): Use g_source_remove() here instead of gtk_timeout_remove(). * gui/widgets/e-minicard-control.c (e_minicard_control_factory_init): Removed. (e_minicard_control_control_factory): Removed. (e_minicard_control_new): New. * gui/component/e-address-widget.c (e_address_widget_factory_init): Removed. (e_address_widget_new_control): Renamed from e_address_widget_factory_new_control(), made public. (e_address_widget_factory): Removed. * gui/component/e-address-popup.c (e_address_popup_new_control): New. (e_address_popup_factory_new_control): Removed. (e_address_popup_factory): Removed. (e_address_popup_factory_init): Removed. * gui/component/addressbook-config.c (addressbook_config_register_factory): Removed. (addressbook_config_create_control): New. * gui/component/addressbook-component.c (addressbook_component_factory_init): Removed. (addressbook_component_get_object): New. (owner_set_cb): Do not call addressbok_config_register_factory(). * gui/component/addressbook.c (addressbook_factory_init): Removed. (addressbook_new_control): Renamed from addressbook_factory_new_control(). svn path=/trunk/; revision=19041
* Use collate for sorting rather than the normal string sort. This fixes bugJeffrey Stedfast2002-12-062-1/+7
| | | | | | | | | | 2002-12-05 Jeffrey Stedfast <fejj@ximian.com> * gui/component/select-names/e-select-names.etspec: Use collate for sorting rather than the normal string sort. This fixes bug #26335 without causing bug #33933 :-) svn path=/trunk/; revision=19015
* only enable the LDAPv3 stuff if TLS is being used. Also, deal with namingChris Toshok2002-12-032-30/+50
| | | | | | | | | | | | 2002-11-30 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-ldap.c (pas_backend_ldap_connect): only enable the LDAPv3 stuff if TLS is being used. Also, deal with naming errors returned from query_ldap_root_dse, as some servers (older openldap servers among others i'm sure) don't have a root dse at all. svn path=/trunk/; revision=18989
* gnomedialog -> gtkdialog stuff. print dialog is a gtkdialog now.Not Zed2002-12-024-3/+18
| | | | | | | | | | | | | | | 2002-12-02 Not Zed <NotZed@Ximian.com> * gui/widgets/e-addressbook-view.c (e_contact_print_button): gnomedialog -> gtkdialog stuff. print dialog is a gtkdialog now. * gui/contact-editor/e-contact-editor.c: include gtkstock.h 2002-11-27 Not Zed <NotZed@Ximian.com> * gui/contact-editor/e-contact-editor-address.c: #include gtkstock.h svn path=/trunk/; revision=18971
* the detail is supposed to go after the signal id, not at the end of theChris Toshok2002-11-302-1/+7
| | | | | | | | | | 2002-11-29 Chris Toshok <toshok@ximian.com> * gui/widgets/e-minicard-view-widget.c (column_width_changed): the detail is supposed to go after the signal id, not at the end of the parameter list. svn path=/trunk/; revision=18958
* [ roll forward from 1.2 branch, partial fix for #31763 ] add the FindChris Toshok2002-11-292-393/+427
| | | | | | | | | 2002-11-28 Chris Toshok <toshok@ximian.com> [ roll forward from 1.2 branch, partial fix for #31763 ] * gui/component/select-names/select-names.glade: add the Find button back in. svn path=/trunk/; revision=18956
* remove the button_press_event handler (that did nothing). this makes it soChris Toshok2002-11-292-9/+7
| | | | | | | | | | | 2002-11-28 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.c (create_minicard_view): remove the button_press_event handler (that did nothing). this makes it so button presses actually get to the canvas (and therefore we can now drag the lines in the reflow widget). svn path=/trunk/; revision=18954
* add include for gtkstock.h.Chris Toshok2002-11-277-19/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-26 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-quick-add.c: add include for gtkstock.h. * gui/contact-list-editor/e-contact-list-model.c (e_contact_list_model_add_destination): add pre_change call. (e_contact_list_model_remove_row): same. (e_contact_list_model_remove_all): same. * gui/contact-list-editor/e-contact-list-editor.c (e_contact_list_editor_new): ref/sink the contact list editor so we don't get the floating unref warning from gtk. * gui/contact-editor/e-contact-editor.c (e_contact_editor_new): ref/sink the contact editor so we don't get the floating unref warning from gtk. (e_contact_editor_init): use g_build_filename instead of g_concat_dir_and_file. * gui/widgets/e-minicard-label.c (e_minicard_label_resize_children): use MAX (value, 0) to make sure we aren't passing negative values for clip-widths. * gui/widgets/e-minicard.c (e_minicard_realize): use MAX (value, 0) to make sure we aren't passing negative values for widths. * gui/contact-editor/e-contact-editor.c (e_contact_editor_init): use g_build_filename. svn path=/trunk/; revision=18946
* [ roll forward from 1.2 branch ] never pass NULL as the vcard to the corbaChris Toshok2002-11-272-1/+10
| | | | | | | | | | | | | 2002-11-26 Chris Toshok <toshok@ximian.com> [ roll forward from 1.2 branch ] * backend/pas/pas-backend-file.c (pas_backend_file_process_get_vcard): never pass NULL as the vcard to the corba call, it causes a crash. This particular bug bit us when we opened a card that contained an unresolvable related contact. svn path=/trunk/; revision=18944
* [ roll forward from 1.2 branch, Fixes addressbook bug #28945 ] if theChris Toshok2002-11-272-1/+16
| | | | | | | | | | | 2002-11-26 Chris Toshok <toshok@ximian.com> [ roll forward from 1.2 branch, Fixes addressbook bug #28945 ] * backend/ebook/e-card.c (e_card_get_vobject): if the email property is xml, get the real address from the e-destination. Fixes saving contact lists. svn path=/trunk/; revision=18942
* remove redundant setting of y2.Chris Toshok2002-11-276-13/+31
| | | | | | | | | | | | | | | | | | | | | | | | 2002-11-26 Chris Toshok <toshok@ximian.com> * gui/widgets/e-minicard.c (e_minicard_reflow): remove redundant setting of y2. * gui/contact-list-editor/e-contact-list-editor.c (e_contact_list_editor_init): show the table. * gui/component/select-names/e-select-names-completion.c: remove an unnecessary #include. * gui/component/addressbook-storage.c (addressbook_storage_setup): use g_build_filename. * gui/component/addressbook-component.c (remove_folder): use g_build_filename. (add_creatable_item): same. (ensure_completion_uris_exist): same, and use the right gconf paths for completion uris. svn path=/trunk/; revision=18940
* use new schema for completion/uris. (uris_listener): same.Chris Toshok2002-11-276-77/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-26 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-manager.c (read_completion_books_from_db): use new schema for completion/uris. (uris_listener): same. * gui/component/select-names/e-select-names.h: Convert to GtkDialog from GnomeDialog. * gui/component/select-names/e-select-names.c: Convert to GtkDialog from GnomeDialog. (folder_selected): use new schema for last_used_uri. (e_select_names_init): same. (e_select_names_set_default): use pango markup to set bold/not-bold. (e_select_names_add_section): don't bother creating an EEntry, we can use pango and a normal label. This also keeps us from wrapping "contacts ->" at the '-'. * gui/component/apps_evolution_addressbook.schemas: new file. * gui/component/Makefile.am: add the schema stuff. svn path=/trunk/; revision=18939
* ignore server.inChris Toshok2002-11-261-0/+1
| | | | svn path=/trunk/; revision=18917
* show the etable. (addressbook_add_server_druid): show_all before returningChris Toshok2002-11-252-1/+9
| | | | | | | | | | | 2002-11-24 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-config.c (query_for_supported_bases): show the etable. (addressbook_add_server_druid): show_all before returning the dialog, so the druid shows up. svn path=/trunk/; revision=18911
* [ roll forward from the 1.2 branch. fixes #25540, part of #29630, as wellChris Toshok2002-11-258-984/+1230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-23 Chris Toshok <toshok@ximian.com> [ roll forward from the 1.2 branch. fixes #25540, part of #29630, as well as other selection issues in the contact editor and ACL issues in the ldap backend ] * backend/pas/pas-backend-ldap.c (check_schema_support): reset the schema check state to FALSE if the read returned nothing (and the user had not authenticated). we'll requery if/when they auth. (query_ldap_root_dse): free the schema dn before assigning over it. (pas_backend_ldap_connect): added a diagnostic warning about the root dse query failing in anonymous mode (if it in fact did fail.) (pas_backend_ldap_process_authenticate_user): if we successfully authed, requery the root dse to pick up any attributes that might be protected, and retry the schema query if that failed before. * gui/contact-editor/e-contact-editor.c (full_name_clicked): set the dialog's editable state based on the new field "fullname_editable", and only do the Ok button handling if this flag is TRUE. (full_addr_clicked): set the dialog's editable state based on the editable state for the particular address (from editor->address_editable[]). also, only do the Ok button handling if this flag is TRUE. (_address_arrow_pressed): use the address_editable array to determine whether the address text and the mailing address checkbutton are sensitive. (enable_writable_fields): figure out if fullname_editable is TRUE/FALSE, also, init the address_editable flags based on the field list, and handle the address checkbutton. * gui/contact-editor/fulladdr.glade: change the label names to label-<name> to match {entry,combo}-<name>. * gui/contact-editor/fullname.glade: same. * gui/contact-editor/e-contact-editor-fullname.c (e_contact_editor_fullname_class_init): rename ARG_IS_READ_ONLY to ARG_EDITABLE, to reflect the correct sense of the flag. (e_contact_editor_fullname_set_arg): same, and make the labels sensitive/insensitive depending on the editable state of the dialog. * gui/contact-editor/e-contact-editor-address.c (e_contact_editor_address_class_init): rename ARG_IS_READ_ONLY to ARG_EDITABLE, to reflect the correct sense of the flag. (e_contact_editor_address_set_arg): same, and make the labels sensitive/insensitive depending on the editable state of the dialog. svn path=/trunk/; revision=18910
* [ roll forward Sean.Gao@sun.com's fix for #16870 from the 1.2 branch ]Chris Toshok2002-11-232-1/+8
| | | | | | | | | | | 2002-11-22 Chris Toshok <toshok@ximian.com> [ roll forward Sean.Gao@sun.com's fix for #16870 from the 1.2 branch ] * backend/ebook/evolution-ldif-importer.c (getNextLDIFEntry): check for both LR and CRLF as empty line markers. svn path=/trunk/; revision=18899
* [ rolling forward fix for #34254 from 1.2 branch ] use g-ascii_strncasecmpChris Toshok2002-11-231-1/+1
| | | | | | | | | | | 2002-11-22 Chris Toshok <toshok@ximian.com> [ rolling forward fix for #34254 from 1.2 branch ] * backend/ebook/evolution-vcard-importer.c (check_file_is_vcard): use g-ascii_strncasecmp instead of strncmp. (support_format_fn): use g_ascii_strcasecmp instead of strcmp. svn path=/trunk/; revision=18898
* [ rolling forward fix for #34254 from 1.2 branch ] use g-ascii_strncasecmpChris Toshok2002-11-232-2/+9
| | | | | | | | | | | 2002-11-22 Chris Toshok <toshok@ximian.com> [ rolling forward fix for #34254 from 1.2 branch ] * backend/ebook/evolution-vcard-importer.c (check_file_is_vcard): use g-ascii_strncasecmp instead of strncmp. (support_format_fn): use g_ascii_strcasecmp instead of strcmp. svn path=/trunk/; revision=18896
* roll forward the scope fix.Chris Toshok2002-11-212-1/+5
| | | | | | | | 2002-11-20 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-storage.h: roll forward the scope fix. svn path=/trunk/; revision=18875
* roll forward the fix for the contact editor.Chris Toshok2002-11-212-0/+10
| | | | | | | | | 2002-11-20 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c: roll forward the fix for the contact editor. svn path=/trunk/; revision=18874
* Pass type to bonobo_ctonrol_set_property, and also NULL terminate theNot Zed2002-11-213-2/+11
| | | | | | | | | | | | | 2002-11-21 Not Zed <NotZed@Ximian.com> * gui/component/select-names/e-select-names-bonobo.c (entry_changed): Pass type to bonobo_ctonrol_set_property, and also NULL terminate the valist. * gui/component/select-names/e-select-names-text-model.c (changed_cb): Fix signature for signal. svn path=/trunk/; revision=18871
* gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.server.Ettore Perazzoli2002-11-203-5/+13
| | | | | | | | * gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.server.in.in, * gui/component/select-names/Makefile.am: Same changes as below for the SelectNames component. svn path=/trunk/; revision=18845
* show the custom table.Chris Toshok2002-11-192-0/+6
| | | | | | | | | 2002-11-18 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names.c (e_select_names_init): show the custom table. svn path=/trunk/; revision=18834
* remove the cast to (int) - column_width is a double.Chris Toshok2002-11-194-11/+28
| | | | | | | | | | | | | | | | | | | | | 2002-11-18 Chris Toshok <toshok@ximian.com> * gui/widgets/gal-view-minicard.c (gal_view_minicard_attach): remove the cast to (int) - column_width is a double. * gui/widgets/e-minicard.c (e_minicard_class_init): the height property is only readable, not readwrite. * gui/widgets/e-minicard-view-widget.c (e_minicard_view_widget_class_init): make column_width a double property. (e_minicard_view_widget_set_property): don't cast to (int). column_width is double in the e-minicard-view. (e_minicard_view_widget_realize): same. (e_minicard_view_widget_get_property): use g_value_set_double for column_width. svn path=/trunk/; revision=18831
* oops, missed some "oaf"'s.Chris Toshok2002-11-182-1/+6
| | | | | | | | | 2002-11-17 Chris Toshok <toshok@ximian.com> * gui/component/select-names/Makefile.am (servers_DATA): oops, missed some "oaf"'s. svn path=/trunk/; revision=18817
* sink the popup. (e_contact_editor_build_email_ui): same.Chris Toshok2002-11-173-0/+18
| | | | | | | | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c (e_contact_editor_build_phone_ui): sink the popup. (e_contact_editor_build_email_ui): same. (e_contact_editor_build_address_ui): same. * gui/component/addressbook-config.c (ldap_dialog_new): show everything from dialog->page down, so custom widgets show up. svn path=/trunk/; revision=18812
* ignore .server.inChris Toshok2002-11-171-0/+1
| | | | svn path=/trunk/; revision=18805
* Added rule to generate GNOME_Evolution_Addressbook.server.in fromEttore Perazzoli2002-11-166-508/+467
| | | | | | | | | | | | | | | | | | * gui/component/Makefile.am: Added rule to generate GNOME_Evolution_Addressbook.server.in from GNOME_Evolution_Addressbook.server.in.in, substituting @LIBEXECDIR@. * GNOME_Evolution_Addressbook.server.in.in: Renamed from GNOME_Evolution_Addressbook.server.in. Added @LIBEXECDIR@ before the location of the executable. * gui/component/select-names/select-names.glade: Ported to Glade 2. * gui/component/select-names/recipient.glade: Ported to Glade 2. svn path=/trunk/; revision=18794
* Use bonobo_main_quitRodney Dawes2002-11-162-1/+5
| | | | | | * gui/component/addressbook-component.c: Use bonobo_main_quit svn path=/trunk/; revision=18788
* clean this up a tad.Chris Toshok2002-11-156-133/+38
| | | | | | | | | | | | | | 2002-11-14 Chris Toshok <toshok@ximian.com> * gui/widgets/gal-view-factory-minicard.c: clean this up a tad. * gui/widgets/e-addressbook-view.c (init_collection): re-enable this. (setup_menus): same. * gui/widgets/gal-view-minicard.[ch]: more GObject work. svn path=/trunk/; revision=18776
* push_in = FALSE, no clue why... :) (_arrow_pressed): callChris Toshok2002-11-137-23/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-12 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c (_popup_position): push_in = FALSE, no clue why... :) (_arrow_pressed): call g_signal_stop_emission here, seems to fix things. * gui/component/select-names/e-select-names.c (e_select_names_init): fix warnings. * gui/component/select-names/e-select-names-manager.c (e_select_names_manager_activate_dialog): fix warning. * gui/component/addressbook.c (forget_passwords_cb): remove the PENDING_PORT ifdef. (load_uri_auth_cb): same. (addressbook_authenticate): same. * gui/component/addressbook-factory.c (main): same. * gui/component/addressbook-storage.c (load_source_data): be silent about text nodes if they contain nothing but whitespace. svn path=/trunk/; revision=18728
* guard against multiple invocations.Chris Toshok2002-11-126-38/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-11 Chris Toshok <toshok@ximian.com> * backend/pas/pas-card-cursor.c (pas_card_cursor_dispose): guard against multiple invocations. * backend/pas/pas-backend-ldap.c (view_destroy): change signature to that of a weak ref notify function. (cursor_destroy): same. (pas_backend_ldap_book_destroy_cb): same. (get_cursor_handler): ::destroy -> weak_ref. (pas_backend_ldap_process_get_book_view): same. (pas_backend_ldap_add_client): same. * backend/pas/pas-backend-file.c (cursor_destroy): change signature to that of a weak ref notify function. (view_destroy): same. (pas_backend_file_book_destroy_cb): same. (pas_backend_file_process_get_cursor): ::destroy -> weak_ref. (pas_backend_file_process_get_book_view): same. (pas_backend_file_process_get_completion_view): same. (pas_backend_file_process_get_changes): same. (pas_backend_file_add_client): same. * backend/ebook/test-client.c (get_cursor_cb): unref the book and exit here. (get_card_cb): pass a query string to get_cursor. * backend/ebook/e-book-view.c (e_book_view_class_init): correct marshaller for "card_added". svn path=/trunk/; revision=18720
* change signature to that of a weak ref notify function. (main): ::destroyChris Toshok2002-11-1219-609/+578
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-11 Chris Toshok <toshok@ximian.com> * gui/widgets/test-reflow.c (destroy_callback): change signature to that of a weak ref notify function. (main): ::destroy -> weak_ref. * gui/widgets/test-minicard.c (destroy_callback): change signature to that of a weak ref notify function. (main): ::destroy -> weak_ref. * gui/widgets/test-minicard-view.c (destroy_callback): change signature to that of a weak ref notify function. (main): ::destroy -> weak_ref. * gui/widgets/test-minicard-label.c (destroy_callback): change signature to that of a weak ref notify function. (main): ::destroy -> weak_ref. * gui/widgets/e-minicard-widget.c (e_minicard_widget_init): ifdef out the call to gnome_canvas_set_scroll_region. It doesn't seem necessary judging from the rest of the code, and it also crashes the addressbook if it's in. * gui/widgets/e-minicard-widget-test.c (destroy_callback): change signature to that of a weak ref notify function. (main): ::destroy -> weak_ref. * gui/widgets/e-minicard-control.c (free_struct): change signature to that of a weak ref notify function. (e_minicard_control_factory): ::destroy -> weak_ref. * gui/widgets/e-addressbook-view.c (e_addressbook_view_init): ::destroy -> weak_ref. (e_addressbook_view_print): same. (free_closure): change signature to that of a weak ref notify function. (e_contact_print_destroy): same. (invisible_destroyed): same. * gui/widgets/e-addressbook-util.c (e_addressbook_prompt_save_dialog): convert from GnomeDialog to GtkDialog. (e_addressbook_show_multiple_cards): same. * gui/contact-list-editor/e-contact-list-editor.c (prompt_to_save_changes): change response ids to use GTK_RESPONSE_. * gui/component/select-names/e-select-names-manager.c (clear_widget): new function. (e_select_names_manager_activate_dialog): ::destroy -> weak_ref. * gui/component/select-names/e-select-names.c (clear_widget): change signature to that of a weak ref notify function. (e_select_names_init): ::destroy -> weak_ref. * gui/component/e-address-popup.c (mini_wizard_destroy_cb): change signature to that of a weak ref notify function. (mini_wizard_new): ::destroy -> weak_ref. * gui/component/addressbook-config.c (addressbook_source_dialog_destroy): change signature to that of a weak ref notify function. (ldap_config_control_destroy_callback): same. (addressbook_add_server_druid): ::destroy -> weak_ref. (addressbook_edit_server_dialog): same. (ldap_config_control_new): same. * gui/component/addressbook.c (destroy_callback): change signature to that of a a weak ref notify function. (addressbook_factory_new_control): ::destroy -> weak_ref. * gui/merging/e-card-merging.c (response): rename clicked to this, and destroy the dialog here. (match_query_callback): ::clicked -> ::response * gui/merging/e-card-merging-book-commit-duplicate-detected.glade: convert. * gui/merging/e-card-duplicate-detected.glade: same. svn path=/trunk/; revision=18719
* change around a little, still ifdefed though.Chris Toshok2002-11-126-204/+98
| | | | | | | | | | | | | | | | | | | 2002-11-11 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c (_arrow_pressed): change around a little, still ifdefed though. * gui/contact-editor/e-contact-save-as.c (file_exists): same. (save_it): deal with the GtkDialog response ids. * gui/contact-editor/e-contact-editor.c (e_contact_editor_confirm_delete): just build the dialog here (using gtk_message_dialog*). * gui/contact-editor/Makefile.am (glade_DATA): remove file-exists.glade and e-contact-editor-confirm-delete.glade. svn path=/trunk/; revision=18712
* guard against multiple invocations.Chris Toshok2002-11-1015-229/+334
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-10 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-card-sexp.c (pas_backend_card_sexp_dispose): guard against multiple invocations. * backend/pas/pas-card-cursor.c (pas_card_cursor_dispose): same. * backend/pas/pas-book.c (pas_book_dispose): same. * backend/pas/pas-book-view.c (pas_book_view_dispose): same. * backend/pas/pas-book-factory.c (pas_book_factory_dispose): same. * backend/pas/pas-backend-summary.c (pas_backend_summary_dispose): same. * backend/pas/pas-backend-ldap.c (pas_backend_ldap_dispose): same. * backend/pas/pas-backend-file.c (pas_backend_file_dispose): same. * backend/ebook/e-book-listener.c (e_book_listener_dispose): guard against multiple invocations. * backend/ebook/e-card.c (e_card_dispose): same. * backend/ebook/e-card-simple.c (e_card_simple_dispose): same. * backend/ebook/e-card-cursor.c (e_card_cursor_dispose): same. * backend/ebook/e-book.c (e_book_dispose): same. * backend/ebook/e-book-view-listener.c (e_book_view_listener_dispose): same. svn path=/trunk/; revision=18687
* guard against multiple invocations. (remove_book_view): same.Chris Toshok2002-11-096-19/+59
| | | | | | | | | | | | | | | | | | | | | | 2002-11-08 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-model.c (free_data): guard against multiple invocations. (remove_book_view): same. (addressbook_dispose): same. * gui/widgets/e-addressbook-view.c (e_addressbook_view_dispose): same. * gui/widgets/e-minicard-view-widget.c (e_minicard_view_widget_dispose): same. * gui/widgets/e-minicard-view.c (e_minicard_view_dispose): same. * gui/widgets/e-minicard-widget.c (e_minicard_widget_dispose): same. svn path=/trunk/; revision=18685
* oops, missed these casts.Chris Toshok2002-11-094-10/+17
| | | | | | | | | | | | | | | | 2002-11-08 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-reflow-adapter.c (addressbook_get_property): oops, missed these casts. * gui/component/addressbook.c (get_master_list): remove the PENDING_PORT_WORK ifdef, just ported ECategoriesMasterList. (make_suboptions): same. * gui/contact-editor/e-contact-editor.c (categories_clicked): same. svn path=/trunk/; revision=18684
* port work.Chris Toshok2002-11-0916-347/+480
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-08 Chris Toshok <toshok@ximian.com> * gui/widgets/test-reflow.c: port work. * gui/widgets/test-minicard-view.c: port work. * gui/widgets/e-minicard.[ch]: port work. * gui/widgets/e-minicard-widget.c: port work. * gui/widgets/e-minicard-view.c: port work. * gui/widgets/e-minicard-view-widget.c (e_minicard_view_widget_size_allocate): gtk_->g_ change i missed. (e_minicard_view_widget_reflow): same. * gui/widgets/e-minicard-label.c: port work. * gui/widgets/e-minicard-control.c (get_prop): gtk_->g_ change i missed. * gui/widgets/e-addressbook-view.c (setup_menus): ifdef this PENDING_PORT_WORK for now. (has_email_address_1): gtk_->g_ change i missed. (print): remove the PENDING_PORT_WORK from here, as the print_* symbols now resolve. (delete): gtk_->g_ changes. (new_card): same. (new_list): same. (sources): same. (create_minicard_view): same. (table_double_click): same. (create_table_view): same. (e_contact_print_destroy): same. (e_contact_print_button): same. (e_addressbook_view_print): same, and remove the PENDING_PORT_WORK ifdef. (e_addressbook_view_print_preview): same. (do_remove): gtk_->g_ changes. (e_addressbook_view_save_state): same. (view_transfer_cards): same. * gui/widgets/e-addressbook-view.h (struct _EAddressbookView): GtkObject -> GObject. * gui/widgets/e-addressbook-util.c (e_addressbook_error_dialog): GnomeDialog -> GtkDialog. * gui/widgets/e-addressbook-table-adapter.c (addressbook_set_value_at): a gtk_->g_ change i missed. (e_addressbook_table_adapter_class_init): gtk_type_class -> g_type_class_peek_parent. * gui/widgets/e-addressbook-reflow-adapter.c (addressbook_get_property): use g_object_get_property for aggregated properties. (e_addressbook_reflow_adapter_class_init): gtk_type_class -> g_type_class_peek_parent. * gui/merging/e-card-merging.c (match_query_callback): some misc gtk_->g_ changes i missed. svn path=/trunk/; revision=18682
* parent class is GObjectClass.Chris Toshok2002-11-0910-68/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-08 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-model.h: parent class is GObjectClass. * gui/component/select-names/e-simple-card-bonobo.c (impl_dispose): guard against multiple invocations, and chain dispose. * gui/component/select-names/e-select-names.c (e_select_names_dispose): guard against multiple invocations. * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_dispose): guard against multiple invocations. (e_select_names_text_model_set_source): fix casts. * gui/component/select-names/e-select-names-table-model.c (e_select_names_table_model_add_source): remove the GTK_OBJECT cast, fixes a warning. (clear_info): guard against multiple invocations from ::dispose. * gui/component/select-names/e-select-names-manager.c (e_select_names_manager_dispose): same. * gui/component/select-names/e-select-names-completion.c (e_select_names_completion_dispose): same. * gui/component/select-names/e-select-names-bonobo.c (impl_dispose): guard against multiple invocations. svn path=/trunk/; revision=18681
* add camel back in. (contact_print_style_editor_test_LDADD): same.Chris Toshok2002-11-091-3/+2
| | | | | | | | | 2002-11-08 Chris Toshok <toshok@ximian.com> * printing/Makefile.am (contact_print_test_LDADD): add camel back in. (contact_print_style_editor_test_LDADD): same. svn path=/trunk/; revision=18677
* add printing back in.Chris Toshok2002-11-091-4/+2
| | | | | | | | 2002-11-08 Chris Toshok <toshok@ximian.com> * Makefile.am (SUBDIRS): add printing back in. svn path=/trunk/; revision=18676
* convert to glade-2Chris Toshok2002-11-085-297/+309
| | | | | | | | | | | | 2002-11-08 Chris Toshok <toshok@ximian.com> * gui/contact-list-editor/contact-list-editor.glade: convert to glade-2 * gui/contact-list-editor/e-contact-list-editor.c: port work. * gui/contact-list-editor/e-contact-list-model.[ch]: port work. svn path=/trunk/; revision=18668
* port work.Chris Toshok2002-11-089-278/+245
| | | | | | | | | | | | | | | | 2002-11-08 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor-address.[ch]: port work. * gui/contact-editor/e-contact-editor-fullname.[ch]: port work. * gui/contact-editor/e-contact-editor.[ch]: port work. * gui/contact-editor/e-contact-quick-add.c: port work. * gui/contact-editor/e-contact-save-as.c: port work. svn path=/trunk/; revision=18667
* prepend /apps/Evolution to config db paths.Chris Toshok2002-11-083-4/+13
| | | | | | | | | | | | | 2002-11-08 Chris Toshok <toshok@ximian.com> * backend/ebook/e-book-util.c (set_default_book_uri_from_config_db): prepend /apps/Evolution to config db paths. * gui/component/select-names/e-select-names-manager.c (read_completion_books_from_db): same. (uris_listener): same. svn path=/trunk/; revision=18664
* more porting work.Chris Toshok2002-11-0813-3744/+3753
| | | | | | | | | | | | | | | | | | | | | | 2002-11-08 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c: more porting work. * e-contact-editor-fullname.[ch]: more porting work. * e-contact-editor.c: more porting work. * e-contact-quick-add.c: more porting work. * e-contact-save-as.c: more porting work. * test-editor.c: more porting work. * e-contact-editor-confirm-delete.glade, file-exists.glade, fulladdr.glade, fullname.glade: run these through libglade-convert. svn path=/trunk/; revision=18663
* add lots of libs back in since they're building now.Chris Toshok2002-11-0810-138/+153
| | | | | | | | | | | | | | | | | | | 2002-11-07 Chris Toshok <toshok@ximian.com> * gui/component/Makefile.am (evolution_addressbook_LDADD): add lots of libs back in since they're building now. * gui/component/addressbook-config.c: more porting work. * gui/component/addressbook.c: more porting work. * gui/component/e-address-popup.[ch]: more porting work. * gui/component/e-address-widget.[ch]: more porting work. * gui/component/e-cardlist-model.[ch]: more porting work. svn path=/trunk/; revision=18658
* more porting work.Chris Toshok2002-11-0816-319/+338
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-07 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-bonobo.[ch]: more porting work. * gui/component/select-names/e-select-names-completion.[ch]: more porting work. * gui/component/select-names/e-select-names-manager.[ch]: more porting work. * gui/component/select-names/e-select-names-model.[ch]: more porting work. * gui/component/select-names/e-select-names-popup.c: more porting work. * gui/component/select-names/e-select-names-table-model.[ch]: more porting work. * gui/component/select-names/e-select-names-text-model.[ch]: more porting work. * gui/component/select-names/e-select-names.[ch]: more porting work. svn path=/trunk/; revision=18657
* tests are linking now, and link in libcamel.la.Chris Toshok2002-11-084-77/+56
| | | | | | | | | | | | | | | | | | | | 2002-11-07 Chris Toshok <toshok@ximian.com> * backend/ebook/Makefile.am: tests are linking now, and link in libcamel.la. * backend/ebook/e-destination.c (e_destination_get_name): un-ifdef since camel is compiling. (e_destination_get_email): same. (e_destination_get_address): same. (e_destination_get_textrep): same. * backend/ebook/e-card-compare.c (name_fragment_match): use e_utf8_casefold_*. (name_fragment_match_with_synonyms): same. (e_card_compare_name_to_string_full): same. (e_card_compare_name): same. svn path=/trunk/; revision=18655
* add prototypes for e_utf8_casefold_collate{_len}Chris Toshok2002-11-083-0/+34
| | | | | | | | | | | | 2002-11-07 Chris Toshok <toshok@ximian.com> * backend/ebook/e-book-util.h: add prototypes for e_utf8_casefold_collate{_len} * backend/ebook/e-book-util.c (e_utf8_casefold_collate_len): move utf8_casefold_collate_len here. (e_utf8_casefold_collate): move utf8_casefold_collate here. svn path=/trunk/; revision=18654
* port this to gnome2/gnomeprint2.Chris Toshok2002-11-078-2142/+2189
| | | | | | | | | | | | | | | | | | | | | | | 2002-11-06 Chris Toshok <toshok@ximian.com> * printing/e-contact-print-envelope.c: port this to gnome2/gnomeprint2. * printing/e-contact-print-style-editor.c: same. * printing/e-contact-print.c: same. * printing/test-contact-print-style-editor.c: same. * printing/test-print.c: same. * printing/e-contact-print.glade: libglade-convert to libglade-2. * printing/Makefile.am (contact_print_test_LDADD) (contact_print_style_editor_test_LDADD): remove libcamel.la from these for the time being to get things linking. svn path=/trunk/; revision=18628
* gobjectify this.Chris Toshok2002-11-0729-6104/+6604
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-06 Chris Toshok <toshok@ximian.com> * gui/widgets/gal-view-minicard.[ch]: gobjectify this. * gui/widgets/e-minicard.[ch]: gobjectify this. (e_minicard_class_init): change the min/max values of the width/height paramspecs so that they can actually be set to something other than 0.0. * gui/widgets/e-minicard-widget.[ch]: gobjectify this. * gui/widgets/e-minicard-view.[ch]: gobjectify this. (set_empty_message): don't need e_utf8_from_locale_string anymore. * gui/widgets/e-minicard-view-widget.[ch]: gobjectify this. * gui/widgets/e-minicard-label.[ch]: gobjectify this. * gui/widgets/e-addressbook-view.[ch]: gobjectify this. * gui/widgets/e-addressbook-table-adapter.[ch]: gobjectify this. * gui/widgets/e-addressbook-reflow-adapter.[ch]: gobjectify this. * gui/widgets/e-addressbook-model.[ch]: gobjectify this. * gui/widgets/e-minicard-control.c (e_minicard_control_factory): fix bonobo_persist_stream_new api change. * gui/contact-list-editor/e-contact-list-model.c (e_contact_list_model_add_destination): get rid of the gtk_object_sink here. * gui/component/ldap-config.glade: glade-2 version of this file. * gui/component/e-address-popup.c (e_address_popup_refresh_names): don't need e_utf8_to_gtk_string anymore. * gui/component/addressbook.c (make_suboptions): don't need e_utf8_to_locale_string anymore. * gui/component/addressbook-config.c (addressbook_dialog_get_source): get rid of the e_utf8 gtk_entry functions. (addressbook_source_dialog_set_source): same. (general_tab_check): same. (port_changed_func): same. (connecting_tab_check): same. (query_for_supported_bases): same. (display_name_check): same. (display_name_page_prepare): same. (edit_source_clicked): same. (addressbook_config_create_new_source): same. svn path=/trunk/; revision=18626
* use g_type_class_peek_parent.Chris Toshok2002-11-0711-30/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-06 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-card-sexp.c (pas_backend_card_sexp_class_init): use g_type_class_peek_parent. * backend/pas/pas-card-cursor.c (pas_card_cursor_class_init): same. * backend/pas/pas-book-view.c (pas_book_view_class_init): same. * backend/pas/pas-book-factory.c (pas_book_factory_class_init): same. * backend/pas/pas-backend-summary.c (pas_backend_summary_class_init): same. * backend/pas/pas-backend-ldap.c (pas_backend_ldap_class_init): same. * backend/pas/pas-backend-file.c (pas_backend_file_class_init): same. * backend/ebook/e-book-marshal.list: ENUM -> INT. * backend/ebook/e-book-view.c (e_book_view_dispose): guard against this being called multiple times. (e_book_view_class_init): ENUM -> INT in the sequence_complete signal. * backend/ebook/e-book.c (e_book_do_response_open): un-ifdef the component_died signal stuff. svn path=/trunk/; revision=18623
* call g_build_filename, not g_build_path.Chris Toshok2002-11-062-1/+6
| | | | | | | | | 2002-11-06 Chris Toshok <toshok@ximian.com> * backend/ebook/e-book-util.c (e_book_expand_uri): call g_build_filename, not g_build_path. svn path=/trunk/; revision=18600
* fix the gnome-xml headers.Chris Toshok2002-11-063-3/+8
| | | | | | | | 2002-11-06 Chris Toshok <toshok@ximian.com> * backend/ebook/e-destination.[ch]: fix the gnome-xml headers. svn path=/trunk/; revision=18599
* fix the gnome-xml headers.Chris Toshok2002-11-0612-267/+339
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-06 Chris Toshok <toshok@ximian.com> * gui/widgets/gal-view-minicard.c: fix the gnome-xml headers. * gui/widgets/e-addressbook-view.c (e_addressbook_view_class_init): convert from gtk signals and args to GSignal and GObject properties. (e_addressbook_view_dispose): rename _destroy to this. (e_addressbook_view_set_property): rework _set_arg to this. (e_addressbook_view_get_property): rework _get_arg to this. (display_view): if we're here we need to choose a view, regardless of whether or not the GAL_IS_VIEW_* macros tell us which type it is. * gui/widgets/e-addressbook-table-adapter.c: fix the gnome-xml headers. * gui/widgets/e-addressbook-model.c (e_addressbook_model_class_init): use INT, not ENUM in the signal here. * gui/component/addressbook-config.c: another big gtk_* -> g_* renaming. * gui/component/addressbook.c: same. * gui/component/e-address-popup.c: same. * gui/component/e-address-widget.c: same. * gui/component/e-cardlist-model.c: fix the gnome-xml headers, and more gtk_* -> g_* renaming. * gui/component/addressbook-component.c (owner_set_cb): use evolution_shell_client_corba_objref as per ettore's change to EvolutionShellClient.. (create_view): fix the call to bonobo_control_set_property. (create_component): gtk_signal_connect -> g_signal_connect. * gui/component/addressbook-storage.c: fix the gnome-xml headers. (addressbook_storage_setup): use evolution_shell_client_corba_objref as per ettore's change to EvolutionShellClient.. (addressbook_get_other_contact_storage): gtk_signal_connect -> g_signal_connect. (load_source_data): root->childs -> root->childrens. svn path=/trunk/; revision=18598
* fix some #include's.Chris Toshok2002-11-061-2/+0
| | | | | | | | 2002-11-06 Chris Toshok <toshok@ximian.com> * gui/search/e-addressbook-search-dialog.c: fix some #include's. svn path=/trunk/; revision=18596
* only build the backend and gui dirs for now. printing and conduits areChris Toshok2002-11-064-8/+17
| | | | | | | | | | | | 2002-11-06 Chris Toshok <toshok@ximian.com> * Makefile.am (SUBDIRS): only build the backend and gui dirs for now. printing and conduits are no-man's land at present. * addressbook/gui/merging/e-card-merging.[ch]: Port to GObject/gnome2. svn path=/trunk/; revision=18595
* ignore the new .server file.Chris Toshok2002-11-0615-209/+245
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-05 Chris Toshok <toshok@ximian.com> * gui/component/.cvsignore: ignore the new .server file. * gui/component/Makefile.am: typical port stuff. switch the .oaf to .server, and leave out a lot of libs so we can actually get things linking. * gui/component/GNOME_Evolution_Addressbook.server.in: rename .oaf.in here. * gui/component/addressbook-component.c: Port to GObject/gnome2. * gui/component/addressbook-config.c: Port to GObject/gnome2. * gui/component/addressbook-factory.c: Port to GObject/gnome2. * gui/component/addressbook-storage.c: Port to GObject/gnome2. * gui/component/addressbook.[ch]: Port to GObject/gnome2. * gui/component/e-address-popup.[ch]: Port to GObject/gnome2. * gui/component/e-address-widget.[ch]: Port to GObject/gnome2. * gui/component/e-cardlist-model.h: Port to GObject/gnome2. svn path=/trunk/; revision=18591
* ignore the marshal generated stuff.Chris Toshok2002-11-068-188/+233
| | | | | | | | | | | | | | | | | | 2002-11-05 Chris Toshok <toshok@ximian.com> * gui/contact-list-editor/.cvsignore: ignore the marshal generated stuff. * gui/contact-list-editor/Makefile.am: typical port stuff. add marshaller generation foo, dist it... * gui/contact-list-editor/e-contact-list-editor.[ch]: Port to GObject/gnome2. * gui/contact-list-editor/e-contact-list-model.[ch]: Port to GObject/gnome2. svn path=/trunk/; revision=18590
* ignore the marshal generated stuff.Chris Toshok2002-11-0612-237/+298
| | | | | | | | | | | | | | | | | | | | | | | | 2002-11-05 Chris Toshok <toshok@ximian.com> * gui/contact-editor/.cvsignore: ignore the marshal generated stuff. * gui/contact-editor/Makefile.am: typical port stuff. add marshaller generation foo, dist it... * gui/contact-editor/e-contact-editor-address.[ch]: Port to GObject/gnome2. * gui/contact-editor/e-contact-editor-fullname.c: Port to GObject/gnome2. * gui/contact-editor/e-contact-editor.c: Port to GObject/gnome2. * gui/contact-editor/e-contact-quick-add.c: Port to GObject/gnome2. * gui/contact-editor/e-contact-save-as.[ch]: Port to GObject/gnome2. * gui/contact-editor/test-editor.c: Port to GObject/gnome2. svn path=/trunk/; revision=18589
* Port to GObject/gnome2.Chris Toshok2002-11-0628-923/+1110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-05 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-model.[ch]: Port to GObject/gnome2. * gui/widgets/e-addressbook-reflow-adapter.c: Port to GObject/gnome2. * gui/widgets/e-addressbook-table-adapter.c: Port to GObject/gnome2. * gui/widgets/e-addressbook-util.c: Port to GObject/gnome2. * gui/widgets/e-addressbook-view.[ch]: Port to GObject/gnome2. * gui/widgets/e-minicard-control.c: Port to GObject/gnome2. * gui/widgets/e-minicard-label.[ch]: Port to GObject/gnome2. * gui/widgets/e-minicard-view-widget.[ch]: Port to GObject/gnome2. * gui/widgets/e-minicard-view.[ch]: Port to GObject/gnome2. * gui/widgets/e-minicard-widget-test.c: Port to GObject/gnome2. * gui/widgets/e-minicard-widget.c: Port to GObject/gnome2. * gui/widgets/e-minicard.[ch]: Port to GObject/gnome2. * gui/widgets/gal-view-factory-minicard.c: Port to GObject/gnome2. * gui/widgets/gal-view-minicard.c: Port to GObject/gnome2. * gui/widgets/test-minicard-label.c: Port to GObject/gnome2. * gui/widgets/test-minicard-view.c: Port to GObject/gnome2. * gui/widgets/test-minicard.c: Port to GObject/gnome2. * gui/widgets/test-reflow.c: Port to GObject/gnome2. * gui/widgets/Makefile.am: typical port stuff. add marshaller generation foo, dist it... * gui/widgets/.cvsignore: ignore the marshaller stuff. svn path=/trunk/; revision=18588
* Port to GObject/gnome2.Chris Toshok2002-11-0621-524/+410
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-05 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-simple-card-bonobo.[ch]: Port to GObject/gnome2. * gui/component/select-names/e-select-names.[ch]: Port to GObject/gnome2. * gui/component/select-names/e-select-names-text-model.c: Port to GObject/gnome2. * gui/component/select-names/e-select-names-table-model.c: Port to GObject/gnome2. * gui/component/select-names/e-select-names-popup.[ch]: Port to GObject/gnome2. * gui/component/select-names/e-select-names-model.c: Port to GObject/gnome2. * gui/component/select-names/e-select-names-manager.[ch]: Port to GObject/gnome2. * gui/component/select-names/e-select-names-factory.c: Port to GObject/gnome2. * gui/component/select-names/e-select-names-completion.[ch]: Port to GObject/gnome2. * gui/component/select-names/e-select-names-bonobo.[ch]: Port to GObject/gnome2. * gui/component/select-names/Makefile.am: typical port stuff. add marshaller generation foo, dist it, and switch the .oaf to .server * gui/component/select-names/.cvsignore: ignore the marshaller stuff. svn path=/trunk/; revision=18587