2004-03-10 Chris Toshok <toshok@ximian.com>
* gui/widgets/eab-contact-display.c (render_address): #if 0 this,
since nothing uses it anymore.
(accum_address): new function, build up a GString.
(accum_name_value): same.
(accum_attribute): same.
(render_contact): don't just blindly render the work/personal
blocks, since if they're empty it looks stupid. instead,
accumulate each block into a GString and only output the entire
block if the string is non-empty.
svn path=/trunk/; revision=25018
2004-03-10 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-editor.c (phone_entry_changed):
phone_choice is an index into the phones array.
(_phone_arrow_pressed): same.
(address_text_changed): address_choice is an index into the
addresses array.
(_address_arrow_pressed): same.
(set_address_field): same.
(_email_arrow_pressed): email_choice is an index into the emails
array.
(full_addr_clicked): same, and same with
s/addresses/address_editable.
(e_contact_editor_init): initialize the *_choice fields as indices
into their respective *es arrays.
(e_contact_editor_build_address_ui): initialize the labels from
the addresses array.
(set_fields): *_choice fields are indices into *es arrays.
(enable_writable_fields): same.
svn path=/trunk/; revision=25017
2004-03-10 Rodney Dawes <dobey@ximian.com>
* gui/certificate-viewer.c (certificate_viewer_show): Fix the border
width setting for the button area, to be HIG-compliant
* gui/smime-ui.glade: Update some border widths for the cert viweer
Remove dialog separators (This portion from William Jon McCann)
svn path=/trunk/; revision=25016
2004-03-10 Jeffrey Stedfast <fejj@ximian.com>
Fix for bug #55298.
* em-format-html.c (efh_format_header): Now takes a default txt
argument (header value). For address/date headers, if this isn't
set, default back to the old behaviour of looking it up.
(efh_format_headers): If we are iterating thru the camel raw
headers, always pas the header value as the txt argument,
otherwise always pass NULL.
svn path=/trunk/; revision=25015
2004-03-10 Jeffrey Stedfast <fejj@ximian.com>
* em-format-html-display.c (efhd_xpkcs7mime_validity_clicked):
Removed an unused variable left over from an old attempted fix.
* em-folder-selector.c (emfs_response): Select the same folder in
the create-folder dialog as is selected in the parent selector
dialog. Fixes the rest of bug #53862.
svn path=/trunk/; revision=25014
2004-03-10 Jeffrey Stedfast <fejj@ximian.com>
Partial fix for bug #53862
* em-folder-selector.c (emfs_response): Connect to the newly added
"folder-added" signal and save a created_uri string so that we can
be sure to only listen for the creation of the folder the user
created in *our* create-folder dilog (and not from some other
place).
* em-folder-tree-model.c (folder_subscribed): Emit a new
"folder-added" signal.
svn path=/trunk/; revision=25013
2004-03-10 Bill Zhu <bill.zhu@sun.com>
* e-shell-startup-wizzard.c (key_press_event_callback): Used the
stock
icon in confirm dialog.
Fixes#55063
svn path=/trunk/; revision=25008
2004-03-09 Rodney Dawes <dobey@ximian.com>
* gui/contact-editor/e-contact-editor.c (_arrow_pressed): Don't try
to calculate the position of the popup menu for the dropdowns
svn path=/trunk/; revision=25001
2004-03-09 Rodney Dawes <dobey@ximian.com>
* gui/contact-editor/e-contact-editor-im.c (e_contact_editor_im_edit):
Remove the dialog separator, and set appropriate border widths for the
button area box and the dialog's vbox
* gui/contact-editor/im.glade: Apply patch from Christian Neumair to
make the IM editor dialog HIG compliant
svn path=/trunk/; revision=24999
2004-03-08 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (emft_create_folder): New async function to
create a folder.
(em_folder_tree_create_folder): Partly moved into
emft_create_folder. Might be able to remove this code, but lewing
might be using it in Connector or something? Need to ask him...
(emft_popup_new_folder_response): Use emft_create_folder()
instead.
svn path=/trunk/; revision=24993
2004-03-06 Pratik V. Parikh <pratikvp@despammed.com>
* e-shell-window-commands.c (command_quick_reference): Check that
app is not NULL before trying to open the quickref document.
Fixes#55106
svn path=/trunk/; revision=24989
2004-03-07 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (do_exit): If the subject is empty, use
_("Untitled Message") as the subject instead.
svn path=/trunk/; revision=24981
2004-03-05 Jeffrey Stedfast <fejj@ximian.com>
* em-format-html-display.c (em_format_html_display_search): Don't
set our parent window as the efhd, ehfd isn't even a widget.
Fixes bug #54030
* em-format-html-display.c (efhd_search_response): Reset the
searching tokeniser on Cancel.
* e-searching-tokenizer.c (e_searching_tokenizer_reset): New
function to reset a search tokeniser.
svn path=/trunk/; revision=24977
2004-03-05 Jeffrey Stedfast <fejj@ximian.com>
Fixes bug #55202
* e-msg-composer.c (add_recipients): No longer takes a decode
argument (handle_mailto is the only function that calls it, and
the decode value always has to be TRUE for mailto).
(handle_mailto): Updated.
svn path=/trunk/; revision=24975
2004-03-05 Rodrigo Moya <rodrigo@ximian.com>
* gui/alarm-notify/alarm-notify.c (alarm_notify_init): set a GConf
listener callback to list for changes in selected calendars.
(alarm_notify_finalize): remove the GConf notification listener.
(conf_changed_cb): callback to react on configuration changes. Process
the new selected calendars and remove the unselected ones.
(process_removal_in_hash): callback to remove unselected calendars.
svn path=/trunk/; revision=24973
2004-03-05 Not Zed <NotZed@Ximian.com>
** See bug #55096.
* importers/evolution-mbox-importer.c (process_item_fn): hack,
unref when complete
* importers/evolution-outlook-importer.c (outlook_importer_new):
init status lock.
(process_item_fn): hack, unref ourselves when we're complete. i
think the shell leaks the ref.
svn path=/trunk/; revision=24972
2004-03-04 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-view.c (emfv_popup): If event == NULL, don't try to
use event->key.time
* em-migrate.c (upgrade_vfolder_sources_1_4): New function to
upgrade vfolder sources.
(em_upgrade_xml_1_4): If the doc is vfolders.xml, upgrade the
sources nodes.
svn path=/trunk/; revision=24971
2004-03-04 Rodrigo Moya <rodrigo@ximian.com>
Fixes#50294
* gui/e-tasks.c (setup_widgets): connect to "model_rows_deleted" signal
on the ETable's model.
(model_rows_deleted_cb): callback for clearing the preview widget when
the currently selected task is removed.
svn path=/trunk/; revision=24969
2004-03-04 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-commands.c (calendar_control_sensitize_calendar_commands):
set the sensitivity correctly, depending on whether the command applied
to the currently selected event or the default client.
(calendar_control_activate): make sure we start with the menu items
correctly enabled/disabled.
svn path=/trunk/; revision=24968
2004-03-04 Rodrigo Moya <rodrigo@ximian.com>
Fixes#53496
* gui/dialogs/cal-prefs-dialog.glade: set the same spacing for all
tabs in the notebook.
svn path=/trunk/; revision=24966
2004-03-04 Rodrigo Moya <rodrigo@ximian.com>
* gui/dialogs/comp-editor.c (comp_editor_append_page): always add
the page.
* gui/dialogs/event-page.c (event_page_fill_widgets): continue filling
up all other fields even if there are missing ones, and return the
validation result.
svn path=/trunk/; revision=24965
2004-03-04 Rodrigo Moya <rodrigo@ximian.com>
* gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog):
don't make the dialog window sticky, the icon on the system tray
already shows in all workspaces.
svn path=/trunk/; revision=24963
2004-03-04 Rodrigo Moya <rodrigo@ximian.com>
Fixes#54028
* gui/alarm-notify/alarm-queue.c (query_objects_changed_cb): fixed the
time range for the alarm query, to include the end of today.
svn path=/trunk/; revision=24961
2004-03-04 Rodrigo Moya <rodrigo@ximian.com>
Fixes#53137
* gui/dialogs/comp-editor-page.[ch]: made fill_widgets virtual
method return a gboolean.
(comp_editor_page_fill_widgets): return value from virtual method
implementation.
* gui/dialogs/event-page.c (event_page_fill_widgets):
* gui/dialogs/meeting-page.c (meeting_page_fill_widgets):
* gui/dialogs/recurrence-page.c (recurrence_page_fill_widgets):
* gui/dialogs/schedule-page.c (schedule_page_fill_widgets):
* gui/dialogs/task-details-page.c (task_details_page_fill_widgets):
* gui/dialogs/task-page.c (task_page_fill_widgets):
* gui/dialogs/alarm-page.c (alarm_page_fill_widgets): return value,
as expected from the virtual method signature.
* gui/dialogs/comp-editor.c (comp_editor_append_page): dont add the
page if there was an error calling the fill_widgets method.
svn path=/trunk/; revision=24960