2008-05-08 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #525241 (EPluginUI)
* e-util/Makefile.am:
Add e-plugin-ui.[ch].
* e-util/e-plugin.h (EPluginClass):
Add a "get_symbol" method for extracting arbitrary symbols
from an EPlugin. Implementation of the method is optional.
* e-util/e-plugin.c (e_plugin_get_symbol):
New function invokes the new "get_symbol" EPlugin method.
* e-util/e-plugin.c (epl_get_symbol):
New function implements the new "get_symbol" EPlugin method.
It extracts the given symbol name from the GModule.
* e-util/e-plugin-ui.[ch]:
New EPluginHook subclass that allows plugins to extend menus,
toolbars, and popups that are managed by GtkUIManager instead
of BonoboUI. Should eventually replace EMenu/EPopup.
* shell/main.c (main): Register the EPluginUIHook type.
* composer/e-msg-composer.c (msg_composer_destroy),
(msg_composer_init): Rip out the EMenu logic.
* composer/e-msg-composer.c (msg_composer_init):
Register the GtkUIManager with EPluginUI.
* plugins/face/Makefile.am:
* plugins/face/org-gnome-face-ui.xml:
Remove org-gnome-face-ui.xml (obsolete).
* plugins/face/face.c (e_plugin_ui_init):
Initialization callback for EPluginUI. Adds a "face" action to
the EMsgComposer instance's "composer" action group.
* plugins/face/org-gnome-face.eplug.xml:
Replace the "bonobomenu" hook definition with a new one for
EPluginUI. Include the UI definition inline.
svn path=/trunk/; revision=35485
2008-05-08 Tor Lillqvist <tml@novell.com>
* main.c (main) [Win32]: If no message catalog is installed for
the current locale language, don't bother with the localisations
provided by other things then either. Reset thread locale to
"en-US" and C library locale to "C" to ensure that.
svn path=/trunk/; revision=35479
2008-04-17 Milan Crha <mcrha@redhat.com>
** Fix for bug #526741 (gnome-vfs to gio/gvfs port)
* configure.in: Drop dependency on gnome-vfs, depend on gio instead.
* addressbook/gui/contact-editor/e-contact-editor.c: Do not include gnome-vfs.
* calendar/gui/e-meeting-store.c: (start_async_read), (freebusy_async),
(async_read): Read data with gio, not with gnome-vfs.
* calendar/gui/e-meeting-store.c: (async_close): Function removed.
* calendar/gui/migration.c:
* calendar/gui/e-memos.c:
* calendar/gui/alarm-notify/notify-main.c:
* calendar/gui/e-tasks.c:
* calendar/gui/main.c:
* calendar/gui/e-meeting-list-view.c:
Do not include gnome-vfs.
* calendar/gui/dialogs/comp-editor.c: (set_attachment_list):
* calendar/gui/dialogs/comp-editor.c: (attachment_guess_mime_type):
Function removed, use e-util function instead.
* calendar/gui/e-cal-popup.c: (temp_save_part):
Reflect changes in CamelStreamVFS.
* calendar/gui/e-cal-popup.c: (ecalp_apps_open_in), (ecalp_apps_popup_free),
(ecalp_standard_menu_factory): Use gio to fill popup and launch app.
* calendar/gui/e-cal-component-preview.h: (e_cal_comp_preview_url_requested_cb):
* calendar/gui/e-cal-component-preview.c: (e_cal_comp_preview_url_requested_cb):
New helper function to manage file:// urls for GtkHTML component.
* calendar/gui/e-cal-component-preview.c: (e_cal_component_preview_init):
* calendar/gui/e-cal-component-memo-preview.c:
(e_cal_comp_preview_url_requested_cb):
Use above helper function.
* calendar/gui/e-cal-component-memo-preview.c: (url_requested_cb):
* calendar/gui/e-cal-component-preview.c: (url_requested_cb): Function removed.
* composer/e-msg-composer.h: (e_msg_composer_guess_mime_type):
* composer/e-msg-composer.c: (e_msg_composer_guess_mime_type), (handle_uri),
(e_msg_composer_add_inline_image_from_file):
Use shared e_util_guess_mime_type instead of its own.
* e-util/e-gui-utils.c: Do not include gnome-vfs.
* e-util/e-util.c: (e_write_file_uri), (e_file_get_save_path):
* e-util/e-dialog-utils.c: (e_file_can_save), (e_file_check_local):
Use gio instead of gnome-vfs.
* e-util/e-util.h:
* e-util/e-util.c: (e_util_guess_mime_type), (e_util_filename_to_uri),
(e_util_uri_to_filename), (e_util_read_file): New helper functions.
* mail/Makefile.am:
* mail/em-vfs-stream.h:
* mail/em-vfs-stream.c: Removed from project, not used anywhere.
* mail/em-menu.c:
* mail/em-config.c: Do not include gnome-vfs.
* mail/mail-ops.c: (save_messages_exec), (save_part_exec):
Changes related to Data Server change of CamelStreamVFS.
* mail/em-format.c: (em_format_describe_part):
* mail/em-format-html-display.c: (efhd_bonobo_object), (efhd_find_handler),
(efhd_use_component), (efhd_bonobo_unknown), (efhd_check_server_prop),
(efhd_format_attachment): Drop use of deprecated gnome-vfs functions.
* mail/em-utils.c: (em_utils_snoop_type): Use gio to guess the mime_type.
* mail/em-popup.c: (emp_apps_open_in), (emp_apps_popup_free),
(emp_standard_menu_factory): Use gio to fill popup and launch app.
* plugins/import-ics-attachments/icsimporter.c: Do not include gnome-vfs.
* plugins/ipod-sync/ical-format.c: (do_save_calendar_ical):
* plugins/ipod-sync/ipod-sync.c: (destination_save_addressbook):
Write to gio GOutputStream instead of gnome-vfs handle.
* plugins/ipod-sync/format-handler.h: (open_for_writing):
* plugins/ipod-sync/ipod-sync.c: (open_for_writing): New helper function.
* plugins/publish-calendar/publish-format-fb.h: (publish_calendar_as_fb):
* plugins/publish-calendar/publish-format-fb.c: (write_calendar), (publish_calendar_as_fb):
* plugins/publish-calendar/publish-format-ical.h: (publish_calendar_as_ical):
* plugins/publish-calendar/publish-format-ical.c: (write_calendar), (publish_calendar_as_ical):
Use gio GOutputStream instead of gnome-vfs handle.
* plugins/publish-calendar/url-editor-dialog.c: (create_uri): Use glib function to escape URI.
* plugins/publish-calendar/publish-location.c: (migrateURI): Use EUri to parse URI.
* plugins/publish-calendar/publish-calendar.c: (publish_online), (unmount_done_cb),
(struct mnt_struct), (mount_ready_cb), (ask_password), (ask_question),
(mount_first), (publish):
Use gio instead of gnome-vfs for opening (remote) files.
* plugins/save-calendar/ical-format.c: (do_save_calendar_ical):
* plugins/save-calendar/csv-format.c: (do_save_calendar_csv):
* plugins/save-calendar/rdf-format.c: (do_save_calendar_rdf):
Use gio GOutpuStream instead of gnome-vfs handle.
* plugins/save-calendar/format-handler.h: (open_for_writing):
* plugins/save-calendar/save-calendar.c: (open_for_writing): New helper function.
* shell/e-shell-window-commands.c: (command_quick_reference):
Use gio instead of gnome-vfs.
* widgets/misc/e-attachment.h: (struct _EAttachment):
* widgets/misc/e-attachment.c: (finalise), (init), (attachment_guess_mime_type),
(e_attachment_new), (struct DownloadInfo), (download_info_free),
(data_ready_cb), (download_to_local_path),
(e_attachment_new_remote_file):
Use gio instead of gnome-vfs to download remote files.
* widgets/misc/e-image-chooser.c: (image_drag_data_received_cb):
Use new util function to read file.
* widgets/misc/e-attachment-bar.c: (size_to_string): Stolen from gnome-vfs.
svn path=/trunk/; revision=35378
2008-04-07 Ondrej Jirman <megous@megous.com>
** Fix for bug #525238
* e-shell-window.c: (switch_view):
* es-event.c:
* es-event.h:
Add new "component.activated" event. Event is emitted whenever
component is activated. ESEventTargetComponent contains an id
of the component being activated.
svn path=/trunk/; revision=35332
M shell/apps_evolution_shell.schemas.in
M shell/ChangeLog
A mail/em-network-prefs.c
M mail/GNOME_Evolution_Mail.server.in.in
A mail/em-network-prefs.h
M mail/ChangeLog
M mail/mail-config.glade
M mail/Makefile.am
M mail/mail-component-factory.c
M mail/mail-config-factory.c
svn path=/trunk/; revision=35240
2008-03-03 Tor Lillqvist <tml@novell.com>
* main.c (main) [Win32]: Drop the call to gtk_rc_parse_string() to
set gtk-fallback-icon-theme = "gnome". Instead just bundle a
suitable gtkrc with Evolution. And actually what we want seems to
get Tango icons seems to be gtk-fallback-icon-theme = "Tango", and
no mention of the gnome icon theme at all in gtkrc. (It is still
used, though.)
svn path=/trunk/; revision=35126
2008-03-03 Tor Lillqvist <tml@novell.com>
* main.c: On Windows, set PATH to include Evolution's "bin" folder
and the "lib/evolution/$(BASE_VERSION)/components" folder. Set
BONOBO_ACTIVATION_PATH to the "lib/bonobo/servers" folder
svn path=/trunk/; revision=35121
2008-03-02 Srinivasa Ragavan <sragavan@novell.com>
* main.c: (main): Committing the build fix that comes up if
DEVELOPMENT is enabled.
svn path=/trunk/; revision=35104
2008-01-21 Matthew Barnes <mbarnes@redhat.com>
* e-shell-window.c (setup_status_bar):
Make the status bar height as large as the task bar to eliminate
"bouncing" when navigating the main menu. Patch by Jean-Christophe
Begue (#509509).
svn path=/trunk/; revision=34860
2008-01-19 Srinivasa Ragavan <sragavan@novell.com>
* e-shell.c: (set_line_status): Fix a regression due to my previous
commit.
svn path=/trunk/; revision=34851
2008-01-11 Changwoo Ryu <cwryu@debian.org>
** Fix for bug #508282
* e-shell-window.c (switch_view):
* e-shell-view.c (impl_ShellView_setTitle): Mark the window title
for translation.
From po/ChangeLog
2008-01-11 Changwoo Ryu <cwryu@debian.org>
** Part of fix for bug #508282
* POTFILES.in: Add new file shell/e-shell-view.c
svn path=/trunk/; revision=34792
2008-01-07 Matthew Barnes <mbarnes@redhat.com>
* shell/e-shell-window-commands.c:
Update copyright notice in About dialog.
svn path=/trunk/; revision=34777
2008-01-03 Milan Crha <mcrha@redhat.com>
** Fix for bug #219197
* e-shell.h:
* e-shell.c: (e_shell_can_quit), (e_shell_do_quit), (e_shell_quit):
Call of e_shell_quit divided into two functions, one to check if quit
is acceptable by all components and second to do quit.
* main.c: (gnome_master_client_save_yourself_cb),
(gnome_master_client_die_cb), (main):
Quit application when session dies.
svn path=/trunk/; revision=34754
2007-12-10 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #502501
* main.c: (show_recovery_warning): Re use the existing string.
svn path=/trunk/; revision=34683
2007-12-05 Srinivasa Ragavan <sragavan@novell.com>
** Add basic support for crash recovery
* apps_evolution_shell.schemas.in: Keys to recover and recovery dialog.
* e-shell.c: (e_shell_quit): Delete the lock while quitting.
* main.c: (show_recovery_warning), (idle_cb): Create lock and also show
the warning dialog.
svn path=/trunk/; revision=34652
2007-11-30 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #499920
* shell/es-event.h:
Avoid including private header "e-shell.h".
Use a forward declaration of EShell instead.
* shell/es-event.c:
Safe to include "e-shell.h" here.
svn path=/trunk/; revision=34618
2007-11-30 Milan Crha <mcrha@redhat.com>
** Fix for bug #400213
* e-shell-window.c: (load_icons): Function removed.
* e-shell-window.c: (update_offline_toggle_status):
Do not use pixmaps and masks, load images from file, instead.
svn path=/trunk/; revision=34615
2007-11-02 Damien Carbery <damien.carbery@sun.com>
** Fixes bug #492058
* shell/e-shell-window.c:
* shell/e-shell.c:
* widgets/table/e-table-header-item.h:
* widgets/table/e-table-header-item.c:
* calendar/gui/e-itip-control.c:
Name the anonymous unions to build with the Sun Studio compiler.
svn path=/trunk/; revision=34485
2007-11-01 Matthew Barnes <mbarnes@redhat.com>
* e-shell-window-commands.c:
Update the copyright notice in the About dialog.
svn path=/trunk/; revision=34481
2007-10-03 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #481325
* configure.in: Require GTK+ 2.12
* shell/e-shell-window-commands.c (command_about):
Fix capitalization of program name in About dialog.
svn path=/trunk/; revision=34348