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
2003-02-23 Jeffrey Stedfast <fejj@ximian.com>
* mail-local.c: Set the local provider description field to a
string rather than NULL to prevent a segfault on solaris. Fixes
bug #38418.
svn path=/trunk/; revision=20007
2003-02-23 Jeffrey Stedfast <fejj@ximian.com>
* mail-search.c (mail_search_destroy): New overloaded virtual
method, does what dialog_destroy_cb was trying to do.
(mail_search_construct): Connect to the "response" signal rather
than "clicked" to correspond to the GtkDialog API
(instead og the old GnomeDialog API).
(dialog_response_cb): Changed the function name and made it check
button == GTK_RESPONSE_ACCEPT to search, any other button
closes. Fixes bug #37947.
svn path=/trunk/; revision=20005
2003-02-22 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (e_msg_composer_set_send_html): Don't save the
HTML format setting to gconf. This option menu is meant for a
per-essage setting (ie. once the composer closes, the next
composer will again use the default and not what the user chose
last time).
svn path=/trunk/; revision=20004
2003-02-22 Hans Petter Jansson <hpj@ximian.com>
* gui/dialogs/task-details-page.c (get_widgets): Show the custom
widgets, since libglade appears to not want to do that.
* gui/dialogs/task-page.c (clear_widgets): Make the description
field use a GtkTextView.
(task_page_fill_widgets): Ditto.
(task_page_fill_component): Ditto.
(init_widgets): Ditto.
(get_widgets): Show the custom widgets, since libglade doesn't do it.
svn path=/trunk/; revision=20003
2003-02-22 Hans Petter Jansson <hpj@ximian.com>
* pcs/cal-backend.c (cal_backend_unref_categories): Add an
iteration statement. Fixes hang in wombat.
svn path=/trunk/; revision=20002
2003-02-22 Jeffrey Stedfast <fejj@ximian.com>
* providers/smtp/camel-smtp-transport.c (smtp_data): Remove all
Bcc headers before sending to the smtp server.
* providers/sendmail/camel-sendmail-transport.c
(sendmail_send_to): Remove all Bcc headers before sending to
sendmail.
svn path=/trunk/; revision=20000
2003-02-22 Hans Petter Jansson <hpj@ximian.com>
* e-categories-config.c (e_categories_config_open_dialog_for_entry):
A result of 0 no longer indicates success; GTK_RESPONSE_OK does.
svn path=/trunk/; revision=19998
2003-02-21 Hans Petter Jansson <hpj@ximian.com>
* component-factory.c (factory): Don't try to get a FontPrefs control.
* mail-config-factory.c (mail_config_control_factory_cb): Just return
NULL if a FontPrefs control was requested.
* mail-config.c (mail_config_get_default_account): If no accounts
are defined, don't try to set the default account.
svn path=/trunk/; revision=19996
* mail-account-gui.c (mail_account_gui_build_extra_conf): Use
tables instead of vboxes, so that groups of label/entry pairs (as
in Connector's config page) can line up nicely.
* mail-config.glade: Turn extra_vbox and extra_mailcheck_vbox into
tables.
* mail-config-druid.c (get_fn): s/extra_vbox/extra_table/
* Makefile.am (libevolution_mail_la_LIBADD):
s/libcomposer.a/libcomposer.la/
svn path=/trunk/; revision=19993
* Makefile.am: build libcomposer as a shared library so it can be
linked into libevolution-mail.so without portability problems
svn path=/trunk/; revision=19992
2003-02-21 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
* es.po: Updated Spanish translation
from Francisco J Fernandez <serrador@arrakis.es>.
svn path=/trunk/; revision=19989