2009-02-13 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #564229
* e-util/e-plugin-ui.c (plugin_ui_hook_class_init):
Initialize the EPluginUI registry during class initialization,
so that it's sure to be there when we need it.
* plugins/email-custom-header/email-custom-header.c:
(e_plugin_lib_get_configure_widget):
Do not use uninitialized variable.
svn path=/trunk/; revision=37265
2009-01-10 Matthew Barnes <mbarnes@redhat.com>
* e-util/e-util.c (e_display_help):
Now that we require GTK+ 2.14, use gtk_show_uri() instead of
gnome_help_display().
svn path=/trunk/; revision=37034
2009-01-01 Matthew Barnes <mbarnes@redhat.com>
* e-util/e-config.c (ec_rebuild):
Use the translated the EConfigItem label when building the UI.
svn path=/trunk/; revision=36961
2008-12-10 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #563250
* e-util/e-util.c (e_get_accels_filename):
New function returns the filename where custom keyboard
accelerators are stored. Currently only applies to the
various editor windows in Evolution.
* shell/main.c (main):
Load on startup and save on shutdown, custom keyboard accelerators.
svn path=/trunk/; revision=36864
2008-12-10 Milan Crha <mcrha@redhat.com>
** Fix for bug #563870
* e-util/e-util-labels.h: (e_util_labels_get_filter_options):
* e-util/e-util-labels.c: (e_util_labels_get_filter_options):
New helper function to be used in FilterOption.
* filter/Makefile.am:
* filter/filter-label.h:
* filter/filter-label.c: Drop, not used anywhere.
* filter/filter-element.c:
* filter/rule-context.c: Remove dropped include and code.
* filter/filter-option.c: (get_dynamic_options), (xml_create), (get_widget):
Evaluate dynamic options even on create, to have them available for
saved searches even before the widget itself is shown.
* mail/vfoldertypes.xml:
* mail/filtertypes.xml:
* mail/searchtypes.xml: Use dynamic filter option.
* mail/message-list.c: Drop unused header include.
svn path=/trunk/; revision=36863
2008-12-09 Milan Crha <mcrha@redhat.com>
** Fix for bug #555663
* gconf-bridge.c: (struct WindowBinding), (gconf_bridge_bind_window),
(window_binding_unbind): Do not overwrite signal id.
svn path=/trunk/; revision=36853
2008-12-05 Milan Crha <mcrha@redhat.com>
** Fix for bug #332629
* filter/filter-option.h: (struct _filter_option),
(struct _FilterOption), (filter_option_add):
* filter/filter-option.c: (filter_option_init), (filter_option_finalise),
(filter_option_add), (xml_create), (get_widget), (clone):
Be able to define optionlist with dynamically created list of options.
* filter/filter-label.c: (fill_options): Adapt.
* addressbook/gui/widgets/addresstypes.xml:
* calendar/gui/caltypes.xml:
* calendar/gui/memotypes.xml:
* calendar/gui/tasktypes.xml:
Use dynamically created list of categories in the option's widget.
svn path=/trunk/; revision=36836
2008-11-27 Milan Crha <mcrha@redhat.com>
** Fix for bug #332729
* e-config.c: (ep_finalise): Disconnect handlers on the widget before
freeing the structure it is using.
svn path=/trunk/; revision=36816
2008-11-12 Milan Crha <mcrha@redhat.com>
** Fix for bug #559810
* e-util-labels.c: (e_util_labels_parse):
Do not localize empty label names, also localize them only first time.
svn path=/trunk/; revision=36777
2008-11-03 Ashish Shrivastava <shashish@novell.com>
** Fix for bug #559086
* Most of the calendar errors are now non-intrusive
* calendar.error.xml: Added a new error message for
non-intrusive backend_died.
* apps_evolution_calendar.schemas.in:
* calendar-commands.c: Added new verb for help debug message
(help_debug):
* gnome-cal.c: Support for non-intrusive error.
(client_cal_opened_cb), Define fash table and accessing
errors:
* e-calendar-view.c: (error_response):
(e_calendar_utils_show_error_silent),
(e_calendar_utils_show_info_silent):
* e-calendar-view.h:
* calendar-component.c: Added EActivityHandler and ELogger:
(calendar_component_peek_activity_handler),
(calendar_component_show_logger):
* calendar-component.h:
svn path=/trunk/; revision=36727
2008-10-01 Milan Crha <mcrha@redhat.com>
** Fix for bug #554418
* e-util/e-util.h: (e_util_guess_mime_type):
* e-util/e-util.c: (e_util_guess_mime_type): Guess mime_type based on
the file content only when permitted by the caller, otherwise
check based on the filename only, where it fallbacks if file
content guess fails.
* mail/em-utils.c: (em_utils_snoop_type):
* mail/em-popup.c: (emp_standard_menu_factory):
Guess mime_type based on the filename only.
* composer/e-msg-composer.c: (handle_uri),
(e_msg_composer_add_inline_image_from_file): Guess mime_type based
on the file content, if failed, then on the filename.
* widgets/misc/e-attachment.c: (attachment_guess_mime_type):
Allow guessing mime_type based on the file content.
* calendar/gui/dialogs/comp-editor.c: (set_attachment_list):
* calendar/gui/e-cal-popup.c: (ecalp_standard_menu_factory):
Allow/disallow guessing of the mime_type based on the file content.
svn path=/trunk/; revision=36529
2008-09-26 Milan Crha <mcrha@redhat.com>
** Fix for bug #535248
* e-logger.c: (flush_logfile), (logger_set_component),
(logger_finalize), (e_logger_log), (e_logger_get_logs):
Check if log file has been opened successfully before using it.
svn path=/trunk/; revision=36456
2008-08-14 Matthew Barnes <mbarnes@redhat.com>
* e-util/e-util.c (e_display_help):
New convenience function for launching help from Evolution.
Displays an error dialog over the given parent window if an
error occurs.
* addressbook/gui/contact-editor/e-contact-editor.c:
* calendar/gui/dialogs/comp-editor.c:
* plugins/email-custom-header/gui/contact-editor/e-contact-editor.c:
* plugins/exchange-operations/exchange-send-options.c:
* widgets/misc/e-multi-config-dialog.c:
* widgets/misc/e-send-options.c:
Use e_display_help() for displaying help.
svn path=/trunk/; revision=35991
2008-07-31 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #545568
* e-plugin.c (ep_load):
Make sure system plugins are enabled on startup.
* plugins/addressbook-file/org-gnome-addressbook-file.eplug.xml:
* plugins/caldav/org-gnome-caldav.eplug.xml:
* plugins/calendar-file/org-gnome-calendar-file.eplug.xml:
* plugins/calendar-http/org-gnome-calendar-http.eplug.xml:
* plugins/calendar-weather/org-gnome-calendar-weather.eplug.xml:
* plugins/exchange-operations/org-gnome-exchange-operations.eplug.xml:
* plugins/google-account-setup/org-gnome-evolution-google.eplug.xml:
* plugins/groupwise-account-setup/org-gnome-gw-account-setup.eplug.xml:
* plugins/hula-account-setup/org-gnome-hula-account-setup.eplug.xml:
Add "system_plugin=true" so it's not shown in the Plugin Manager.
These plugins are not designed to be disabled by the user.
svn path=/trunk/; revision=35871
2008-07-01 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #540282
* e-util/e-print.c:
Store printer and page settings in a key file rather than GConf.
Also properly apply page settings to print operations, including
custom margins.
* shell/apps_evolution_shell.schemas.in:
Remove the "printing" GConf key. We use a key file now.
svn path=/trunk/; revision=35711
2008-06-09 Milan Crha <mcrha@redhat.com>
** Fix for bug #509595
* e-logger.c: (e_logger_get_logs): Do not crash if file does not
exists. Also be able to read lines more than 249 characters long.
svn path=/trunk/; revision=35614
2008-06-06 Tor Lillqvist <tml@novell.com>
* e-plugin.c (epl_loadmodule): Tell which plugin it could not load
in the warning message.
svn path=/trunk/; revision=35604
2008-05-22 Matthew Barnes <mbarnes@redhat.com>
* e-util/e-plugin.c:
* e-util/e-plugin.h:
Code cleanup. Also add an "enabled" property to EPlugin.
svn path=/trunk/; revision=35528
2008-05-19 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #530392
* e-util/e-util-labels.c (e_util_labels_add_with_dlg):
Pressing Enter in the entry activates the default response.
svn path=/trunk/; revision=35513
2008-05-14 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #531592
* e-error.c (ee_build_label):
Add an 'escape_args' parameter for strings that should /not/ be
escaped, such as window titles and status bar messages.
* e-error.c (e_error_newv):
Pass an appropriate 'escape_args' value to ee_build_label().
svn path=/trunk/; revision=35500
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-04-23 Milan Crha <mcrha@redhat.com>
** Fix for bug #529254
* e-util/e-util.c: (e_write_file_uri): Save file properly.
Handle either URI or filename. Return success or failure, not gint.
* addressbook/gui/widgets/eab-gui-util.c: (save_it):
Prototype and return value of e_write_file_uri has been changed.
svn path=/trunk/; revision=35409