2003-02-25 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c: Same as below.
* e-msg-composer-attachment-bar.c: Go back to using
e_iconv_charset_name().
svn path=/trunk/; revision=20059
2003-02-25 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-part-utils.c
(simple_data_wrapper_construct_from_parser): canonicalise the
charset name (if it is an iso charset) so that our strncasecmp to
see if it is an iso-8859-# charset will be guarenteed to work on
all systems.
(canon_charset_name): New function to return the canonical iso
charset name.
(simple_data_wrapper_construct_from_parser): If the charset is
NULL *or* the charset == "us-ascii" then check that it is 7bit
clean to decide if it is rawtext (we did not check the case where
charset was "us-ascii" before).
svn path=/trunk/; revision=20057
2003-02-25 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-message.c: Same as the ones below.
* camel-mime-part.c: Reverted back to pre-camel-iconv
* camel-filter-search.c: Same as below.
* camel-folder-summary.c: Reverted back to pre-camel-iconv
* camel.c (camel_init): Reverted to pre-camel-iconv
* camel-charset-map.c (camel_charset_locale_name): Removed (part
of the revert).
(camel_charset_canonical_name): Same.
* camel-mime-filter-charset.c: Revert back to using e_iconv from GAL.
* camel-mime-part-utils.c: Revert back to using e_iconv from GAL.
* camel-mime-utils.c: Revert back to using e_iconv from GAL.
* camel-sasl-digest-md5.c: Revert back to using e-iconv from GAL.
svn path=/trunk/; revision=20056
* Evolution-Wizard.idl: Change this to let the Wizard provide an
array of title/icon/control triplets, instead of just controls, so
the shell doesn't need to know the name of each page a priori.
* glade/evolution-startup-wizard.glade: Remove the mailer-specific
pages, which are now inserted at run time based on info from the
mailer.
* evolution-wizard.c: Update for new idl.
(evolution_wizard_new): Now takes no arguments.
(evolution_wizard_add_page): New function to add page info to the
wizard.
* e-shell-startup-wizard.c: Various renamings to make this
slightly less mailer-centric, though it still explicitly launches
the mailer startup wizard.
(make_corba_page): Replaces make_identity_page, make_receive_page,
etc. Uses the new Wizard idl to generically create a page and
insert it into the druid.
(e_shell_startup_wizard_create): Update
svn path=/trunk/; revision=20053
* e-map.c (e_map_destroy): Use
g_signal_handlers_disconnect_by_func since
gtk_signal_disconnect_by_data doesn't seem to work right.
(e_map_set_scroll_adjustments): Likewise.
svn path=/trunk/; revision=20052
* mail-config-druid.c: Redo this to not use the CORBA interfaces
in the local case (in preparation for redoing the CORBA
interfaces).
(mail_config_druid_new): Remove unused "shell" arg
* mail-account-gui.c (mail_account_gui_transport_complete): Don't
crash if there's no transport selected at all.
(mail_account_gui_new): Don't try to set cc_addrs/bcc_addrs if
they're NULL.
* mail-accounts.c (account_add_clicked): Don't need to pass shell
to mail_config_druid_new.
* mail-callbacks.c (configure_mail): Don't need to pass shell to
mail_config_druid_new.
svn path=/trunk/; revision=20051
* e-shell-startup-wizard.c (connect_page, make_importer_page): Use
g_signal_connect_after to connect to the "prepare" signal to work
around a GnomeDruidPageStandard bug (b.g.o 81869)
(e_shell_startup_wizard_create): Remove the "return TRUE" that was
added here a while back to disable the startup wizard.
* glade/evolution-startup-wizard.glade: Change "Next" and "Finish"
in the text to "Forward" and "Apply" to match the gnome 2 druid
buttons.
svn path=/trunk/; revision=20049
2003-02-25 Jeffrey Stedfast <fejj@ximian.com>
* e-dateedit.c (on_date_popup_date_selected): Same as below.
* e-cell-date-edit.c (e_cell_date_edit_on_ok_clicked): Also
updated to use the new GDate API from glib 2.0
* test-calendar.c (on_selection_changed): Fixed to use glib 2.0's
GDate API.
* e-calendar-item.c (e_calendar_item_get_week_number): Port to
glib 2.0's GDate API.
(e_calendar_item_set_selection): Same.
* e-search-bar.c (append_xml_menu_item): Use
g_string_append_printf instead of g_string_sprintfa since the
latter is now deprecated.
(setup_bonobo_menus): Same.
* e-filter-bar.c (do_advanced): Use gtk_window_set_resizable()
* e-charset-picker.c: Fixes to make it build cleanly with
-DG_DISABLE_DEPRECATED
(add_charset): Escape _'s so we don't get underline weirdness due
to GtkLabel thinking the _ means to underline the next char.
(e_charset_picker_bonobo_ui_populate): Same here.
svn path=/trunk/; revision=20048
2003-02-24 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (drag_data_received): Make sure the url is !=
NULL? I can't think of anything else in this code that could
possibly cause bug #38382.
svn path=/trunk/; revision=20046
2003-02-24 Jeffrey Stedfast <fejj@ximian.com>
* mail-session.c (request_password): Make sure m->config_service
is non-NULL before using m->config_service->save_passwd since PGP
stuff will not have a config_service. Fixes bug #38149.
* mail-account-gui.c (mail_account_gui_save):
s/e_account_list_changed/e_account_list_change - otherwise we get
an undefined symbol and we crash :-)
svn path=/trunk/; revision=20043
2003-02-24 Jeffrey Stedfast <fejj@ximian.com>
* mail-composer-prefs.c (mail_composer_prefs_new_signature): Don't
always append "[script]" to the signature name. Also cleaned up
some memory leakage.
svn path=/trunk/; revision=20039
2003-02-24 Rodney Dawes <dobey@ximian.com>
* Makefile.am: We don't need e-gray-bar.[ch] anymore
* e-gray-bar.[ch]: Remove these unused files now
* e-shell-folder-title-bar.c: We are themeable now!!!!
Use GtkArrows now instead of pixmaps
Get rid of the hardcoded colors
Add an expose_event to paint a flat box for the background
* e-shell-view.c: Don't need e-gray-bar anymore
svn path=/trunk/; revision=20036
2003-02-24 Jeffrey Stedfast <fejj@ximian.com>
* camel-iconv.c: Make bucket->refcount 31 bits and bucket->used 1
bit instead of having each use their own 32bit int.
svn path=/trunk/; revision=20035
2003-02-24 Jeffrey Stedfast <fejj@ximian.com>
* camel-iconv.c (iconv_cache_bucket_expire): Use g_iconv_close()
here, missed this before.
(camel_iconv): Might as well call g_iconv here even though it just
calls iconv directly.
svn path=/trunk/; revision=20034
2003-02-21 Jeffrey Stedfast <fejj@ximian.com>
* camel-iconv.c (camel_iconv_charset_name): New function...back
from the depths of hell from whence it came originally. Turns out
that g_iconv_open() is lame and can't handle all the stuff we used
to handle in e_iconv_charset_name().
(camel_iconv_open): Use camel_iconv_charset_name() on the to/from
charsets rather than camel_charset_canonical_name(). Now maybe
g_iconv_open will work for charsets such as "ks_c_5601-1987".
* providers/pop3/camel-pop3-store.c (pop3_connect): Reget the
capabilities after a successful authentication.
* providers/pop3/camel-pop3-engine.c (get_capabilities): If we are
in the TRANSACTION state and CAPA did not list UIDL as a supported
command, try checking for it the hard way.
svn path=/trunk/; revision=20033
Don't release_unref the corba_uih since
bonobo_ui_component_set_container() takes ownership of the object
without reffing it.
svn path=/trunk/; revision=20032
2003-02-23 Jeffrey Stedfast <fejj@ximian.com>
* providers/smtp/camel-smtp-transport.c (smtp_data): Do it the
same way we just made the sendmail code do it.
* providers/sendmail/camel-sendmail-transport.c
(sendmail_send_to): My last change but in a better way.
svn path=/trunk/; revision=20023
2003-02-20 Not Zed <NotZed@Ximian.com>
* mail-preferences.c (mail_preferences_apply): fix the g_snprintf
stuff.
* mail-config.c (mail_config_add_account): Use new
e_account_list_add.
(mail_config_remove_account): Use new e_account_list_remove.
(mail_config_set_default_account): Similarly for
e_account_list_set_default.
(mail_config_get_default_account): Same for
e_account_list_get_default.
(mail_config_get_account_by_name): Use e_account_list_find.
* mail-account-gui.c (mail_account_gui_save): use new
e_account_list_changed call instead of manual signalling.
svn path=/trunk/; revision=20020
2003-02-23 Hans Petter Jansson <hpj@ximian.com>
* cal-client/cal-client.c (cal_client_is_read_only): Don't warn
if calendar isn't loaded... Doesn't seem to hurt, but this should
probably be investigated further.
* gui/dialogs/comp-editor-util.c (comp_editor_contacts_to_widget):
If we have no contacts, don't bother trying to set them in the
widget. Used to pass a NULL list, which would lead to much anxiety
in callees.
* gui/dialogs/meeting-page.c (meeting_page_fill_widgets):
If we have no potential organizers, emit a sensible warning.
* gui/dialogs/task-page.c (init_widgets): Don't try to connect to
the "changed" signal of the GtkTextView -- we listen to the
GtkTextBuffer now.
svn path=/trunk/; revision=20019
2003-02-20 Not Zed <NotZed@Ximian.com>
* gui/e-itip-control.c (destroy): dont unref accounts anymore.
(change_status): itipAddress -> EAccount.
* gui/calendar-model.c (calendar_model_destroy): dont unref
accounts anymore.
(calendar_model_value_at): simplify logic using account_list_find.
* gui/dialogs/task-editor.c (task_editor_edit_comp): use new
itip_addresses interfaces.
* gui/dialogs/meeting-page.c (meeting_page_construct): use new
itip_addresses_* interfaces. Should probably be using e_account
directly.
(meeting_page_finalize): dont unref the accounts list.
* gui/dialogs/event-editor.c (event_editor_edit_comp): dont unref
accounts anymore.
* gui/itip-utils.c (itip_addresses_get_default): Just use
e_account_list_get_default.
(itip_addresses_get): dont ref the account object, just keep 1 ref
to it.
(find_account): remove.
(itip_organizer_is_user): use e_account_list_find now.
(itip_sentby_is_user): "
(comp_limit_attendees): "
2003-02-19 Not Zed <NotZed@Ximian.com>
* gui/dialogs/meeting-page.c: addresses->accounts
(meeting_page_finalize): unref accounts.
* gui/dialogs/event-editor.c: Use EAccountList api's
* pcs/cal-backend-util.c (cal_backend_mail_account_get): Removed,
use a global EAccountList instead.
(cal_backend_mail_account_get_default): Use the global
EAccountList directly.
(cal_backend_mail_account_is_valid): And here too.
* gui/itip-utils.h: Removed ItipAddress structure.
* gui/itip-utils.c (itip_addresses_get): Change it to return a
global account object, so we dont need to duplicate all account
info in the calendar.
(itip_addresses_free, itip_address_free): Removed, use
g_object_unref.
(itip_addresses_get_default): Return an EAccount.
(find_account): helper to lookup accounts based on name/address.
(itip_organizer_is_user): Use helper to find account.
(itip_sentby_is_user): "
(comp_limit_attendees): "
(comp_sentby): Update to use an EAccount direclty.
(get_address): Removed, now redundant.
* gui/e-itip-control.c: Changed priv->addresses to be accounts
EAccountList.
(destroy): unref accounts.
(find_my_address): Change to use accounts list directly, also fix
a small potential memleak.
* gui/calendar-model.c: Change priv->addresses to be a direct
reference to an EAccountList, renamed priv->accounts.
(calendar_model_destroy): unref accounts.
(calendar_model_value_at): Use EAccountList directly to lookup
members.
* gui/calendar-config.c (calendar_config_get_timezone)
(calendar_config_set_timezone): Fix timezone key.
(calendar_config_get_24_hour_format): Same for 24 hour format key.
(calendar_config_set_24_hour_format): And here.
(calendar_config_get_week_start_day): "
(calendar_config_set_week_start_day): "
(calendar_config_get_day_start_hour): "
(calendar_config_set_day_start_hour): "
(calendar_config_get_day_start_minute): "
(calendar_config_set_day_start_minute): "
(calendar_config_get_day_end_hour): "
(calendar_config_set_day_end_hour): "
(calendar_config_get_day_end_minute)
(calendar_config_set_day_end_minute)
(calendar_config_get_time_divisions)
(calendar_config_set_time_divisions)
(calendar_config_get_dnav_show_week_no)
(calendar_config_set_dnav_show_week_no)
(calendar_config_get_default_view)
(calendar_config_set_default_view)
(calendar_config_get_hpane_pos, calendar_config_set_hpane_pos)
(calendar_config_get_vpane_pos, calendar_config_set_vpane_pos)
(calendar_config_get_month_hpane_pos)
(calendar_config_set_month_hpane_pos)
(calendar_config_get_month_vpane_pos)
(calendar_config_set_month_vpane_pos)
(calendar_config_get_compress_weekend)
(calendar_config_set_compress_weekend)
(calendar_config_get_show_event_end)
(calendar_config_set_show_event_end)
(calendar_config_get_working_days)
(calendar_config_set_working_days)
(calendar_config_get_hide_completed_tasks)
(calendar_config_set_hide_completed_tasks)
(calendar_config_get_hide_completed_tasks_units)
(calendar_config_set_hide_completed_tasks_units)
(calendar_config_get_hide_completed_tasks_value)
(calendar_config_set_hide_completed_tasks_value)
(calendar_config_get_confirm_delete)
(calendar_config_set_confirm_delete)
(calendar_config_get_confirm_expunge)
(calendar_config_set_confirm_expunge)
(calendar_config_get_tasks_due_today_color)
(calendar_config_set_tasks_due_today_color)
(calendar_config_get_tasks_overdue_color)
(calendar_config_set_tasks_overdue_color)
(calendar_config_get_use_default_reminder)
(calendar_config_set_use_default_reminder)
(calendar_config_get_default_reminder_interval)
(calendar_config_set_default_reminder_interval)
(calendar_config_get_default_reminder_units)
(calendar_config_set_default_reminder_units)
(calendar_config_default_calendar_folder)
(calendar_config_default_tasks_folder): Update config paths for
new config convention, etc.
* gui/alarm-notify/save.c (KEY_LAST_NOTIFICATION_TIME, etc):
Updated keys to lowercase/proper path.
(save_calendars_to_load): Store the calendars list as a gconf
list.
(get_calendars_to_load): Load the calendars list as a gconf list.
(save_blessed_program): Similar, for the blessed program list.
(is_blessed_program): Same here.
* gui/alarm-notify/config-data.c (config_data_get_timezone): Update
the path to the timezone key.
(config_data_get_24_hour_format): Fix path to config option.
* conduits/todo/todo-conduit.c (get_default_timezone): lower-case
the timezone key.
* conduits/calendar/calendar-conduit.c (get_default_timezone):
lower-case the timezone key.
* cal-client/cal-client.c (get_default_uri): Use the proper path
to get the default folder uri's.
svn path=/trunk/; revision=20017
2003-02-20 Not Zed <NotZed@Ximian.com>
* gui/e-itip-control.c (destroy): dont unref accounts anymore.
(change_status): itipAddress -> EAccount.
* gui/calendar-model.c (calendar_model_destroy): dont unref
accounts anymore.
(calendar_model_value_at): simplify logic using account_list_find.
* gui/dialogs/task-editor.c (task_editor_edit_comp): use new
itip_addresses interfaces.
* gui/dialogs/meeting-page.c (meeting_page_construct): use new
itip_addresses_* interfaces. Should probably be using e_account
directly.
(meeting_page_finalize): dont unref the accounts list.
* gui/dialogs/event-editor.c (event_editor_edit_comp): dont unref
accounts anymore.
* gui/itip-utils.c (itip_addresses_get_default): Just use
e_account_list_get_default.
(itip_addresses_get): dont ref the account object, just keep 1 ref
to it.
(find_account): remove.
(itip_organizer_is_user): use e_account_list_find now.
(itip_sentby_is_user): "
(comp_limit_attendees): "
2003-02-19 Not Zed <NotZed@Ximian.com>
* gui/dialogs/meeting-page.c: addresses->accounts
(meeting_page_finalize): unref accounts.
* gui/dialogs/event-editor.c: Use EAccountList api's
* pcs/cal-backend-util.c (cal_backend_mail_account_get): Removed,
use a global EAccountList instead.
(cal_backend_mail_account_get_default): Use the global
EAccountList directly.
(cal_backend_mail_account_is_valid): And here too.
* gui/itip-utils.h: Removed ItipAddress structure.
* gui/itip-utils.c (itip_addresses_get): Change it to return a
global account object, so we dont need to duplicate all account
info in the calendar.
(itip_addresses_free, itip_address_free): Removed, use
g_object_unref.
(itip_addresses_get_default): Return an EAccount.
(find_account): helper to lookup accounts based on name/address.
(itip_organizer_is_user): Use helper to find account.
(itip_sentby_is_user): "
(comp_limit_attendees): "
(comp_sentby): Update to use an EAccount direclty.
(get_address): Removed, now redundant.
* gui/e-itip-control.c: Changed priv->addresses to be accounts
EAccountList.
(destroy): unref accounts.
(find_my_address): Change to use accounts list directly, also fix
a small potential memleak.
* gui/calendar-model.c: Change priv->addresses to be a direct
reference to an EAccountList, renamed priv->accounts.
(calendar_model_destroy): unref accounts.
(calendar_model_value_at): Use EAccountList directly to lookup
members.
* gui/calendar-config.c (calendar_config_get_timezone)
(calendar_config_set_timezone): Fix timezone key.
(calendar_config_get_24_hour_format): Same for 24 hour format key.
(calendar_config_set_24_hour_format): And here.
(calendar_config_get_week_start_day): "
(calendar_config_set_week_start_day): "
(calendar_config_get_day_start_hour): "
(calendar_config_set_day_start_hour): "
(calendar_config_get_day_start_minute): "
(calendar_config_set_day_start_minute): "
(calendar_config_get_day_end_hour): "
(calendar_config_set_day_end_hour): "
(calendar_config_get_day_end_minute)
(calendar_config_set_day_end_minute)
(calendar_config_get_time_divisions)
(calendar_config_set_time_divisions)
(calendar_config_get_dnav_show_week_no)
(calendar_config_set_dnav_show_week_no)
(calendar_config_get_default_view)
(calendar_config_set_default_view)
(calendar_config_get_hpane_pos, calendar_config_set_hpane_pos)
(calendar_config_get_vpane_pos, calendar_config_set_vpane_pos)
(calendar_config_get_month_hpane_pos)
(calendar_config_set_month_hpane_pos)
(calendar_config_get_month_vpane_pos)
(calendar_config_set_month_vpane_pos)
(calendar_config_get_compress_weekend)
(calendar_config_set_compress_weekend)
(calendar_config_get_show_event_end)
(calendar_config_set_show_event_end)
(calendar_config_get_working_days)
(calendar_config_set_working_days)
(calendar_config_get_hide_completed_tasks)
(calendar_config_set_hide_completed_tasks)
(calendar_config_get_hide_completed_tasks_units)
(calendar_config_set_hide_completed_tasks_units)
(calendar_config_get_hide_completed_tasks_value)
(calendar_config_set_hide_completed_tasks_value)
(calendar_config_get_confirm_delete)
(calendar_config_set_confirm_delete)
(calendar_config_get_confirm_expunge)
(calendar_config_set_confirm_expunge)
(calendar_config_get_tasks_due_today_color)
(calendar_config_set_tasks_due_today_color)
(calendar_config_get_tasks_overdue_color)
(calendar_config_set_tasks_overdue_color)
(calendar_config_get_use_default_reminder)
(calendar_config_set_use_default_reminder)
(calendar_config_get_default_reminder_interval)
(calendar_config_set_default_reminder_interval)
(calendar_config_get_default_reminder_units)
(calendar_config_set_default_reminder_units)
(calendar_config_default_calendar_folder)
(calendar_config_default_tasks_folder): Update config paths for
new config convention, etc.
* gui/alarm-notify/save.c (KEY_LAST_NOTIFICATION_TIME, etc):
Updated keys to lowercase/proper path.
(save_calendars_to_load): Store the calendars list as a gconf
list.
(get_calendars_to_load): Load the calendars list as a gconf list.
(save_blessed_program): Similar, for the blessed program list.
(is_blessed_program): Same here.
* gui/alarm-notify/config-data.c (config_data_get_timezone): Update
the path to the timezone key.
(config_data_get_24_hour_format): Fix path to config option.
* conduits/todo/todo-conduit.c (get_default_timezone): lower-case
the timezone key.
* conduits/calendar/calendar-conduit.c (get_default_timezone):
lower-case the timezone key.
* cal-client/cal-client.c (get_default_uri): Use the proper path
to get the default folder uri's.
svn path=/trunk/; revision=20016
2003-02-20 Not Zed <NotZed@Ximian.com>
* e-account-list.c (e_account_list_get_default): helper to get the
dfault account.
(e_account_list_set_default): helper to set the default account.
(e_account_list_find): Helper to find accounts based on differnet
key types.
(e_account_list_add): helper to add account + emit added event.
(e_account_list_change): helper to emit changed event.
(e_account_list_remove): herlper to remove account + emit changed event.
svn path=/trunk/; revision=20015
2003-02-20 Not Zed <NotZed@Ximian.com>
* filter-source.c (filter_source_get_sources): Change to use
EAccountList, etc.
svn path=/trunk/; revision=20014
2003-02-23 Hans Petter Jansson <hpj@ximan.com>
* gui/gnome-cal.c (backend_died_cb): Appease the compiler.
(gnome_calendar_update_paned_quanta): Don't actually try to set
the quantum properties. The quantum code should probably go away
entirely now that the panes update during resize, but let's keep
it around for a bit more.
* gui/dialogs/event-editor.c (event_editor_construct): Ref & sink
the pages.
* gui/dialogs/task-editor.c (task_editor_construct): Ref & sink
the pages.
svn path=/trunk/; revision=20011