2001-08-22 Peter Williams <peterw@ximian.com>
* folder-browser-ui.c (fbui_sensitize_timeout): Check for NULL uic
here as well.
(fbui_sensitize_items): Up the timeout interval to 110 ms.
svn path=/trunk/; revision=12380
2001-08-22 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.c (gnome_calendar_open): open the tasks folder
associated with the calendar being opened, and not always the local
tasks.ics file
* pcs/cal-factory.c (open_fn): use gnome_vfs_uri_new_private when
parsing the URI to allow non-registered URIs
svn path=/trunk/; revision=12379
2001-08-21 Chris Toshok <toshok@ximian.com>
* gal/widgets/e-canvas.c (e_canvas_button): cut and paste fixed
version of gnome_canvas_button here.
(pick_current_item): needed by e_canvas_button, also from
gnome-canvas.c.
(gnome_canvas_item_invoke_point): same.
(e_canvas_class_init): hook button_press_event and
button_release_event to e_canvas_button.
svn path=/trunk/; revision=12376
2001-08-21 Peter Williams <peterw@ximian.com>
* mail-account-editor.c (apply_changes): Honor the return value of
mail_account_gui_save.
svn path=/trunk/; revision=12370
2001-08-21 Federico Mena Quintero <federico@ximian.com>
* gui/dialogs/alarm-options.c (alarm_to_palarm_widgets): Handle
the case where there is no attachment. Fixes bug #7257.
svn path=/trunk/; revision=12368
* mail-identify.c (mail_identify_mime_part): Don't trust gnome-vfs
when it says "text/plain" if gnome_vfs_mime_type_from_name says
something different. Fixes a problem with recognizing icalendar
attachments labeled "application/octet-stream". Also, don't bother
asking gnome-vfs about winmail.dat attachments, since it will
often claim that they're MPEGs due to some mis-magic.
svn path=/trunk/; revision=12357
2001-08-21 JP Rosevear <jpr@ximian.com>
* gui/e-itip-control.c (write_html): strip the mailto bit for the
email address if we display it
svn path=/trunk/; revision=12355
* e-shell-folder-title-bar.c (label_realize_callback): Fix a leak:
unref the EFont after we have used it. Also, don't crash if
`e_font_to_gdk_font()' returns NULL. [This should fix#7666,
Folder View crashes Evo.]
svn path=/trunk/; revision=12353
2001-08-21 Damon Chaplin <damon@ximian.com>
* e-summary-calendar.c (generate_html):
* e-summary-tasks.c (generate_html): changed the icons. For calendar
events we use the 'new appointment' icon from the menu. For tasks we
use the task icon from the ETable - I wasn't sure about using the
'New Task' icon as it has a tick in it which may make people think it
is complete.
svn path=/trunk/; revision=12351
2001-08-21 Damon Chaplin <damon@ximian.com>
* pcs/query.c (func_is_completed): added new e-sexp operator. We
don't currently use it though.
* gui/dialogs/cal-prefs-dialog.glade: Changed '_Overdue' to 'O_verdue'
since we have an '_Other' notebook tab. Added '_Hide' accel.
* gui/dialogs/cal-prefs-dialog.c: hooked up config options to dialog.
* gui/calendar-config.c: added config options for hiding completed
tasks.
* gui/e-week-view-event-item.c (e_week_view_event_item_draw):
* gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
* gui/e-day-view.c (e_day_view_reshape_long_event): added 2 pixels
extra space between icons and text for long events, and 1 pixel space
between icons in all events.
(e_day_view_realize): changed the background color to match the
EGrayBar in the shell.
svn path=/trunk/; revision=12347
2001-08-21 Peter Williams <peterw@ximian.com>
* message-list.c (message_list_set_folder): Don't sink the extras since
_set_folder can get called more than once (on reconfigure.)
(message_list_destroy): So just unref the extras here.
svn path=/trunk/; revision=12345
2001-08-21 Peter Williams <peterw@ximian.com>
* mail-send-recv.c (build_dialogue): Treat the spool provider like IMAP:
update instead of performing an explicit receive.
svn path=/trunk/; revision=12344
2001-08-21 Peter Williams <peterw@ximian.com>
* folder-browser-ui.c (fbui_sensitize_items): Rename to
fbui_real_sensitize_items. Now we queue a change and set up a timeout,
making sure weed out redundant changes, fixing flicker.
(fbui_sensitize_timeout): New function. The timeout.
(fbui_real_sensitize_items): Semi-new function. Rename of old
fbui_sensitize_items.
(folder_browser_ui_set_selection_state): Pass the FB instead of only
the UIC to sensitize_items.
(folder_browser_ui_message_loaded): Same.
* folder-browser.c (folder_browser_destroy): Kill the new timeout if
it is registered.
* folder-browser.h: Add some members to FolderBrowser for keeping
track of the queue of changes.
svn path=/trunk/; revision=12343
* camel-folder-thread.c
(camel_folder_thread_messages_new_summary): Fix the duplicate
message check so it doesn't mess up threading when a reply appears
in the folder before the message it's a reply to. Fixes bug #3357.
(camel_folder_thread_messages_new): Likewise, although I don't
think this function is used any more.
svn path=/trunk/; revision=12341
2001-08-21 Rodrigo Moya <rodrigo@ximian.com>
* pcs/cal-backend-util.[ch]: new files to contain utility functions
for calendar backends
* pcs/cal-backend.c (cal_backend_add_cal): implement it here, and not in
the calendar backends. Add a "cal_added" signal, so that backends are
notified when a new Cal is added, if they need to
(cal_backend_get_type_by_uid): implement it here
* pcs/cal-backend-file.c (fill_alarm_instances_seq): moved to
cal-backend-util.c
(cal_backend_file_add_cal): removed
(cal_backend_file_init): connect to the "cal_added" signal in the
CalBackend class so that we can update categories when a new Cal is
added
(cal_backend_file_get_type_by_uid): removed
* pcs/cal-backend-db.c (fill_alarm_instances_seq): moved to
cal-backend-util.c
(cal_backend_db_add_cal): removed
(cal_backend_db_get_type_by_uid): removed
* AUTHORS: added JP and Damon to list of authors
svn path=/trunk/; revision=12339
2001-08-20 Rodrigo Moya <rodrigo@ximian.com>
* cal-util/cal-util.[ch] (cal_util_generate_alarms_for_list):
(cal_util_generate_alarms_for_comp):
new functions moved from the CalBackendFile, to allow its use outside
of it. The signature has changed a little bit, since these functions
need a way to get the timezones from the callers, so a callback
function to resolve the timezones has been added to the list of
parameters
* pcs/cal-backend-file.c (generate_alarms_for_list):
(generate_alarms_for_comp): moved to cal-util, with all their related
functions/structures
* pcs/cal-backend-db.c: removed functions that were moved to cal-util
svn path=/trunk/; revision=12338
2001-08-21 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-minicard.c (e_minicard_event): if we're dragging,
drag_button_down won't be true in the BUTTON_RELEASE case, since
we set it to false in MOTION_NOTIFY once the threshold is reached.
(e_minicard_drag_end): remove this function, since it was needed
to work around a bug in gnome-canvas.
svn path=/trunk/; revision=12337
2001-08-20 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names.c
(e_addressbook_create_ebook_table): Wrap our addressbook table
adapter in an ETableWithout, so that we can make addresses appear
and disappear when we remove/add them to the section lists
(To/Cc/Bcc) on the right of the dialog.
(real_add_address_cb): When we add an address, hide it in the main
list.
(e_select_names_init): Get pointer to our without table from the
table's object data, and store it.
(remove_address): When we remove an address, show it in the main
list.
(card_key): Added. Allocate a unique key from an ECard.
(esn_get_key_fn): Added. Callback for ETableWithout.
(esn_dup_key_fn): Added. Callback for ETableWithout.
(esn_free_gotten_key_fn): Added. Callback for ETableWithout.
(esn_free_duped_key_fn): Added. Callback for ETableWithout.
* backend/ebook/e-card-simple.c (e_card_simple_get): Changed
E_CARD_SIMPLE_FIELD_NAME_OR_ORG to first try the FILE_AS
type. This allows the cards in the ESelectName dialog to
appear in proper sort order (i.e. as 'Doe, John' rather than
'John Doe'). Fixes ximian #6002.
svn path=/trunk/; revision=12334
2001-08-20 Jon Trowbridge <trow@ximian.com>
* e-table-without.c (check_with_key): We need to
free_gotten_key_func key2, not key!
(e_table_without_show): Renamed, used to be
e_table_without_remove. Double-negative function names
are confusing!
(e_table_without_hide_adopt): Renamed, used to be
e_table_without_add_adopt.
(e_table_without_hide): Renamed, used to be e_table_without_add.
2001-08-20 Jon Trowbridge <trow@ximian.com>
* configure.in: Increment version number to 0.10.99.5 for changes
to ETableWithout api.
svn path=/trunk/; revision=12332
2001-08-20 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-reflow-adapter.c
(e_addressbook_reflow_adapter_class_init): fix arg info - we're
only passing 1 GTK_TYPE_POINTER arg, not 2.
* gui/widgets/e-minicard.c (e_minicard_event): lots of fixes for
DnD. For GDK_BUTTON_PRESS, we grab immediately. For
GDK_BUTTON_MOTION, we start the drag after a certain threshold,
and connect to the "drag_end" signal on our canvas so we'll know
when the drag is complete. For GDK_BUTTON_RELEASE, we release the
grab if we were dragging and get the event.
(e_minicard_drag_end): new function, just remove the pointer/gtk
grabs and disconnect.
* gui/widgets/e-minicard.h (struct _EMinicard): add "gint
drag_button"
svn path=/trunk/; revision=12331