aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
Commit message (Collapse)AuthorAgeFilesLines
* New convenience function calls gtk_show_uri() and displays an error dialogMatthew Barnes2009-01-114-8/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-01-11 Matthew Barnes <mbarnes@redhat.com> * e-util/e-util.c (e_show_uri): New convenience function calls gtk_show_uri() and displays an error dialog if the URI cannot be shown. * addressbook/gui/widgets/eab-contact-display.c (eab_uri_popup_link_open), (on_link_clicked): * calendar/gui/e-cal-component-preview (on_link_clicked): * calendar/gui/e-cal-component-memo-preview (on_link_clicked): * calendar/gui/e-memo-table.c (open_url_cb): * calendar/gui/dialogs/comp-editor.c (open_attachment): * composer/e-msg-composer.c (msg_composer_link_clicked): * mail/em-folder-view.c (emfv_format_link_clicked): * mail/em-popup.c (emp_uri_popup_link_open): * plugins/mailing-list-actions/mailing-list-actions.c (emla_list_action_do): * shell/e-shell-window-commands.c (command_open_faq): * widgets/misc/e-attachment-bar.c (eab_icon_clicked_cb): * widgets/misc/e-url-entry.c (button_clicked_cb): Call e_show_uri() instead of gnome_url_show(). * e-util/e-error.c (ee_response): Call e_display_help() instead of gnome_url_show(). * mail/em-config.c: * mail/em-menu.c: Remove unneeded #include <libgnome/gnome-url.h> svn path=/trunk/; revision=37037
* Remove unneeded #include <libgnome/gnome-util.h>.Matthew Barnes2009-01-112-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-01-10 Matthew Barnes <mbarnes@redhat.com> * addressbook/gui/contact-editor/e-contact-editor-address.c: * addressbook/gui/contact-editor/e-contact-editor-fullname.c: * addressbook/gui/contact-editor/e-contact-editor-im.c: * addressbook/gui/widgets/e-addressbook-view.c: * addressbook/printing/e-contact-print.c: * calendar/gui/calendar-commands.c: * calendar/gui/e-cal-list-view.c: * calendar/gui/e-day-view.c: * calendar/gui/e-itip-control.c: * calendar/gui/e-meeting-list-view.c: * calendar/gui/e-meeting-store.c: * calendar/gui/e-week-view.c: * calendar/gui/gnome-cal.c: * calendar/gui/memos-control.c: * calendar/gui/tasks-control.c: * e-util/e-dialog-utils.c: * mail/em-folder-view.c: * mail/importers/mail-importer.c: * shell/e-shell.c: * shell/evolution-shell-component-utils.c: * shell/importer/intelligent.c: * shell/main.c: * widgets/menus/gal-view-collection.c: * widgets/menus/gal-view-instance.c: Remove unneeded #include <libgnome/gnome-util.h>. svn path=/trunk/; revision=37036
* Now that we require GTK+ 2.14, use gtk_show_uri() instead ofMatthew Barnes2009-01-112-3/+23
| | | | | | | | | | | 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
* Use the translated the EConfigItem label when building the UI.Matthew Barnes2009-01-022-5/+15
| | | | | | | | | | 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
* ** Fixes bug #564860Matthew Barnes2008-12-232-0/+11
| | | | | | | | | | | | 2008-12-22 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #564860 * e-util/e-util-label.c (e_util_labels_parse): Don't crash on malformed label strings. svn path=/trunk/; revision=36929
* ** Fixes bug #563250Matthew Barnes2008-12-103-1/+32
| | | | | | | | | | | | | | | | | 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
* ** Fix for bug #563870Milan Crha2008-12-103-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* ** Fix for bug #555663Milan Crha2008-12-092-1/+11
| | | | | | | | | | | | 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
* ** Fix for bug #332629Milan Crha2008-12-063-0/+32
| | | | | | | | | | | | | | | | | | | | | | | 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
* ** Fix for bug #332729Milan Crha2008-11-272-0/+11
| | | | | | | | | | | | 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
* ** Fix for bug #559810Milan Crha2008-11-132-1/+8
| | | | | | | | | | | | 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
* Fix compiler warnings.Matthew Barnes2008-11-043-33/+34
| | | | | | | | | | | | | | 2008-11-04 Matthew Barnes <mbarnes@redhat.com> * calendar/gui/calendar-commands.c: * calendar/gui/calendar-component.h: * calendar/gui/gnome-cal.c: * e-util/e-non-intrusive-error-dialog.c: * e-util/e-non-intrusive-error-dialog.h: Fix compiler warnings. svn path=/trunk/; revision=36738
* Missed commiting these files in the previous commit.Akhil Laddha2008-11-043-7/+391
| | | | | | | | | | | | | | | 2008-11-04 Akhil Laddha <lakhil@novell.com> * e-non-intrusive-error-dialog.c (eni_query_tooltip_cb), (eni_render_pixbuf), (eni_render_date), (eni_append_logs), (eni_config_get_error_level), (eni_config_get_error_timeout), (eni_error_timeout_changed), (eni_error_level_value_changed), (eni_show_logger): * e-non-intrusive-error-dialog.h: Missed commiting these files in the previous commit. svn path=/trunk/; revision=36735
* ** Fix for bug #559086Ashish Shrivastava2008-11-032-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Remove this unused internal function.Matthew Barnes2008-11-022-88/+5
| | | | | | | | | | 2008-11-02 Matthew Barnes <mbarnes@redhat.com> * e-util.c (do_format_number_as_float): Remove this unused internal function. svn path=/trunk/; revision=36713
* Only include the toplevel GTK+ header.Matthew Barnes2008-10-312-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | 2008-10-30 Matthew Barnes <mbarnes@redhat.com> * addressbook/gui/contact-editor/test-editor.c: * addressbook/gui/widgets/e-minicard-label.c: * addressbook/gui/widgets/e-minicard-view-widget.c: * addressbook/gui/widgets/test-reflow.c: * calendar/gui/control-factory.c: * calendar/gui/e-calendar-table.c: * calendar/gui/e-week-view-event-item.c: * calendar/gui/weekday-picker.c: * e-util/e-icon-factory.c: * shell/importer/evolution-importer-client.h: * shell/importer/intelligent.c: * shell/test/evolution-test-component.c: * widgets/menus/gal-view-menus.c: * widgets/misc/e-activity-handler.c: * widgets/table/e-table-config-field.h: Only include the toplevel GTK+ header. svn path=/trunk/; revision=36699
* License ChangesSankarasivasubramanian Pasupathilingam2008-10-293-20/+23
| | | | svn path=/trunk/; revision=36693
* Remove obsolete functions.Sankarasivasubramanian Pasupathilingam2008-10-063-40/+6
| | | | svn path=/trunk/; revision=36567
* ** Fix for bug #554418Milan Crha2008-10-013-19/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* License changes from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-09-294-48/+53
| | | | svn path=/trunk/; revision=36465
* ** Fix for bug #535248Milan Crha2008-09-262-4/+21
| | | | | | | | | | | | | 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
* Change License from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-09-242-14/+20
| | | | svn path=/trunk/; revision=36443
* License changes from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-09-164-39/+48
| | | | svn path=/trunk/; revision=36344
* License Changes from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-09-133-30/+35
| | | | svn path=/trunk/; revision=36313
* License changes. Changed license from GPL to LGPL.Sankarasivasubramanian Pasupathilingam2008-09-043-18/+39
| | | | | | More to come. svn path=/trunk/; revision=36255
* Change License from GPL to LGPL. 2nd batch.Sankarasivasubramanian Pasupathilingam2008-09-0335-413/+545
| | | | | | More changes to come. svn path=/trunk/; revision=36247
* License ChangesSankarasivasubramanian Pasupathilingam2008-08-2731-420/+492
| | | | svn path=/trunk/; revision=36116
* Added a debug macro and turned it off.Bharath Acharya2008-08-182-4/+10
| | | | | | | | | | 2008-08-18 Bharath Acharya <abharath@novell.com> * e-icon-factory.c: (e_icon_factory_get_icon_filename), (e_icon_factory_get_icon): Added a debug macro and turned it off. svn path=/trunk/; revision=36013
* Make evolution respect GTK_ICON_SIZE changes, part of bug #416258.Gilles Dartiguelongue2008-08-162-30/+49
| | | | | | | | | | | 2008-08-16 Gilles Dartiguelongue <gdartigu@svn.gnome.org> * e-icon-factory.c: (e_icon_size_to_gtk_icon_size), (e_icon_factory_get_icon_filename), (e_icon_factory_get_icon): Make evolution respect GTK_ICON_SIZE changes, part of bug #416258. svn path=/trunk/; revision=36000
* New convenience function for launching help from Evolution. Displays anMatthew Barnes2008-08-153-4/+49
| | | | | | | | | | | | | | | | | | | | 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
* Remove this unused function.Matthew Barnes2008-08-134-45/+24
| | | | | | | | | | | | 2008-08-13 Matthew Barnes <mbarnes@redhat.com> * e-util/e-gui-utils.c (e_create_image_widget): Remove this unused function. * e-util/e-util.h: Cosmetic cleanups. svn path=/trunk/; revision=35980
* ** Fixes bug #546892Matthew Barnes2008-08-128-76/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-11 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #546892 * e-util/e-icon-factory.c (e_icon_factory_get_image): Kill this function. Use gtk_image_new_from_icon_name(). * e-util/e-icon-factory.c (e_icon_factory_get_icon_list): Kill this function. Use gtk_window_set_icon_name(). * widgets/misc/e-activity-handler.c: * widgets/misc/e-task-widget.c: Purge the GdkPixbuf arguments from the API. We've been ignoring them since the spinner icon was added. * addressbook/gui/contact-editor/e-contact-editor-fullname.c: * addressbook/gui/contact-editor/e-contact-editor-im.c: * addressbook/gui/contact-editor/e-contact-editor-address.c: * calendar/gui/alarm-notify/alarm-notify-dialog.c: * calendar/gui/dialogs/alarm-dialog.c: * calendar/gui/dialogs/alarm-list-dialog.c: * calendar/gui/dialogs/cal-attachment-select-file.c: * calendar/gui/dialogs/changed-comp.c: * calendar/gui/dialogs/delete-error.c: * calendar/gui/dialogs/select-source-dialog.c: * mail/mail-send-recv.c: * mail/message-tag-followup.c: * widgets/misc/e-combo-button.c: * widgets/misc/e-info-label.c: * widgets/misc/e-url-entry.c: * widgets/misc/e-task-widget.c: Prefer gtk_window_set_icon_name() over gtk_window_set_icon_list(). * addressbook/gui/contact-editor/e-contact-editor-im.c: * calendar/gui/dialogs/event-page.c: * calendar/gui/e-timezone-entry.c: * e-util/e-gui-utils.c: * e-util/e-popup.c: * plugins/import-ics-attachments/icsimporter.c: * plugins/itip-formatter/itip-view.c: * mail/em-folder-browser.c: * mail/em-format-html-display.c: * mail/mail-send-recv.c: * mail/message-tag-followup.c: Prefer gtk_image_new_from_icon_name() over e_icon_factory_get_image(). * calendar/gui/alarm-notify/alarm-queue.c: * plugins/mail-notification/mail-notification.c: Prefer gtk_status_icon_set_from_icon_name() over gtk_status_icon_set_from_pixbuf(). * addressbook/gui/component/addressbook-view.c: * calendar/gui/e-calendar-table.c: * calendar/gui/e-calendar-view.c: * calendar/gui/e-memo-table.c: * mail/mail-mt.c: e_activity_handler_operation_started() no longer takes a GdkPixbuf. It was ignoring the pixbuf anyway ever since we added a spinner icon. svn path=/trunk/; revision=35958
* ** Fixes bug #545568Matthew Barnes2008-07-312-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | 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
* ** Fixes bug #540282Matthew Barnes2008-07-012-69/+121
| | | | | | | | | | | | | | | | | 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
* ** Fix for bug #540972Milan Crha2008-07-012-0/+7
| | | | | | | | | | | 2008-07-01 Milan Crha <mcrha@redhat.com> ** Fix for bug #540972 * e-plugin.c: (ep_load): Small memory leak fix. svn path=/trunk/; revision=35709
* updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-2172-74/+74
| | | | svn path=/trunk/; revision=35665
* ** Fix for bug #509595Milan Crha2008-06-092-10/+41
| | | | | | | | | | | | 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
* Code cleanup.Matthew Barnes2008-06-093-77/+192
| | | | | | | | | 2008-06-08 Matthew Barnes <mbarnes@redhat.com> * e-util/e-logger.[ch]: Code cleanup. svn path=/trunk/; revision=35612
* ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES andMatthew Barnes2008-06-0623-115/+19
| | | | | | | | | | 2008-06-06 Matthew Barnes <mbarnes@redhat.com> ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES defined. (#536637) svn path=/trunk/; revision=35606
* Tell which plugin it could not load in the warning message.Tor Lillqvist2008-06-062-1/+6
| | | | | | | | | | 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
* ** Fixes bug #535273Frederic Crozat2008-05-302-1/+9
| | | | | | | | | | | | 2008-05-29 Frederic Crozat <fcrozat@mandriva.com> ** Fixes bug #535273 * Makefile.am: Link e-util and econduit libraries with gnome-pilot. svn path=/trunk/; revision=35558
* Code cleanup. Also add an "enabled" property to EPlugin.Matthew Barnes2008-05-233-168/+366
| | | | | | | | | | | 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
* Move some EPlugin macros from e-plugin-ui.c to e-plugin.h where they belong.Matthew Barnes2008-05-202-20/+19
| | | | svn path=/trunk/; revision=35520
* ** Fixes bug #530392Matthew Barnes2008-05-202-0/+9
| | | | | | | | | | | | 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
* ** Fixes bug #514383Matthew Barnes2008-05-172-2/+8
| | | | | | | | | | | | | | | 2008-05-16 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #514383 * plugins/mark-all-read/mark-all-read.c: Add a Cancel button. * mail/mail.error.xml: Remove the "ask-mark-read" error. * e-error.c (e_error_newv): Widget packing adjustments. svn path=/trunk/; revision=35504
* ** Fixes bug #531592Matthew Barnes2008-05-142-9/+24
| | | | | | | | | | | | | | | | 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
* ** Fixes bug #525241 (EPluginUI)Matthew Barnes2008-05-096-0/+580
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* ** Fix for bug #529254Milan Crha2008-04-233-23/+29
| | | | | | | | | | | | | | | 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
* Move these files to e-util.Matthew Barnes2008-04-224-0/+1373
| | | | | | | | | | | | | | | | | | | 2008-04-22 Matthew Barnes <mbarnes@redhat.com> * composer/gconf-bridge.c: * composer/gconf-bridge.h: Move these files to e-util. * composer/Makefile.am: * composer/e-composer-private.h: * mail/em-composer-prefs.c: Adapt. * e-util/Makefile.am: Add gconf-bridge.[ch] from composer. svn path=/trunk/; revision=35399
* ** Fixes bug #528817Matthew Barnes2008-04-192-1/+9
| | | | | | | | | | | | | 2008-04-18 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #528817 * e-util/e-plugin.c (e_plugin_register_type): Fix a typo in the logic. This might explain why I occasionally find Exchange Operations disabled on startup. svn path=/trunk/; revision=35383
* ** Fix for bug #526741 (gnome-vfs to gio/gvfs port)Milan Crha2008-04-185-18/+240
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Clarify an error message. (#509672)Matthew Barnes2008-04-132-1/+6
| | | | | | | | | | 2008-04-12 Matthew Barnes <mbarnes@redhat.com> * e-util/e-util-labels.c (e_util_labels_add_with_dlg): Clarify an error message. (#509672) svn path=/trunk/; revision=35360
* reviewed by: Milan CrhaTakao Fujiwara2008-04-072-5/+14
| | | | | | | | | | | | | | | 2008-04-07 Takao Fujiwara <takao.fujiwara@sun.com> reviewed by: Milan Crha ** Fix for bug #408579 * mail/mail.error.xml: * e-util/e-system.error.xml: Changed '&quot;' to '\"' to work with intltool. svn path=/trunk/; revision=35329
* Changed a stupid conditional statement, in the previous commit.Sankar P2008-03-202-1/+7
| | | | | | | | | | 2008-03-20 Sankar P <psankar@novell.com> * e-plugin.c: (ep_load): Changed a stupid conditional statement, in the previous commit. svn path=/trunk/; revision=35225
* ** Fix for bug #496839Sankar P2008-03-193-22/+80
| | | | | | | | | | | | | | | | | | | 2008-03-19 Sankar P <psankar@novell.com> ** Fix for bug #496839 * e-plugin.c: (ep_load), (e_plugin_load_plugins), (e_plugin_get_configure_widget): * e-plugin.h: - Implement Plugin Load Levels. You can decide on which load-level you want your plugin to be loaded. - Load Levels are mandatory if you need other language loaders like Mono-Loader or Python-Loader. - Introduce FLAGS as part of EPlugin. Futuristic. svn path=/trunk/; revision=35216
* Patch from Alex Rostovtsev <tetromino@gmail.com>: Fix for bug #522631 (Make ↵Suman Manjunath2008-03-172-1/+8
| | | | | | 'e_profile_event_emit' non-static when ENABLE_PROFILING is defined) svn path=/trunk/; revision=35208
* ** Fixes breakage caused by bug #513951Matthew Barnes2008-03-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-03-12 Matthew Barnes <mbarnes@redhat.com> ** Fixes breakage caused by bug #513951 * mail-autofilter.c (filter_gui_add_from_message), (mail_filter_rename_uri), (mail_filter_delete_uri): * mail-tools.c (mail_tool_get_local_movemail_path): * mail-vfolder.c (mail_vfolder_delete_uri), (mail_vfolder_rename_uri), (store_folder_deleted), (store_folder_renamed), (vfolder_load_storage), (vfolder_revert), (em_vfolder_editor_response), (edit_rule_response), (new_rule_clicked): * em-folder-browser.c (emfb_search_search_activated): * em-folder-tree.c (em_folder_tree_new): * mail-ops.c (uid_cachename_hack), (empty_trash_exec): * em-folder-view.c (emfv_setup_view_instance): * em-utils.c (em_filter_editor_response), (em_utils_edit_filters): * importers/mail-importer.c (import_folders_rec): * mail-folder-cache.c (rename_folders): * em-format-html.c (em_format_html_get_type): * mail-session.c (main_get_filter_driver): * mail-config.c (gconf_mime_types_changed), (uri_to_evname), (mail_config_folder_to_cachename), (get_new_signature_filename): Adapt to new meaning of mail_component_peek_base_directory(). * mail-component.c (mail_component_init): Add back initialization of priv->base_directory. Accidentally removed it somehow in last commit. svn path=/trunk/; revision=35179
* ** Fixes bug #513951Matthew Barnes2008-03-114-4/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-03-11 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #513951 * addressbook/gui/component/addressbook-component.c (ensure_sources): * addressbook/gui/component/addressbook-migrate.c (addressbook_migrate): * calendar/gui/cal-search-bar.c (cal_search_bar_construct): * calendar/gui/migration.c (create_calendar_sources), (create_task_sources), (migrate_calendars), (migrate_tasks), (create_memo_sources): * calendar/gui/e-memos.c (e_memos_setup_view_menus): * calendar/gui/tasks-component.c (ensure_sources): * calendar/gui/gnome-cal.c (gnome_calendar_setup_view_menus): * calendar/gui/calendar-component.c (ensure_sources): * calendar/gui/memos-component.c (ensure_sources): * mail/mail-config.c (gconf_mime_types_changed): Adapt to new meaning of xxx_component_peek_base_directory(). * addressbook/gui/component/addressbook-component.c (addressbook_component_init): * addressbook/gui/component/addressbook-migrate.c (create_groups): * calendar/gui/tasks-component.c (tasks_component_init): * calendar/gui/calendar-component.c (calendar_component_init): * calendar/gui/memos-component.c (memos_component_init): * composer/e-msg-composer.c (autosave_manager_query_load_orphans), (autosave_init_file): * e-util/e-mktemp.c (get_dir): * e-util/e-util.c (get_lock_filename): * mail/mail-component.c: * plugins/face/face.c (org_gnome_composer_face): * smime/lib/e-cert-db.c (initialize_nss): Use e_get_user_data_dir() instead of constructing the full path. * calendar/gui/migration.c (add_gw_esource): * composer/e-msg-composer.c (e_msg-composer_unrealize), (e_msg_composer_set_view_from), (e_msg_composer_set_view_replyto), (e_msg_composer_set_view_to), (e_msg_composer_set_view_postto), (e_msg_composer_set_view_cc), (e_msg_composer_set_view_bcc): * e-util/e-util.c (e_file_update_save_path), (e_file_get_save_path): Emit warnings if saving to GConf fails. * e-util/e-util.c (e_get_user_data_dir): New function returns the base directory for Evolution user data. This should be the /only/ place in the application where this directory is hard-coded. svn path=/trunk/; revision=35175
* ** Fix for bug #209353Milan Crha2008-02-202-3/+11
| | | | | | | | | | | | | | | | 2008-02-19 Milan Crha <mcrha@redhat.com> ** Fix for bug #209353 * e-util/e-text-event-processor-emacs-like.c: (e_text_event_processor_emacs_like_event): Allow paste text on mouse middle button click. * widgets/table/e-table-item.c: (eti_event): Pass Home/End keys to cell when editing. svn path=/trunk/; revision=35055
* ** Part of fix for bug #515744Milan Crha2008-02-182-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-02-18 Milan Crha <mcrha@redhat.com> ** Part of fix for bug #515744 * addressbook/gui/component/addressbook-migrate.c: (get_source_name): * plugins/groupwise-features/send-options.c: (get_source): * plugins/groupwise-features/share-folder-common.c: (get_container_id): * plugins/groupwise-features/install-shared.c: (install_folder_response): * plugins/external-editor/external-editor.c: (convert_to_camel_internet_address), (org_gnome_external_editor): * plugins/itip-formatter/itip-formatter.c: (idle_open_cb): * mail/em-folder-view.c: (emfv_setup_view_instance): * mail/mail-component.c: (impl_finalize): * mail/message-list.c: (ml_tree_value_at): * composer/e-msg-composer.c: (drop_action): * e-util/e-config.c: (ep_finalise): Use proper member to free. * widgets/misc/e-cursors.c: (e_cursors_init): * widgets/misc/e-calendar-item.c: (e_calendar_item_draw_month): * calendar/gui/dialogs/comp-editor.c: (drop_action): * calendar/gui/calendar-config.c: (calendar_config_get_hide_completed_tasks_sexp): * calendar/gui/comp-editor-factory.c: (edit_existing): * calendar/gui/e-day-view.c: (e_day_view_reshape_long_event), (e_day_view_on_top_canvas_drag_data_received): * calendar/gui/e-day-view-main-item.c: (e_day_view_main_item_draw_events_in_vbars), (e_day_view_main_item_draw_long_events_in_vbars): * calendar/gui/e-day-view-top-item.c: (e_day_view_top_item_draw_long_event): * calendar/gui/e-cal-model.c: (redo_queries): * calendar/gui/e-calendar-table.c: (e_calendar_table_open_task): * calendar/gui/e-memo-table.c: (open_memo): * calendar/gui/print.c: (print_todo_details): * calendar/gui/migration.c: (get_source_name): Memory leak fix. * calendar/gui/e-week-view.c: (e_week_view_reshape_events): Simplifies things. svn path=/trunk/; revision=35044
* ** Fixes part of bug #509741Matthew Barnes2008-02-083-1/+47
| | | | | | | | | | | | | | | | | | | | | | 2008-02-08 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #509741 * mail/mail-session.c (user_message_exec): Use the number of dialog buttons as a heuristic for whether to display a message in the status bar or immediately present the dialog to the user. * e-util/e-error.c (e_error_newv): If the error dialog has no primary text, fallback to the window title for the "primary" data key. This is what gets displayed in the status bar. * e-util/e-error.c (e_error_count_buttons): New function counts buttons in a dialog's action area. svn path=/trunk/; revision=34977
* Construct pathname under EVOLUTION_DATADIR at run-time becauseTor Lillqvist2008-01-252-4/+15
| | | | | | | | | | | 2008-01-24 Tor Lillqvist <tml@novell.com> * e-icon-factory.c (e_icon_factory_init): Construct pathname under EVOLUTION_DATADIR at run-time because EVOLUTION_DATADIR is a function call on Windows. svn path=/trunk/; revision=34885
* ** Fix for bug #488213Milan Crha2008-01-123-1/+44
| | | | | | | | | | | | | | | | | | | | | | | 2008-01-11 Milan Crha <mcrha@redhat.com> ** Fix for bug #488213 * e-util/e-icon-factory.h: (e_icon_factory_pixbuf_scale): * e-util/e-icon-factory.c: (e_icon_factory_pixbuf_scale): New global function for pixbuf scaling which speeds up scaling when HAVE_LIBGNOMEUI_GNOME_THUMBNAIL_H. * addressbook/gui/contact-editor/e-contact-editor.c: (extract_simple_field): * mail/em-icon-stream.c: (emis_fit): * mail/em-format-html-display.c: (efhd_attachment_button): * e-util/e-icon-factory.c: (load_icon): * widgets/misc/e-spinner.c: (scale_to_size): * widgets/misc/e-image-chooser.c: (set_image_from_data): * widgets/misc/e-attachment-bar.c: (e_attachment_bar_create_attachment_cache), (update): Use global function e_icon_factory_pixbuf_scale for scaling pixbufs. svn path=/trunk/; revision=34800
* ** Fix for bug #211353Milan Crha2008-01-104-0/+618
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-10 Milan Crha <mcrha@redhat.com> ** Fix for bug #211353 * po/POTFILES.in: Added new file e-util/e-util-labels.c * mail/filtertypes.xml: * mail/vfoldertypes.xml: * mail/em-folder-view.c: * mail/em-folder-browser.c: * mail/em-mailer-prefs.h: * mail/em-mailer-prefs.c: * mail/mail-config.h: * mail/mail-config.c: * mail/mail-config.glade: * mail/message-list.c: Label tags are now generated based on label name when creating, except of first 5 labels. New menu option "New Label" in popup menu over message list and editing of labels has been changed in Preferences. Also renaming tab in Preferences for "Labels", not "Colors", and the tab label too. mail-config-label... functions was moved to e-util/e-util-labels.c/.h. * mail/message-list.etspec: Normalized columns has been moved by one when label column has been added. * filter/filter-option.h: * filter/filter-option.c: (filter_option_get_current), (filter_option_remove_all): New functions to be able to refill options even after initialization of the filter element. * filter/filter-label.c: Added support to notify changes on labels in runtime and use actual labels. * e-util/Makefile.am: * e-util/e-util-labels.h: * e-util/e-util-labels.c: New files to work with labels. svn path=/trunk/; revision=34788
* ** Fix for bug #507363Milan Crha2008-01-072-1/+8
| | | | | | | | | | | | 2008-01-07 Milan Crha <mcrha@redhat.com> ** Fix for bug #507363 * e-cursor.c: (e_cursor_set): Also check if toplevel widget has non-NULL window property. svn path=/trunk/; revision=34776
* ** Fix for bug #211353Milan Crha2007-12-173-3/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-12-14 Milan Crha <mcrha@redhat.com> ** Fix for bug #211353 * message-list.etspec: * message-list.h: * message-list.c: Added new column to show labels. * filtertypes.xml: * vfoldertypes.xml: Code for label filters/search folders has been changed. * mail-config.glade: * em-folder-view.c: (emfv_set_label), (emfv_unset_label), (emfv_popup_label_clear), (emfv_popup_label_set), (emfv_popup_labels_get_state_for_tag), (emfv_popup): Labels popup submenu is now shown with checkboxes so one can set more than one label to the message and unset only one label from message. There has been added new function, because of this. * mail-config.h: * mail-config.c: New "interface" functions to work with labels. * em-mailer-prefs.h: * em-mailer-prefs.c: Editing labels in tree. * em-folder-browser.c: Labels in show menu reflect changes in preferences. 2007-12-14 Milan Crha <mcrha@redhat.com> ** Part of fix for bug #211353 * filter-label.c: Use global label's setup, not its own copy. 2007-12-14 Milan Crha <mcrha@redhat.com> ** Part of fix for bug #211353 * e-popup.h: * e-popup.c: (ep_build_tree): Toggles can be in inconsistent state now, and can also contain an image, which is a pointer to GtkImage widget. 2007-12-14 Milan Crha <mcrha@redhat.com> ** Part of fix for bug #211353 * e-search-bar.c: (e_search_bar_get_viewitem_id): Return -1 if no viewmenu is setup yet. svn path=/trunk/; revision=34715
* ** Non-intrusive errror reporting and basic logging support.Srinivasa Ragavan2007-12-175-6/+262
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-12-17 Srinivasa Ragavan <sragavan@novell.com> ** Non-intrusive errror reporting and basic logging support. * em-folder-browser.c: (emfb_help_debug): Invoke the debug menu. * evolution-mail.schemas.in: Schema for error timeout and level. * mail-component.c: (mail_component_init), (render_pixbuf), (render_level), (render_date), (append_logs), (spin_value_changed), (mail_component_show_logger): Handle the lifecycle of the logger. * mail-component.h: Api to show the logger. * mail-config.c: (gconf_error_time_changed), (gconf_error_level_changed), (mail_config_init), (mail_config_get_error_timeout), (mail_config_get_error_level): Load and get the error time and level. * mail-config.h: * mail-mt.c: (mail_msg_set_cancelable), (mail_msg_new), (end_event_callback), (mail_msg_free), (mail_msg_check_error), (operation_cancel), (do_op_status): Revamp the error handling. * mail-mt.h: * mail-ops.c: (send_queue_send), (mail_send_queue): Handle the send/receive case of error reporting separately. * mail-send-recv.c: (free_send_info), (mail_send): 2007-12-17 Srinivasa Ragavan <sragavan@novell.com> ** Revamped Activity handler and task bar/widget for non-intrusive error reporting * e-activity-handler.c: (activity_info_new), (activity_info_free), (task_widget_new_from_activity_info), (setup_task_bar), (e_activity_handler_init), (e_activity_handler_set_error_flush_time), (e_activity_handler_set_logger), (cancel_wrapper), (e_activity_handler_cancelable_operation_started), (e_activity_handler_operation_started), (handle_error), (error_cleanup), (e_activity_handler_make_error), (e_activity_handler_operation_set_error), (e_activity_handler_operation_progressing), (e_activity_handler_operation_finished): * e-activity-handler.h: * e-task-bar.c: (e_task_bar_prepend_task), (e_task_bar_remove_task_from_id), (e_task_bar_remove_task), (e_task_bar_get_task_widget_from_id): * e-task-bar.h: * e-task-widget.c: (e_task_widget_init), (button_press_event_cb), (prepare_popup), (e_task_widget_construct), (e_task_widget_new_with_cancel), (e_task_widget_new), (e_task_widget_update_image): * e-task-widget.h: 2007-12-17 Srinivasa Ragavan <sragavan@novell.com> * Makefile.am: Add e-logger.[ch] to compilation * e-error.c: (e_error_newv): Add primary/secondary text to the error dialog to the gobject as data. * e-logger.[ch]: A new logger provision Evolution. 2007-12-17 Srinivasa Ragavan <sragavan@novell.com> * evolution-mail-global.xml: Add Debug Log menu item for mailer. * evolution.xml: Add place holder for Debug menu item. svn path=/trunk/; revision=34712
* Fix a compiler warningSrinivasa Ragavan2007-12-052-3/+7
| | | | | | | | | 2007-12-05 Srinivasa Ragavan <sragavan@novell.com> * e-util.h: Fix a compiler warning svn path=/trunk/; revision=34653
* ** Add basic support for crash recoverySrinivasa Ragavan2007-12-053-0/+60
| | | | | | | | | | | | | | 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
* ** Fix for bug #500210Milan Crha2007-12-043-39/+38
| | | | | | | | | | | | | | | | | | | | | 2007-12-04 Milan Crha <mcrha@redhat.com> ** Fix for bug #500210 * plugins/plugin-manager/plugin-manager.c: Changed coding-style to be more accurate to other sources, but the main change was to show configuration options of the plugin into extra tab, instead of new popup under 'Configure' button. * e-util/e-plugin.h: * e-util/e-plugin.c: (e_plugin_configure), (e_plugin_is_configurable), (epl_configure), (e_plugin_get_configure_widget), (epl_get_configure_widget): Removed old configure functions, replaced by get_configure_widget functions, to be able show plugin configuration in a tab of plugin manager. svn path=/trunk/; revision=34639
* ** Fixes bug #392747Matthew Barnes2007-12-033-0/+106
| | | | | | | | | | | | | | | | | | | | | | | | 2007-12-03 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #392747 * e-util/e-utils.c (e_get_month_name), (e_get_weekday_name): New functions cache localized month and weekday names (respectively) for easier retrieval than resorting to strftime(). * a11y/widgets/ea-calendar-item.c (ea_calendar_item_get_column_label): Get the column label via e_get_weekday_name(). * calendar/gui/weekday-picker.c (get_day_text): Convert the day_index to GDateWeekday and call e_get_weekday_name(). * widgets/misc/e-calendar-item.h (struct _ECalendarItem): * widgets/misc/e-calendar-item.c (e_calendar_item_init), (e_calendar_item_draw): Lose the local weekday name cache and just call e_get_weekday_name(). svn path=/trunk/; revision=34627
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-1554-789/+789
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* ** Fix for bug #494320Ondrej Jirman2007-11-142-0/+13
| | | | | | | | | | | | 2007-11-13 Ondrej Jirman <megous@megous.com> ** Fix for bug #494320 * e-popup.c: (e_popup_create_menu): Add support for redefining existing menu items. svn path=/trunk/; revision=34530
* ** Fix for bug #492692Milan Crha2007-11-052-2/+19
| | | | | | | | | | | 2007-11-05 Milan Crha <mcrha@redhat.com> ** Fix for bug #492692 * e-util.c: (e_str_case_compare): Leak fix. svn path=/trunk/; revision=34513
* ** Remove dead files from source control. The dates below indicate whenMatthew Barnes2007-11-033-214/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-11-03 Matthew Barnes <mbarnes@redhat.com> ** Remove dead files from source control. The dates below indicate when the file was removed from Makefile.am. Fixes part of bug #478704. * addressbook/printing/e-contact-print-envelope.c (Apr 2007) * addressbook/printing/e-contact-print-envelope.h (Apr 2007) * addressbook/tools/evolution-addressbook-abuse.c (May 2004) * addressbook/tools/evolution-addressbook-import.c (no history) * calendar/gui/dialogs/calendar-setup.glade (Nov 2004) * calendar/gui/dialogs/meeting-page.etspec (Sep 2003) * calendar/gui/dialogs/new-calendar.glade (Jan 2003) * calendar/gui/dialogs/new-task-list.glade (Jan 2004) * calendar/gui/dialogs/url-editor-dialog.c (Dec 2005) * calendar/gui/dialogs/url-editor-dialog.glade (Dec 2005) * calendar/gui/dialogs/url-editor-dialog.h (Dec 2005) * calendar/gui/e-pub-utils.c (Dec 2005) * calendar/gui/e-pub-utils.h (Dec 2005) * calendar/gui/gnome-calendar-conduit.png (May 2000) * e-util/e-categories-master-list-wombat.c (Jun 2005) * e-util/e-categories-master-list-wombat.h (Jun 2005) * tools/evolution-launch-composer.c (Jun 2003) * configure.in: Remove plugins/mail-remote/Makefile from AC_OUTPUT. Fixes a distcheck error. * po/POTFILES.in: Remove files for mail-remote plugin. svn path=/trunk/; revision=34487
* ** Fix for bug #461272Sankar P2007-10-263-3/+30
| | | | | | | | | | | | | | | 2007-10-26 Sankar P <psankar@novell.com> ** Fix for bug #461272 * plugin-manager.c: (eppm_selection_changed), (org_gnome_plugin_manager_manage): Configure button should not be enabled for all. configure button needs a hot-key. svn path=/trunk/; revision=34432
* Warning fixes. - NULL vs 0 - ANSIfication of declarations - missingKjartan Maraas2007-10-2611-18/+39
| | | | | | | | | | | | | | | | | | | | | | | | 2007-10-26 Kjartan Maraas <kmaraas@gnome.org> * e-config.c: * e-event.c: * e-gui-utils.c: * e-import.c: * e-menu.c: * e-mktemp.c: (get_dir): * e-popup.c: * e-profile-event.c: (e_profile_event_peek): * e-util.c: (get_font_options): * e-xml-utils.c: (e_xml_get_string_prop_by_name), (e_xml_get_string_prop_by_name_with_default), (e_xml_get_translated_string_prop_by_name): Warning fixes. - NULL vs 0 - ANSIfication of declarations - missing include svn path=/trunk/; revision=34428
* ** Migration of theme icons to data/icons/ (bug #479257)Michael Monreal2007-10-122-1/+10
| | | | | | | | | | | | | | | | | | | | | 2007-10-12 Michael Monreal <michael.monreal@gmail.com> ** Migration of theme icons to data/icons/ (bug #479257) * art/Makefile.am: Remove references to art/$size. * configure.in: Include new data/icons/ directory. * file e-util/e-icon-factory.c: Append a private icon directory to the search path. New inbox/outbox/sent icons. * mail/em-folder-tree.c, mail/mail-send-recv.c: Change icon references. New view-calendar icons. * calendar/gui/calendar-commands.c: Change icon references. svn path=/trunk/; revision=34383
* ** Fix for bug #311179Milan Crha2007-10-112-0/+9
| | | | | | | | | | | | 2007-10-11 Milan Crha <mcrha@redhat.com> ** Fix for bug #311179 * e-error.c: (e_error_newv): Unset GTK_CAN_FOCUS on label to prevent gaining focus by Tab, still can select and copy text by mouse. svn path=/trunk/; revision=34372
* ** Fixes bug #437579Matthew Barnes2007-10-105-91/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-09 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #437579 * addressbook/conduit/address-conduit.c: * addressbook/gui/component/addressbook-config.c: * addressbook/gui/contact-editor/e-contact-editor.c: * addressbook/gui/widgets/eab-gui-util.c: * calendar/conduits/calendar/calendar-conduit.c: * calendar/conduits/memo/memo-conduit.c: * calendar/conduits/todo/todo-conduit.c: * calendar/gui/dialogs/alarm-dialog.c: * calendar/gui/dialogs/event-page.c: * calendar/gui/dialogs/memo-page.c: * calendar/gui/dialogs/task-page.c: * calendar/gui/e-day-view-layout.c: * calendar/gui/e-day-view-layout.h: * calendar/gui/print.c: * e-util/e-pilot-map.c: * e-util/e-plugin.c: * e-util/e-profile-event.c: * e-util/e-signature.c: * filter/filter-file.c: * mail/e-searching-tokenizer.c: * mail/em-folder-browser.c: * mail/em-format-html.c: * mail/em-format-view.c: * mail/em-format.c: * mail/em-mailer-prefs.c: * mail/em-mailer-prefs.h: * mail/mail-session.c: * mail/mail-session.h: * mail/mail-vfolder.c: * mail/message-list.c: * plugins/bbdb/bbdb.c: * plugins/bbdb/gaimbuddies.c: * plugins/calendar-http/calendar-http.c: * plugins/exchange-operations/exchange-user-dialog.c: * plugins/face/face.c: * shell/e-shell-window.c: * shell/e-shell.c: * smime/lib/e-cert-db.c: * tools/killev.c: * widgets/misc/e-cursors.c: * widgets/misc/e-spinner.c: * widgets/misc/e-unicode.c: * widgets/table/e-table-field-chooser-item.c: * widgets/table/e-table-header-item.c: * widgets/table/e-table-header-item.h: * widgets/table/e-table-header-utils.c: * widgets/table/e-table.c: * widgets/text/e-text.c: Fix various compiler warnings. Patch from Milan Crha. svn path=/trunk/; revision=34368
* ** Fixes bug #469657Matthew Barnes2007-10-022-48/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-02 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #469657 * addressbook/importers/evolution-ldif-importer.c: * calendar/gui/comp-editor-factory.c: * composer/e-msg-composer.c: * e-util/e-config-listener.c: * mail/em-composer-prefs.c: * mail/em-folder-tree-model.c: * mail/em-format.c: * mail/em-format-html.c: * mail/em-migrate.c: * mail/em-subscribe-editor.c: * mail/mail-component.c: * mail/mail-send-recv.c: * mail/message-list.c: * mail/importers/elm-importer.c: * plugins/exchange-operations/exchange-folder-size-display.c: * plugins/mono/mono-plugin.c: * shell/e-shell-settings-dialog.c: * tools/killev.c: * widgets/table/e-table-extras.c: * widgets/table/e-table-selection-model.c: Use destroy functions in GHashTables to simplify memory management. svn path=/trunk/; revision=34344
* Fix for bug #461195 from Hiroyuki Ikezoe.Matthew Barnes2007-09-284-10/+12
| | | | | | | Use GObject's marshalers whenever possible. svn path=/trunk/; revision=34324
* ** Fix for bug #471791 Srinivasa Ragavan2007-09-1010-22/+58
| | | | svn path=/trunk/; revision=34214
* 2007-09-07 mcrha Fix for bug #473903Milan Crha2007-09-072-0/+9
| | | | svn path=/trunk/; revision=34192
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-0264-99/+99
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* 2007-08-20 mcrha Fix for bug #367760Milan Crha2007-08-202-11/+11
| | | | svn path=/trunk/; revision=34042
* patch by: Tim Yamin <plasm@roo.me.uk> reviewed by: Srinivasa RagavanTobias Mueller2007-08-182-2/+14
| | | | | | | | | | | | | 2007-08-18 Tobias Mueller <muelli@auftrags-killer.org> patch by: Tim Yamin <plasm@roo.me.uk> reviewed by: Srinivasa Ragavan <sragavan@novell.com> * e-icon-factory.c: (load_icon): Optimize pixbuf behaviour, fixes #465573 svn path=/trunk/; revision=34031
* reviewed by: Srinivasa Ragavan <sragavan@novell.com>Sankar P2007-08-072-6/+19
| | | | | | | | | | | | | 2007-08-07 Sankar P <psankar@novell.com> reviewed by: Srinivasa Ragavan <sragavan@novell.com> * e-plugin.c: (ep_load_pending): Do not load pending hooks, if the corresponding plugin is disabled. Fixes #383684 svn path=/trunk/; revision=33963
* ** Fix for bug #455799Hiroyuki Ikezoe2007-08-041-10/+0
| | | | | | | | | | | | 2007-08-04 Hiroyuki Ikezoe <poincare@ikezoe.net> ** Fix for bug #455799 Remove all .cvsignore and update svn:ignore porperty in whole directories. svn path=/trunk/; revision=33945
* ** Fix for bug #451211.Hiroyuki Ikezoe2007-07-292-1/+8
| | | | | | | | | | | | 2007-07-29 Hiroyuki Ikezoe <poincare@ikezoe.net> ** Fix for bug #451211. * e-event.c: (e_event_emit): Replase "==" with "!=" because g_assert() occurs if expression is NOT true. svn path=/trunk/; revision=33879
* ** Fixes bug #451211Srinivasa Ragavan2007-07-293-2/+12
| | | | svn path=/trunk/; revision=33867
* Remove E_MAKE_TYPE macro.Hiroyuki Ikezoe2007-07-287-71/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-07-27 Hiroyuki Ikezoe <poincare@ikezoe.net> * e-util/e-util.h: Remove E_MAKE_TYPE macro. * e-util/e-bit-array.c: * e-util/e-sorter-array.c: * e-util/e-sorter.c: * e-util/e-text-event-processor-emacs-like.c: * e-util/e-text-event-processor.c: * widgets/menus/gal-define-views-dialog.c: * widgets/menus/gal-define-views-model.c: * widgets/menus/gal-view-collection.c: * widgets/menus/gal-view-etable.c: * widgets/menus/gal-view-factory-etable.c: * widgets/menus/gal-view-factory.c: * widgets/menus/gal-view-instance-save-as-dialog.c: * widgets/menus/gal-view-instance.c: * widgets/menus/gal-view-new-dialog.c: * widgets/menus/gal-view.c: * widgets/misc/e-canvas-background.c: * widgets/misc/e-canvas-vbox.c: * widgets/misc/e-canvas.c: * widgets/misc/e-printable.c: * widgets/misc/e-reflow-model.c: * widgets/misc/e-reflow.c: * widgets/misc/e-selection-model-array.c: * widgets/misc/e-selection-model-simple.c: * widgets/misc/e-selection-model.c: * widgets/table/e-cell-checkbox.c: * widgets/table/e-cell-combo.c: * widgets/table/e-cell-date.c: * widgets/table/e-cell-float.c: * widgets/table/e-cell-hbox.c: * widgets/table/e-cell-number.c: * widgets/table/e-cell-pixbuf.c: * widgets/table/e-cell-popup.c: * widgets/table/e-cell-progress.c: * widgets/table/e-cell-size.c: * widgets/table/e-cell-spin-button.c: * widgets/table/e-cell-text.c: * widgets/table/e-cell-toggle.c: * widgets/table/e-cell-tree.c: * widgets/table/e-cell-vbox.c: * widgets/table/e-cell.c: * widgets/table/e-table-click-to-add.c: * widgets/table/e-table-col.c: * widgets/table/e-table-column-specification.c: * widgets/table/e-table-column.c: * widgets/table/e-table-config-field.c: * widgets/table/e-table-config.c: * widgets/table/e-table-extras.c: * widgets/table/e-table-field-chooser-dialog.c: * widgets/table/e-table-field-chooser-item.c: * widgets/table/e-table-field-chooser.c: * widgets/table/e-table-group-container.c: * widgets/table/e-table-group-leaf.c: * widgets/table/e-table-group.c: * widgets/table/e-table-header-item.c: * widgets/table/e-table-header.c: * widgets/table/e-table-item.c: * widgets/table/e-table-memory-callbacks.c: * widgets/table/e-table-memory-store.c: * widgets/table/e-table-memory.c: * widgets/table/e-table-model.c: * widgets/table/e-table-one.c: * widgets/table/e-table-scrolled.c: * widgets/table/e-table-search.c: * widgets/table/e-table-selection-model.c: * widgets/table/e-table-simple.c: * widgets/table/e-table-sort-info.c: * widgets/table/e-table-sorted-variable.c: * widgets/table/e-table-sorted.c: * widgets/table/e-table-sorter.c: * widgets/table/e-table-specification.c: * widgets/table/e-table-state.c: * widgets/table/e-table-subset-variable.c: * widgets/table/e-table-subset.c: * widgets/table/e-table-without.c: * widgets/table/e-table.c: * widgets/table/e-tree-memory-callbacks.c: * widgets/table/e-tree-memory.c: * widgets/table/e-tree-model.c: * widgets/table/e-tree-scrolled.c: * widgets/table/e-tree-selection-model.c: * widgets/table/e-tree-simple.c: * widgets/table/e-tree-sorted-variable.c: * widgets/table/e-tree-sorted.c: * widgets/table/e-tree-table-adapter.c: * widgets/table/e-tree.c: * widgets/text/e-completion-callbacks.c: * widgets/text/e-completion-view.c: * widgets/text/e-completion.c: * widgets/text/e-entry.c: * widgets/text/e-table-text-model.c: * widgets/text/e-text-model-uri.c: * widgets/text/e-text-model.c: * widgets/text/e-text.c: Use G_DEFINE_TYPE instead of E_MAKE_TYPE. svn path=/trunk/; revision=33864
* Plugins should be configurable within the plugin-manager itself.Sankarasivasubramanian Pasupathilingam2007-07-263-0/+46
| | | | | | | Fixes Preferences dialog bloating. See bug #459522 svn path=/trunk/; revision=33847
* ** Fixes bug #446894Matthew Barnes2007-07-063-6/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-07-06 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #446894 * ui/evolution.xml: Add a filepagesetup command, and a corresponding menu item within the print place holder. net result is to add a "file -> page setup" menu item to all components, just above the print menu items. * shell/e-shell-window-commands.c (command_page_setup): Callback for new FilePageSetup verb. * mail/em-format-html-print.c: Use new gtk_html_print_operation_run() function in GtkHTML. * e-util/e-print.c (load_page_setup): Extract GtkPageSetup properties from a GtkPrintSettings object. * e-util/e-print.c (save_page_setup): Merge GtkPageSetup properties into a GtkPrintSettings object. * e-util/e-print.[ch] (e_print_run_page_setup_dialog): New function runs a preconfigured Page Setup dialog and saves the configuration to GConf (/apps/evolution/shell/printing). svn path=/trunk/; revision=33762
* Fix for bug #448223 from Gilles DartiguelongueSrinivasa Ragavan2007-06-183-0/+41
| | | | svn path=/trunk/; revision=33700
* ** Fix for bug #446870Srinivasa Ragavan2007-06-153-0/+35
| | | | svn path=/trunk/; revision=33674
* Clean up compiler warnings in e-util directory (#438467).Matthew Barnes2007-06-0314-158/+202
| | | | svn path=/trunk/; revision=33623
* ** Fixes bug #424562Matthew Barnes2007-05-254-2529/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-05-24 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #424562 * e-util/eggtrayicon.c: * e-util/eggtrayicon.h: Evolution requires GTK+ 2.10 now so kill this widget. * e-util/Makefile.am: Remove eggtrayicon.c and eggtrayicon.h. * calendar/gui/dialogs/recur-comp.c (recur_component_dialog): * e-util/e-dialog-utils.c (e_notice): * plugins/calendar-weather/calendar-weather.c (e_calendar_weather_location): * widgets/text/e-text.c (e_text_copy_clipboard), (e_text_update_primary_selection), (e_text_paste), (e_text_do_popup): Remove check for obsolete GTK+ version. * gui/alarm-notify/alarm-queue.c: EggTrayIcon is dead; always use GtkStatusIcon. svn path=/trunk/; revision=33573
* fix for bug #432867Srinivasa Ragavan2007-05-142-1/+8
| | | | svn path=/trunk/; revision=33526
* Add App specific themable icons.Srinivasa Ragavan2007-05-112-1/+7
| | | | svn path=/trunk/; revision=33509
* Clean up printing in Evolution (bug #426816)Matthew Barnes2007-04-203-40/+70
| | | | svn path=/trunk/; revision=33440
* Massive code cleanup (bug #429422)Matthew Barnes2007-04-2014-1098/+315
| | | | svn path=/trunk/; revision=33432
* ** Fixes bug #419524Matthew Barnes2007-03-2114-101/+29
| | | | | | | | | | | | | | | | | | | | | | | 2007-03-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #419524 * Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>. * e-util/e-xml-utils.c (e_xml_get_child_by_name_by_lang_list): * mail/em-migrate.c (emm_setup_initial): * shell/e-component-registry.c (query_components): * shell/e-shell-settings-dialog.c (load_pages): * shell/e-shell-window-commands.c (command_quick_reference): * tools/killev.c (main): Use g_get_language_names() instead of gnome_i18n_get_language_list(). * e-util/e-util.c: Remove e_gettext(). * e-util/Makefile.am: Remove e-i18n.h. svn path=/trunk/; revision=33319
* Bypass the body of these functions on non-G_OS_UNIX for now as they useTor Lillqvist2007-03-012-1/+13
| | | | | | | | | | | | | 2007-03-01 Tor Lillqvist <tml@novell.com> * e-print.c (print_dialog_response) (e_print_get_dialog_with_config): Bypass the body of these functions on non-G_OS_UNIX for now as they use gtk_print_unix_dialog_get_settings(). Gtk printing on Win32 needs work. svn path=/trunk/; revision=33271
* Use g_build_filename to get the tempoary directory name. Fix #399307Jeff Cai2007-02-282-3/+12
| | | | | | | | | | | 2007-02-27 Jeff Cai <jeff.cai@sun.com> * e-mktemp.c: (get_dir): Use g_build_filename to get the tempoary directory name. Fix #399307 svn path=/trunk/; revision=33263
* Print migration updates from Ebby Wiselyn.Srinivasa Ragavan2007-02-123-130/+72
| | | | svn path=/trunk/; revision=33201
* identify "sip:" URL's. Fixes bug #396543.Andre Klapper2007-01-272-0/+6
| | | | | | | | | | 2007-01-27 Andre Klapper <a9016009@gmx.de> * e-html-utils.c: (e_text_to_html_full): identify "sip:" URL's. Fixes bug #396543. svn path=/trunk/; revision=33155
* ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22Srinivasa Ragavan2007-01-233-38/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. svn path=/trunk/; revision=33134
* ** Fix for bug #349966Daniel Gryniewicz2006-11-285-116/+185
| | | | | | | | 2006-11-28 Daniel Gryniewicz <dang@gentoo.org> ** Fix for bug #349966 svn path=/trunk/; revision=33026
* Remove unreachable code and fix the leak of basename.Harish Krishnaswamy2006-11-212-12/+8
| | | | | | | | | 2006-11-20 Harish Krishnaswamy <kharish@novell.com> * e-icon-factory.c: (load_icon), (e_icon_factory_get_icon): Remove unreachable code and fix the leak of basename. svn path=/trunk/; revision=33007
* ** Fixes bug #352450Matthew Barnes2006-09-182-1/+8
| | | | | | | | | | | 2006-09-18 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #352450 * e-cursor.c: Replace deprecated GDK function call. svn path=/trunk/; revision=32782
* Define ruledir here, too, like in addressbook/gui/widgets/Makefile.am, asTor Lillqvist2006-09-082-0/+9
| | | | | | | | | | | | 2006-09-07 Tor Lillqvist <tml@novell.com> * Makefile.am (ruledir): Define ruledir here, too, like in addressbook/gui/widgets/Makefile.am, as we use it in SEARCH_RULE_DIR for the benefit of e-win32-reloc.c. Fixes the Win32-specific problem "eab-widgets-WARNING **: Could not load addressbook search; no parts". (#348419) svn path=/trunk/; revision=32748
* ** Fix for bug #352941Srinivasa Ragavan2006-08-272-1/+7
| | | | svn path=/trunk/; revision=32679
* Include <cairo.h>, not <cairo/cairo.h>.Tor Lillqvist2006-08-242-1/+5
| | | | | | | | 2006-08-24 Tor Lillqvist <tml@novell.com> * e-util.h: Include <cairo.h>, not <cairo/cairo.h>. svn path=/trunk/; revision=32651
* ** Fix for bug #349310. Patch from both Laurent Goujon and Pavel Roskin.Srinivasa Ragavan2006-08-211-0/+2
| | | | | | | | | | | | 2006-08-21 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bug #349310. Patch from both Laurent Goujon and Pavel Roskin. * e-util.h: Added function declaration for get_font_options. This time for real. svn path=/trunk/; revision=32615
* Fix for bug #349310. Patch from both Laurent Goujon and Pavel Roskin.Srinivasa Ragavan2006-08-201-0/+7
| | | | svn path=/trunk/; revision=32598
* Plug some leaks.Kjartan Maraas2006-08-172-0/+7
| | | | | | | | 2006-08-17 Kjartan Maraas <kmaraas@gnome.org> * e-util.c: (get_font_options): Plug some leaks. svn path=/trunk/; revision=32555
* Handle cases when the props are undefined. This bug is currently causingHarish Krishnaswamy2006-07-222-28/+43
| | | | | | | | | | 2006-07-22 Harish Krishnaswamy <kharish@novell.com> * e-util.c: (get_font_options): Handle cases when the props are undefined. This bug is currently causing Evo to crash as soon as it comes up. svn path=/trunk/; revision=32389
* Added code to read font options.Srinivasa Ragavan2006-07-203-0/+56
| | | | svn path=/trunk/; revision=32358
* On Win32, if the compile-time localedir's prefix from the plugin's .eplugTor Lillqvist2006-06-152-0/+15
| | | | | | | | | | | 2006-06-15 Tor Lillqvist <tml@novell.com> * e-plugin.c (ep_construct): On Win32, if the compile-time localedir's prefix from the plugin's .eplug file matches Evolution's compile-time prefix, replace it with the run-time prefix (installation directory). svn path=/trunk/; revision=32150
* Fix memory leak. Fixes bug #335423.Chris Heath2006-06-092-0/+8
| | | | | | | | | | | | | 2006-06-09 Chris Heath <chris@heathens.co.nz> * addressbook/gui/widgets/eab-popup-control.c (eab_popup_control_set_free_form): * addressbook/gui/contact-editor/e-contact-quick-add.c (quick_add_merge_contact): * e-util/e-plugin.c (ep_construct): * mail/message-list.c (message_list_finalise): * plugins/itip-view.c (itip_view_destroy): Fix memory leak. Fixes bug #335423. svn path=/trunk/; revision=32101
* Use the correct gettext domain for translations. Fixes bug #333003.Gary Coady2006-06-092-1/+6
| | | | | | | | | 2006-06-08 Gary Coady <garycoady@ubuntu.com> * e-i18n.h: Use the correct gettext domain for translations. Fixes bug #333003. (Committed by Andre Klapper) svn path=/trunk/; revision=32098
* Don't need the Win32-only fix_percent_l() after all, this is taken care ofTor Lillqvist2006-06-022-30/+8
| | | | | | | | | | | 2006-06-02 Tor Lillqvist <tml@novell.com> * e-util.c: Don't need the Win32-only fix_percent_l() after all, this is taken care of in e_strftime(). (The check in e-d-s's configure.in for the support of %l and %k has now been made more reliable so it actually works also on Win32.) svn path=/trunk/; revision=32069
* Set new scroll member to false in static declarations. Fixes build breakerFrederic Peters2006-06-022-4/+9
| | | | | | | | | 2006-06-02 Frederic Peters <fpeters@entrouvert.com> * e-error.c: Set new scroll member to false in static declarations. Fixes build breaker #343446. svn path=/trunk/; revision=32066
* Fix for bug #332936Srinivasa Ragavan2006-05-302-3/+29
| | | | svn path=/trunk/; revision=32053
* Added code to save/attach files/mails/events to/from remote sharesSrinivasa Ragavan2006-05-254-3/+50
| | | | svn path=/trunk/; revision=32023
* Handle SUN Type 6 keyboard's copy, paste and cut key. Fix #271661.Li Yuan2006-04-262-0/+23
| | | | | | | | | | | 2006-04-26 Li Yuan <li.yuan@sun.com> * e-text-event-processor-emacs-like.c: (e_text_event_processor_emacs_like_event): Handle SUN Type 6 keyboard's copy, paste and cut key. Fix #271661. svn path=/trunk/; revision=31903
* [Win32] Instead of %l (which is a GNU extension not implemented in theTor Lillqvist2006-04-112-0/+37
| | | | | | | | | | | 2006-03-27 Tor Lillqvist <tml@novell.com> * e-util.c (fix_percent_l): [Win32] Instead of %l (which is a GNU extension not implemented in the Microsoft C library) use %I. Fixes #336055. (e_strftime_fix_am_pm): Call fix_percent_l() when necessary. svn path=/trunk/; revision=31807
* Removing unnecessary markup in translateable string.Karsten Bräckelmann2006-02-132-1/+10
| | | | svn path=/trunk/; revision=31494
* Upstreaming Olaf Hering's patch to use signed chars.Harish Krishnaswamy2006-02-092-1/+6
| | | | | | | | | 2006-02-09 Harish Krishnaswamy <kharish@novell.com> * e-bconf-map.c: Upstreaming Olaf Hering's patch to use signed chars. svn path=/trunk/; revision=31459
* Use guint for 1-bit bitfield. Remove unused var Remove unused vars RenameKjartan Maraas2006-02-089-16/+28
| | | | | | | | | | | | | | | | | 2006-02-08 Kjartan Maraas <kmaraas@gnome.org> * e-config.c: Use guint for 1-bit bitfield. * e-icon-factory.c: (load_icon): Remove unused var * e-import.c: (ep_init), (ep_finalise): Remove unused vars * e-plugin.c: (e_plugin_register_type): Rename a var * e-plugin.h: guint for 1-bit bitfield * e-popup.c: (ep_finalise): Add comment. * e-profile-event.c: Remove unused prototype * e-text-event-processor-emacs-like.c: (e_text_event_processor_emacs_like_event): Add comment about a compiler warning from the Intel compiler. svn path=/trunk/; revision=31446
* accept SVGs for stock icons. Fixes bug 304417.Benjamin Berg2006-02-073-0/+7
| | | | | | | | | 2006-02-07 Benjamin Berg <benjamin@sipsolutions.net> * e-gui-utils.c: * e-icon-factory.c: accept SVGs for stock icons. Fixes bug 304417. svn path=/trunk/; revision=31433
* removed.Harry Lu2006-01-112-52/+4
| | | | | | | | 2006-01-11 Harry Lu <harry.lu@sun.com> * e-marshal.list: removed. svn path=/trunk/; revision=31135
* fixes a build break.Chenthill Palanisamy2006-01-112-1/+6
| | | | svn path=/trunk/; revision=31131
* Delete e_mkdir_hier(), and use e_util_mkdir_hier() instead of it.Simon Zheng2006-01-105-200/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-10 Simon Zheng <simon.zheng@sun.com> * e-mktemp.c (get_dir): * e-plugin.c: * e-util.[ch] (e_create_directory): (e_sort): Delete e_mkdir_hier(), and use e_util_mkdir_hier() instead of it. Delete e_strstrcasea(), and use e_util_strstrcase() instead of it. Delete e_strftime(), use the copy in evolution-data-server/ libedataserver/e-data-server-util.c instead of it. Delete e_filename_make_safe(), and use the copy in evolution-data-server/libedataserver/e-data-server-util.c instead of it. Detelte e_utf8_strftime(), and use the copy in evolution-data-server/libedataserver/e-data-server-util.c instead of it. svn path=/trunk/; revision=31117
* removed. Merged to evolution-data-server/libedataserver/. remove aboveSimon Zheng2006-01-066-1756/+6
| | | | | | | | | | 006-01-06 Simon Zheng <simon.zheng@sun.com> * e-account.[ch], e-account-list.[ch]: removed. Merged to evolution-data-server/libedataserver/. * Makefile.am: remove above files from list. svn path=/trunk/; revision=31083
* e-plugin.c (epl_construct) [Win32] The interface ofTor Lillqvist2006-01-053-4/+14
| | | | | | | | | | 2006-01-05 Tor Lillqvist <tml@novell.com> * e-plugin.c (epl_construct) * e-menu.c (emph_construct_menu): [Win32] The interface of e_util_replace_prefix() changed a bit. svn path=/trunk/; revision=31053
* Don't eventually free a return value from xmlGetProp() with g_free().Tor Lillqvist2006-01-022-5/+24
| | | | | | | | | | | | | 2006-01-02 Tor Lillqvist <tml@novell.com> * e-menu.c (emph_construct_menu): Don't eventually free a return value from xmlGetProp() with g_free(). g_strdup() it first, and xmlFree() what xmlGetProp() returned. On Win32, replace a configure-time prefix of the ui file with the run-time one. svn path=/trunk/; revision=31021
* Committing the calendar publishing patch.Chenthill Palanisamy2005-12-193-0/+69
| | | | svn path=/trunk/; revision=30876
* Silence unused variable warning.Tor Lillqvist2005-12-182-1/+9
| | | | | | | | | 2005-12-18 Tor Lillqvist <tml@novell.com> * e-dialog-utils.c (e_file_dialog_save_folder): Silence unused variable warning. svn path=/trunk/; revision=30855
* Nah, don't include <libedataserver/e-xml-utils.h> here. Just edit theTor Lillqvist2005-12-182-4/+0
| | | | | | | users of the functions that moved there include it instead of, or in addition to, "e-util/e-xml-utils.h". svn path=/trunk/; revision=30829
* For building on Win32 against GTK+ 2.8, include a copy of theTor Lillqvist2005-12-183-0/+1978
| | | | | | | | | | | | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * eggtrayicon.c: For building on Win32 against GTK+ 2.8, include a copy of the GtkStatusIcon code from GTK+ HEAD (i.e., what will be GTK+ 2.10) and some helper functions from gdk/win32. Eventually when GTK+ 2.10 is released and Evo no longer needs to support older GTK+ versions, eggtrayicon.[ch] can be removed completely from here, as the use of eggtrayicon in ../calendar/gui/ alarm-notify/alarm-queue.c will automatically switch to using GtkStatusIcon instead. * eggtrayicon.h: Ditto, for building on Win32 against GTK+ 2.8, include a copy of gtkstatusicon.h from GTK+ HEAD. svn path=/trunk/; revision=30827
* Remove these functions that are now in libedataserver/e-xml-utils.cTor Lillqvist2005-12-183-94/+8
| | | | | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * e-xml-utils.c (e_xml_get_child_by_name, e_xml_save_file): Remove these functions that are now in libedataserver/e-xml-utils.c * e-xml-utils.h: Include libedataserver/e-xml-utils.h. svn path=/trunk/; revision=30826
* Use GLib API where applicable for portability.Tor Lillqvist2005-12-182-20/+55
| | | | | | | | | | | | | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * e-plugin.c: Use GLib API where applicable for portability. * e-plugin.c: Use e_xml_parse_file() and e_xml_save_file() instead of using libxml directly. * e-plugin.c: Add copyright header. (epl_construct): [Win32 only:] Remap the plugin location from the compile-time path to to a run-time path, to handle the common case where the location in the .eplug file is in Evo's compile-time prefix. Use libedataserver's e_util_get_prefix() and e_util_replace_prefix(). We could alternatively use relative paths in the .eplug files on Win32, like we do for .server files. svn path=/trunk/; revision=30825
* Use e_xml_parse_file() and e_xml_save_file() instead of using libxmlTor Lillqvist2005-12-172-6/+10
| | | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * e-pilot-map.c: Use e_xml_parse_file() and e_xml_save_file() instead of using libxml directly. svn path=/trunk/; revision=30824
* Use GLib API where applicable for portability.Tor Lillqvist2005-12-172-21/+17
| | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * e-mktemp.c: Use GLib API where applicable for portability. svn path=/trunk/; revision=30823
* Use GLib API where applicable for portability.Tor Lillqvist2005-12-172-29/+31
| | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * e-icon-factory.c: Use GLib API where applicable for portability. svn path=/trunk/; revision=30822
* e-error.c Use gstdio wrappers. Use GDir instead of dirent.Tor Lillqvist2005-12-174-33/+42
| | | | | | | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * e-error.c * e-fsutils.c: Use gstdio wrappers. Use GDir instead of dirent. * e-error.c * e-folder-map.c: Use e_xml_parse_file() instead of using libxml directly. svn path=/trunk/; revision=30821
* Don't need EXTRA_GNOME_CFLAGS or GNOME_FULL_CFLAGS.Tor Lillqvist2005-12-172-2/+3
| | | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * Makefile.am (INCLUDES): Don't need EXTRA_GNOME_CFLAGS or GNOME_FULL_CFLAGS. svn path=/trunk/; revision=30820
* e-util-private.h (fsync) Don't bother with a Win32 implementation ofTor Lillqvist2005-12-173-32/+8
| | | | | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * e-util-private.h (fsync) * e-util.c: Don't bother with a Win32 implementation of fsync() as the uses of fsync() in evo are pretty irrelevant. Just #define fsync() away on Win32. svn path=/trunk/; revision=30796
* Remove dead files. ReferHarish Krishnaswamy2005-12-1316-2747/+0
| | | | | | | | 2005-12-12 Harish Krishnaswamy <kharish@novell.com> Remove dead files. Refer http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=evolution&who=vvaradan&date=explicit&mindate=2005-12-12%2011:23&maxdate=2005-12-12%2011:25 for more information. svn path=/trunk/; revision=30759
* Patch from Irene Huang <Irene.Huang@sun.com>.Veerapuram Varadhan2005-12-137-22/+39
| | | | | | | | * Remove files that have an identical counterpart in libedataserver. * Replace the use of such files with appropriate counterpart path. svn path=/trunk/; revision=30758
* prefix the wrapper functions with e - do not use g lest it is assumed toHarish Krishnaswamy2005-12-093-8/+15
| | | | | | | | | | | | | | | | 2005-12-09 Harish Krishnaswamy <kharish@novell.com> * e-util.[ch] (e_str_compare), (e_str_case_compare), (e_collate_compare), (e_int_compare): prefix the wrapper functions with e - do not use g lest it is assumed to be a glib function. * e-table-example-2.c (create_table), e-table-extras.c (ete_init): * e-table-size-test.c (create_table), test-check.c (check_test): * test-cols.c (multi_cols_test), test-table.c (table_browser_test): s/g_*_compare/e_*_compare. svn path=/trunk/; revision=30739
* Use g_get_tmp_dir() instead of hardcoding /tmp.Tor Lillqvist2005-11-264-9/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-26 Tor Lillqvist <tml@novell.com> * e-menu.c (emph_construct_menu): Use g_get_tmp_dir() instead of hardcoding /tmp. * e-util.c (e_strstrcase): Use g_ascii_strncasecmp() instead of the deprecated g_strncasecmp(). What kinds of strings this function is supposed to be used on (UTF-8 or some random single- or multi-byte encoding) is anybody's guess. This function isn't used in Evolution and should probably go away, though. And this is one of the files that have a partially duplicated copy in e-d-s/libedataserver, too, so doubly so. (e_filename_make_safe): Mark more bytes as unsafe on Win32. Add comments. This function is really under-specified and weird, one wonders whether it really does what the author thought it should do. (fsync): Add Win32 implementation of fsync(). * e-xml-utils.c (e_xml_get_bool_prop_by_name_with_default): Use g_ascii_strcasecmp() instead of the deprecated g_strcasecmp(), especially as we are comparing to literal ASCII strings. svn path=/trunk/; revision=30684
* e-dialog-utils.c Conditionalize X11 specific code on GDK_WINDOWING_X11.Tor Lillqvist2005-11-263-2/+10
| | | | | | | | | 2005-11-26 Tor Lillqvist <tml@novell.com> * e-dialog-utils.c * e-gtk-utils.c: Conditionalize X11 specific code on GDK_WINDOWING_X11. svn path=/trunk/; revision=30683
* Conditionalize X11 stuff on GDK_WINDOWING_X11.Tor Lillqvist2005-11-262-2/+17
| | | | | | | | 2005-11-26 Tor Lillqvist <tml@novell.com> * e-dialog-utils.c: Conditionalize X11 stuff on GDK_WINDOWING_X11. svn path=/trunk/; revision=30682
* Sort the stuff in the Win32 part for clarity. Add some new run-timeTor Lillqvist2005-11-254-71/+132
| | | | | | | | | | | | | | | | 2005-11-25 Tor Lillqvist <tml@novell.com> * e-util-private.h: Sort the stuff in the Win32 part for clarity. Add some new run-time overrides for compile-time paths. Include fcntl.h and define O_BINARY as zero if not defined (on Unix). * e-win32-reloc.c: Sort here, too, and add the implementation for the new run-time overrides. * Makefile.am: Ditto here. Link with INTLLIBS. svn path=/trunk/; revision=30670
* modified e_categories_config_get_icon_for to have a g_object_unref for theChenthill Palanisamy2005-11-092-0/+8
| | | | | | GdkPixBuff object created here. svn path=/trunk/; revision=30584
* Commiting the patch for showing menu items in calendar attachment bar.Chenthill Palanisamy2005-10-183-8/+119
| | | | svn path=/trunk/; revision=30524
* dded case insensitive compare support etable, and using it for OrganizationSushma Rai2005-10-043-0/+20
| | | | | | | filed. Fixes #207110. Patch submitted by "Devashish Sharma <sdevashish@novell.com>" svn path=/trunk/; revision=30489
* Use g_get_current_time() instead of gettimeofday() for portability.Tor Lillqvist2005-09-282-1/+7
| | | | | | | | | 2005-09-28 Tor Lillqvist <tml@novell.com> * e-profile-event.c (e_profile_event_target_new): Use g_get_current_time() instead of gettimeofday() for portability. svn path=/trunk/; revision=30396
* Use g_ascii_strncasecmp() instead of strncasecmp(). We are comparing toTor Lillqvist2005-09-282-11/+18
| | | | | | | | | | | 2005-09-28 Tor Lillqvist <tml@novell.com> * e-html-utils.c (e_text_to_html_full): Use g_ascii_strncasecmp() instead of strncasecmp(). We are comparing to literal ASCII strings, just casefolding ASCII is enough. Also better for portability. svn path=/trunk/; revision=30395
* cast warning, good ol win32 patches. (e_strftime): fix some clahey-code toNot Zed2005-08-247-13/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | 2005-08-23 Not Zed <NotZed@Ximian.com> * e-util.c (e_mkdir_hier): cast warning, good ol win32 patches. (e_strftime): fix some clahey-code to use the right variable and not try to modify const strings by stealth. * eggtrayicon.h: add missing prototype. * e-gui-utils.c (e_create_image_widget): remove unused pixbuf. * e-dialog-utils.c (dialog_realized): fix cast. (e_dialog_set_transient_for_xid): same. (e_file_dialog_save): fix cases for build. * e-categories-config.c (e_categories_config_open_dialog_for_entry): cast & use right type for text. (icons_table[]): remove unused. * e-account-list.c (e_account_list_remove_account_proxies): cast to fix warning. svn path=/trunk/; revision=30215
* e-plugin.c (ep_set_enabled): Fix compiler warning on early bailoutDavid Malcolm2005-08-232-1/+6
| | | | svn path=/trunk/; revision=30204
* fixed a typo: s/occured/occurred/gJens Seidel2005-08-221-1/+1
| | | | svn path=/trunk/; revision=30180
* Use g_get_charset() on Win32 to get locale charset. Free return value fromTor Lillqvist2005-08-182-0/+14
| | | | | | | | | 2005-08-18 Tor Lillqvist <tml@novell.com> * e-iconv.c (e_iconv_init): Use g_get_charset() on Win32 to get locale charset. Free return value from g_win32_getlocale(). svn path=/trunk/; revision=30151
* Use g_win32_getlocale() to get locale on Win32. (setlocale() returnsTor Lillqvist2005-08-102-1/+20
| | | | | | | | | | | | 2005-08-10 Tor Lillqvist <tml@novell.com> * e-xml-utils.c (e_xml_get_child_by_name_by_lang): Use g_win32_getlocale() to get locale on Win32. (setlocale() returns strings like "Swedish_Finland.1252", we want the Unixish "sv_FI" style.) Fix typo, use the lang parameter and not "lang" string literal. svn path=/trunk/; revision=30077
* Pass also EVOLUTION_SYSCONFDIR, EVOLUTION_DATADIR and EVOLUTION_LIBDIR.Tor Lillqvist2005-08-104-4/+41
| | | | | | | | | | | | | | | 2005-08-10 Tor Lillqvist <tml@novell.com> * Makefile.am: (INCLUDES): Pass also EVOLUTION_SYSCONFDIR, EVOLUTION_DATADIR and EVOLUTION_LIBDIR. * e-win32-reloc.c: Handle also the above, and the bare PREFIX. * e-util-private.h: Ditto here. (PREFIX, SYSCONFDIR, DATADIR and LIBDIR without the EVOLUTION_ prefix, as that is how they are to be used, cf. gnome-program.h.) svn path=/trunk/; revision=30073
* Handle also EVOLUTION_LIBEXECDIR, EVOLUTION_SOUNDDIR andTor Lillqvist2005-08-102-0/+11
| | | | | | | | | 2005-08-10 Tor Lillqvist <tml@novell.com> * e-util-private.h: Handle also EVOLUTION_LIBEXECDIR, EVOLUTION_SOUNDDIR and EVOLUTION_ETSPECDIR. svn path=/trunk/; revision=30062
* Use privsolib instead of privlib. On Unix they are the same, on Win32Tor Lillqvist2005-08-103-2/+23
| | | | | | | | | | | | | | 2005-08-10 Tor Lillqvist <tml@novell.com> * Makefile.am: Use privsolib instead of privlib. On Unix they are the same, on Win32 privsolibdir is the same as libdir. (INCLUDES): Pass also EVOLUTION_LIBEXECDIR and EVOLUTION_SOUNDDIR so that the Win32 run-time path lookup code in e-win32-reloc.c can handle them, too. * e-win32-reloc.c: Handle also the above two paths. svn path=/trunk/; revision=30061
* Added a doc commentMichael Zucci2005-07-141-0/+7
| | | | svn path=/trunk/; revision=29764
* Merge back eplugin-import-branch.Michael Zucci2005-07-124-84/+103
| | | | svn path=/trunk/; revision=29725
* added a idle handler that calls ec_rebuild after callback operations areVivek Jain2005-07-112-2/+34
| | | | | | | | | | | 2005-07-11 Vivek Jain <jvivek@novell.com> * e-config.c: (e_config_target_changed): added a idle handler that calls ec_rebuild after callback operations are completed. **Fixes #307794 svn path=/trunk/; revision=29721
* 2005-07-10 Shreyas SrinivasanShreyas Srinivasan2005-07-105-3/+81
| | | | | | | | * e-util/e-account.[ch]: Add structures to handle proxies. * e-util/e-account-list.[ch]: Add functions to remove proxy accounts and account's proxies. svn path=/trunk/; revision=29697
* Added widgets in INCLUDES.Kaushal Kumar2005-06-233-3/+5
| | | | | | | | | | | | 2005-06-23 Kaushal Kumar <kakumar@novell.com> * e-util/Makefile.am, widgets/e-timezone-dialog/Makefile.am, addressbook/gui/search/Makefile.am, plugins/groupwise-features/Makefile.am: Added widgets in INCLUDES. Updated the include paths to use misc instead of widgets/misc. svn path=/trunk/; revision=29574
* Makefile.am e-util-private.h Use EVOLUTION_IMAGESDIR and notTor Lillqvist2005-06-184-8/+27
| | | | | | | | | | | | 2005-06-18 Tor Lillqvist <tml@novell.com> * Makefile.am * e-util-private.h * e-win32-reloc.c: Use EVOLUTION_IMAGESDIR and not EVOLUTION_IMAGES for consistency. Handle also SEARCH_RULE_DIR and EVOLUTION_GALVIEWSDIR. svn path=/trunk/; revision=29543
* Makefile.am (INCLUDES) Add EVOLUTION_ETSPECDIR.Tor Lillqvist2005-06-184-2/+10
| | | | | | | | | | | 2005-06-18 Tor Lillqvist <tml@novell.com> * Makefile.am (INCLUDES) Add EVOLUTION_ETSPECDIR. * e-util-private.h * e-win32-reloc.c: Corresponding changes. svn path=/trunk/; revision=29541
* Makefile.am (INCLUDES) Add EVOLUTION_HELPDIR. Remove undefinedTor Lillqvist2005-06-184-3/+11
| | | | | | | | | | | | | 2005-06-18 Tor Lillqvist <tml@novell.com> * Makefile.am (INCLUDES) Add EVOLUTION_HELPDIR. Remove undefined GNOME_INCLUDEDIR. * e-win32-reloc.c: Add getter for helpdir. * e-util-private.h: Corresponding change. svn path=/trunk/; revision=29540
* Use bootstrap library for libemisdwidgets. Code here usesTor Lillqvist2005-06-184-17/+69
| | | | | | | | | | | | | | | | | | | | | 2005-06-18 Tor Lillqvist <tml@novell.com> * Makefile.am (WIN32_BOOTSTRAP_LIBS): Use bootstrap library for libemisdwidgets. Code here uses e_utf8_to_locale_string() from libemiscwidgets which hasn't been built yet if building from scratch. (GAL_IMAGESDIR): Remove, unused leftover. (EVOLUTION_GLADEDIR): Add. (libeutil_la_LDFLAGS, libeconduit_la_LDFLAGS): Use NO_UNDEFINED. (libeutil_la_LIBADD, libeconduit_la_LIBADD): Link with necessary libs. * e-win32-reloc.c: Update now that it is here in evolution. Use _e prefix instead of _gal. Add getters for more run-time paths. * e-util-private.h: Corresponding changes. svn path=/trunk/; revision=29526
* Retired GAL from Head. The relevant files have moved inside evolution.Kaushal Kumar2005-06-1713-26/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-17 Kaushal Kumar <kakumar@novell.com> * Retired GAL from Head. The relevant files have moved inside evolution. Thanks to JP Rosevear for performing the cvs surgery. The files have been moved in the following order. evolution/e-util <- gal/gal/util evolution/a11y <- gal/gal/a11y evolution/a11y/e-table <- gal/gal/a11y/e-table evolution/a11y/e-text <- gal/gal/a11y/e-text evolution/widgets/table <- gal/gal/e-table evolution/widgets/text <- gal/gal/e-text evolution/widgets/misc <- gal/gal/widgets evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps evolution/widgets/menus <- gal/gal/menus Following is the summary of changes done to fix the build:- - New files added to cvs repository, - a11y/e-table/Makefile.am - a11y/e-text/Makefile.am - widgets/table/Makefile.am - widgets/text/Makefile.am - widgets/misc/pixmaps/Makefile.am - iconv-detect.h - iconv-detect.c - Updated configure.in. - Updated all the relevant Makefile.am files. - Updated the include paths to replace all gal references. - Updated the marshal list to suit gal files requirements. svn path=/trunk/; revision=29522
* Added functions to show busy cursor. Add the filesSrinivasa Ragavan2005-06-084-0/+109
| | | | | | | | | 2005-06-08 Srinivasa Ragavan <sragavan@novell.com> * e-cursor.[ch]: Added functions to show busy cursor. * Makefile.am: Add the files svn path=/trunk/; revision=29472
* Removed, these are now implemented as a plugin.Not Zed2005-05-256-317/+238
| | | | | | | | | | | | | | | | | | 2005-05-25 Not Zed <NotZed@Ximian.com> * e-plugin-mono.[ch]: Removed, these are now implemented as a plugin. * e-plugin.c (ep_load_plugin): separate out plugin xml loading code from the loading loop. If a plugin type doesn't exist, then save it in a list for later checking. (ep_load): call above to do the work. (e_plugin_register_type): check the pending doc list, if any plugins now have a type, load them. (e_plugin_type_hook_get_type): a plugin hook for registering new plugin types ('loaders') at runtime. svn path=/trunk/; revision=29412
* Initial, and un-finished work on importer plugin hooks.Not Zed2005-05-194-0/+908
| | | | | | | | | 2005-05-19 Not Zed <NotZed@Ximian.com> * e-import.[ch]: Initial, and un-finished work on importer plugin hooks. svn path=/trunk/; revision=29384
* added e-error.[ch], removed e-error-tool, and added e-system.error.xmlNot Zed2005-05-166-146/+721
| | | | | | | | | 2005-05-16 Not Zed <NotZed@Ximian.com> * Makefile.am: added e-error.[ch], removed e-error-tool, and added e-system.error.xml svn path=/trunk/; revision=29360
* if we have a factory method supplied, call that as well. More flexibleNot Zed2005-05-133-2/+17
| | | | | | | | | | 2005-05-13 Not Zed <NotZed@Ximian.com> * e-popup.c (emph_popup_factory): if we have a factory method supplied, call that as well. More flexible popup building. (emph_construct_menu): load factory def. svn path=/trunk/; revision=29352
* undefine e_profile_event_emit if we are compiled without profiling. TheNot Zed2005-05-033-2/+24
| | | | | | | | | | | | | 2005-05-03 Not Zed <NotZed@Ximian.com> * e-profile-event.c (e_profile_event_emit): undefine e_profile_event_emit if we are compiled without profiling. The 'abi' is not, nor was ever changed. * e-profile-event.h: revert previous patch, the assumptions were incorrect & the code misunderstood. svn path=/trunk/; revision=29261
* This method is a no-op if we are building without ENABLE_PROFILE defined,Rodney Dawes2005-05-032-4/+6
| | | | | | | | | | 2005-05-02 Rodney Dawes <dobey@novell.com> * e-profile-event.h (e_profile_event_emit): This method is a no-op if we are building without ENABLE_PROFILE defined, so we don't need to define a macro to no-op it, and change ABI at compile time svn path=/trunk/; revision=29259
* Braino.Tor Lillqvist2005-04-291-1/+1
| | | | svn path=/trunk/; revision=29250
* Port to Windows, initial commit:Tor Lillqvist2005-04-2910-59/+259
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-04-29 Tor Lillqvist <tml@novell.com> Port to Windows, initial commit: * configure.in: Check for Win32, define Automake conditional OS_WIN32. Check for regexec() perhaps in separate -lregex, define REGEX_LIBS if so. Require glib-2.0 >= 2.6 (and thus also gtk+-2.0 >= 2.6) so that we can use the gstdio wrappers for full support of non-ASCII filenames on Win32. Don't use -D_REENTRANT on Win32, has ne special meaning. * gal.pc.in: Require gtk+-2.0 >= 2.6 also here for consistency. * gal-zip.in: New file, used to build zipfile format distribution of gal for Win32. * configure.in * Makefile.am: Add gal-zip(.in). * */Makefile.am * */*.c: Harmonize -I and #include conventions. (Of course, this hasn't anything to do with Windows porting as such, I just got carried away...) Use only -I$(top_srcdir). Use paths to gal headers staring with "gal", except for headers from the same directory as the .c file, which are included as such. Include all gal headers using doublequotes. Sort #includes and remove duplicates and obvious redundancies. Include config.h first without any HAVE_CONFIG_H, then system headers, then other GNOME lib headers, than gal's own headers. Just include gtk.h instead of separate gtk*.h headers. Don't include gi18n.h, include e-i18n.h to use e_gettext() consistently. * gal/Makefile.am: Use -no-undefined on Win32 so that libtool agrees to build a shared library. Because of the bidirectional dependency between libgal and libgal-a11y we can build libgal-a11y sanely as a shared library on Win32, so we don't install any separate libgal-a11y at all. So, on Win32, link the stuff that goes into libgal-a11y also into libgal. Link with REGEX_LIBS. * gal/a11y/Makefile.am: See above. Just build a dummy static libgal-a11y on Win32 (can't convince Automake not to build the library at all on one platform using Automake ifdef, apparently). Then (this is a gross hack) explicitly remove the library after installation in the install-data-local rule. * gal/e-table/Makefile.am * gal/e-table/e-table-config.c: Rename ETABLE_GLADEDIR to GAL_GLADEDIR for consistency. * gal/e-table/e-cell-date.c: No localtime_r() in Microsoft's C library, but its localtime() *is* thread-safe. * gal/e-table/e-cell-text.c * gal/e-table/e-cell-tree.c * gal/e-table/e-cell-vbox.c * gal/e-text/e-text.c * gal/widgets/e-unicode.c: Remove unnecessary inclusion of gdkx.h. * gal/e-table/e-cell-tree.c (ect_realize): Instead of the Xlib macro None (whose value is zero), use the corresponding zero-valued enums from the appropriate GDK type. * gal/e-table/e-table-config.c * gal/e-table/e-table-field-chooser.c * gal/menus/gal-define-views-dialog.c * gal/menus/gal-view-instance-save-as-dialog.c * gal/menus/gal-view-new-dialog.c * gal/widgets/e-categories-master-list-array.c * gal/widgets/e-categories-master-list-dialog.c * gal/widgets/e-categories.c: Use g_build_filename() to construct pathnames at run-time instead of compile-time. On Windows the macros GAL_GLADEDIR and GAL_IMAGESDIR expand to function calls, in order to support installing in a freely chosen location. * gal/e-table/e-table-item.c * gal/e-table/e-cell-vbox.c: Instrad of the Xlib GrabSuccess, use GDK_GRAB_SUCCESS (which has the same value). * gal/e-table/e-table-specification.c (e_table_specification_load_from_file) * gal/e-table/e-table.c (e_table_load_specification) * gal/e-table/e-tree-table-adapter.c (open_file) * gal/menus/gal-view-instance.c (load_current_view) * gal/menus/gal-view-instance.c (load_current_view): On Win32, convert filename to the locale character set before passing to xmlParseFile() which doesn't use UTF-8 filenames. Use gstdio wrappers. * gal/util/Makefile.am: Define GAL_PREFIX as $prefix. Define GAL_LOCALEDIR, GAL_GLADEDIR and GAL_IMAGESDIR also here for e-win32-reloc.c. Include e-win32-reloc.c on Win32. * gal/util/e-iconv.c (e_iconv_init): Use g_win32_getlocale() on Windows. * gal/util/e-util.c * gal/util/e-xml-utils.c: Use g_mkstemp() instead of non-portable mkstemp(). Use GLib pathname manipulation functions. Use gstdio wrappers. * gal/util/e-util-private.h: New file. Contains just Win32 bits for now that redefine the directory names from the Makefile as functions calls. * gal/util/e-win32-reloc.c: New file. Contains a minimal DllMain() and functions to support freely chosen installation location on Windows. * gal/util/e-xml-utils.c: No fsync() in the Microsoft C library. * gal/windgets/Makefile.am: Add -I$(top_srcdir)/gal for consistency with the sibling Makefile.am files. * gal/widgets/e-canvas.c: Instead of the Xlib AlreadyGrabbed, use GDK_GRAB_ALREADY_GRABBED. svn path=/trunk/; revision=29249
* A profiling plugin hook.Not Zed2005-04-286-1/+305
| | | | | | | | 2005-04-28 Not Zed <NotZed@Ximian.com> * e-profile-event.[ch]: A profiling plugin hook. svn path=/trunk/; revision=29239
* We should set the title of the window.Mengjie Yu2005-04-282-0/+8
| | | | | | | | | | | 2005-04-27 Mengjie Yu <meng-jie.yu@sun.com> * e-config.c: (e_config_create_window): We should set the title of the window. Fixes #300477 svn path=/trunk/; revision=29236
* Added new receipt_policy field to servicesERDI Gergo2005-04-083-1/+74
| | | | | | | | 2004-08-07 ERDI Gergo <cactus@cactus.rulez.org> * e-account.h: Added new receipt_policy field to services svn path=/trunk/; revision=29184
* ** See bug #73550 (related for config pages)Not Zed2005-03-162-10/+23
| | | | | | | | | | | | 2005-03-14 Not Zed <NotZed@Ximian.com> ** See bug #73550 (related for config pages) * e-config.c (ech_config_widget_factory): if we are disabled, then noop. (ech_config_factory, ech_commit, ech_abort): same. svn path=/trunk/; revision=29031
* Remove/disable debug.Not Zed2005-03-045-20/+21
| | | | | | | | 2005-03-01 Not Zed <NotZed@Ximian.com> * *.c: Remove/disable debug. svn path=/trunk/; revision=28948
* Make mailer depend on libedataserverui.Hans Petter Jansson2005-02-244-1024/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-23 Hans Petter Jansson <hpj@novell.com> * configure.in: Make mailer depend on libedataserverui. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * Makefile.am (eutilinclude_HEADERS) (libeutil_la_SOURCES): Remove e-passwords from here, it now lives in libedataserverui. * e-passwords.[ch]: Removed. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * gui/component/addressbook-view.c: * gui/component/addressbook.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * common/authentication.c: * gui/e-pub-utils.c: * gui/alarm-notify/alarm-notify.c: * gui/alarm-notify/notify-main.c: * gui/dialogs/url-editor-dialog.c: Include <libedataserverui/e-passwords.h>. * gui/itip-utils.c: Remove e-passwords.h include, it's not needed. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * mail-session.c: * mail-config.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * gui/component.c: * lib/e-cert-db.c: * lib/e-pkcs12.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * e-shell-window-commands.c: * e-shell.c: * main.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * camel-gw-listener.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * send-options.c: Include <libedataserverui/e-passwords.h>. svn path=/trunk/; revision=28871
* ** See bug #61363 & mail/ChangeLogNot Zed2005-02-212-9/+38
| | | | | | | | | | | | | | | | 2005-02-10 Not Zed <NotZed@Ximian.com> ** See bug #61363 & mail/ChangeLog * e-config.c (ec_rebuild): work properly if the page factory returns NULL, so the code can selectivly turn off pages. (ec_druid_next, ec_druid_prev): skip non-created pages. * e-config.c (ec_rebuild): re-order notebook child properly. Connect to destroy events so we update the widget-node widget pointer properly for linked ui reconfigures. svn path=/trunk/; revision=28827
* completely rewritten. Simpler and more robust.Not Zed2005-02-192-83/+180
| | | | | | | | | | | | | | | 2005-02-17 Not Zed <NotZed@Ximian.com> * e-popup.c (ep_prune_tree, ep_build_tree, e_popup_create_menu): completely rewritten. Simpler and more robust. 2005-02-16 Not Zed <NotZed@Ximian.com> * e-popup.c (e_popup_create_menu): do the visibility mask test before sorting. don't perform it on bar's or submenu's anymore, calculate when not to show/create them. svn path=/trunk/; revision=28813
* If the plug-in is not enabled, do nothingRodney Dawes2005-02-142-0/+7
| | | | | | | | 2005-02-14 Rodney Dawes <dobey@novell.com> * e-menu.c (emph_construct): If the plug-in is not enabled, do nothing svn path=/trunk/; revision=28787
* Don't let the 'id' field, which identifies the target menu/whatever, to beNot Zed2005-02-074-0/+23
| | | | | | | | | | | | 2005-02-07 Not Zed <NotZed@Ximian.com> * e-popup.c (emph_construct_menu): * e-menu.c (emph_construct_menu): * e-config.c (emph_construct_menu): Don't let the 'id' field, which identifies the target menu/whatever, to be NULL, otherwise it gets added to all. svn path=/trunk/; revision=28728
* Set the border widths for the dialog containers to be HIG compliant FixRodney Dawes2005-02-052-2/+12
| | | | | | | | | | 2005-02-04 Rodney Dawes <dobey@novell.com> * e-passwords.c (ep_ask_password): Set the border widths for the dialog containers to be HIG compliant Fix the padding/spacing on the internal vbox to be HIG compliant svn path=/trunk/; revision=28711
* add a11y description for the entry.Mengjie Yu2005-01-272-1/+8
| | | | | | | | | 2005-01-27 Mengjie Yu <meng-jie.yu@sun.com> * e-request.c: (e_request_string):add a11y description for the entry. svn path=/trunk/; revision=28573
* add gal-a11y-e-cell-vbox.h and gal-a11y-e-cell-vbox.cLi Yuan2005-01-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-27 Li Yuan <li.yuan@sun.com> * gal/a11y/e-table/Makefile.am: add gal-a11y-e-cell-vbox.h and gal-a11y-e-cell-vbox.c * gal/a11y/e-table/gal-a11y-e-cell-popup.c: (gal_a11y_e_cell_popup_new): add i18n support to strings. Fixes #70261 * gal/a11y/e-table/gal-a11y-e-cell-text.c: (ect_dispose): disconnect the insert and the delete signal. (ect_check):do some check works. (ect_get_name), (ect_get_text), (ect_get_character_at_offset), (ect_get_caret_offset), (ect_get_character_count), (ect_get_n_selections), (ect_get_selection), (ect_add_selection), (ect_set_caret_offset), (ect_insert_text): use e_cell_text_get_text_by_view instead of e_cell_text_get_text. make get_name work well when e-cell-text is being edited. (ect_do_action_edit): call e_table_item_enter_edit only when the cell is editable. (ect_text_inserted_cb), (ect_text_deleted_cb): emit the text_changed::insert(delete) signal. make gnopernicus know the text_changed. (ect_class_init): add dispose function. (ect_action_init): add the edit action. (gal_a11y_e_cell_text_get_type): no ect_init function now. (cell_text_destroyed): unref the atkobject. (gal_a11y_e_cell_text_new): connect text_inserted and text_deleted singals and make sure the state of editable is right. * gal/a11y/e-table/gal-a11y-e-cell-text.h: add two signal handler id. * gal/a11y/e-table/gal-a11y-e-cell-toggle.c: (gal_a11y_e_cell_toggle_dispose): fix #70261. (model_change_cb): make gnopernicus to report state change signal. (gal_a11y_e_cell_toggle_new):add i18n support to strings. * gal/a11y/e-table/gal-a11y-e-cell-tree.c: (gal_a11y_e_cell_tree_new): add i18n support to strings. Fixes #61688 * gal/a11y/e-table/gal-a11y-e-cell-vbox.c: (ecv_get_n_children), (subcell_destroyed), (ecv_ref_child), (ecv_dispose), (ecv_ref_accessible_at_point), (ecv_class_init), (ecv_init), (ecv_atk_component_iface_init), (gal_a11y_e_cell_vbox_get_type), (gal_a11y_e_cell_vbox_new): * gal/a11y/e-table/gal-a11y-e-cell-vbox.h: implement a11y object of ECellVbox. Fixes #48976 * gal/a11y/e-table/gal-a11y-e-cell.c: function name are changed form eti_* to gal_a11y_e_cell_* (is_valid): check if the cell is valid. (gal_a11y_e_cell_dispose): make sure state_set is null. (gal_a11y_e_cell_get_name): implement the get_name function. (gal_a11y_e_cell_ref_state_set): add VISIBLE state. (gal_a11y_e_cell_get_parent), (gal_a11y_e_cell_get_index_in_parent), (gal_a11y_e_cell_get_extents): use e_tree_get_cell_geometry and e_table_get_cell_geometry instead of e_table_item_get_cell_geometry. (gal_a11y_e_cell_grab_focus): make grab_focus work with e-tree also. (gal_a11y_e_cell_atk_component_iface_init), (gal_a11y_e_cell_class_init): add get_name function. (gal_a11y_e_cell_init): add some state to cell. (idle_do_action): check if cell is valid. (gal_a11y_e_cell_action_do_action): check if cell is valid. (gal_a11y_e_cell_get_type), (gal_a11y_e_cell_construct): ref e-table-item. * gal/a11y/e-table/gal-a11y-e-table-click-to-add.c: (etcta_get_description), (etcta_action_get_name): add i18n support to strings. (etcta_get_name): if etcta has message, return it. (etcta_ref_state_set): implement the ref_state_set function, add SENSITIVE and SHOWING state. (etcta_class_init):add ref_state_set function. (etcta_selection_cursor_changed): call atk_focus_tracker_notify to a11y-e-cell (gal_a11y_e_table_click_to_add_new): connect etcta_selection_cursor_changed to cursor_changed signal. * gal/a11y/e-table/gal-a11y-e-table-item-factory.c: (gal_a11y_e_table_item_factory_create_accessible): parameters of gal_a11y_e_table_item_new have been changed. Fixes #68675 Fixes #70324 Fixes #68681 Fixes #68627 * gal/a11y/e-table/gal-a11y-e-table-item.c: remove the cell_data support. (item_destroyed): add ATK_STATE_DEFUNCT state and unref selection. (eti_ref_state_set): just ref state_set. (eti_dispose): we have unref selection in item_destroyed. remove the cell_data support. (eti_ref_child): remove support for column header. use eti_ref_at instead of atk_table_ref_at. (eti_get_extents): add support for click to add. (eti_ref_accessible_at_point): e-tree and e-table are different here. (cell_destroyed): add a check and unref item. remove the cell_data support. (eti_ref_at): if e-table-item has DEFUNCT state, return NULL. remove the cell_data support. (eti_get_column_header): use column name as the a11y name. set it role as ATK_ROLE_TABLE_COLUMN_HEADER. (table_is_row_selected): use view_to_model_row to convert row when uses source model. (table_get_selected_rows): if e-table-item has DEFUNCT state, return 0. (table_remove_row_selection): use view_to_model_row to convert row when uses source model. (eti_rows_inserted), (eti_rows_deleted): remove the cell_data support. (eti_tree_model_node_changed_cb): emit visible-data-changed signal. for the eti_clear_rows have been removed. (eti_header_structure_changed): remove the cell_data support. (eti_class_init): add eti_ref_state_set, remove eti_get_parent and eti_get_index_in_parent. (eti_init): init parent and index_in_parent. (gal_a11y_e_table_item_new): add some states. get name form parents. init role correctly. add FOCUSED state to focused cell. remove the cell_data support. (eti_a11y_selection_changed_cb): if e-table-item has DEFUNCT state, just return. (eti_a11y_cursor_changed_cb): remove the FOCUESD state form the old cell. (selection_add_selection): if it has been focused already, just return. if another row was focused, clear it first. (selection_ref_selection): use eti_ref_at instead of atk_table_ref_at. (gal_a11y_e_table_item_init): add this function. * gal/a11y/e-table/gal-a11y-e-table-item.h: add gal_a11y_e_table_item_init and change the parameters of gal_a11y_e_table_item_new. * gal/a11y/e-table/gal-a11y-e-table.c: (find_first_table_item): find the first item of the group. (eti_get_accessible), (find_table_item): find the first table item. (init_child_item): ref every group's first item. (et_ref_accessible_at_point): no need to call init_child_item here. just ref the item. (et_get_n_children): add support for multiple ETableItems. (et_ref_child): add support for multiple ETableItems. (et_get_layer): Set AtkLayer as ATK_LAYER_WIDGET for e-table. (et_atk_component_iface_init): add et_get_layer function. (gal_a11y_e_table_new):ref the a11y and widget, and unref it in the idle function to avoid crash. Fixes #71158 * gal/a11y/e-table/gal-a11y-e-tree.c: (init_child_item): just get the a11y object of the child item. (et_get_layer): Set AtkLayer as ATK_LAYER_WIDGET for etree. (et_atk_component_iface_init): add et_get_layer function. * gal/util/e-marshal.list: add support for the text_inserted and text_deleted signal. svn path=/trunk/; revision=28572
* If the plugin isn't enabled, return TRUE so that the suer doesn't getJeffrey Stedfast2005-01-273-2/+11
| | | | | | | | | | 2005-01-26 Jeffrey Stedfast <fejj@novell.com> * e-config.c (ech_check): If the plugin isn't enabled, return TRUE so that the suer doesn't get locked in one of the account druid pages. svn path=/trunk/; revision=28565
* Fixes #46404JP Rosevear2005-01-224-0/+146
| | | | | | | | | | | | 2005-01-21 JP Rosevear <jpr@novell.com> Fixes #46404 * Makefile.am: build new files * e-print.[hc]: print related config and dialog routines svn path=/trunk/; revision=28488
* removed e-url.[ch], which are now in libedataserver.Rodrigo Moya2005-01-184-400/+5
| | | | | | | | | 2005-01-17 Rodrigo Moya <rodrigo@novell.com> * e-url.[ch]: * Makefile.am: removed e-url.[ch], which are now in libedataserver. svn path=/trunk/; revision=28437
* dont' use '%.*s' for truncating string output.Not Zed2005-01-122-1/+8
| | | | | | | | | 2005-01-08 Not Zed <NotZed@Ximian.com> * e-url.c (e_url_shroud): dont' use '%.*s' for truncating string output. svn path=/trunk/; revision=28373
* fix parsing of query stringJP Rosevear2005-01-102-2/+5
| | | | | | | | 2005-01-09 JP Rosevear <jpr@novell.com> * e-url.c (e_uri_new): fix parsing of query string svn path=/trunk/; revision=28304
* set the dialog's parent.Rodrigo Moya2005-01-082-0/+7
| | | | | | | | | 2005-01-07 Rodrigo Moya <rodrigo@novell.com> * e-categories-config.c (e_categories_config_open_dialog_for_entry): set the dialog's parent. svn path=/trunk/; revision=28276
* use the new ECategoriesDialog in libedataserverui.Rodrigo Moya2005-01-082-10/+9
| | | | | | | | | 2005-01-07 Rodrigo Moya <rodrigo@novell.com> * e-categories-config.c (e_categories_config_open_dialog_for_entry): use the new ECategoriesDialog in libedataserverui. svn path=/trunk/; revision=28274
* Add the GTK_DIALOG_NOSEPARATOR flag, and set appropriate border widthsRodney Dawes2005-01-072-1/+14
| | | | | | | | | | 2005-01-06 Rodney Dawes <dobey@novell.com> * e-config.c (e_config_create_window): Add the GTK_DIALOG_NOSEPARATOR flag, and set appropriate border widths around the main dialog vbox, and action area, to be more HIG compliant svn path=/trunk/; revision=28262
* use the base name only, so if a full path is passed to us we still writeJP Rosevear2005-01-062-2/+11
| | | | | | | | | | 2005-01-06 JP Rosevear <jpr@novell.com> * e-error-tool.c (main): use the base name only, so if a full path is passed to us we still write out to the current directory, for when builddir != srcdir svn path=/trunk/; revision=28253
* removed most of the API. The rest will be removed as the GAL dependenciesRodrigo Moya2005-01-053-114/+15
| | | | | | | | | 2005-01-04 Rodrigo Moya <rodrigo@novell.com> * e-categories-config.[ch]: removed most of the API. The rest will be removed as the GAL dependencies are sorted out. svn path=/trunk/; revision=28235
* include config.h.Not Zed2004-12-224-4/+34
| | | | | | | | | | | | | | | | | | 2004-12-22 Not Zed <NotZed@Ximian.com> * e-plugin.c: include config.h. 2004-12-17 Not Zed <NotZed@Ximian.com> * e-popup.c (e_popup_add_items): add a translation domain to api. (e_popup_create_menu): translate the label using the supplied domain. (emph_popup_factory): pass domain to popup_add_items. * e-plugin.c (ep_construct): if we have a localedir set, then bindtextdomain so gettext can find it. svn path=/trunk/; revision=28175
* Fixes #30992JP Rosevear2004-12-222-1/+8
| | | | | | | | | | | 2004-12-21 JP Rosevear <jpr@novell.com> Fixes #30992 * e-config.c (e_config_create_window): use cancel rather than close button svn path=/trunk/; revision=28171
* convert to G_DEFINE_TYPEJP Rosevear2004-12-213-37/+33
| | | | | | | | | | 2004-12-21 JP Rosevear <jpr@novell.com> * e-account.c: convert to G_DEFINE_TYPE * e-account-list.c: ditto svn path=/trunk/; revision=28165
* kill warning if we can't open the path.Not Zed2004-12-082-1/+6
| | | | | | | | | 2004-12-08 Not Zed <NotZed@Ximian.com> * e-plugin.c (e_plugin_load_plugins): kill warning if we can't open the path. svn path=/trunk/; revision=28084
* set the table spacings to 6 for generated tables.Not Zed2004-12-062-7/+32
| | | | | | | | | | | | | | 2004-12-06 Not Zed <NotZed@Ximian.com> * e-config.c (ec_rebuild): set the table spacings to 6 for generated tables. 2004-11-22 Not Zed <NotZed@Ximian.com> * e-config.c (ec_rebuild): if the table existed before and we have no factory, destroy it always. svn path=/trunk/; revision=28069
* revert the patch from chenthill, this wont work yet.Not Zed2004-12-032-4/+6
| | | | | | | | | 2004-12-03 Not Zed <NotZed@Ximian.com> * e-config.c (ec_rebuild): revert the patch from chenthill, this wont work yet. svn path=/trunk/; revision=28057
* removed, code moved into camel-net-utils.[ch].Not Zed2004-12-0320-5433/+18
| | | | | | | | | | | | | | | | 2004-11-16 Not Zed <NotZed@Ximian.com> * e-host-utils.[ch]: removed, code moved into camel-net-utils.[ch]. 2004-11-15 Not Zed <NotZed@Ximian.com> * e-trie.[ch], e-memory.[ch], e-sexp.[ch], e-msgport.[ch]: Moved to eds/libedataserver. * e-path.[ch]: removed & deleted. svn path=/trunk/; revision=28050
* add mnemonic for label. add description for password dialog.Mengjie Yu2004-12-013-1/+10
| | | | | | | | | 2004-12-01 Mengjie Yu <meng-jie.yu@sun.com> * e-config.c: (ec_rebuild):add mnemonic for label. * e-passwords.c: (ep_ask_password):add description for password dialog. svn path=/trunk/; revision=28028
* get the image directly from the icon factoryJP Rosevear2004-11-267-80/+99
| | | | | | | | | | | | | | | | | | | | | | 2004-11-26 JP Rosevear <jpr@novell.com> * e-gui-utils.c (e_create_image_widget): get the image directly from the icon factory * e-config.c: insert debug defines so we can turn spew on and off * e-event.c: insert debug defines so we can turn spew on and off * e-menu.c: insert debug defines so we can turn spew on and off * e-plugin.c: insert debug defines and set to off for now * e-popup.c: insert debug defines so we can turn spew on and off (e_popup_create_menu): get the image directly from the icon factory svn path=/trunk/; revision=27997
* add protoJP Rosevear2004-11-263-2/+26
| | | | | | | | | | | | 2004-11-26 JP Rosevear <jpr@novell.com> * e-icon-factory.h: add proto * e-icon-factory.c (e_icon_factory_init): cast to kill warning (e_icon_factory_get_image): new function to return a GtkImage widget give an icon name and size svn path=/trunk/; revision=27995
* Set the row and column spacings as tweleve while creating the table toChenthill Palanisamy2004-11-252-1/+9
| | | | | | | | | 2004-11-25 Chenthill Palanisamy <pchenthill@novell.com> * e-config.c (ec_rebuild): Set the row and column spacings as tweleve while creating the table to make it HIG compliant. svn path=/trunk/; revision=27985
* if the plugin fails to load just disable it, don't unref it (it may beNot Zed2004-11-192-7/+10
| | | | | | | | | 2004-11-19 Not Zed <NotZed@Ximian.com> * e-plugin.c (ep_load): if the plugin fails to load just disable it, don't unref it (it may be referenced elsewhere). svn path=/trunk/; revision=27944
* split out module loadng code. (epl_construct): if we're enabled, andNot Zed2004-11-182-20/+53
| | | | | | | | | | 2004-11-18 Not Zed <NotZed@Ximian.com> * e-plugin.c (epl_loadmodule): split out module loadng code. (epl_construct): if we're enabled, and load-on-startup is set, load the module right away. Not to be abused! svn path=/trunk/; revision=27939
* added helper api to list all plugins. (ep_construct): load authors intoNot Zed2004-11-033-11/+148
| | | | | | | | | | | | | | 2004-11-03 Not Zed <NotZed@Ximian.com> * e-plugin.c (e_plugin_list_plugins): added helper api to list all plugins. (ep_construct): load authors into new list for them. (e_plugin_register_type): setup disabled list. (ep_construct): dont load the hooks if we're not enabled. (e_plugin_enable): make this a virutal method. (e_plugin_invoke): if we're disabled, noop. svn path=/trunk/; revision=27809
* ** See bug #68787Not Zed2004-11-022-30/+47
| | | | | | | | | | | | 2004-11-01 Not Zed <NotZed@Ximian.com> ** See bug #68787 * e-account.c (xml_set_content): check the new val isn't null before dereferencing it. * e-account.c (xml_set_prop): same here. svn path=/trunk/; revision=27789
* revert the last change.Not Zed2004-10-282-5/+6
| | | | | | | | 2004-10-28 Not Zed <NotZed@Ximian.com> * e-config.c (ec_rebuild): revert the last change. svn path=/trunk/; revision=27748
* set the default row/col spacings of the table.Not Zed2004-10-282-1/+9
| | | | | | | | | 2004-10-28 Not Zed <NotZed@Ximian.com> * e-config.c (ec_rebuild): set the default row/col spacings of the table. svn path=/trunk/; revision=27747
* check for empty trailing sections/pages after we exit the main loop.Not Zed2004-10-204-5/+38
| | | | | | | | | | | | | | | | 2004-10-20 Not Zed <NotZed@Ximian.com> * e-config.c (ec_rebuild): check for empty trailing sections/pages after we exit the main loop. * e-plugin.c (e_plugin_get_type): make ~/.eplugins the default eplugin location, not ~/.eplug. 2004-10-18 Not Zed <NotZed@Ximian.com> * e-config.h: fix some forward decls. svn path=/trunk/; revision=27644
* convert to org.gnome hook namesJP Rosevear2004-10-207-24/+29
| | | | | | | | | 2004-10-19 JP Rosevear <jpr@novell.com> * e-config.c, e-event.c, e-menu.c, e-plugin.c, e-plugin.h, e-popup.c: convert to org.gnome hook names svn path=/trunk/; revision=27633
* Use "%s" as the formatter argument and msg->prompt as a printf-styleJeffrey Stedfast2004-10-142-1/+7
| | | | | | | | | | 2004-10-07 Jeffrey Stedfast <fejj@novell.com> * e-passwords.c (ep_ask_password): Use "%s" as the formatter argument and msg->prompt as a printf-style argument rather than using it as the format string. Fixes bug #67622. svn path=/trunk/; revision=27566
* (untested, it compiles!).Not Zed2004-10-123-0/+38
| | | | | | | | | 2004-10-12 Not Zed <NotZed@Ximian.com> * e-config.c (ech_check, ech_config_factory, emph_construct_menu): setup a "check" handler, page-check/validation callback. svn path=/trunk/; revision=27551
* new method to create a targetless popup menu.Not Zed2004-10-123-0/+26
| | | | | | | | | 2004-10-12 Not Zed <NotZed@Ximian.com> * e-popup.c (e_popup_new): new method to create a targetless popup menu. svn path=/trunk/; revision=27545
* fix typoJP Rosevear2004-10-082-1/+5
| | | | | | | | 2004-10-08 JP Rosevear <jpr@novell.com> * e-plugin.c (ep_load): fix typo svn path=/trunk/; revision=27505
* handle wrong root element properly. From David TrowbridgeNot Zed2004-10-082-2/+10
| | | | | | | | | 2004-10-08 Not Zed <NotZed@Ximian.com> * e-plugin.c (ep_load): handle wrong root element properly. From David Trowbridge <David.Trowbridge@Colorado.edu> svn path=/trunk/; revision=27503
* Fix the function pointer types!Not Zed2004-10-072-2/+4
| | | | | | | | 2004-10-07 Not Zed <NotZed@Ximian.com> * e-plugin.h: Fix the function pointer types! svn path=/trunk/; revision=27499
* noop if we're disabled, and do some lifecycle stuff now, callNot Zed2004-10-073-5/+39
| | | | | | | | | | 2004-10-07 Not Zed <NotZed@Ximian.com> * e-plugin.c (epl_invoke): noop if we're disabled, and do some lifecycle stuff now, call e_plugin_lib_enable on the module if it exists. svn path=/trunk/; revision=27494
* show the toplevel notebook if we had to create one, always.Not Zed2004-10-075-70/+234
| | | | | | | | | | | | | | | | | | 2004-10-07 Not Zed <NotZed@Ximian.com> * e-config.c (ec_rebuild): show the toplevel notebook if we had to create one, always. * e-menu.c (e_menu_add_items): initialise node->menu properly. * e-plugin.c (ep_load): read/initialise a unique id for all plugins and track them in a hashtable. (ep_construct): refactor so we have more control over what happens. if the hook handling class isn't registered yet, just note it and keep going. (e_plugin_hook_new): remove this, its handled internally by above. svn path=/trunk/; revision=27490
* only take one mask parameter, and implement EPopupItem->enable to do whatNot Zed2004-10-073-21/+52
| | | | | | | | | | | | | 2004-10-06 Not Zed <NotZed@Ximian.com> * e-popup.c (e_popup_create_menu): only take one mask parameter, and implement EPopupItem->enable to do what the other mask did. (ep_activate): if this is a toggle or radiobutton, set the active state on the item->type. (e_popup_create_menu): if a menu image starts with gtk-, then assume it is a gtk stock image instead. svn path=/trunk/; revision=27485
* Merged notzed-eplugin-2-branch to head.Michael Zucci2004-09-2016-48/+6565
| | | | svn path=/trunk/; revision=27300
* return cancelled if we're in an offline state.Not Zed2004-08-303-0/+28
| | | | | | | | | 2004-08-27 Not Zed <NotZed@Ximian.com> * e-passwords.c (e_passwords_ask_password): return cancelled if we're in an offline state. svn path=/trunk/; revision=27074
* updated from libegg.Rodrigo Moya2004-08-273-62/+206
| | | | | | | | 2004-08-26 Rodrigo Moya <rodrigo@novell.com> * eggtrayicon.[ch]: updated from libegg. svn path=/trunk/; revision=27040
* Don't call gtk_dialog_set_has_separator on Gtk Message Dialog with GTK+ >=Frédéric Crozat2004-08-253-0/+12
| | | | | | | | | * e-dialog-utils.c: (e_notice): * e-passwords.c: (ep_ask_password): Don't call gtk_dialog_set_has_separator on Gtk Message Dialog with GTK+ >= 2.4.0. svn path=/trunk/; revision=27018
* include gtkdialog.h rather than gnome-dialog.h.Rodrigo Moya2004-08-142-1/+5
| | | | | | | | 2004-08-13 Rodrigo Moya <rodrigo@novell.com> * e-categories-config.c: include gtkdialog.h rather than gnome-dialog.h. svn path=/trunk/; revision=26921
* Optionally use GtkFileChooser if compiled against Gtk+ >= 2.4.0Carlos Garnacho Parro2004-08-132-11/+52
| | | | | | | | | 2004-08-12 Carlos Garnacho Parro <carlosg@gnome.org> * e-dialog-utils.c: Optionally use GtkFileChooser if compiled against Gtk+ >= 2.4.0 svn path=/trunk/; revision=26893
* ** See bug #61840, and others.Not Zed2004-08-123-214/+560
| | | | | | | | | | | | | | | | 2004-08-10 Not Zed <NotZed@Ximian.com> ** See bug #61840, and others. * e-passwords.c: Lots of changes. The api is now fully multi-thread safe, all calls are serialised internally, even recursive main-loop calls. Small api changes to the ask_password call to add some new features required by the mailer and to clean up some of the names. (e_passwords_cancel): new procedure to cancel any outstanding password requests, for when we need to go uninteractive. svn path=/trunk/; revision=26878
* We must return TRUE here so that things actually get removed from the listRodney Dawes2004-08-102-0/+7
| | | | | | | | | 2004-08-09 Rodney Dawes <dobey@novell.com> * e-icon-factory.c (icon_foreach_remove): We must return TRUE here so that things actually get removed from the list svn path=/trunk/; revision=26857
* connect to "changed" signal on the GnomeIconTheme object.Rodrigo Moya2004-08-062-2/+20
| | | | | | | | | | | | 2004-08-05 Rodrigo Moya <rodrigo@novell.com> * e-icon-factory.c (e_icon_factory_init): connect to "changed" signal on the GnomeIconTheme object. (icon_theme_changed_cb): g_hash_table_foreach_remove all items in the hash table. (icon_foreach_remove): callback for removing hash table items. svn path=/trunk/; revision=26834
* Fixes #62030Rodrigo Moya2004-08-052-4/+13
| | | | | | | | | | | | | 2004-08-05 Rodrigo Moya <rodrigo@novell.com> Fixes #62030 * e-icon-factory.c (load_icon): get the icon_key as a new argument and use that in the call to icon_new(). (e_icon_factory_get_icon): pass icon_key to load_icon(). (e_icon_factory_get_icon_list): ditto. svn path=/trunk/; revision=26830