2003-01-28 Abel Cheung <maddog@linux.org.hk>
* POTFILES.in, POTFILES.skip: Fixes file lists.
* flu-danish: Removed. This file has been present for 2.5 years.
* zh_TW.po: Converted to UTF-8.
svn path=/trunk/; revision=19663
2003-01-27 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (e_msg_composer_new_from_url): If the subject
or body components of the mailto url are not in UTF-8, convert
them to UTF-8.
svn path=/trunk/; revision=19662
2003-01-27 Jeffrey Stedfast <fejj@ximian.com>
* component-factory.c (storage_remove_folder): Change
strcmp(fi->path, path) to strcmp(fi->name, name) and now the
execution takes the right path. My patch base on Callie's patch
for bug #33525.
svn path=/trunk/; revision=19661
* e-shell-importer.c (choose_importer_from_list): Set
GTK_RESPONSE_OK as the default response.
* Makefile.am (INCLUDES): Add -DGNOME_DISABLE_DEPRECATED,
-DBONOBO_DISABLE_DEPRECATED.
* e-shortcuts.c (update_shortcut_and_emit_signal): Use
g_signal_emit() instead of gtk_signal_emit().
* e-shortcuts-view.c (destroy_group_cb): Port from GnomeMessageBox
to GtkMessageDialog.
* e-shell.c (get_icon_path_for_component_info): Use
gnome_program_locate_file() instead of gnome_pixmap_file().
(impl_finalize): Use bonobo_activation_unregister_active_server()
instead of bonobo_activation_active_server_register().
(e_shell_construct): Use
bonobo_activation_register_active_server() instead of
bonobo_activation_active_server_register().
* e-shell-view-menu.c (command_submit_bug): Use e_notice().
(launch_pilot_settings): Use g_find_program_in_path() instead of
gnome_is_program_in_path().
(command_submit_bug): Likewise.
* e-shell-utils.c (get_icon_path): Use g_file_test() instead of
g_file_exists().
* e-shell-startup-wizard.c (prepare_importer_page): Port from
GnomeMessageBox to GtkMessageDialog.
* e-shell-shared-folder-picker-dialog.c (show_dialog): Update for
GtkDialog.
(progress_dialog_close_callback): Removed.
(progress_dialog_clicked_callback): Removed.
(progress_dialog_response_callback): New.
(create_progress_dialog): Ported to GnomeDialog.
* e-shell-offline-sync.c: Add member parent_window to struct
SyncData.
(e_shell_offline_sync_all_folders): Set it from the parent_window
arg.
(progress_dialog_close_callback): Removed.
(progress_dialog_clicked_callback): Removed.
(progress_dialog_response_callback): New.
(setup_dialog): Create a GtkDialog instead of a GnomeDialog.
(sync_folder): Updated for GtkDialog.
* e-shell-offline-handler.c (dialog_handle_ok): Make it get a
GtkDialog instead of a GnomeDialog.
(dialog_handle_cancel): Likewise.
(dialog_clicked_cb): Removed.
(dialog_response_cb): New.
(pop_up_confirmation_dialog): Connect the new dialog_response_cb()
instead of the old dialog_clicked_cb(). Removed
gnome_dialog_set_default() call.
* e-shell-folder-creation-dialog.c (dialog_response_cb): Make
first arg a GtkDialog, not a GnomeDialog.
* e-shell-folder-commands.c (e_shell_command_delete_folder):
Expect delete_dialog() to return a GtkResponseType.
(delete_dialog): Ported to GtkMessageDialog; Return a
GtkResponseType.
* e-shell-config-default-folders.c
(e_shell_config_default_folders_create_widget): Removed unused
variable.
* e-setup.c (check_evolution_directory): Remove Evolution
directory installation message.
(e_setup): Remove check for the Executive-Summary directory.
* e-local-storage.c (create_folder_directory): Use g_file_test()
instead of g_file_exists().
* evolution-shell-component-utils.c (e_pixmaps_update): Use
g_build_filename() of g_concat_dir_and_file().
* e-folder-dnd-bridge.c (handle_data_received_path): Likewise.
* e-local-folder.c (construct_loading_metadata): Likewise.
(save_metadata): Likewise.
* e-local-storage.c (remove_folder_directory): Likewise.
(append_xfer_item_list): Likewise.
* e-setup.c (check_dir_recur): Likewise.
(e_shell_rm_dir): Likewise.
(setup_bonobo_conf_private_directory): Likewise.
* e-shell-folder-commands.c
(folder_selection_dialog_folder_selected_callback): Likewise.
(e_shell_command_rename_folder): Likewise.
* e-shell-folder-creation-dialog.c (dialog_response_cb): Likewise.
* e-shell-settings-dialog.c (load_pages): Likewise.
* e-shell-utils.c (get_icon_path): Likewise.
* e-shell.c (setup_local_storage): Likewise.
(get_icon_path_for_component_info): Likewise.
(e_shell_construct): Likewise.
* main.c (main): Likewise.
svn path=/trunk/; revision=19658
* e-request.c (e_request_string): Port to GtkDialog. Strdup the
text returned by GtkEntry after destroying the dialog, not before.
Use gtk_editable_select_region() instead of
gtk_entry_select_region(). Add a little bit of padding to make it
look less crampy and set a default width.
* e-dialog-utils.h (e_gnome_dialog_set_parent): Declare only if
GNOME_DISABLE_DEPRECATED is not #defined.
(e_gnome_warning_dialog_parented): Likewise.
(e_gnome_ok_cancel_dialog_parented): Likewise.
svn path=/trunk/; revision=19657
* tools/evolution-addressbook-export.c: #include bonobo-activation
instead of oaf.
(main): Initialize using gnome_program_init().
(save_cards): Use g_main_loop_quit() instead of gtk_exit().
* tools/evolution-addressbook-import.c: Update include list for
GNOME 2.
(main): Initialize using gnome_program_init().
(unref_executable): Use g_main_loop_quit() instead of gtk_exit().
(add_cb): Likewise.
* tools/evolution-addressbook-abuse.c: Update include list for
GNOME 2.
(main): Initialize using gnome_program_init().
(use_addressbook): Use g_object_unref() instead of
gtk_object_unref().
(main): Use g_timeout_add() instead of gtk_timeout_add().
(add_cb): Use g_main_loop_quit() instead of gtk_exit().
* configure.in (AC_SUBST): Add tools/Makefile.
* Makefile.am (SUBDIRS): Add tools/ back into the list.
* tools/Makefile.am: Install everything in
$(datadir)/evolution-$(BASE_VERSION)/tools.
(INCLUDES): Add the defines that gnome_program_init() likes and
also add the _DISABLE_DEPRECATED stuff.
svn path=/trunk/; revision=19656
2003-01-27 Jeffrey Stedfast <fejj@ximian.com>
* mail-identify.c (mail_identify_mime_part): Fixed a #warning by
converting a local path into a file: uri before feeding it to
gnome-vfs.
* message-list.c (message_list_set_folder): Removed a FIXME that
I've decided is no longer needed.
2003-01-22 Jeffrey Stedfast <fejj@ximian.com>
* mail-config.c (mail_config_add_account): Emit the account-added
event.
(mail_config_remove_account): Emit the account-removed event.
* mail-account-gui.c (mail_account_gui_save): Emit the changed
event on the account-list for the changed account.
svn path=/trunk/; revision=19655
2003-01-27 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment.c (update_mime_type): Fixed a #warning
by converting the filename into a uri before passing it into
gnome_vfs_get_mime_type() since that function really needs a uri.
2003-01-22 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-hdrs.c (init): Get the list of accounts here and
ref the account-list.
(destroy): Unref the accounts list here.
(create_from_optionmenu): Connect to the added/changed/removed
account-list signals here.
(account_added_cb): New callback function that adds the newly
added account to the from-dropdown menu.
(account_changed_cb): New callback that changes the label for the
account that got changed in the dropdown menu.
(account_removed_cb): Removes the account from the from dropdown
menu.
svn path=/trunk/; revision=19654
* evolution-shell-component.c (owner_ping_callback): #if 0'ed out
for now, since it seems to cause trouble for local components.
(setup_owner_pinging): Likewise.
* e-shell-user-creatable-items-handler.c
(get_default_action_for_view): Return default_menu_item [instead
of NULL] if there is no view displayed. [#32736]
svn path=/trunk/; revision=19650
2003-01-27 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/contact-editor.glade: add a scrolled window
(SHADOW_IN) around the address textview.
svn path=/trunk/; revision=19649
2003-01-26 Chris Toshok <toshok@ximian.com>
* e-pilot-settings.c (e_pilot_settings_new): ref/sink the pilot
settings to clear up that gtk warning.
svn path=/trunk/; revision=19644
2003-01-26 Hans Petter Jansson <hpj@ximian.com>
Make clicks, drags and resizes work, and pangoize remaining strings.
Fix EText placement.
* gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
Use Pango.
* gui/e-day-view.c (e_day_view_on_top_canvas_button_press):
Don't add scroll offset, it's already factored in.
(e_day_view_on_main_canvas_button_press): Ditto.
(e_day_view_on_top_canvas_motion): Ditto.
(e_day_view_on_main_canvas_motion): Ditto.
(e_day_view_reshape_long_event): Don't set the "font_gdk" property.
Its non-existence will prevent the other properties from being set as
well.
(e_day_view_reshape_day_event): Ditto.
(e_day_view_update_top_canvas_drag): Ditto.
(e_day_view_start_editing_event): ETextEventProcessor is a GObject
now. So use g_signal_stuff.
(e_day_view_check_auto_scroll): Factor out scroll offset before
checking the pointer's position relative to widget.
(e_day_view_auto_scroll_handler): Don't freeze the canvas when
scrolling - it will fail to update the canvas. If this is not
intended behaviour, it's a bug in the canvas, I think.
(e_day_view_on_main_canvas_drag_motion): Factor in the scroll offset
before checking for auto-scroll, since the function requires this.
* gui/e-week-view.c (e_week_view_reshape_event_span): Don't set the
"font_gdk" property. Its non-existence will prevent the other
properties from being set as well.
(e_week_view_start_editing_event): ETextEventProcessor is a GObject
now. So use g_signal_stuff.
svn path=/trunk/; revision=19641
2003-01-26 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/contact-editor.glade: rename the category
entry to entry-categories.
* gui/contact-editor/e-contact-editor.c
(set_entry_changed_signals): use the specialized "changed" signal
handlers for entry-company and entry-fullname.
svn path=/trunk/; revision=19640
2003-01-26 Chris Toshok <toshok@ximian.com>
* configure.in: only do the CONDUIT_CFLAGS/LIBS stuff if pilot
conduits have been enabled.
svn path=/trunk/; revision=19638
2003-01-26 Chris Toshok <toshok@ximian.com>
* configure.in: in the --enable-pilot-conduits stanza, use
PKG_CHECK_MODULES to get the gnome-pilot-2.0 (and therefore
pilot-link) cflags/libs before doing our utf-8 check. also,
enable the addressbook/calendar CONDUIT_{CFLAGS/LIBS} variables.
svn path=/trunk/; revision=19637
2003-01-26 Chris Toshok <toshok@ximian.com>
* gui/component/Makefile.am (componentdir): need to assign this
here or else the lib doesn't get built.
svn path=/trunk/; revision=19634
2003-01-26 Chris Toshok <toshok@ximian.com>
* printing/e-contact-print.c (e_contact_start_new_page): begin the
new page after showing the last one.
(complete_sequence): beginpage before we start printing.
(e_contact_print_response): GtkDialog-ify this.
(e_contact_print_dialog_new): "clicked" -> "response".
(e_contact_print_card_dialog_new): same.
(e_contact_print_card_list_dialog_new): same.
svn path=/trunk/; revision=19633
2003-01-26 Chris Toshok <toshok@ximian.com>
* Makefile.am (CONDUIT_SUBDIR): enable this, as building the
conduit works if you have gnome-pilot2.
svn path=/trunk/; revision=19632
2003-01-25 Chris Toshok <toshok@ximian.com>
* conduit/address-conduit.c: GObjectify the stuff in here that
refers to addressbook objects. the gnome-pilot stuff is still
GtkObject for the moment.
svn path=/trunk/; revision=19630
2003-01-25 Hans Petter Jansson <hpj@ximian.com>
Mainly making all views use PangoLayouts for text. When drawing a
PangoLayout, the draw offset is the top left corner of the layout,
not the text's baseline. Keep this in mind when viewing the
changes. I'll be brief about the exact changes, since they speak
better for themselves.
* gui/e-day-view-time-item.c (e_day_view_time_item_get_column_width):
Use Pango.
(e_day_view_time_item_draw): Use Pango.
* gui/e-day-view-top-item.c (e_day_view_top_item_draw): Use Pango.
(e_day_view_top_item_draw_long_event): Add some FIXME text so we can
see when this is being used. Is it in use at all?
* gui/e-day-view.c: No longer specify an explicit X font string for
the large font. Use the main font, and change the point size.
(e_day_view_init): Use Pango.
(e_day_view_style_set): Use Pango. Comment out the gdk_font setting
for the drag text items for now.
* gui/e-day-view.h: Use Pango.
* gui/e-week-view-event-item.c (e_week_view_draw_time): Use Pango.
* gui/e-week-view-main-item.c (e_week_view_main_item_draw_day):
Use Pango.
* gui/e-week-view-titles-item.c (e_week_view_titles_item_draw):
Use Pango.
* gui/e-week-view.c: No longer specify an explicit X font string for
the small font. Use the main font, and change the point size.
(e_week_view_init): Use Pango.
(e_week_view_destroy): Use Pango.
(get_string_width): Implemented for convenience.
(get_digit_width): Implemented for convenience.
(e_week_view_style_set): Use Pango.
(e_week_view_recalc_cell_sizes): Use Pango.
(e_week_view_get_time_string_width): Use Pango.
* gui/e-week-view.h: Use Pango.
Following are some random UTF-8 fixes and a crash fix.
* gui/itip-utils.c (comp_description): Use g_locale_to_utf8 ().
* gui/dialogs/comp-editor.c (make_title_from_comp): Return a
UTF-8 string.
* gui/dialogs/alarm-page.c (alarm_page_set_summary): Pass UTF-8
directly to GTK.
* gui/dialogs/delete-comp.c (delete_component_dialog): Ditto.
* gui/dialogs/meeting-page.c (meeting_page_fill_widgets): Ditto.
(meeting_page_construct): Ditto.
* gui/dialogs/recurrence-page.c (recurrence_page_set_summary): Ditto.
* gui/dialogs/event-editor.c (event_editor_finalize): Fix crash caused
by gtk_object_destroy()-ing a non-GtkObject.
svn path=/trunk/; revision=19628
2003-01-24 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser-ui.c (folder_browser_ui_add_global): Set the
paned_size here.
* folder-browser.c (folder_browser_gui_init): Don't bother
connecting to the hide-deleted, message-display-style, paned-size,
nor show-preview gconf notifications anymore, since we can just
set them when the view becomes active again in
folder-browser-ui.c. Cuts down on extra overhead.
(folder_browser_destroy): No need to disconnect from those
notifications anymore either.
svn path=/trunk/; revision=19626
2003-01-24 Hans Petter Jansson <hpj@ximian.com>
* e-categories-config.c (initialize_categories_config): Enable
getting the categories master list from wombat.
(e_categories_config_open_dialog_for_entry): It's now a GtkDialog.
svn path=/trunk/; revision=19625
2003-01-24 Hans Petter Jansson <hpj@ximian.com>
* gui/e-day-view.c (e_day_view_on_editing_stopped): Don't insist
appointment is updated if both old and new summary are blank.
* gui/e-week-view.c (e_week_view_on_editing_stopped): Ditto.
* gui/e-timezone-entry.c (on_button_clicked): Timezone dialog is now
a GtkDialog. Treat it as such.
* gui/goto.c (ecal_event): Goto dialog is now a GtkDialog. Treat it
as such.
(goto_dialog): Ditto.
* gui/goto-dialog.glade: Set the return IDs from the dialog buttons.
* gui/dialogs/meeting-page.c (popup_delegate_cb): Enable the delegate
dialog. It's now a GtkDialog, so treat it like one.
(right_click_cb): Use GTK stock item, not GNOME (that doesn't work
anymore).
* gui/e-delegate-dialog.glade: Set the return IDs from dialog buttons.
* gui/print.c (print_calendar): Correct the print dialog init. Code
is still not enabled, though.
* gui/tasks-control.c (print_tasks): Add a warning about printing
being disabled.
svn path=/trunk/; revision=19624
* gui/dialogs/Makefile.am (iconsdir): Remove, this is now defined
in configure.in.
* gui/Makefile.am (iconsdir): Remove; this is now defined in
configure.in.
* gui/alarm-notify/Makefile.am (iconsdir): Remove; this is now
defined in configure.in.
svn path=/trunk/; revision=19620
2003-01-23 Hans Petter Jansson <hpj@ximian.com>
* gui/dialogs/comp-editor.c (comp_editor_merge_ui): Add a terminating
NULL to the concatenation.
svn path=/trunk/; revision=19612
2002-12-07 leon.zhang <leon.zhang@sun.com>
* component-factory.c (user_create_new_item_cb): transfer the
current acount info, which will be regarded as the sender of
new composer, to send_to_url().
* mail-callbacks.h (send_to_url): Add a new parameter for parent
folder uri.
* mail-callbacks.c (send_to_url): Create composer base on source
account info from parent folder physical uri.
(post_to_url): create composer based on current account from
parent folder physical uri.
* mail-display.c (on_link_clicked): Apply new format of function:
send_to_url.
Fixes bug #35123#35289
2003-01-24 Not Zed <NotZed@Ximian.com>
* mail-local.c (non_equal): We do actually need to check they are
file url's, otherwise, all url's match.
svn path=/trunk/; revision=19611
2003-01-23 Rodney Dawes <dobey@ximian.com>
* folder-browser.c (fb_resize_cb): Use button_release instead of
size_allocate, and get the position from the Paned widget to prevent
calling CORBA all the time for GConf stuff
svn path=/trunk/; revision=19607
2003-01-23 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (e_msg_composer_load_config): Load the view
menu states from gconf.
(e_msg_composer_set_send_html): Save the setting via gconf instead
of bonobo-config.
(e_msg_composer_set_view_from): Same.
(e_msg_composer_set_view_replyto): Here too.
(e_msg_composer_set_view_cc): Again here.
(e_msg_composer_set_view_bcc): And finally here.
(setup_ui): Fixed a #warning - use gconf instead of bonobo-conf.
(destroy): No need to sync/destroy the bonobo-conf db, we don't
use it anymore.
svn path=/trunk/; revision=19606