aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [With this commit, the shell compiles without deprecatedEttore Perazzoli2002-12-2048-897/+1225
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GLib/GTK+ functions, except for a couple of places were we use GtkCList.] * Makefile.am (INCLUDES): Add `-DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED'. * evolution-test-component.c (create_new_folder_selector): No gtk_window_set_policy(). * main.c (quit_box_new): gtk_window_set_resizable() instead of gtk_window_set_policy(). (view_map_callback): g_signal_handlers_disconnect_by_func() instead of gtk_signal_disconnect_by_func(). (main): No need to push the GdkRGB visual/cmap anymore. (new_view_created_callback): Likewise. * e-task-widget.c: Renamed member pixmap of ETaskWidgetPrivate to `image'. (init): Updated accordingly. (e_task_widget_construct): Use GtkImage, not GtkPixmap. * e-storage.c (class_init): Converted from gtk_signal_new() to g_signal_new(). * e-storage-set.c (class_init): Converted from gtk_signal_new() to g_signal_new(). * e-storage-set-view.c (setup_folder_properties_items_if_corba_storage_clicked): g_string_append_printf() instead of g_string_sprintfa(). (class_init): Converted from gtk_signal_new() to g_signal_new(). (setup_folder_changed_callbacks): Use e_signal_connect_while_alive() and e_signal_connect_full_while_alive(). * e-splash.c (e_splash_construct): gtk_window_set_resizable() instead of gtk_window_set_policy(). * e-shortcuts.c: Do not #include e-unicode.h. (shortcut_item_update): Use g_path_get_basename() instead of g_basename(). (e_shortcuts_add_default_shortcuts): No need to de-utfize strings. (e_shortcuts_add_default_group): Same here. * e-shortcuts-view.c: Do not #include <e-unicode.h>. (class_init): Converted from gtk_signal_new() to g_signal_new(). (destroy_group_cb): No need to convert the text from UTF8. * e-shell.c (impl_dispose): g_signal_handlers_disconnect_by_func() instead of gtk_signal_disconnect_by_func(). (class_init): Use g_signal_new() instead of gtk_signal_new(). * e-shell-view.c: Do not #include e-unicode.h. Renamed member offline_toggle_pixmap to offline_toggle_image in EShellViewPrivate. (update_folder_title_bar): No need to de-UTF8-ize the title. (cleanup_delayed_selection): g_signal_handlers_disconnect_by_func() instead of gtk_signal_disconnect_by_func(). (ui_engine_add_hint_callback): gtk_label_set_text(), not gtk_label_set(). (class_init): Use g_signal_new() instead of gtk_signal_new(). (update_for_current_uri): No need to convert the title from UTF8. (setup_offline_toggle): Changed to set up a GtkImage, not a GtkPixmap. (update_offline_toggle_status): Accordingly (gtk_image* instead of gtk_pixmap*). (set_current_notebook_page): gtk_notebook_set_current_page(), not gtk_notebook_set_page(). (get_storage_set_path_from_uri): g_ascii_strncasecmp() instead of g_strncasecmp(). (folder_bar_popup_map_callback): Use e_signal_connect_while_alive() instead of gtk_signal_connect_while_alive(). (e_shell_view_construct): Likewise. (display_uri): g_signal_connect_after() instead of gtk_signal_connect_full(). (update_for_current_uri): g_signal_handlers_{block,unblock}_by_func() instead of gtk_signal_handler_{block,unblock}_by_func(). * e-shell-view-menu.c (command_about_box): gtk_window_set_resizable() instead of gtk_window_set_policy(). * e-shell-utils.c (get_mini_name): g_path_get_basename() instead of g_basename(). * e-shell-user-creatable-items-handler.c (append_xml_for_menu_item): g_string_append_printf() instead of g_string_sprintfa(). (create_menu_xml): Likewise. * e-shell-shared-folder-picker-dialog.c: Do not #include e-unicode.h. (progress_bar_timeout_callback): Expect a GtkProgressBar data and just use gtk_progress_bar_pulse(). (create_progress_dialog): gtk_window_set_resizable() instead of gtk_window_set_policy(). No gtk_progress_set_activity_mode(). (setup_server_option_menu): Just use gtk_menu_item_new_with_label() instead of e_utf8_gtk_menu_item_new_with_label(). * e-shell-settings-dialog.c (set_dialog_size): Ported to Pango. * e-shell-offline-sync.c (impl_SyncFolderProgressListener_updateProgress): gtk_progress_set_fraction() instead of gtk_progress_bar_set_percentage(). (sync_folder): Likewise. (setup_dialog): gtk_window_set_resizable() instead of gtk_window_set_policy(). (sync_folder): No gtk_progress_set_activity_mode(). * e-shell-offline-handler.c: #undef {G,GTK}_DISABLE_DEPRECATED here for now (need to port from GtkCList). (class_init): Use g_signal_new() * e-shell-importer.c: #undef {G,GTK}_DISABLE_DEPRECATED here for now (need to port from GtkCList). * e-shell-folder-title-bar.c (create_image_widget_from_xpm): Renamed from create_pixmap_widget_from_xpm(); handle GtkImage instead of GtkPixmap. (new_empty_image_widget): Renamed from new_empty_pixmap_widget(); return a GtkImage instead of a GtkPixmap. (add_navigation_buttons): Updated accordingly; so use GtkImages instead of GtkPixmaps. (e_shell_folder_title_bar_construct): Likewise. (e_shell_folder_title_bar_set_icon): Use gtk_image_* instead of gtk_pixmap_* on the image widgets. (class_init): Converted to use g_signal_new() instead of gtk_signal_new(). (e_shell_folder_title_bar_new): No need for pushing the GdkRGB visual/cmap anymore. * e-shell-folder-selection-dialog.c (check_folder_type_valid): Just use strcmp instead of strcasecmp(). (class_init): g_signal_new() instead of gtk_signal_new(). (e_shell_folder_selection_dialog_construct): Removed call to gtk_window_set_policy(). * e-shell-folder-creation-dialog.c (type_with_display_name_compare_func): Changed to use g_utf8_casefold(). * e-shell-folder-commands.c: Do not #include e-unicode.h. (e_shell_command_rename_folder): g_path_get_dirname() instead of g_dirname(). (folder_selection_dialog_folder_selected_callback): g_path_get_basename() instead of g_basename(). (rename_cb): Likewise. (delete_dialog): Do not convert from UTF8 for display purposes. (e_shell_command_rename_folder): Likewise. * e-shell-about-box.c (timeout_callback): Ported to Pango and use gdk_window_invalidate_rect() instead of gtk_widget_draw(). * e-setup.c (check_evolution_directory): Use gtk_window_set_resizable() instead of gtk_window_set_policy(). * e-local-storage.c: Do not include e-unicode.h. (create_folder): Use g_path_get_basename() instead of g_basename(). (create_folder_directory): Likewise. (remove_folder_directory): Likewise. (append_xfer_item_list): Likewise. * e-local-folder.c (construct_loading_metadata): Use g_path_get_basename() instead of g_basename(). * e-folder-dnd-bridge.c (handle_evolution_path_drag_motion): Use g_path_get_basename() instead of g_basename(). * e-corba-storage-registry.c: G_STRUCT_OFFSET instead of GTK_STRUCT_OFFSET. * e-corba-shortcuts.c: G_STRUCT_OFFSET instead of GTK_STRUCT_OFFSET. * e-component-registry.c (sleep_with_g_main_loop_timeout_callback): g_main_loop_* instead of g_main_*. (sleep_with_g_main_loop): Likewise. * e-activity-handler.c: G_STRUCT_OFFSET instead of GTK_STRUCT_OFFSET. * evolution-wizard.c (evolution_wizard_class_init): g_signal_new() instead of gtk_signal_new(). * evolution-storage-listener.c (class_init): g_signal_new() instead of gtk_signal_new(). * evolution-shell-view.c (class_init): g_signal_new() instead of gtk_signal_new(). * evolution-shell-component-dnd.c: G_STRUCT_OFFSET instead of GTK_STRUCT_OFFSET. * evolution-shell-component.c: G_STRUCT_OFFSET instead of GTK_STRUCT_OFFSET. * evolution-session.c: G_STRUCT_OFFSET instead of GTK_STRUCT_OFFSET. * evolution-folder-selector-button.c: Do not include e-unicode.h. (set_folder): No need to convert from UTF8 to locale encoding anymore. Removed unused variable. * evolution-config-control.c (class_init): Use g_signal_new() instead of gtk_signal_new(). * evolution-activity-client.c (class_init): Use g_signal_new() instead of gtk_signal_new(). * e-folder-list.c: Do not include e-unicode.h. Use E_MAKE_TYPE(). (e_folder_list_get_type): Removed explicit implementation of this. (e_folder_list_set_arg): Removed. (e_folder_list_get_arg): Removed. (e_folder_list_set_property): New. (e_folder_list_get_property): New. (e_folder_list_destroy): Removed. (e_folder_list_dispose): New. (e_folder_list_class_init): Updated accordingly. * e-folder.c (impl_save_info): Use G_OBJECT_TYPE_NAME() instead of gtk_type_name(). (impl_load_info): Likewise. (impl_remove): Likewise. (class_init): Use g_signal_new() instead of gtk_signal_new(). svn path=/trunk/; revision=19170
* Add AC_CONFIG_AUX_DIR(..) so it looks for ylwrap in the toplevel evolutionJoe Shaw2002-12-202-0/+10
| | | | | | | | | | 2002-12-19 Joe Shaw <joe@ximian.com> * configure.in: Add AC_CONFIG_AUX_DIR(..) so it looks for ylwrap in the toplevel evolution directory and not our directory. Fixes the build for automake >= 1.5 svn path=/trunk/; revision=19169
* (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
* Replace gtk_signal_disconnect_by_data() withHans Petter Jansson2002-12-1920-412/+265
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-19 Hans Petter Jansson <hpj@ximian.com> * gui/calendar-commands.c (calendar_control_deactivate): Replace gtk_signal_disconnect_by_data() with g_signal_handlers_disconnect_matched(). Former takes GtkObject, latter takes GObject. * gui/calendar-model.c (calendar_model_destroy): Ditto. (update_query): Ditto. (calendar_model_set_cal_client): Ditto. * gui/e-day-view.c (e_day_view_destroy): Ditto. (update_query): Ditto. (e_day_view_set_cal_client): Ditto. * gui/e-tasks.c (query_eval_error_cb): Ditto. (query_query_done_cb): Ditto. * gui/e-week-view.c (e_week_view_destroy): Ditto. (update_query): Ditto. (e_week_view_set_cal_client): Ditto. * gui/gnome-cal.c (update_query): Ditto. (gnome_calendar_destroy): Ditto. * gui/tasks-control.c (tasks_control_deactivate): Ditto. * gui/e-comp-editor-registry.c (foreach_close_cb): Replace gtk_signal_handler_(un)block_by_data() with g_signal_handlers_(un)block_matched(). Former takes GtkObject, latter takes GObject. * gui/dialogs/alarm-page.c (alarm_page_get_type): Replace with E_MAKE_TYPE(). (alarm_page_class_init): Use GObject as base class instead of GtkObject, and set up finalization instead of destroy handler. (alarm_page_destroy): Change to alarm_page_finalize() and assume parent is GObject, not GtkObject. (alarm_page_new): Use g_object_new(), not gtk_type_new(). * gui/dialogs/event-page.c: Same general changes as above file. (update_time): Replace gtk_signal_handler_(un)block_by_data() with g_signal_handlers_(un)block_matched(). (clear_widgets): Ditto. (times_updated): Ditto. * gui/dialogs/recurrence-page.c: Same general changes as above file. (clear_widgets): Replace gtk_signal_handler_(un)block_by_data() with g_signal_handlers_(un)block_matched(). (append_exception): Ditto. (fill_ending_date): Ditto. (recurrence_page_fill_widgets): Ditto. * gui/dialogs/comp-editor.c: Same general changes as above file. (comp_editor_finalize): Replace gtk_signal_disconnect_by_data() with g_signal_handlers_disconnect_matched(). (comp_editor_remove_page): Ditto. * gui/dialogs/event-editor.c: Same general changes as above file. * gui/dialogs/meeting-page.c: Same general changes as above file. * gui/dialogs/schedule-page.c: Same general changes as above file. * gui/dialogs/task-details-page.c: Same general changes. * gui/dialogs/task-editor.c: Same general changes as above file. * gui/dialogs/task-page.c: Same general changes as above file. * gui/dialogs/e-delegate-dialog.c: Same general changes. svn path=/trunk/; revision=19167
* free the children before we free and dispose of our ecol, sinceChris Toshok2002-12-191-3/+3
| | | | | | | | | | | 2002-12-18 Chris Toshok <toshok@ximian.com> * e-table-group-container.c (etgc_dispose): free the children before we free and dispose of our ecol, since e_table_group_container_child_node_free depends on it. Fixes a crash. svn path=/trunk/; revision=19166
* pass NULL for parent_window for e_table_config_new.Chris Toshok2002-12-195-1861/+2199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-18 Chris Toshok <toshok@ximian.com> * e-table-header-item.c (ethi_popup_customize_view): pass NULL for parent_window for e_table_config_new. * e-table-config.glade, e-table-config-no-group.glade: switch from GnomePropertyBox to GtkDialog, remove the extra notebook widget from the heirarchy, and set all the subdialogs modal. * e-table-config.h: add parent_window arg to e_table_config_{new,construct}. * e-table-config.c (config_dialog_changed): new function, not really needed yet since the apply/ok buttons are never insensitive. (config_get_property): handle the "state" read-only property. (config_class_init): put back in the "state" property that was deleted during the merge from the gal-2 branch (it looks like). (do_sort_and_group_config_dialog): set the sort/group dialog transient for the e-table-config dialog, and gnome_property_box_changed -> config_dialog_changed. (do_fields_config_dialog): same, but with the fields dialog. (dialog_response): response handler for the e-table-config dialog. (setup_gui): remote the hide button/notebook code, since neither of those widgets exist anymore in this dialog, and remove the "apply" signal and connect to "response", since we're a GtkDialog dialog instead of a GnomePropertyBox. (e_table_config_construct): take a parent_window arg, and set_transient_for if it's non-NULL. (e_table_config_new): take parent_window arg and pass to construct. svn path=/trunk/; revision=19165
* add the parent arg.Chris Toshok2002-12-195-10/+18
| | | | | | | | | | | | | | | | | | | | 2002-12-18 Chris Toshok <toshok@ximian.com> * gal-view.[ch] (gal_view_edit): add the parent arg. * gal-view-new-dialog.c (gal_view_new_dialog_init): set the dialog modal. * gal-view-etable.c (gal_view_etable_edit): take the parent arg and pass it to e_table_config_new. * gal-define-views-dialog.c (gdvd_button_new_dialog_callback): pass the dialog as the parent to gal_view_edit. (gdvd_button_modify_callback): same. (gdvd_button_new_callback): set view_new_dialog transient for dialog. svn path=/trunk/; revision=19164
* [ 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
* commit this tooJeffrey Stedfast2002-12-181-1/+2
| | | | svn path=/trunk/; revision=19155
* Replace calls to g_string_sprintfa() with g_string_append_printf() sinceJeffrey Stedfast2002-12-1820-117/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-17 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-utils.c: Replace calls to g_string_sprintfa() with g_string_append_printf() since the former seems to have been deprecated. * providers/imap/camel-imap-search.c: Same. * providers/imap/camel-imap-folder.c: Here too. * providers/local/camel-mbox-summary.c: And here. * providers/local/camel-local-summary.c: Replace g_string_sprintf() with g_string_printf(). * camel-data-cache.c (data_cache_expire): Replace g_string_sprintf() with g_string_printf(). * camel-url.c: Replace calls to g_string_sprintfa() with g_string_append_printf() since the former seems to have been deprecated. * camel-service.c: Same. * camel-mime-utils.c: Here too. svn path=/trunk/; revision=19154
* Replace calls to g_string_sprintfa() with g_string_append_printf() sinceJeffrey Stedfast2002-12-184-80/+92
| | | | | | | | | | | | | | 2002-12-17 Jeffrey Stedfast <fejj@ximian.com> * camel-url.c: Replace calls to g_string_sprintfa() with g_string_append_printf() since the former seems to have been deprecated. * camel-service.c: Same. * camel-mime-utils.c: Here too. svn path=/trunk/; revision=19153
* ...And a whole bunch more build fixes.Jeffrey Stedfast2002-12-1824-346/+321
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-17 Jeffrey Stedfast <fejj@ximian.com> ...And a whole bunch more build fixes. * mail-vfolder.c (mail_vfolder_delete_uri): Don't use g_string_sprintfa() anymore since it is apparently deprecated. * mail-session.c (main_get_filter_driver): Don't use g_string_sprintfa() anymore since it is apparently deprecated. * mail-ops.c (build_from): Don't use g_string_sprintfa() anymore since it is apparently deprecated. * mail-callbacks.c (ask_confirm_for_unwanted_html_mail): Don't use g_string_sprintfa() anymore since it is apparently deprecated. * mail-autofilter.c: Don't use g_string_sprintfa() anymore since it is apparently deprecated. * folder-browser.c: Don't use g_string_sprintfa() anymore since it is apparently deprecated. * mail-search.c (mail_search_set_subject): Remove the unnecessary g_strdup()'age as well as fix a possible buffer overrun. * mail-local.c (mail_local_folder_construct): Use g_path_get_basename(). * mail-config-druid.c (make_account): Don't use e_utf8_* functions. svn path=/trunk/; revision=19152
* 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
* edit->tep isn't a GtkObject anymore.Chris Toshok2002-12-171-2/+0
| | | | | | | | 2002-12-16 Chris Toshok <toshok@ximian.com> * e-cell-text.c (_get_tep): edit->tep isn't a GtkObject anymore. svn path=/trunk/; revision=19144
* Detect text/html parts that were marked as text/plain and re-tag them asJeffrey Stedfast2002-12-172-14/+39
| | | | | | | | | | | | | 2002-12-16 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-part-utils.c (simple_data_wrapper_construct_from_parser): Detect text/html parts that were marked as text/plain and re-tag them as text/html parts. Note: currently just checks if the first non-lwsp char is a '<' - but we might need to be smarter about this? *sigh* Stupid Windows mailers. svn path=/trunk/; revision=19143
* pass in the pango layout so we don't have to create another one here.Chris Toshok2002-12-171-90/+46
| | | | | | | | | | | | | | | | 2002-12-16 Chris Toshok <toshok@ximian.com> * e-table-header-utils.c (e_table_draw_elided_string): pass in the pango layout so we don't have to create another one here. Also, elide the string properly (same method that e-clipped-label uses) and simplify the extent operations. (e_table_header_compute_height): just use pango_layout_get_pixel_size here. (e_table_header_draw_button): make sure the clip rectangle is NULL'ed on our gc, since random gtk calls seem to install one, which sucks. Also, simplify the pango layout stuff a little. svn path=/trunk/; revision=19142
* Wrap the content with a table so that text isn't fully left-justified.Jeffrey Stedfast2002-12-172-7/+20
| | | | | | | | | | | | | | 2002-12-16 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c #define a STANDARD_ISSUE_TABLE_OPEN string used for wrapping textual message parts to keep them being fully-left justified. (mail_format_raw_message): Wrap the content with a table so that text isn't fully left-justified. (write_hr): Use it here too. (handle_text_plain): And finally here. svn path=/trunk/; revision=19141
* (make_table): Do not ref/sink the ETreeMemoryEttore Perazzoli2002-12-172-3/+5
| | | | | | object. svn path=/trunk/; revision=19140
* (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
* remove obvious double g_strdup.Chris Toshok2002-12-173-3/+3
| | | | | | | | | | | | | | 2002-12-16 Chris Toshok <toshok@ximian.com> * e-table.c (et_real_construct): remove obvious double g_strdup. * e-table-header-item.c (ethi_header_context_menu): ref/sink the popup. * e-table-field-chooser.c (e_table_field_chooser_init): use gtk_widget_show_all so our custom widget gets displayed. svn path=/trunk/; revision=19135
* Use camel_text_to_html() instead of e_text_to_html(). (mail_text_write):Jeffrey Stedfast2002-12-176-23/+62
| | | | | | | | | | | | | | | | | | 2002-12-16 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (mail_error_printf): Use camel_text_to_html() instead of e_text_to_html(). (mail_text_write): Write the content directly to gtkhtml through an html stream filter. * mail-format.c (attachment_header): Use camel_text_to_html() instead of e_text_to_html(). (write_text_header): Same. (write_address): Here too. (mail_get_message_rfc822): And here. (mail_get_message_body): And finally here. svn path=/trunk/; revision=19133
* 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
* Don't #include "e-util/e-html-utils.h" as we don't use it.Jeffrey Stedfast2002-12-172-1/+5
| | | | | | | | | 2002-12-16 Jeffrey Stedfast <fejj@ximian.com> * e-shell-importer.c: Don't #include "e-util/e-html-utils.h" as we don't use it. svn path=/trunk/; revision=19131
* Removed. Back to the fiery depths of hell from whence ye came!Jeffrey Stedfast2002-12-174-450/+7
| | | | | | | | | 2002-12-16 Jeffrey Stedfast <fejj@ximian.com> * e-html-utils.[c,h]: Removed. Back to the fiery depths of hell from whence ye came! svn path=/trunk/; revision=19130
* Use camel_text_to_html() instead.Jeffrey Stedfast2002-12-172-4/+9
| | | | | | | | | 2002-12-16 Jeffrey Stedfast <fejj@ximian.com> * gui/e-itip-control.c (write_html): Use camel_text_to_html() instead. svn path=/trunk/; revision=19129
* New convenience function to replace calls to e_text_to_html() in theJeffrey Stedfast2002-12-173-0/+32
| | | | | | | | | | 2002-12-16 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-filter-tohtml.c (camel_text_to_html): New convenience function to replace calls to e_text_to_html() in the mailer/composer etc. svn path=/trunk/; revision=19128
* Use camel_text_to_html(). (e_msg_composer_new_from_url): Same.Jeffrey Stedfast2002-12-173-17/+25
| | | | | | | | | | | | 2002-12-16 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (get_signature_html): Use camel_text_to_html(). (e_msg_composer_new_from_url): Same. * evolution-composer.c (impl_Composer_set_body): Use camel_text_to_html(). svn path=/trunk/; revision=19127
* Re-implemented to use streams. Also no need to check for html sinceJeffrey Stedfast2002-12-178-791/+485
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-16 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_text_plain): Re-implemented to use streams. Also no need to check for html since camel-mime-part-utils.c now does this for us and will re-tag the mime-type as text/html thus the UI can be completely ignorant of this process. (handle_text_plain_flowed): Removed. (write_one_text_plain_chunk): Removed. (try_uudecoding): Removed. (try_inline_binhex): Removed. (handle_text_enriched): Re-implemented to use streams too. 2002-12-15 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (write_text_header): Change the order of the args to be consistant with other write functions. (write_date): Same. (write_field_row_begin): Here too. (write_headers): Here too. (write_one_text_plain_chunk): Don't strdup just to pass it to mail_text_write() so that it can dup it yet again into html text and dup it yet a 3rd time into a GByteArray. Instead just write it to gtkhtml. (handle_*): Fixed arguments to take a MailDisplayStream instead of a GtkHTML widget and a GtkHMLStream. * mail-display.c (mail_display_render): Create a MailDisplayStream to pass to mail_format_mime_message() and mail_format_raw_message(). * mail-display-stream.[c,h]: New stream to replace mail-stream-gtkhtml.c * mail-stream-gtkhtml.[c,h]: Removed. svn path=/trunk/; revision=19126
* spelling/typosAaron Weber2002-12-179-46/+59
| | | | | | | | | | | | | | | 2002-12-16 Aaron Weber <aaron@ximian.com> * C/config-sync.sgml: spelling/typos * C/usage-exchange.sgml: spelling/typos * C/usage-mail.sgml: spelling/typos * C/usage-mainwindow.sgml: spelling/typos svn path=/trunk/; revision=19125
* #include some headers we had forgotten to add previously, also addedJeffrey Stedfast2002-12-166-1/+455
| | | | | | | | | | | | 2002-12-16 Jeffrey Stedfast <fejj@ximian.com> * camel.h: #include some headers we had forgotten to add previously, also added camel-mime-filter-enriched.h. * camel-mime-filter-enriched.[c,h]: New stream filter to convert text/enriched and text/richtext into HTML. svn path=/trunk/; revision=19124
* Correctly convert text.value into HTML here (ie, don't pass "<i>None</i>"Jeffrey Stedfast2002-12-162-15/+21
| | | | | | | | | | 2002-12-16 Jeffrey Stedfast <fejj@ximian.com> * gui/e-itip-control.c (write_html): Correctly convert text.value into HTML here (ie, don't pass "<i>None</i>" into e_text_to_html() if text.value is NULL). svn path=/trunk/; revision=19123
* Don't apply the CANON_STRIP filter here, since we are verifying whateverJeffrey Stedfast2002-12-162-3/+11
| | | | | | | | | | | 2002-12-15 Jeffrey Stedfast <fejj@ximian.com> * camel-multipart-signed.c (camel_multipart_signed_verify): Don't apply the CANON_STRIP filter here, since we are verifying whatever raw data we received (all we want to do is convert o the canonical CRLF format). svn path=/trunk/; revision=19122
* added some #warningsJeffrey Stedfast2002-12-161-287/+305
| | | | svn path=/trunk/; revision=19121
* Updated German translation and POTFILES.in.Christian Neumair2002-12-163-11032/+8855
| | | | svn path=/trunk/; revision=19120
* valgrindageMike Kestner2002-12-141-1/+1
| | | | | | | | 2002-12-13 Mike Kestner <mkestner@ximian.com> * e-table-item.c (eti_table_model_rows_deleted): valgrindage svn path=/trunk/; revision=19119
* protect against null instance_id's (bug#35540)Mike Kestner2002-12-141-1/+5
| | | | | | | | | 2002-12-13 Mike Kestner <mkestner@ximian.com> * gal-view-instance.c (gal_view_instance_construct): protect against null instance_id's (bug#35540) svn path=/trunk/; revision=19118
* Make sure the folder-browser is not NULL or we'll crash.Jeffrey Stedfast2002-12-142-16/+26
| | | | | | | | | 2002-12-13 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (check_send_configuration): Make sure the folder-browser is not NULL or we'll crash. svn path=/trunk/; revision=19115
* Fix the colour code to get a guint32 rgb correctly (I think - can't testJeffrey Stedfast2002-12-143-99/+102
| | | | | | | | | | 2002-12-13 Jeffrey Stedfast <fejj@ximian.com> * mail-preferences.c (mail_preferences_construct): Fix the colour code to get a guint32 rgb correctly (I think - can't test because the shell keeps crashing, yay). svn path=/trunk/; revision=19114
* Don't re-use cell renderers - I'm not sure this is actually safe to do.Jeffrey Stedfast2002-12-144-46/+48
| | | | | | | | | 2002-12-13 Jeffrey Stedfast <fejj@ximian.com> * message-tag-followup.c (construct): Don't re-use cell renderers - I'm not sure this is actually safe to do. svn path=/trunk/; revision=19113
* Get rid of unneeded CamelObject casts. (user_message_response): Don'tJeffrey Stedfast2002-12-147-276/+297
| | | | | | | | | | | | | | | | | | | 2002-12-13 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c: Get rid of unneeded CamelObject casts. (user_message_response): Don't unref the dialog object after we've destroyed it. * mail-display.c (write_data_to_file): Don't unref the dialog object after we've destroyed it. * mail-callbacks.c: Same here. * component-factory.c: Here too. * message-tag-editor.c: Added MESSAGE_TAG_EDITOR_GET_CLASS macros. svn path=/trunk/; revision=19112
* [ fixes bug #35394 ]Chris Toshok2002-12-142-3/+16
| | | | | | | | | | | | 2002-12-13 Chris Toshok <toshok@ximian.com> [ fixes bug #35394 ] * e-shell-shared-folder-picker-dialog.c (setup_name_selector): return the SelectNames corba interface too. (show_dialog): unref the corba interface when closing the dialog. svn path=/trunk/; revision=19111
* cleaned up some const'nessJeffrey Stedfast2002-12-142-150/+140
| | | | svn path=/trunk/; revision=19110
* Setup double-click here.Jeffrey Stedfast2002-12-132-5/+14
| | | | | | | | | 2002-12-12 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (mail_accounts_tab_construct): Setup double-click here. svn path=/trunk/; revision=19109
* Use an easier method for getting the iter.Jeffrey Stedfast2002-12-132-11/+15
| | | | | | | | | 2002-12-12 Jeffrey Stedfast <fejj@ximian.com> * rule-editor.c (cursor_changed): Use an easier method for getting the iter. svn path=/trunk/; revision=19108
* oops, I had changed the glade code but forgot to commitJeffrey Stedfast2002-12-131-5151/+5673
| | | | svn path=/trunk/; revision=19107
* New custom function for creating the source_list widget. (get_widget):Jeffrey Stedfast2002-12-134-70/+150
| | | | | | | | | | | | | | | | | 2002-12-12 Jeffrey Stedfast <fejj@ximian.com> * vfolder-rule.c (vfolder_editor_sourcelist_new): New custom function for creating the source_list widget. (get_widget): Removed the source_list creation code. * rule-editor.c (rule_editor_construct): Listen to row-activated for double-click events. Also, removed the model creation code out of here. (rule_editor_treeview_new): Moved the treeview and model creation code into here instead, and made the glade widgets into custom widgets. svn path=/trunk/; revision=19106
* don't shadow a parameterJeffrey Stedfast2002-12-131-7/+7
| | | | svn path=/trunk/; revision=19105
* Get rid of the ETable #ifdef's - we won't ever be using ETable.Jeffrey Stedfast2002-12-132-245/+112
| | | | | | | | | | | | | | | 2002-12-12 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (account_delete_clicked): Get rid of the ETable #ifdef's - we won't ever be using ETable. (account_default_clicked): Same. (account_able_clicked): Here too. (mail_accounts_load): And here. (mail_accounts_treeview_new): Renamed from etable_new since we won't ever be using an etable. (mail_accounts_tab_construct): And finally here. svn path=/trunk/; revision=19104
* GtkTreeStore wrapper. not built yetMike Kestner2002-12-122-0/+1452
| | | | | | | | 2002-12-11 Mike Kestner <mkestner@ximian.com> * e-storage-set-store.[ch] : GtkTreeStore wrapper. not built yet svn path=/trunk/; revision=19101
* Removed Marquette from the listing, it is no longer listed by METAR. ThisKevin Breit2002-12-123-14/+18
| | | | | | | | * Locations: Removed Marquette from the listing, it is no longer listed by METAR. This is per bug 29693. * Locations.h: Removed Marquette from the listing, it is no longer listed by METAR. svn path=/trunk/; revision=19100
* cast a-warning a-way.Not Zed2002-12-125-135/+162
| | | | | | | | | | | | | | | | | | | | | 2002-12-12 Not Zed <NotZed@Ximian.com> * folder-browser.c (my_folder_browser_init): cast a-warning a-way. * mail-composer-prefs.c (spell_setup): Terminate list_store_set with -1. * mail-accounts.c (mail_accounts_etable_new): clist -> gtktreeview stuff. Yes, this is not an etable. (mail_accounts_tab_construct): Same. (mail_accounts_load): Same. (account_cursor_change): Same. (account_able_clicked): And this. (account_default_clicked): Same. (account_delete_clicked): Guess? (account_edit_clicked): And here too. svn path=/trunk/; revision=19099
* New function to handle a lot of the filtering/etc that was done inJeffrey Stedfast2002-12-124-30/+57
| | | | | | | | | | | | | | | | 2002-12-11 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_format_data_wrapper_write_to_stream): New function to handle a lot of the filtering/etc that was done in mail_format_get_data_wrapper_text(). This is the first step toward getting rid of e-text-to-html crap and using my tohtml stream filter instead. (mail_format_get_data_wrapper_text): Use the new function. (mail_format_raw_message): Use camel streams to write the content to gtkhtml rather than using get_data_wrapper_text() and then converting that to html and then writing it to the gtkhtml stream. svn path=/trunk/; revision=19098
* check for null or blank view namesGilbert Fang2002-12-111-5/+9
| | | | | | | | | 2002-12-10 Gilbert Fang <gilbert.fang@sun.com> * gal-define-views-dialog.c (gdvd_button_new_dialog_callback): check for null or blank view names svn path=/trunk/; revision=19096
* Fonts aren't set the way they were, and I had missed a tidbit in there.Aaron Weber2002-12-112-16/+9
| | | | | | Also this is fixed in the 12 branch. svn path=/trunk/; revision=19094
* change directory server description.Aaron Weber2002-12-111-22/+65
| | | | | | | | 2002-12-10 Aaron Weber <aaron@ximian.com> * C/config-prefs.sgml: change directory server description. svn path=/trunk/; revision=19090
* change word from "Resend" to "redirect".Aaron Weber2002-12-112-3/+36
| | | | | | | | 2002-12-10 Aaron Weber <aaron@ximian.com> * C/preface.sgml: change word from "Resend" to "redirect". svn path=/trunk/; revision=19089
* Use camel-url-scanner instead of regex.Jeffrey Stedfast2002-12-113-90/+43
| | | | | | | | | 2002-12-10 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-filter-tohtml.c (html_convert): Use camel-url-scanner instead of regex. svn path=/trunk/; revision=19087
* new function.Rodrigo Moya2002-12-113-0/+27
| | | | | | | | 2002-12-10 Rodrigo Moya <rodrigo@ximian.com> * e-config-listener.[ch] (e_config_listener_remove_dir): new function. svn path=/trunk/; revision=19086
* language is a treeview now. Not sure what to do with it yet, but get ridNot Zed2002-12-104-218/+236
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-10 Not Zed <NotZed@Ximian.com> * mail-composer-prefs.c (mail_composer_prefs_construct): language is a treeview now. Not sure what to do with it yet, but get rid of one warning anyway. (mail_composer_prefs_construct): Same for sig_clist, but setup model. (sig_fill_clist): Change to use a gtktreeview instead of a clist. (sig_selection_changed): New method to handle signature selection changes with the new widgets. (sig_delete): clist -> treeview. (mail_composer_prefs_new_signature): Same. (sig_edit): ditto. (sig_current_sig): removed. (sig_row_unselect): Removed. (sig_row_select): Removed, now redundant. (spell_select_lang): Removed, redundant. (spell_set_ui_language): New implementation using list model more effectively. (spell_get_language_str): Same here. (spell_set_ui_language): Removed this too, merged into spell_set_ui, it was just wasting stack space. (spell_language_selection_changed): renemd from spell_language_select_row, converted to gtktreeview, etc. (spell_language_unselect_row): Removed. (spell_language_enable): Redone to use tree model. (spell_language_button_press): Removed, i dont think this is needed anymore. (spell_setup): dont hook onto redundant signals. * mail-config-factory.c (config_control_factory_cb): ignore mail-font-prefs in a different way (so we dont assert) svn path=/trunk/; revision=19084
* Removed the g_assert_not_reached(). If you hit the close button on yourNot Zed2002-12-102-2/+7
| | | | | | | | | | 2002-12-10 Not Zed <NotZed@Ximian.com> * e-multi-config-dialog.c (impl_response): Removed the g_assert_not_reached(). If you hit the close button on your window it would abort, treat same as close. svn path=/trunk/; revision=19083
* fix parameter list for e_trie_searchChris Toshok2002-12-101-1/+1
| | | | svn path=/trunk/; revision=19082
* oops, forgot to add the pattern_id arg to e_trie_addJeffrey Stedfast2002-12-101-1/+1
| | | | svn path=/trunk/; revision=19081
* EMemChunk, duhJeffrey Stedfast2002-12-101-2/+2
| | | | svn path=/trunk/; revision=19080
* s/E_MemChunk/EMemChunk/Jeffrey Stedfast2002-12-101-2/+2
| | | | svn path=/trunk/; revision=19079
* 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
* Fixed to not be fooled in the case where the address is followedJeffrey Stedfast2002-12-102-35/+60
| | | | | | | | | | | | | | 2002-12-09 Jeffrey Stedfast <fejj@ximian.com> * camel-url-scanner.c (camel_url_addrspec_end): Fixed to not be fooled in the case where the address is followed immediately by a period. (camel_url_web_end): Made more robust. (camel_url_scanner_scan): Oops. We need to set the match->pattern string pointer to the correct pattern before executing the start/end methods (as some of them rely on this info). svn path=/trunk/; revision=19077
* rework this to be faster and deal more correctly with the ellipsis.Chris Toshok2002-12-103-70/+105
| | | | | | | | | 2002-12-09 Chris Toshok <toshok@ximian.com> * e-clipped-label.[ch]: rework this to be faster and deal more correctly with the ellipsis. svn path=/trunk/; revision=19076
* New code to scan for patterns (used only for url pattern matching atm, butJeffrey Stedfast2002-12-104-0/+477
| | | | | | | | | | 2002-12-09 Jeffrey Stedfast <fejj@ximian.com> * camel-url-scanner.c: New code to scan for patterns (used only for url pattern matching atm, but we may find other uses for this and thus rename it? I dunno). Uses ETrie. svn path=/trunk/; revision=19075
* New implementation of an Aho-Corasick trie.Jeffrey Stedfast2002-12-104-0/+397
| | | | | | | | 2002-12-09 Jeffrey Stedfast <fejj@ximian.com> * e-trie.c: New implementation of an Aho-Corasick trie. svn path=/trunk/; revision=19074
* pass "Mail" to e_passwords_*. (do_get_pass): same. (main_forget_password):Chris Toshok2002-12-104-9/+21
| | | | | | | | | | | | | | | | | | 2002-12-09 Chris Toshok <toshok@ximian.com> * mail-session.c (pass_response): pass "Mail" to e_passwords_*. (do_get_pass): same. (main_forget_password): same. (mail_session_get_password): same. (mail_session_remember_password): same. (mail_session_forget_password): same. * mail-config.c (mail_config_write_on_exit): pass "Mail" to e_passwords_*. * main.c (main): e_passwords_init is gone. svn path=/trunk/; revision=19073
* 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
* track changes to api (e_passwords_init is gone, and several functions takeChris Toshok2002-12-103-30/+66
| | | | | | | | | | | | | | | | | | | | | | | | 2002-12-09 Chris Toshok <toshok@ximian.com> * e-passwords.h: track changes to api (e_passwords_init is gone, and several functions take the component name as an arg.) * e-passwords.c (e_passwords_init): make this static, and allow multiple calls. Also, it no longer takes the component name. (e_passwords_shutdown): make this deal with the case where e_passwords_init wasn't called (no hashtable), and it no longer needs to free component_name. (e_passwords_forget_passwords): call e_passwords_init. (e_passwords_clear_component_passwords): take component_name as an arg, and call e_passwords_init. (password_path): take component_name as an arg. (e_passwords_remember_password): same, and call e_passwords_init. (e_passwords_forget_password): same. (e_passwords_get_password): same. (e_passwords_add_password): call e_passwords_init. (e_passwords_ask_password): take component_name as an arg. svn path=/trunk/; revision=19071
* Fixes #35003Rodrigo Moya2002-12-105-13/+90
| | | | | | | | | | | | | | | | | | | | | | 2002-12-06 Rodrigo Moya <rodrigo@ximian.com> Fixes #35003 * gui/misc.[ch] (get_uri_without_password): new function for removing the password from the CalClient's uris. * gui/gnome-cal.c (client_cal_opened_cb): use the URI returned by get_uri_without_password for messages. (backend_error_cb): likewise. (backend_died_cb): likewise. (gnome_calendar_open): likewise. (open_error, method_error, permission_error): likewise. * gui/e-tasks.c (e_tasks_open): hide the password from the URI being displayed in messages. (backend_error_cb): likewise. svn path=/trunk/; revision=19070
* 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
* OK, final typo.Aaron Weber2002-12-091-5/+5
| | | | svn path=/trunk/; revision=19061
* Updated Spanish translation by Fco. Javier Fernandez <serrador@arrakis.es>Pablo Gonzalo del Campo2002-12-092-1215/+2046
| | | | | | | | 2002-12-09 Pablo Gonzalo del Campo <pablodc@bigfoot.com> * es.po: Updated Spanish translation by Fco. Javier Fernandez <serrador@arrakis.es> svn path=/trunk/; revision=19060
* 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 a bag instead of a hashtable to track the cache streams.Not Zed2002-12-0913-449/+608
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-07 Not Zed <NotZed@Ximian.com> * camel-data-cache.c (data_cache_init): Use a bag instead of a hashtable to track the cache streams. (data_cache_finalise): Same. (free_busy): No longer needed. (data_cache_expire): use bag instead of hashtable. (stream_finalised): No longer required. (camel_data_cache_add): objectbagise (camel_data_cache_get): " (camel_data_cache_remove): " (data_cache_path): Set the now expired date before running expiry, so it plays better with multiple threads. Still a couple of harmless races. 2002-12-06 Not Zed <NotZed@Ximian.com> * providers/local/camel-spool-store.c (scan_dir): folders -> object bag. (get_folder_info_mbox): folders -> object bag. * providers/local/camel-mh-store.c (folder_info_new): folders -> object bag. * providers/local/camel-maildir-store.c (scan_dir): folders -> object bag. * providers/local/camel-local-store.c (rename_folder): folders -> object bag. * camel-private.h (CamelStorePrivate): Remove 'cache' lock, handled by the objectbag. * providers/imap/camel-imap-store.c (copy_folder): Removed. (imap_store_refresh_folders): folders -> object bag. (get_folder_counts): folders -> object bag. * camel-vee-store.c (vee_get_folder): changes for folders objectbag. (vee_get_folder_info): Change to use folders objectbag. Also, dont refresh the base folder if we're in FAST mode. (build_info): Removed, no longer needed. (vee_rename_folder): Fixed for folders objectbag. * camel-store.c (camel_store_init): init the folders objectbag. (camel_store_finalize): Destroy the folders object bag. (folder_matches): (folder_finalize): Removed, now handled implicitly by the objectbag. (camel_store_get_folder): object bag changes. (camel_store_delete_folder): " (get_subfolders): Removed, now handled without a callback. (camel_store_rename_folder): Changed to use object bag of folders. (trash_add_folder): Removed. (init_trash): use folders object bag. (copy_folder_cache): (sync_folder): Removed, no longer needed. Weird arsed code anyway. (store_sync): Use folder object bag instead of hashtable. (camel_store_unsubscribe_folder): " (camel_store_init): remove cache_lock init, no longer used. (camel_store_finalize): Same for cleanup. 2002-12-05 Not Zed <NotZed@Ximian.com> * camel-store.h (struct _CamelStore): change folders from a hashtable into a CamelObjectBag. * camel-object.c (camel_object_ref): Use type_lock instead of class lock for ref counting. (camel_object_unref): Use type_lock instead of class lock for unref. (camel_object_unref): If the object is 'bagged', then also look hooks, and remove it from any bags. (camel_object_bag_new): (camel_object_bag_destroy): (camel_object_bag_add): (camel_object_bag_get): (camel_object_bag_remove_unlocked): (camel_object_bag_list): (camel_object_bag_abort): (camel_object_bag_remove): New functions to implement a utility object which can manage a 'bag' of weakly ref'd children in an atomic & threadsafe way. svn path=/trunk/; revision=19056
* Allow an e-mutex to be used with standard condition variables.Not Zed2002-12-093-0/+26
| | | | | | | | | 2002-12-07 Not Zed <NotZed@Ximian.com> * e-msgport.c (e_mutex_cond_wait): Allow an e-mutex to be used with standard condition variables. svn path=/trunk/; revision=19055
* lots of stuff, add 2 e-text widgets, 1 readonly, the other writable (thatChris Toshok2002-12-095-530/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-08 Chris Toshok <toshok@ximian.com> * tests/test-text.c: lots of stuff, add 2 e-text widgets, 1 readonly, the other writable (that uses the uri model..) * gal/e-text/e-text.[ch]: lots of pango changes. we don't do *anything* with gdk/e fonts now. everything is pango. There are still some issues while editting but display should more or less work properly now, and without all the performance problems. * gal/e-text/e-completion-view.c (e_completion_view_expose_event): use gtk_widget_send_expose instead of gtk_widget_event so we don't get the annoying gtk warning. * gal/e-text/e-entry.c (e_entry_dispose): make sure both the gdk and gtk grabs are removed. (e_entry_class_init): fill_color_gdk is a boxed type, not pointer. * gal/e-text/e-text-model-uri.h (E_TYPE_TEXT_MODEL_URI): oops, this should be e_text_model_uri_get_type, not e_text_model_get_type. svn path=/trunk/; revision=19054
* Fix for bug #33295Jeffrey Stedfast2002-12-082-71/+72
| | | | | | | | | | | | | | | | | 2002-12-07 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #33295 * e-msg-composer-attachment.c: Change the parent_class to a GObjectClass pointer instead of a GtkObjectClass pointer. (e_msg_composer_attachment_edit): Ref the attachment object so that if the attachment is removed while it is still being edited, the attachment object will still exist and therefor foil the user's attempt to make Evolution crash when they close the properties dialog for this attachment. (close_cb): Unref the attachment object. svn path=/trunk/; revision=19053
* 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
* change to a more gconf-like path (with underscores, etc.) (ecmlw_save):Chris Toshok2002-12-072-2/+8
| | | | | | | | | | 2002-12-06 Chris Toshok <toshok@ximian.com> * e-categories-master-list-wombat.c (ecmlw_load): change to a more gconf-like path (with underscores, etc.) (ecmlw_save): same. svn path=/trunk/; revision=19051
* Implement GType for this enumeration. (cal_query_class_init): Use theHans Petter Jansson2002-12-073-1/+33
| | | | | | | | | | | | | 2002-12-06 Hans Petter Jansson <hpj@ximian.com> * cal-client/cal-query.c (cal_query_done_status_enum_get_type): Implement GType for this enumeration. (cal_query_class_init): Use the enumeration instead of the abstract one. * cal-client/cal-query.h: Add type macro and proto for enum. svn path=/trunk/; revision=19050
* Fix changelog entry.Hans Petter2002-12-071-1/+1
| | | | svn path=/trunk/; revision=19049
* Pass the env argument to bonobo_control_set_property ().Hans Petter Jansson2002-12-074-10/+21
| | | | | | | | | | | | | | 2002-12-06 Hans Petter Jansson <hpj@ximian.com> * gui/component-factory.c (): Pass the env argument to bonobo_control_set_property (). * gui/e-meeting-model.c (class_init): We're no longer derived from GtkObject, so use GObject class methods instead. destroy->finalize. (destroy): Zapped. (finalize): Implement based on old destroy (). svn path=/trunk/; revision=19048
* It appears that Ettore's @LIBEXECDIR@ change didn't make it in for thisHans Petter Jansson2002-12-072-2/+8
| | | | | | | | | | 2002-12-06 Hans Petter Jansson <hpj@ximian.com> * GNOME_Evolution_WombatNOLDAP.server.in.in: It appears that Ettore's @LIBEXECDIR@ change didn't make it in for this file. Fixed that. svn path=/trunk/; revision=19047
* Really need to learn to make sure it's perfect before committing. Doh.Aaron Weber2002-12-071-5/+7
| | | | svn path=/trunk/; revision=19046
* spelling. doh.Aaron Weber2002-12-071-6/+6
| | | | svn path=/trunk/; revision=19045
* add spam filtering help.Aaron Weber2002-12-072-39/+132
| | | | | | | | 2002-12-06 Aaron Weber <aaron@ximian.com> * C/usage-mail-org.xml: add spam filtering help. svn path=/trunk/; revision=19044
* Create a non-abstract enumeration type derived from GEnum.Hans Petter Jansson2002-12-0727-612/+269
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-06 Hans Petter Jansson <hpj@ximian.com> * cal-client/cal-client.c (cal_client_open_status_enum_get_type): Create a non-abstract enumeration type derived from GEnum. (cal_client_set_mode_status_enum_get_type): Ditto. (cal_mode_enum_get_type): Ditto. (cal_client_class_init): Use our enumerations and not the abstract one. (cal_client_finalize): Don't destroy factories, since the CalClient doesn't own them anymore. They're shared between CalClients now. (get_factories): Implement. Move the factory setup code here from cal_client_construct (), and cache the factories. This is hopefully temporary, until wombat goes away or is fixed. (cal_client_construct): Most of the code moved to get_factories (). * cal-client/cal-client.h: Add enumeration type macros and protos. * gui/cal-search-bar.c (cal_search_bar_get_type): Removed in favour of E_MAKE_TYPE, which uses GObject calls. (cal_search_bar_class_init): Use g_type_class_peek_parent (). * gui/calendar-model.c (calendar_model_get_type): (calendar_model_class_init): Ditto, like above file. * gui/calendar-view.c (calendar_view_get_type): (calendar_view_class_init): Ditto. * gui/e-calendar-table.c (e_calendar_table_get_type): (e_calendar_table_class_init): Ditto. * gui/e-comp-editor-registry.c (e_comp_editor_registry_get_type): (class_init): Ditto. * gui/e-day-view-main-item.c (e_day_view_main_item_get_type): (e_day_view_main_item_class_init): Ditto. * gui/e-day-view-time-item.c (e_day_view_time_item_get_type): (e_day_view_time_item_class_init): Ditto. * gui/e-day-view-top-item.c (e_day_view_top_item_get_type): (e_day_view_top_item_class_init): Ditto. * gui/e-day-view.c (e_day_view_get_type): (e_day_view_class_init): Ditto. * gui/e-itip-control.c (e_itip_control_get_type): (class_init): Ditto. * gui/e-meeting-attendee.c (e_meeting_attendee_get_type): (class_init): Ditto. * gui/e-meeting-model.c (e_meeting_model_get_type): (class_init): Ditto. * gui/e-meeting-time-sel-item.c (e_meeting_time_selector_item_get_type): (e_meeting_time_selector_item_class_init): Ditto. * gui/e-meeting-time-sel.c (e_meeting_time_selector_get_type): (e_meeting_time_selector_class_init): Ditto. * gui/e-timezone-entry.c (e_timezone_entry_get_type): (e_timezone_entry_class_init): Ditto. * gui/e-week-view-event-item.c (e_week_view_event_item_get_type): (e_week_view_event_item_class_init): Ditto. * gui/e-week-view-main-item.c (e_week_view_main_item_get_type): (e_week_view_main_item_class_init): Ditto. * gui/e-week-view-titles-item.c (e_week_view_titles_item_get_type): (e_week_view_titles_item_class_init): Ditto. * gui/gnome-cal.c (gnome_calendar_get_type): (gnome_calendar_class_init): Ditto. * gui/weekday-picker.c (weekday_picker_get_type): (weekday_picker_class_init): Ditto. * gui/e-week-view.c (e_week_view_get_type): (e_week_view_class_init): Ditto, but parent_class init was moved from get_type() to class_init(). * gui/calendar-view-factory.c (calendar_view_factory_get_type): (calendar_view_factory_class_init): Ditto, and set up finalize callback instead of destroy. (calendar_view_factory_finalize): It's a GObject, so implement this. (celendar_view_factory_destroy): Move code to _finalize() and remove. * gui/main.c (init_bonobo): Remove extraneous bonobo_activation_init(). svn path=/trunk/; revision=19043
* Change description passed toEttore Perazzoli2002-12-072-1/+6
| | | | | | BONOBO_ACTIVATION_SHLIB_FACTORY to correctly say we are a factroy. svn path=/trunk/; revision=19042
* #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 "contacts", "contacts/ldap" as the accepted contacts types, so it'llChris Toshok2002-12-062-1/+7
| | | | | | | | | | 2002-12-05 Chris Toshok <toshok@ximian.com> * e-shell-config-default-folders.c: use "contacts", "contacts/ldap" as the accepted contacts types, so it'll allow both normal and ldap contact folders. svn path=/trunk/; revision=19037
* More white-space.Morten Welinder2002-12-061-18/+18
| | | | svn path=/trunk/; revision=19019
* 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
* Add a "collate" sort callback that uses the new g_collate_compare().Jeffrey Stedfast2002-12-063-9/+25
| | | | | | | | | | | | | | | | 2002-12-05 Jeffrey Stedfast <fejj@ximian.com> * e-table-extras.c (ete_init): Add a "collate" sort callback that uses the new g_collate_compare(). 2002-12-05 Jeffrey Stedfast <fejj@ximian.com> * gal/util/e-util.c (g_str_compare): Revert back to using just strcmp - this fixes bug #33933 but reopens bug #26355. (g_collate_compare): New function meant to address the sorting required by bug #26335. svn path=/trunk/; revision=19014
* guard against multiple calls.Chris Toshok2002-12-051-4/+4
| | | | | | | | | 2002-12-04 Chris Toshok <toshok@ximian.com> * gal/widgets/e-canvas-background.c (ecb_dispose): guard against multiple calls. svn path=/trunk/; revision=19009
* Define COMPONENT_DIR.Ettore Perazzoli2002-12-054-1/+13
| | | | | | | | | * configure.in: Define COMPONENT_DIR. * Makefile.am (componentdir): Install in $(COMPONENT_DIR), not in ${prefix}/evolution/components. svn path=/trunk/; revision=19008
* Updated to be a shared library.Ettore Perazzoli2002-12-057-148/+60
| | | | | | | | | | | | | | | | | | | | * GNOME_Evolution_Summary.server.in.in: Updated to be a shared library. * main.c: Removed. * Makefile.am: Update to compile as a shared library. * component-factory.c: Changed to be a shared library factory, for both the ShellComponent and the ConfigControl objects. * e-summary-preferences.c (e_summary_preferences_init_config_control): Renamed from e_summary_preferences_register_config_control_factory. (e_summary_preferences_create_control): Renamed from factory_fn and removed all args. svn path=/trunk/; revision=19007
* (component_free): Only invokeEttore Perazzoli2002-12-052-2/+10
| | | | | | wait_for_corba_object_to_die on components that are out-of-proc. svn path=/trunk/; revision=19006
* ignore *.serverJeffrey Stedfast2002-12-051-1/+1
| | | | svn path=/trunk/; revision=19005
* updatedJeffrey Stedfast2002-12-051-2/+2
| | | | svn path=/trunk/; revision=19004
* ignore intltoolsJeffrey Stedfast2002-12-051-1/+1
| | | | svn path=/trunk/; revision=19003
* Properly handle the case where the namespace is "". Fixes bug #34975Jeffrey Stedfast2002-12-053-5/+14
| | | | | | | | | | 2002-12-04 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-store-summary.c (camel_imap_store_summary_add_from_full): Properly handle the case where the namespace is "". Fixes bug #34975 svn path=/trunk/; revision=19002
* Don't leak old sort info.Hans Petter Jansson2002-12-042-0/+7
| | | | | | | | | | | | | 2002-12-03 Hans Petter Jansson <hpj@ximian.com> * e-table.c (e_table_get_state_object): Don't leak old sort info. 2002-12-03 Hans Petter Jansson <hpj@ximian.com> * gal/widgets/e-canvas-background.c (ecb_destroy): Don't leak private structure. svn path=/trunk/; revision=18999
* Get rid of the unused exception variable.Jeffrey Stedfast2002-12-042-5/+5
| | | | | | | | | 2002-12-03 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (message_rfc822_dnd): Get rid of the unused exception variable. svn path=/trunk/; revision=18997
* Fixed to not get false positives when the token is shorter than the actualJeffrey Stedfast2002-12-042-12/+34
| | | | | | | | | | | | | 2002-12-03 Jeffrey Stedfast <fejj@ximian.com> * broken-date-parser.c (get_tzone): Fixed to not get false positives when the token is shorter than the actual timezone string (but matches the first little bit of it). (datetok): Modified to properly handle when the first char of a token is a special char (such as a '-') that is also used as a token delimiter. svn path=/trunk/; revision=18996
* Use the same logic as mail_generate_reply(). Fixes bug #34882Jeffrey Stedfast2002-12-043-16/+63
| | | | | | | | | | | | | | | | | | | 2002-12-03 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (guess_me_from_accounts): Use the same logic as mail_generate_reply(). Fixes bug #34882 Fixes bug #34315 * component-factory.c (message_rfc822_dnd): Return TRUE if we successfully handled all messages in the mbox stream, or FALSE otherwise. (destination_folder_handle_drop): For TEXT_URI_LIST, use the retval from message_rfc822_dnd() rather than relying on an exception, because one will not always necessarily be set. For MESSAGE_RFC822, also use the retval from message_rfc822_dnd(). svn path=/trunk/; revision=18995
* Spellchecking by Zdenko Podobny.Stanislav Visnovsky2002-12-032-20664/+10463
| | | | | | | | 2002-12-03 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz> * sk.po: Spellchecking by Zdenko Podobny. svn path=/trunk/; revision=18993
* dispose can be run multiple times too ... bloody gobject crap.Not Zed2002-12-032-2/+11
| | | | | | | | | 2002-12-03 Not Zed <NotZed@Ximian.com> * e-search-bar.c (impl_dispose): dispose can be run multiple times too ... bloody gobject crap. svn path=/trunk/; revision=18992
* frobbed around with these till it exits without crashing.Not Zed2002-12-034-68/+104
| | | | | | | | | | | | | | | | 2002-12-03 Not Zed <NotZed@Ximian.com> * folder-browser.c (folder_browser_finalise/destroy): frobbed around with these till it exits without crashing. * message-list.c (message_list_destroy): made a destroy handler again (was dispose). Frobbed around with this and finalise till it can destroy without crashing. * message-browser.c (message_browser_new): ref/sink the folderbrowser. svn path=/trunk/; revision=18991
* make this a dispose rather than finalise. Crashes on finalise otherwise.Not Zed2002-12-031-3/+3
| | | | | | | | | 2002-12-03 Not Zed <NotZed@Ximian.com> * e-tree-memory.c (etmm_dispose): make this a dispose rather than finalise. Crashes on finalise otherwise. svn path=/trunk/; revision=18990
* 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
* RevertedRodrigo Moya2002-12-024-10/+0
| | | | svn path=/trunk/; revision=18983
* Included gtkmessagedialog.h.Rodrigo Moya2002-12-022-0/+5
| | | | | | | | 2002-12-02 Rodrigo Moya <rodrigo@ximian.com> * evolution-shell-component-utils.c: Included gtkmessagedialog.h. svn path=/trunk/; revision=18982
* Included gtkmessagedialog.h.Rodrigo Moya2002-12-022-0/+5
| | | | | | | | 2002-12-02 Rodrigo Moya <rodrigo@ximian.com> * e-cahrset-picker.c: Included gtkmessagedialog.h. svn path=/trunk/; revision=18981
* applied magic_links_settings.patchRadek Doulik2002-12-022-1/+6
| | | | svn path=/trunk/; revision=18980
* Add include of gnome-dialog.hNot Zed2002-12-022-25/+10
| | | | | | | | | | 2002-11-27 Not Zed <NotZed@Ximian.com> * e-charset-picker.c: Add include of gnome-dialog.h * *.[ch]: ran fix.sh script over everything. svn path=/trunk/; revision=18979
* Add include of gnome-dialog.hNot Zed2002-12-0239-217/+226
| | | | | | | | | | 2002-11-27 Not Zed <NotZed@Ximian.com> * e-charset-picker.c: Add include of gnome-dialog.h * *.[ch]: ran fix.sh script over everything. svn path=/trunk/; revision=18978
* changed to use a gtkdialog instead of a gnome one.Not Zed2002-12-0260-256/+285
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-27 Not Zed <NotZed@Ximian.com> * main.c (show_development_warning): changed to use a gtkdialog instead of a gnome one. (warning_dialog_response_callback): clicked->response. * e-shell-folder-selection-dialog.c: Include gtk/gtkstock.h * e-shell-folder-creation-dialog.c: include gnome-dialog.h (dialog_response_cb): gtk_entry_get_text now returns const. Dont free result. * e-setup.c: include gnome-messagebox.h * *.c: (re)run fix.sh over all, for e_notice changes & pick up some deprecated functions. * e-shell-shared-folder-picker-dialog.c (shared_folder_discovery_callback): reformat e_notice call for script. * e-shell-offline-sync.c (impl_SyncFolderProgressListener_reportFailure): Fix e_notice call, we weren't passing type in. * e-shell-folder-commands.c (xfer_result_callback): changed around slightly to save some processing & allow a script to run. (e_shell_command_rename_folder): reformat e_notice call to help script. Include gnome-messagebox.h svn path=/trunk/; revision=18977
* ran fix.sh over this.Michael Zucci2002-12-027-38/+38
| | | | svn path=/trunk/; revision=18976
* GNOME_STOCK_*NEXT/PREV -> GTK_STOCK_*GO_BACK/FORWARD.Not Zed2002-12-024-8/+15
| | | | | | | | | | | 2002-11-27 Not Zed <NotZed@Ximian.com> * e-summary-shown.c (e_summary_shown_init): GNOME_STOCK_*NEXT/PREV -> GTK_STOCK_*GO_BACK/FORWARD. * e-summary.[ch]: ran fix.sh over this. svn path=/trunk/; revision=18975
* gnome_pixmap -> gtkimage. (construct): gtk_clist -> gtk_tree_view, setupNot Zed2002-12-0236-520/+374
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-27 Not Zed <NotZed@Ximian.com> * message-tag-followup.c (construct): gnome_pixmap -> gtkimage. (construct): gtk_clist -> gtk_tree_view, setup columns. They dont size well :-/ (message_tag_followup_append_message): Append using model, remove clist stuff. (construct): Show date edit (glade bugs?) * folder-browser.c (folder_browser_class_init): gtk_marshal -> g_cclosure_marshal (setup_popup_icons): gnome_pixmap -> gtk_image. (on_right_click): gtk_pixmap -> gtk_image. * mail-accounts.c (account_delete_clicked): removed #if 0'd out code. * mail-send-recv.c (receive_done): remove FIXME and extra unref. * mail-session.c (request_password): Removed #if 0'd out stuff. * mail-vfolder.c (new_rule_clicked): proper cast for g_object_get_data. * mail-local.c (reconfigure_response): cast for g_object_get_data. * mail-account-editor.c (construct): GNOME_DIALOG -> GTK_DIALOG. * *.[ch]: re-ran fix.sh for e_notice change * mail-callbacks.c (save_msg_ok): g_object_get_data + gtk_object_remove_no_notify -> g_object_steal_data. (find_socket): gtk_container_children -> gtk_container_get_children (edit_msg): gnome_*_dialog -> gtk_message_dialog. (resent_msg): " (search_msg): " (confirm_goto_next_folder): gtkmessagedialogised (even if not used). (confirm_expunge): gtkmessagedialogised (filter_edit): " (do_mail_print): e_notice -> gtk_message_dialog. (are_you_sure): removed e_gnome_ok_cancel_dialog crap, replaced with a gtk dialog. (are_you_sure): gtkmessagedialogised. (edit_msg_internal): Dont free uids array, are_you_sure() free's it. (resend_msg): Same. (check_send_configuration): Use e_notice for stuff. Sigh, here we go again ...! (e_question): A utility function to ask a question, potentially with 'dont ask again' as well. (configure_mail): use e_question to save code. Here we go again, again ... (ask_confirm_for_unwanted_html_mail): " (ask_confirm_for_only_bcc): " (ask_confirm_for_only_bcc): " (composer_get_message): Use e_notice. (composer_save_draft_cb): Use e_question (edit_msg): use e_notice, & change to an ERROR. (resend_msg): same. (save_msg_ok): Properly initialise ret to OK, and use e_question, and use access() to determine existance/write access rather than stat, display an error if we can't write to a file that exists, and print the filename in all dialogues. (confirm_goto_next_folder): Use e_question. (confirm_expunge): use e_question. (filter_edit): Use e_notice. (do_mail_print): use e_notice. svn path=/trunk/; revision=18974
* removed warning about e_notice. its used too much, its here to stay.Not Zed2002-12-0211-45/+51
| | | | | | | | | | | 2002-11-27 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (save): removed warning about e_notice. its used too much, its here to stay. * *.[ch]: run fix.sh over everything. svn path=/trunk/; revision=18973
* run fix.sh over this.Not Zed2002-12-0229-337/+343
| | | | | | | | | | | | | | | | | | | | 2002-11-27 Not Zed <NotZed@Ximian.com> * gui/itip-utils.[ch]: run fix.sh over this. * gui/dialogs/*.[ch]: run fix.sh over all of this. 2002-11-26 Richard Li <Richard.Li@Sun.COM> * cal-client/cal-client.c (cal_client_construct): removed extra call to CORBA_exception_init. 2002-11-22 Not Zed <NotZed@Ximian.com> * gui/dialogs/delete-comp.c (delete_component_dialog): Changed e_messagebox -> gtk_messagedialog. svn path=/trunk/; revision=18972
* 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
* removed merge conflictsJeffrey Stedfast2002-12-021-1/+0
| | | | svn path=/trunk/; revision=18970
* s/g_str[n]casecmp/str[n]casecmpJeffrey Stedfast2002-12-022-11/+16
| | | | | | | | 2002-12-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c: s/g_str[n]casecmp/str[n]casecmp svn path=/trunk/; revision=18969
* Updated Brazilian Portuguese translation done by Gustavo Maciel DiasGustavo Maciel Dias Vieira2002-12-012-4042/+3928
| | | | | | | | | 2002-12-01 Gustavo Maciel Dias Vieira <gdvieira@zaz.com.br> * pt_BR.po: Updated Brazilian Portuguese translation done by Gustavo Maciel Dias Vieira <gdvieira@zaz.com.br>. svn path=/trunk/; revision=18967
* gal a11y work from claheyChris Toshok2002-11-3020-0/+2587
| | | | svn path=/trunk/; revision=18959
* 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
* rework this from the gal-2 branch, clahey's patch, and the stuff i'd doneChris Toshok2002-11-301-107/+107
| | | | | | | | | | 2002-11-29 Chris Toshok <toshok@ximian.com> * gal/e-text/e-text.c: rework this from the gal-2 branch, clahey's patch, and the stuff i'd done since. it's working *MUCH* better now. svn path=/trunk/; revision=18957
* [ 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
* Joaquim Fellmann <joaquim@altern.org>jfell2002-11-283-4161/+4186
| | | | | | | *fr.po: Updated French translation *POTFILES.in: Removed files that doesn't exist anymore svn path=/trunk/; revision=18952
* Added missing quotes: PISOCK_LIBS="-lpisock -lpisync"Stanislav Brabec2002-11-272-1/+6
| | | | | | | | | 2002-11-27 Stanislav Brabec <sbrabec@suse.cz> * gnome-pilot.m4: Added missing quotes: PISOCK_LIBS="-lpisock -lpisync" svn path=/trunk/; revision=18948
* 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
* added missing ';' for new bison to not complain.Rodrigo Moya2002-11-272-1/+23
| | | | | | | | | 2002-11-26 Rodrigo Moya <rodrigo@ximian.com> * src/libical/icalyacc.y: added missing ';' for new bison to not complain. svn path=/trunk/; revision=18938
* (etms_finalize): CallEttore Perazzoli2002-11-271-1/+26
| | | | | | e_table_memory_store_clear(). svn path=/trunk/; revision=18937
* Remove a ":" that shouldn't have been there (and abbreviate theDan Winship2002-11-272-2/+8
| | | | | | | | * fr.po: Remove a ":" that shouldn't have been there (and abbreviate the translation of "Mailer" to make the mail header display look nicer). svn path=/trunk/; revision=18930
* e_get_language_list now returns language codes that actually work withDan Winship2002-11-273-9/+11
| | | | | | | | | | | * e-shell-settings-dialog.c (page_new): e_get_language_list now returns language codes that actually work with oaf, making the _()s here redundant. * e-component-info.c (get_i18n_value): Remove code to turn "fr_FR" into "fr", since e_get_language_list will return both now. svn path=/trunk/; revision=18928
* If the language is something like "fr_FR", return both "fr_FR" and "fr" inDan Winship2002-11-272-4/+21
| | | | | | | | * e-lang-utils.c (e_get_language_list): If the language is something like "fr_FR", return both "fr_FR" and "fr" in the list. Oaf doesn't consider "fr_FR" to match a "-fr" translation. svn path=/trunk/; revision=18926
* clicked->response signal for gtk dialogue. (new_rule_clicked): Dont unrefNot Zed2002-11-262-10/+10
| | | | | | | | | | | | | | 2002-11-26 Not Zed <NotZed@Ximian.com> * mail-vfolder.c (vfolder_gui_add_rule): clicked->response signal for gtk dialogue. (new_rule_clicked): Dont unref after destroy (duh, idiot again). (edit_rule_response): Same here. (mail_vfolder_delete_uri): Connect response signal to gtk_widget_destroy directrly using g_signal_connect_swapped. (close_dialogue): Removed, as no longer needed. svn path=/trunk/; revision=18925
* Add a textcellrenderer to display the folders. (get_widget): Remove FIXMENot Zed2002-11-262-1/+8
| | | | | | | | | | 2002-11-26 Not Zed <NotZed@Ximian.com> * vfolder-rule.c (get_widget): Add a textcellrenderer to display the folders. (get_widget): Remove FIXME which was wrong. svn path=/trunk/; revision=18924
* Duh idiot, "un-fixed" the memleak i added.Not Zed2002-11-263-14/+27
| | | | | | | | | | | | | | | | | | | | 2002-11-26 Not Zed <NotZed@Ximian.com> * message-list.c (get_normalised_string): Duh idiot, "un-fixed" the memleak i added. * mail-callbacks.c (composer_get_message): Set parent window in message dialogue & DESTROY_WITH_PARENT flag. (composer_save_draft_cb): (configure_mail): (check_send_configuration): Add DESTROY_WITH_PARENT flag to gtk_message_dialog's (local_configure_done): remove some unecessary/wrong casts. (empty_trash_expunged_cb): " (do_mail_print): use gtk_window_set_transient_for instead of e_dialog_set_parent. svn path=/trunk/; revision=18923
* FILTER_RULE_CLASS -> _GET_CLASSNot Zed2002-11-2622-74/+97
| | | | | | | | | | | | | | | | | | | | | | | 2002-11-26 Not Zed <NotZed@Ximian.com> * filter-rule.c (filter_rule_validate): FILTER_RULE_CLASS -> _GET_CLASS * rule-context.c (rule_context_save): RULE_CONTEXT_CLASS -> RULE_CONTEXT_GET_CLASS (rule_context_revert): " * *.[ch]: Ran fix.sh over all files. * rule-editor.c (rule_add): widget:set_parent -> window:set_transient_for (editor_response): renamed from editor_clicked, handle gtk dialog response codes. (rule_edit): connect to response rather than clicked. (rule_editor_construct): Setup a text column in the tree view. Not sure if this can be handled via glade. svn path=/trunk/; revision=18922
* Dont grab_add anymore on the button, gtk_button is changed in gtk2 not toNot Zed2002-11-262-1/+6
| | | | | | | | | | 2002-11-26 Not Zed <NotZed@Ximian.com> * e-combo-button.c (impl_button_press_event): Dont grab_add anymore on the button, gtk_button is changed in gtk2 not to do this anymore. svn path=/trunk/; revision=18921
* removed extra call to CORBA_exception_init.Richard Li2002-11-262-1/+5
| | | | | | | | | 2002-11-26 Richard Li <Richard.Li@Sun.COM> * cal-client/cal-client.c (cal_client_construct): removed extra call to CORBA_exception_init. svn path=/trunk/; revision=18920
* gtk_widget_set_parent_window -> gtk_window_set_transient_for.Not Zed2002-11-266-32/+78
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-26 Not Zed <NotZed@Ximian.com> * mail-account-editor.c (mail_account_editor_new): gtk_widget_set_parent_window -> gtk_window_set_transient_for. * mail-callbacks.c (composer_send_queued_cb): dont unref composer. * message-browser.c (message_browser_destroy): moved back from finalise. 2002-11-25 Not Zed <NotZed@Ximian.com> * message-list.c (message_list_dispose): move saving tree state here. (message_list_finalise): And take it from here. * mail-display.c (mail_display_destroy): @#$@# gtk. changed this around a bit. (mail_display_init): Fix prototype, its a gobject. (mail_display_init): ref/sink the invisible gtkobject. svn path=/trunk/; revision=18919
* properly chain finalise.Not Zed2002-11-262-2/+9
| | | | | | | | 2002-11-26 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (composer_finalise): properly chain finalise. svn path=/trunk/; revision=18918
* ignore server.inChris Toshok2002-11-261-0/+1
| | | | svn path=/trunk/; revision=18917
* New work-in-progress splash from Jakub.Ettore Perazzoli2002-11-262-0/+4
| | | | svn path=/trunk/; revision=18916
* Fix <key> -> <applyto> typo.Ettore Perazzoli2002-11-262-2/+6
| | | | svn path=/trunk/; revision=18915
* (e_shell_offline_sync_all_folders):Ettore Perazzoli2002-11-262-39/+33
| | | | | | | | | | | | | | | | | Filled in, use GConf. (cleanup): Re-enabled again. (sync_folder): Likewise. (progress_dialog_close_callback): Likewise. (progress_dialog_clicked_callback): Likewise. (setup_dialog): Likewise. (setup_progress_listener): Likewise. (impl_SyncFolderProgressListener_reportFailure): Likewise. (impl_SyncFolderProgressListener_reportSuccess): Likewise. (impl_SyncFolderProgressListener_updateProgress): Likewise. (progress_listener_servant_free): Likewise. (progress_listener_servant_new): Likewise. svn path=/trunk/; revision=18914
* (component_destroy): Removed.Ettore Perazzoli2002-11-262-11/+5
| | | | | | (create_component): Do not connect. svn path=/trunk/; revision=18913
* Updated to pass a GSList to e_storage_set_view_set_checkboxes_list()Ettore Perazzoli2002-11-266-80/+72
| | | | | | | | | | | | | | | | | | | | | | | | * evolution-storage-set-view.c (impl_StorageSetView__set_checkedFolders): Updated to pass a GSList to e_storage_set_view_set_checkboxes_list() [instead of a GList]. (impl_StorageSetView__get_checkedFolders): Likewise with the return value from e_storage_set_view_get_checkboxes_list(). * e-shell-config-offline.c (config_control_apply_callback): Filled in, using GConf. (init_storage_set_view_status_from_config): Likewise. * e-storage-set-view.c (e_storage_set_view_get_checkboxes_list): Return a GSList instead of a GList. (essv_add_to_list): Update for the GSList. (e_storage_set_view_set_checkboxes_list): Get a GSList instead of a GList. * apps_evolution_shell.schemas: Added /schemas/apps/evolution/shell/offline/folder_paths. svn path=/trunk/; revision=18912
* 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
* Remove the window size setting. (e_msg_composer_attachment_bar_new): MoveNot Zed2002-11-252-18/+26
| | | | | | | | | | | | 2002-11-25 Not Zed <NotZed@Ximian.com> * e-msg-composer-attachment-bar.c (init): Remove the window size setting. (e_msg_composer_attachment_bar_new): Move the window size setting here. Also set icon width based on 15 approximate characters, so the icon text is more readable. svn path=/trunk/; revision=18906
* removed e_messagebox, and use gtk_message_dialog directly.Not Zed2002-11-252-63/+45
| | | | | | | | | | | | 2002-11-22 Not Zed <NotZed@Ximian.com> * mail-callbacks.c (ask_confirm_for_unwanted_html_mail): removed e_messagebox, and use gtk_message_dialog directly. (ask_confirm_for_empty_subject): and here. (ask_confirm_for_only_bcc): And here too. (msgbox_destroy_cb): Removed, since no longer needed. svn path=/trunk/; revision=18905
* rewrote most of this. Just use gtkfileselection directly, noNot Zed2002-11-254-223/+91
| | | | | | | | | | | | | | | | | | | | | | | | 2002-11-22 Not Zed <NotZed@Ximian.com> * e-msg-composer-select-file.c: rewrote most of this. Just use gtkfileselection directly, no e-file-selector, much smaller/simpler. 2002-11-21 Not Zed <NotZed@Ximian.com> * e-msg-composer-attachment-bar.c (remove_attachment): fix g_signal_emit params, detail in wrong spot. (add_common): Same. * e-icon-list.c (icon_new_from_pixbuf): remove the 'use_broken_event_handling' set. (emit_select): Add detail to signal emit. (text_changed): Same. * e-msg-composer.c (subject_changed_cb): Duh! dont free subject & simplify logic a little. svn path=/trunk/; revision=18904
* Changed e_messagebox -> gtk_messagedialog.Not Zed2002-11-252-11/+11
| | | | | | | | | 2002-11-22 Not Zed <NotZed@Ximian.com> * gui/dialogs/delete-comp.c (delete_component_dialog): Changed e_messagebox -> gtk_messagedialog. svn path=/trunk/; revision=18903
* [ 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
* Use the new camel_operation_cancel_prfd() function to get the cancellationJeffrey Stedfast2002-11-234-20/+201
| | | | | | | | | | | | | | | | | 2002-11-21 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-ssl.c (stream_read): Use the new camel_operation_cancel_prfd() function to get the cancellation fd so we can poll on it for cancellation stuff. (stream_write): Same. 2002-11-22 Not Zed <NotZed@Ximian.com> * camel-operation.c (camel_operation_cancel_prfd): Implement, gets a nspr pr filedesc to poll/wait on (struct _CamelOperation): include a pr filedesc. svn path=/trunk/; revision=18894
* Added an optional nspr pipe field. (e_msgport_new): Init nspr pipe toNot Zed2002-11-233-14/+128
| | | | | | | | | | | | | | | | 2002-11-22 Not Zed <NotZed@Ximian.com> * e-msgport.c (EMsgPort): Added an optional nspr pipe field. (e_msgport_new): Init nspr pipe to null. (e_msgport_destroy): close prfiledesc's if they're open. (e_msgport_prfd): get the prfiledesc to wait asynchronously on. (e_msgport_put): Write notify to nspr pipe if it exists. (e_msgport_wait): poll nspr pipe fd if it is set, and the pipe fd isn't. (e_msgport_get): skim off a notify byte on the pr pipe if set. (): Include config.h, and nspr stuff if HAVE_NSS is set. svn path=/trunk/; revision=18893
* Add NSPR CFLAGS and LDFLAGS to the E_UTIL build flags.Jeffrey Stedfast2002-11-232-1/+6
| | | | | | | | | 2002-11-22 Jeffrey Stedfast <fejj@ximian.com> * configure.in: Add NSPR CFLAGS and LDFLAGS to the E_UTIL build flags. svn path=/trunk/; revision=18892
* Show file name when prompt to user for overwrite. Fixes bug #34180.Harry Lu2002-11-231-2/+1
| | | | | | | | | 2002-11-15 Harry Lu <harry.lu@sun.com> * mail-display.c (write_data_to_file): Show file name when prompt to user for overwrite. Fixes bug #34180. svn path=/trunk/; revision=18887
* Show file name when prompt to user for overwrite.Harry Lu2002-11-232-9/+15
| | | | | | | | | 2002-11-15 Harry Lu <harry.lu@sun.com> * mail-display.c (write_data_to_file): Show file name when prompt to user for overwrite. svn path=/trunk/; revision=18886
* If we have a namespace of "", then always match any path.Not Zed2002-11-222-4/+14
| | | | | | | | | | | | 2002-11-21 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-store-summary.c (camel_imap_store_summary_namespace_find_path): If we have a namespace of "", then always match any path. (camel_imap_store_summary_namespace_find_full): Same, for full names. Should address #33309 & friends. svn path=/trunk/; revision=18884
* Enable dragging of all attachments. For bug #34327.Harry Lu2002-11-222-5/+7
| | | | | | | | | 2002-11-21 Harry Lu <harry.lu@sun.com> * mail-display.c (do_attachment_header): Enable dragging of all attachments. For bug #34327. svn path=/trunk/; revision=18882
* Since the GSList returned from gconf needs to be free'd by us, we don'tJeffrey Stedfast2002-11-222-16/+33
| | | | | | | | | | | | 2002-11-21 Jeffrey Stedfast <fejj@ximian.com> * mail-preferences.c (mail_preferences_construct): Since the GSList returned from gconf needs to be free'd by us, we don't need to strdup the values. Also make sure we don't leak the GSList itself. (mail_preferences_apply): Don't leak our GSList data. svn path=/trunk/; revision=18878
* applied patches from http://bugzilla.ximian.com/show_bug.cgi?id=29588Radek Doulik2002-11-214-46/+83
| | | | svn path=/trunk/; revision=18877
* ignore .server.inChris Toshok2002-11-211-0/+1
| | | | svn path=/trunk/; revision=18876
* 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
* Duh! dont free subject & simplify logic a little.Not Zed2002-11-213-9/+14
| | | | | | | | | | | | | | 2002-11-21 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (subject_changed_cb): Duh! dont free subject & simplify logic a little. 2002-11-20 Not Zed <NotZed@Ximian.com> * e-msg-composer-hdrs.c (entry_changed): duh, emit the signal using an initialised value(!). svn path=/trunk/; revision=18873
* pass type to bonobo_control_set_property.Not Zed2002-11-213-4/+9
| | | | | | | | | 2002-11-21 Not Zed <NotZed@Ximian.com> * gui/component-factory.c (create_view): pass type to bonobo_control_set_property. svn path=/trunk/; revision=18872
* 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
* (idle_cb): Set displayed_any in the case when we areEttore Perazzoli2002-11-212-1/+10
| | | | | | | | calling e_shell_create_view(). Also initialize displayed_any to FALSE earlier so we dont' end up opening two views at startup by default. svn path=/trunk/; revision=18870
* Change hlook value for "Toolbar" to be "both_horiz". Likewise. Likewise.Ettore Perazzoli2002-11-218-7/+18
| | | | | | | | | | | | | * evolution-message-composer.xml: Change hlook value for "Toolbar" to be "both_horiz". * evolution-signature-editor.xml: Likewise. * evolution-mail-messagedisplay.xml: Likewise. * evolution-event-editor.xml: Likewise. * evolution-contact-list-editor.xml: Likewise. * evolution-contact-editor.xml: Likewise. * evolution-comp-editor.xml: Likewise. svn path=/trunk/; revision=18869
* (owner_unset_cb): bonobo_main_quit() insteadEttore Perazzoli2002-11-212-8/+10
| | | | | | | of gtk_main_quit(). (component_destroy): Likewise. svn path=/trunk/; revision=18868
* Removed unused #define COMPONENT_FACTORY_ID. (component_factory_init):Ettore Perazzoli2002-11-213-17/+12
| | | | | | | | | | | * component-factory.c: Removed unused #define COMPONENT_FACTORY_ID. (component_factory_init): Removed unused variable. * GNOME_Evolution_Summary.server.in.in: Updated to not use a factory, which is what the code actually expects. svn path=/trunk/; revision=18867
* AC_OUTPUT(my-evoluton/Makefile).Ettore Perazzoli2002-11-212-0/+5
| | | | svn path=/trunk/; revision=18866
* (impl_dispose): Save theEttore Perazzoli2002-11-212-2/+7
| | | | | | | expansion state for the EStorageSetView here. (impl_finalize): Instead of here. svn path=/trunk/; revision=18865
* (changelogs): Add my-evolution.Ettore Perazzoli2002-11-212-0/+5
| | | | svn path=/trunk/; revision=18864
* Use GConf.Ettore Perazzoli2002-11-2110-372/+398
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-summary.c (e_summary_init): Use GConf. * e-summary-tasks.c: Replaced member config_listener in ESummaryTasks with a gconf_client. (setup_gconf_client): Renamed from setup_config_listener(). Set up the GConf client and invoke gconf_client_add_dir() on the interesting namespaces. (gconf_client_value_changed_cb): Renamed from config_listener_value_changed_cb and changed prototype to match that of the "value_changed" signal in GConfClient. (setup_task_folder): Updated to use GConf. * e-summary-calendar.c: Replaced member config_listener with a gconf_listener. (setup_calendar): Use GConf. (setup_gconf_client): Renamed from setup_config_listener. Set up a GConf client and invoke gconf_client_add_dir() on the interesting namespaces. (gconf_client_value_changed_cb): Renamed from config_listener_key_changed_cb() and changed prototype to match that of the "value_changed" signal in GConfClient. (locale_uses_24h_time_format): Removed. (e_summary_calendar_free): g_object_unref() the gconf_client. * Makefile.am: Add rules to install the schemas. * apps_evolution_summary.schemas: New. * e-summary-preferences.c: Did a global GList -> GSList switch. (e_summary_preferences_restore): Use GConfClient instead of EConfigListener. (vector_from_folder_list): Removed since GConf makes this useless. (folder_list_from_vector): Likewise. (str_list_from_vector): Likewise. (vector_from_str_list): Likewise. (make_initial_weather_list): Likewise. (make_initial_rdf_list): Likewise. (make_initial_mail_list): Likewise. (e_summary_preferences_save): Use GConf. (e_summary_preferences_init): No need to set up defaults here. * e-summary.h: Changed members display_folders, rdf_urls, stations in ESummaryPrefs to be GSLists instead of GLists; updated all the functions that use them accordingly. svn path=/trunk/; revision=18863
* free the list dataJeffrey Stedfast2002-11-211-8/+5
| | | | svn path=/trunk/; revision=18862
* gconfify.Jeffrey Stedfast2002-11-212-26/+42
| | | | | | | | 2002-11-20 Jeffrey Stedfast <fejj@ximian.com> * filter-label.c (xml_create): gconfify. svn path=/trunk/; revision=18861
* sync the gconf settingsJeffrey Stedfast2002-11-211-0/+2
| | | | svn path=/trunk/; revision=18860
* gconfify. (mail_composer_prefs_apply): gconfify this also.Jeffrey Stedfast2002-11-213-37/+61
| | | | | | | | | | | | 2002-11-20 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (mail_composer_prefs_construct): gconfify. (mail_composer_prefs_apply): gconfify this also. * mail-preferences.c (mail_preferences_construct): gconf_client_get_string() probably returns an allocated buffer. svn path=/trunk/; revision=18859
* Change hlook value for Toolbar to beEttore Perazzoli2002-11-212-1/+6
| | | | | | "both_horiz". svn path=/trunk/; revision=18858
* use e_shell_ marshallers, and make sure STRING parameters map to *_STRING*Chris Toshok2002-11-2021-61/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-20 Chris Toshok <toshok@ximian.com> * e-folder-list.c (e_folder_list_class_init): use e_shell_ marshallers, and make sure STRING parameters map to *_STRING* marshallers. * evolution-wizard.c (evolution_wizard_class_init): same. * evolution-storage.c (class_init): same. * evolution-storage-set-view-listener.c (class_init): same. * evolution-storage-listener.c (class_init): same. * evolution-shell-view.c (class_init): same. * evolution-session.c (class_init): same. * evolution-folder-selector-button.c (class_init): same. * evolution-config-control.c (class_init): same. * evolution-activity-client.c (class_init): same. * e-storage-set.c (class_init): same. * e-shortcuts.c (class_init): same. * e-shortcuts-view.c (class_init): same. * e-shell.c (class_init): same. * e-shell-view.c (class_init): same. * e-shell-offline-handler.c (class_init): same. * e-shell-folder-title-bar.c (class_init): same. * e-shell-folder-selection-dialog.c (class_init): same. * e-folder.c (class_init): same. * e-shell-marshal.list: add all the STRING marshallers. svn path=/trunk/; revision=18857
* gnome message box -> gtk message dialog. (prepare_intelligent_page): FixNot Zed2002-11-202-5/+13
| | | | | | | | | | | 2002-11-20 Not Zed <NotZed@Ximian.com> * e-shell-importer.c (prepare_intelligent_page): gnome message box -> gtk message dialog. (prepare_intelligent_page): Fix the signature on this. This could NEVER have worked. svn path=/trunk/; revision=18856
* provide a proper implicit rule for building .server.in from .server.in.in.Not Zed2002-11-203-8/+15
| | | | | | | | | | | | | 2002-11-20 Not Zed <NotZed@Ximian.com> * importers/Makefile.am (%.server.in): provide a proper implicit rule for building .server.in from .server.in.in. The other one just copied the first target to all destinations(!). * importers/evolution-outlook-importer.c (outlook_factory_fn): destroy -> weak ref. svn path=/trunk/; revision=18855
* cvs removed it all. Not much use having it around anymore.Not Zed2002-11-2020-6733/+5
| | | | | | | | | 2002-11-20 Not Zed <NotZed@Ximian.com> * libibex/*: cvs removed it all. Not much use having it around anymore. svn path=/trunk/; revision=18854
* fix typo, servers_in_files -> server_in_files.Not Zed2002-11-202-1/+6
| | | | | | | | | 2002-11-20 Not Zed <NotZed@Ximian.com> * gui/Makefile.am (EXTRA_DIST): fix typo, servers_in_files -> server_in_files. svn path=/trunk/; revision=18853
* commit clahey's original pango work.Chris Toshok2002-11-202-916/+392
| | | | | | | | 2002-11-19 Chris Toshok <toshok@ximian.com> * gal/e-text/e-text.[ch]: commit clahey's original pango work. svn path=/trunk/; revision=18850
* build fixesJeffrey Stedfast2002-11-201-1/+5
| | | | svn path=/trunk/; revision=18849
* Save the settings via gconf. (mail_preferences_construct): Load the valuesJeffrey Stedfast2002-11-205-86/+145
| | | | | | | | | | 2002-11-19 Jeffrey Stedfast <fejj@ximian.com> * mail-preferences.c (mail_preferences_apply): Save the settings via gconf. (mail_preferences_construct): Load the values from gconf. svn path=/trunk/; revision=18848
* Added rule to generate GNOME_Evolution_Calendar.server.in fromEttore Perazzoli2002-11-203-11/+24
| | | | | | | | | | | | | | * Makefile.am: Added rule to generate GNOME_Evolution_Calendar.server.in from GNOME_Evolution_Calendar.server.in.in, substituting @LIBEXECDIR@. Also, install evolution-calendar in $libexecdir instead of $bindir. * gui/GNOME_Evolution_Calendar.server.in.in: Renamed from GNOME_Evolution_Calendar.server.in. Prepended the executable name with @LIBEXECDIR@. svn path=/trunk/; revision=18847
* Check for gconftool-2, and addedEttore Perazzoli2002-11-202-0/+11
| | | | | | AM_GCONF_SOURCE_2. svn path=/trunk/; revision=18846
* 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
* Disabled for now.Ettore Perazzoli2002-11-2015-468/+659
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * main.c (upgrade_from_1_0_if_needed): Disabled for now. * e-shell-startup-wizard.c: Removed member config_listener from struct SWData. (e_shell_startup_wizard_create): Updated accordingly, just use GConf, checking the /apps/evolution/mail/account-list key. (finish_func): Use GConf. * e-shell-config-default-folders.c: Removed member config_listener in struct EvolutionDefaultFolderConfig. (e_shell_config_default_folders_create_widget): Do not initialize here. GConfified the paths. (config_control_destroy_notify): No unref of the config_listener anymore. (config_control_apply_cb): Use GConf. (setup_folder_selector): Likewise. * e-shell-config-autocompletion.c: Removed member config_listener from EvolutionAutocompletionConfig. (config_control_destroy_notify): Do not unref. (config_control_apply_callback): Use a GConfClient. * e-folder-list.c (e_folder_list_init): Add missing cast. * main.c (show_development_warning): Use GConf. * e-setup.c (e_setup_check_config): Removed arg @listener. GConfified. * e-shell-view.c (e_shell_view_save_defaults): New. (e_shell_view_save_settings): Removed. (e_shell_view_load_settings): Removed. (setup_defaults): New helper function. (e_shell_view_construct): New arg @uri. (e_shell_view_new): New arg @uri. * e-shell.c: Removed member config_listener in struct EShellPrivate. (impl_dispose): Do not unref. (init): Do not initialize. (get_config_start_offline): New helper function. (e_shell_construct): Use this to get the startup mode in case E_SHELL_STARTUP_LINE_MODE_CONFIG. (save_misc_settings): Changed to use GConfClient instead of EConfigListener. (e_shell_create_view_from_settings): Removed. (e_shell_restore_from_settings): Removed. (e_shell_get_config_listener): Removed. (e_shell_disconnect_db): Removed. (parse_default_uri): Use GConf. * main.c (idle_cb): Simplified the logic here. Always assume that the view will be created with the default folder open by just using e_shell_create_view(). svn path=/trunk/; revision=18844
* redo tags for legalnotice ordering. open/close for actual preface is inAaron Weber2002-11-205-15/+470
| | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-19 Aaron Weber <aaron@ximian.com> * C/legal.xml: redo tags for legalnotice ordering. open/close for actual preface is in evolution.xml and the LEGAL entity (legal.xml) is now part of the preface. the legalnotice tag itself merely says "hey, go look at the preface, legal info is there due to rendering issues." * C/apx-gpl.xml: new file. GPL! * C/Makefile.am: New file: apx-gpl.xml. Re-alphabetize the files listed as entities, and make the \'s line up so it looks pretty. * C/preface.xml: redo tags for legalnotice ordering. open/close for actual preface is in evolution.xml and the LEGAL entity (legal.xml) is now part of the preface. * C/evolution.xml: reorder, add GPL, put legalnotice inside preface. Put actual <preface> tags in this file, so that the preface could consist of sect1s which are the &LEGAL; and &PREFACE; entities. svn path=/trunk/; revision=18843
* addedJeffrey Stedfast2002-11-201-0/+496
| | | | svn path=/trunk/; revision=18842
* applied plain_signature_fix.patchRadek Doulik2002-11-207-3/+19
| | | | svn path=/trunk/; revision=18841
* Removed $(GNOME_LIBDIR) and $(GNOMEUI_LIBS)Rodney Dawes2002-11-207-12/+4
| | | | | | * tests/*/Makefile.am: Removed $(GNOME_LIBDIR) and $(GNOMEUI_LIBS) svn path=/trunk/; revision=18839
* Pass type to bonobo_widget::set_property.Not Zed2002-11-192-1/+6
| | | | | | | | | 2002-11-19 Not Zed <NotZed@Ximian.com> * e-shell-shared-folder-picker-dialog.c (show_dialog): Pass type to bonobo_widget::set_property. svn path=/trunk/; revision=18838
* fix warning message, outlook->mbox.Not Zed2002-11-1911-18/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-19 Not Zed <NotZed@Ximian.com> * importers/evolution-mbox-importer.c (mail_importer_module_init): fix warning message, outlook->mbox. * importers/Makefile.am: fix serverdir to point to $libdir/bonobo/servers. * mail-callbacks.c (addrbook_sender): add type to bonobo_widget_set_property. * mail-vfolder.c (vfolder_editor_response): dont unref after destroy. * mail-session.c (pass_response): dont unref aftrer destroy. * mail-local.c (reconfigure_response): dont unref after destroy. * mail-display.c (launch_cb): dont unref after destroy. (launch_cb): " (drag_data_get_cb): " (html_button_press_event): add type to bonobo_widget::set_property * mail-config.c (mail_config_check_service): dont unref after destroy. * component-factory.c (send_receive_cb): dont unref after destroy. (request_quit): " * mail-signature-editor.c (mail_signature_editor): Use version 3.0 of gtkhtml editor interfaces. (do_exit): dont unref after destroy. (format_html_cb): Add type to bonobo_widget::set_property. svn path=/trunk/; revision=18837
* dont unref after destroy. duh.Not Zed2002-11-195-24/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-19 Not Zed <NotZed@Ximian.com> * e-msg-composer-attachment-bar.c (add_from_file): dont unref after destroy. duh. * e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_to): Add type code to set_property call. (e_msg_composer_hdrs_set_cc): " (e_msg_composer_hdrs_set_bcc): " (e_msg_composer_hdrs_get_to): Do the same for get_property calls. (init): ref/sink the tooltip object. (e_msg_composer_hdrs_get_type): fix return type. * e-msg-composer.c (GNOME_GTKHTML_EDITOR_CONTROL_ID): we want version 3.0 not 1.1. (create_composer): Add type code to set property call. (autosave_manager_query_load_orphans): my bad, we dont unref dialog's once we've destroyed 'em. (build_message): " (get_file_content): " (save): " (do_exit): " (composer_dispose): moved the autosave shutdown here. svn path=/trunk/; revision=18836
* pass type to bonobo_widget::set_property. (select_names_ok_cb): ", forNot Zed2002-11-194-7/+25
| | | | | | | | | | | | | | | | | | | 2002-11-19 Not Zed <NotZed@Ximian.com> * gui/e-meeting-model.c (get_select_name_dialog): pass type to bonobo_widget::set_property. (select_names_ok_cb): ", for get_property. * gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_construct): pass type to bonobo_widget::set_property & plug small leak. (e_delegate_dialog_get_delegate): ", for get_property. (e_delegate_dialog_get_delegate_name): " * gui/dialogs/comp-editor-util.c (comp_editor_contacts_to_widget): pass type to bonobo_widget::set_property. (comp_editor_contacts_to_component): ", for get_property svn path=/trunk/; revision=18835
* 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
* column_width = double. (e_reflow_realize): no need to cast to double,Chris Toshok2002-11-191-4/+4
| | | | | | | | | | | 2002-11-18 Chris Toshok <toshok@ximian.com> * gal/widgets/e-reflow.c (e_reflow_set_property): column_width = double. (e_reflow_realize): no need to cast to double, column_width is already a double. svn path=/trunk/; revision=18833
* take GCallback, not GtkSignalFunc. (configure_sort_dialog): show theChris Toshok2002-11-192-214/+19
| | | | | | | | | | | | | | | | | | 2002-11-18 Chris Toshok <toshok@ximian.com> * e-table-config.c (connect_button): take GCallback, not GtkSignalFunc. (configure_sort_dialog): show the custom widget. (configure_group_dialog): same. (configure_fields_dialog): same, also pass G_CALLBACK (func), instead of GTK_SIGNAL_FUNC (func), to connect_button. (setup_gui): pass G_CALLBACK (func), instead of GTK_SIGNAL_FUNC (func), to connect_button. * Makefile.am (glade_DATA): remove e-table-group.glade, since we don't use it anyplace. svn path=/trunk/; revision=18832
* 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
* Updated to use GtkTreeView.Jeffrey Stedfast2002-11-195-80/+141
| | | | | | | | | | 2002-11-18 Jeffrey Stedfast <fejj@ximian.com> * rule-editor.c: Updated to use GtkTreeView. * vfolder-rule.c: Same. svn path=/trunk/; revision=18830
* applied spell_crash_fix.patchRadek Doulik2002-11-192-0/+10
| | | | svn path=/trunk/; revision=18829
* Specify the default account. Also, don't need to useJeffrey Stedfast2002-11-182-1/+11
| | | | | | | | | 2002-11-18 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (mail_accounts_load): Specify the default account. Also, don't need to use e_utf8_to_gtk_string() here. svn path=/trunk/; revision=18826
* If the namespace is at/below INBOX, check for the INBOX explicitly (sinceJeffrey Stedfast2002-11-182-20/+73
| | | | | | | | | | | | 2002-11-15 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-store.c (imap_connect_online): If the namespace is at/below INBOX, check for the INBOX explicitly (since it obviously won't show up in a LSUB INBOX.*). If either INBOX is not returned in the response or if the folder flags contain \NoSelect, subscribe to INBOX and then try LSUB again. svn path=/trunk/; revision=18824
* re-enable importer wizard.Not Zed2002-11-182-1/+3
| | | | | | | | 2002-11-18 Not Zed <NotZed@Ximian.com> * e-shell-view-menu.c (file_verbs[]): re-enable importer wizard. svn path=/trunk/; revision=18823
* Added back libevolution-importer stuff. (SUBDIRS): Added back importers.Not Zed2002-11-1810-44/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-18 Not Zed <NotZed@Ximian.com> * Makefile.am (evolution_mail_LDADD): Added back libevolution-importer stuff. (SUBDIRS): Added back importers. * importers/evolution-mbox-importer.c (load_file_fn): build the uri without deprecated funcs. (load_file_fn): dont free/alloc a camel_exception for no obvious purpose. (mbox_factory_fn): use weak_ref rather than destroy. (importer_destroy_cb): fix signature for weak ref notify. (mbox_factory_fn): add cid param. * importers/*.[ch]: ran fix script over everything. * importers/*.server.in.in: Added bonobo activation files. Moved evolution-mail to @LIBEXEC@ as below. * importers/Makefile.am: oaf->bonobo activation stuff. * importers/evolution-outlook-importer.c (outlook_factory_fn): Add component id to callback. svn path=/trunk/; revision=18822
* from clicked_cb. (start_import): gtkdialogise.Not Zed2002-11-1812-169/+222
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-18 Not Zed <NotZed@Ximian.com> * importer/importer.c (dialog_response_cb): from clicked_cb. (start_import): gtkdialogise. * e-shell-importer.c: removed redundant header. (create_html): Removed utf8 from locale stuff. (get_name_from_component_info): oaf->bonobo activation. (get_iid_for_filetype): " (create_plugin_menu): Likewise, and change oafiid to bonoboiid (get_intelligent_importers): " (prepare_intelligent_page): " (show_import_wizard): add null domain to glade_xml_new. (choose_importer_from_list): gtkdialogise. (dialog_response_cb): changed from dialog_clicked_cb. (start_import): gtkdialogise. (show_error): use gtk message box. (error_response_cb): callback to close error box. (show_import_wizard): gnome_druid_page_start/finish -> gnome_druid_page_edge. (prepare_file_page): (filename_changed): set HELP button insensitive. (create_plugin_menu): casts for warnings and fix a typo, set_data->set_data_full. (import_druid_finish): folder_selection_dialog api change(?), allow create. (dialog_weak_notify): renamed from close_dialog(). (show_import_wizard): remove gnome_dialog_close_hides -> its a gtkwindow anyway(!). * Makefile.am (evolution_LDADD): Added back importer. (evolution_SOURCES): Added back importer. * importer/intelligent.c (get_intelligent_importers): bonobo-activationised. (create_gui): gtkdialogise. (intelligent_importer_init): gtkdialogise. (create_gui): remove gnome_util_user_home(). (intelligent_importer_init): " * importer/evolution-importer.c (finalise): from destroy. (evolution_importer_new): type_new->object_new. * importer/evolution-importer-listener.c (finalise): from destroy. (evolution_importer_listener_new): type_new->object_new. * importer/evolution-importer-client.c (destroy): removed, as it wasn't used anyway. (evolution_importer_client_new): g_object_new. (finalise): added, tho doesn't do anythign yet, should it unref the client->objref? This whole class doesn't seem much use. * importer/evolution-importer-client.h: removed bonobo-object-client, change to g_object. * importer/*.[ch]: ran fix script over everything. * importer/evolution-intelligent-importer.c: gobjectise. (finalise): renamed from destroy. (evolution_intelligent_importer_new): gtk_type_new -> g_object_new svn path=/trunk/; revision=18821
* Added back IMPORTERS_CFLAGS and mail/importers/MakefileNot Zed2002-11-182-3/+9
| | | | | | | | | 2002-11-18 Not Zed <NotZed@Ximian.com> * configure.in: Added back IMPORTERS_CFLAGS and mail/importers/Makefile svn path=/trunk/; revision=18820
* Remove check for gtk_main_level(). as far as i can tell it serves no realNot Zed2002-11-182-36/+53
| | | | | | | | | | | | | 2002-11-18 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (create_composer): Remove check for gtk_main_level(). as far as i can tell it serves no real purpose, and i think gtkmain is now redundant. (e_msg_composer_new_with_message): Same here. (destroy): moved some stuff into finalise, and made destroy mulitcall safe. svn path=/trunk/; revision=18819
* run libglade-convert.Chris Toshok2002-11-182-129/+126
| | | | | | | | 2002-11-18 Chris Toshok <toshok@ximian.com> * importer/import.glade: run libglade-convert. svn path=/trunk/; revision=18818
* 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
* we need to destroy the dialog after we've run it, because run doesn't doNot Zed2002-11-181-0/+1
| | | | | | | | | | 2002-11-18 Not Zed <NotZed@Ximian.com> * gal/widgets/e-gui-utils.c (e_notice): we need to destroy the dialog after we've run it, because run doesn't do it for us like gnome-dialog did. svn path=/trunk/; revision=18816
* we require >= 0.0.9.99 of gal.Chris Toshok2002-11-171-0/+4
| | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * configure.in: we require >= 0.0.9.99 of gal. svn path=/trunk/; revision=18815
* convert this to wrap around GtkMessageDialog.Chris Toshok2002-11-171-6/+24
| | | | | | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * gal/widgets/e-gui-utils.c (e_notice): convert this to wrap around GtkMessageDialog. * gal/widgets/e-categories-master-list-dialog.c (dialog_response): gnome_dialog_close -> gtk_widget_destroy. svn path=/trunk/; revision=18814
* convert some GnomeDialog stuff to GtkDialog.Chris Toshok2002-11-173-13/+11
| | | | | | | | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * gal-view-instance.c: convert some GnomeDialog stuff to GtkDialog. * gal-view-instance-save-as-dialog.c: remove GnomeDialog references. * gal-view-new-dialog.c: same. svn path=/trunk/; revision=18813
* 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
* remove the moniker cruft.Chris Toshok2002-11-173-82/+7
| | | | | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * GNOME_Evolution_WombatLDAP.server.in.in: remove the moniker cruft. * GNOME_Evolution_WombatNOLDAP.server.in.in: same. svn path=/trunk/; revision=18811
* force the scrolled table to be shown, apparently a bug in libglade2.Chris Toshok2002-11-173-0/+16
| | | | | | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * e-folder-list.c (e_folder_list_init): force the scrolled table to be shown, apparently a bug in libglade2. * e-shell-config-default-folders.c (setup_folder_selector): same, but with the evolution-folder-selector-button's. svn path=/trunk/; revision=18810
* init the corba exception before loading each config page, so previousChris Toshok2002-11-172-3/+15
| | | | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * e-shell-settings-dialog.c (load_pages): init the corba exception before loading each config page, so previous errors don't make subsequence pages to fail to load. svn path=/trunk/; revision=18809
* fix c&p typo.Chris Toshok2002-11-179-240/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * gal/widgets/e-reflow.c (e_reflow_class_init): fix c&p typo. * gal/widgets/e-categories-master-list-dialog.c: switch to GtkDialogism's. * gal/widgets/gal-categories.[ch]: same. * gal/widgets/e-categories-master-list-dialog.glade: libglade-convert. * gal/widgets/e-categories.glade: same. * gal/util/e-text-event-processor.[ch]: subclass this from GObject. * gal/util/e-text-event-processor-emacs-like.[ch]: clean up the gtk cruft a bit. * gal/e-text/e-text.c (_get_tep): remove the _sink call. (e_text_init): same. * gal/e-text/e-text-model.[ch]: subclass this from GObject instead of GtkObject. svn path=/trunk/; revision=18808