2003-04-09 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (composer_get_default_charset_setting): Same as
with attachment-bar's get_default_charset().
(setup_ui): Instead of pulling the default charset from gconf,
call our helper function above.
* e-msg-composer-attachment-bar.c (get_default_charset): If gconf
returns a NULL string, default back to the locale charset.
svn path=/trunk/; revision=20775
2003-04-08 Jeffrey Stedfast <fejj@ximian.com>
Fixes for bug #40778. Probably others as well.
* providers/imap/camel-imap-utils.c (parse_params): Return 0 on
success, or -1 on fail. The other small utility functions should
probably do the same, but I was too lazy to fix them. Setting
inptr to NULL is just lame.
(imap_body_decode): New function to correctly parse a BODY
response.
(imap_parse_body): Rewritten to use the above function.
svn path=/trunk/; revision=20773
2003-04-08 Mike Kestner <mkestner@ximian.com>
* e-search-bar.c (set_option): kill an old e_utf8_gtk usage
and remove some straggling e-font.h includes.
svn path=/trunk/; revision=20769
2003-04-08 Jeffrey Stedfast <fejj@ximian.com>
* providers/smtp/camel-smtp-transport.c (smtp_helo): Make sure
host->h_name is not an empty string too? Apparently for one user
his resolved hostname is "". Go figure. Probably a broken system,
but easy enough to work around.
svn path=/trunk/; revision=20768
2003-04-08 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (map_default_cb): Added some debug printfs.
(create_composer): Call map_default_cb directly instead of having
it in a "map" callback. Ettore says we shouldn't be doing this
*shrug*. Still doesn't work tho.
svn path=/trunk/; revision=20767
2003-04-08 Jeffrey Stedfast <fejj@ximian.com>
* providers/pop3/camel-pop3-store.c (pop3_try_authenticate): If
store->engine->line is NULL, use _("Unknown error") as the error
string instead.
svn path=/trunk/; revision=20765
2003-04-08 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (do_view_message): Add a check for a NULL uid
here. Don't see how it can happen, but it seems to have for
Aaron. Anyways, this should fix bug #40904.
svn path=/trunk/; revision=20762
* glade/evolution-startup-wizard.glade: Remove the color specs so
the druid will use theme colors
* importer/import.glade: Likewise
svn path=/trunk/; revision=20757
* gui/component/ldap-config.glade: Remove color specifications
from the druid so it will use theme colors.
* gui/component/addressbook-config.c
(addressbook_add_server_druid): Use g_signal_connect_after for
"prepare" signal (to work around b.g.o 81869)
svn path=/trunk/; revision=20756
* gui/dialogs/alarm-options.c: Remove button_ok, button_cancel,
canceled members from struct Dialog.
(get_widgets): Do not initialize.
(close_dialog): Destroy the toplevel.
(toplevel_delete_event_cb): Removed.
(button_cancel_clicked_cb): Removed.
(button_ok_clicked_cb): Removed.
(close_dialog): Removed.
(alarm_options_dialog_run): Use gtk_dialog_run.
(init_widgets): Do not init ->canceled, do not connect OK/Cancel
buttons.
(alarm_to_dialog): No need to make the file entry modal from here
anymore.
* gui/dialogs/alarm-options.glade: Turned into a GtkDialog. Set
the "modal" property to True for the file entry.
svn path=/trunk/; revision=20749
* importers/GNOME_Evolution_Mail_Elm_Intelligent_Importer.server.in.in:
* importers/GNOME_Evolution_Mail_Netscape_Intelligent_Importer.server.in.in:
* importers/GNOME_Evolution_Mail_Pine_Intelligent_Importer.server.in.in:
Fix bad XML noticed by Not Zed
svn path=/trunk/; revision=20748
2003-04-08 Not Zed <NotZed@Ximian.com>
* GNOME_Evolution_Summary.server.in.in: Properly terminate the
"name" attribute tag added in the last change.
svn path=/trunk/; revision=20747
2003-04-07 Chris Toshok <toshok@ximian.com>
[ fixes#7103 ]
* gui/widgets/e-minicard-label.c (e_minicard_label_class_init):
init style_set. and add the signal.
(e_minicard_label_realize): include e_minicard_label_construct's
code here, and call set_colors after we create the sub-items.
(e_minicard_label_unrealize): indent, and remove dead code.
(e_minicard_label_event): indent, and call set_colors instead of
setting the colors manually.
(set_colors): new function, set our colors based on the current
style.
(e_minicard_label_style_set): new function, just call set_colors.
(e_minicard_label_new): e_minicard_label_construct doesn't exist
anymore.
* gui/widgets/e-minicard-label.h (struct _EMinicardLabelClass):
add style_set signal.
* gui/widgets/e-minicard.c (set_selected): little tweaks in the
coloring.
(e_minicard_unrealize): reindent, and remove some unused code.
* gui/widgets/e-minicard-view-widget.h (struct
_EMinicardViewWidget): add background.
* gui/widgets/e-minicard-view-widget.c
(e_minicard_view_widget_class_init): init
widget_class->style_class.
(e_minicard_view_widget_style_set): new function, just set the
background's fill_color_gdk to base[GTK_STATE_NORMAL].
(e_minicard_view_widget_realize): store off the background canvas
item so we can set the color later.
svn path=/trunk/; revision=20742
2003-04-07 Chris Toshok <toshok@ximian.com>
* gal/widgets/e-canvas-background.c (ecb_class_init):
fill_color_gdk is a boxed GdkColor, not a pointer.
(ecb_set_property): same.
(ecb_get_property): same.
svn path=/trunk/; revision=20741
2003-04-08 Not Zed <NotZed@Ximian.com>
* camel-folder-summary.c (camel_folder_summary_load): use
g_strerror, and use errno directly rather than ferrno().
(summary_header_load): set errno when we get a version mismatch.
svn path=/trunk/; revision=20739
2003-04-07 Chris Toshok <toshok@ximian.com>
[ fixes bug #39763 ]
* evolution-composer-entries.xml: This is merged in by the text
fields/EEntry's in the composer when they're focused.
* Makefile.am (XML_FILES): add evolution-composer-entries.xml.
svn path=/trunk/; revision=20736
2003-04-07 Chris Toshok <toshok@ximian.com>
[ fixes bug #39763 ]
* gui/component/select-names/e-select-names-bonobo.c (copy_cb):
verb callback for EditCopy
(cut_cb): verb callback for EditCut.
(paste_cb): verb callback for EditPaste.
(select_all_cb): verb callback for SelectAll.
(free_closure): new function
(merge_menu_items): same
(unmerge_menu_items): same
(control_set_frame_cb): same
(control_activate_cb): same
(widget_focus_cb): same
(e_bonobo_control_automerge_ui): new function, sets up focus
signals on the widget passed in to merge/unmerge the passed in
ui/verbs.
(impl_SelectNames_get_entry_for_section): call
e_bonobo_control_automerge_ui for this entry.
svn path=/trunk/; revision=20735
2003-04-07 Jeffrey Stedfast <fejj@ximian.com>
* message-list.c (ml_tree_value_at): For string columns, never
return NULL - always return "" if the value is empty. Fixes bug
#40728.
svn path=/trunk/; revision=20730
* evolution-folder-selector-button.c (clicked): Desensitize the
window's top-level container rather than desensitizing the window
itself, which causes strange problems [#40854]. Also fix up the
code that tries to watch for the parent window being destroyed.
* e-shell.c (impl_Shell_selectUserFolder): Use
e_dialog_set_transient_for_xid.
* e-shell-folder-selection-dialog.c (impl_response): Treat
GTK_RESPONSE_DELETE_EVENT the same as GTK_RESPONSE_CANCEL.
(e_shell_folder_selection_dialog_construct): No need to catch
"delete_event" signal.
svn path=/trunk/; revision=20729
2003-04-07 JP Rosevear <jpr@ximian.com>
* gui/dialogs/event-page.glade: create button properly
* gui/itip-utils.c (comp_server_send): for errors other than busy,
we want to email the results
* pcs/cal-backend.c (cal_backend_ref_categories): insert the new
category in the category list as well
(idle_notify_categories_changed): reset idle id
svn path=/trunk/; revision=20726
2003-04-07 Jeffrey Stedfast <fejj@ximian.com>
* mail-composer-prefs.c (sig_add_script_cb): Set the "script" data
on the GtkEntry to NULL.
(sig_add_script_response): If the "script" data on the GtkEntry
object is non-NULL, then we are editing an existing signature, so
just change the values in place and don't add it to the signature
db.
(sig_edit_cb): If sig->script is non-NULL, then we are editing a
script signature, so pop up the script dialog instead. Fixes bug
#38929.
svn path=/trunk/; revision=20723