aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/groupwise-features/share-folder-common.c
Commit message (Collapse)AuthorAgeFilesLines
* Give MailSession a permanent home.Matthew Barnes2010-10-131-7/+15
| | | | | | | | | | | Global variables in shared libraries are a bad idea. EMailBackend now owns the MailSession instance, which is actually now EMailSession. Move the blocking utility functions in mail-tools.c to e-mail-session.c and add asynchronous variants. Same approach as Camel. Replace EMailReader.get_shell_backend() with EMailReader.get_backend(), which returns an EMailBackend. Easier access to the EMailSession.
* Coding style and whitespace cleanup.Matthew Barnes2010-10-041-1/+1
|
* Adapt to Camel API changes.Matthew Barnes2010-09-281-2/+2
|
* Pass GCancellable to Camel.Matthew Barnes2010-09-281-2/+7
|
* Bug #611154 - problem in accessing folder propertyVibha Yadav2010-09-161-1/+1
|
* Coding style cleanups.Matthew Barnes2010-09-131-19/+19
|
* Bug #627812 - GW shouldn't use global folder tree.Milan Crha2010-09-131-7/+4
| | | | Groupwise shouldn't use global folder tree for UI.
* Coding style and whitespace cleanups.Matthew Barnes2010-09-121-1/+1
|
* Migrate from CamelException to GError.Matthew Barnes2010-07-091-17/+11
|
* Adapt to Camel API changes.Matthew Barnes2010-04-301-6/+10
|
* Camel is now GObject-based.Matthew Barnes2010-04-241-6/+6
|
* Giant leap towards GSEAL compliance.Matthew Barnes2010-04-081-2/+4
|
* Only #include Camel's top-level header.Matthew Barnes2010-04-031-5/+0
|
* Fix mismatched quotes.Matthew Barnes2010-03-291-1/+1
|
* BugĀ 589153 - Use GtkBuilder instead of libgladeMatthew Barnes2009-11-171-1/+0
|
* Cleanup and rename filter classes.Matthew Barnes2009-10-271-2/+2
|
* GN-bug #593617 - GroupWise plugins are not builtMilan Crha2009-09-231-52/+20
|
* More whitespace cleanup.Matthew Barnes2009-07-191-5/+5
|
* Fix excessive whitespace.Matthew Barnes2009-07-141-1/+0
|
* Thought of a better way to copy folder tree state.Matthew Barnes2009-06-141-1/+0
| | | | | | Revert the expanded tree model column and add a "selection"property to EMFolderTreeModel, which the sidebar sets. If set, all new EMFolderTree instances will automatically mimic its expanded and selected state.
* Use key files for tracking widget states.Matthew Barnes2009-06-131-0/+2
| | | | | | | | | | | | | | | | | Each EShellView now maintains a GKeyFile for recording disposable widget state such as tree view path expansion, scroll bar positions, combo box selections, etc. The EShellView records changes to the key file to ~/.evolution/<shell-backend>/config/state, and automatically restores the GKeyFile at startup. Currently only the mailer uses the key file, but it's intended to serve all shell views. It replaces the use of Camel "cmeta" files, as well as "et-expanded-*" and "folder-tree-expand-state.xml" files. Also, the mailer's folder tree model now includes a column for tracking which sidebar folders are expanded. Folder tree widgets appearing in dialog windows can copy the sidebar's expanded state using em_folder_tree_clone_expanded().
* More code cleanup.Matthew Barnes2009-06-021-5/+5
|
* Prefer GLib basic types over C types.Matthew Barnes2009-05-271-25/+25
|
* Remove trailing whitespace, again.Matthew Barnes2009-05-271-1/+1
|
* Fix compiler warnings in plugins.Matthew Barnes2009-05-271-2/+2
|
* Fix several types of pedantic compiler warnings.Matthew Barnes2009-05-171-1/+1
|
* Only #include specific libgnome[ui] headers; easier to track.Matthew Barnes2009-05-011-1/+0
| | | | | | | | Stop including top-level libgnome[ui] headers -- <gnome.h>, <libgnome/libgnome.h> and <libgnomeui/libgnomeui.h>. Instead, include specific header files so we can track them easier. Also, remove several unshipped test programs. Mostly ETable stuff.
* License ChangesSankarasivasubramanian Pasupathilingam2008-08-271-13/+15
| | | | svn path=/trunk/; revision=36116
* updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-211-1/+1
| | | | svn path=/trunk/; revision=35665
* ** Part of fix for bug #515744Milan Crha2008-02-181-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* ** Part of bug #511488Milan Crha2008-01-241-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | 2008-01-24 Milan Crha <mcrha@redhat.com> ** Part of bug #511488 * mail/mail-vfolder.h: * mail/mail-vfolder.c: (vfolder_loaded): Function dropped. * mail/mail-vfolder.c: (vfolder_load_storage): Allow to call this function more than once, but do load the storage only once. * mail/em-folder-utils.c: (emfu_popup_new_folder_response): * mail/mail-vfolder.c: (vfolder_edit), (vfolder_gui_add_rule), (vfolder_gui_add_from_message), (vfolder_gui_add_from_address): * mail/em-folder-browser.c: (emfb_search_menu_activated): * mail/em-folder-view.c: (emp_uri_popup_vfolder_sender), (emp_uri_popup_vfolder_recipient), (vfolder_type_current): Ensure vfolder is running. * plugins/groupwise-features/share-folder-common.c: (users_dialog_response): The logic to check if vfolder is running has been changed, so reflect it here too. svn path=/trunk/; revision=34878
* ** Fix for bug #300336Milan Crha2008-01-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-07 Milan Crha <mcrha@redhat.com> ** Fix for bug #300336 * plugins/groupwise-features/share-folder-common.c: (users_dialog_response): Ensure vfolder is running. * mail/mail-vfolder.h: (vfolder_loaded): * mail/mail-vfolder.c: (vfolder_loaded): New helper function. * mail/em-folder-utils.c: (emfu_popup_new_folder_response): * mail/mail-vfolder.c: (vfolder_gui_add_rule), (vfolder_gui_add_from_message), (vfolder_gui_add_from_address): * mail/em-folder-browser.c: (emfb_search_menu_activated): * mail/em-folder-view.c: (emp_uri_popup_vfolder_sender), (emp_uri_popup_vfolder_recipient), (vfolder_type_current): Ensure vfolder is running. * mail/mail-component.c: (mc_startup): Do not start vfolder when disabled by option '/apps/evolution/mail/display/enable_vfolders'. * mail/evolution-mail.schemas.in: Added schema for new option. * mail/mail-config.glade: * mail/em-mailer-prefs.h: * mail/em-mailer-prefs.c: Added checkbox for "Enable Search Folders" option. Note: if your schema failed to install, then the search folders will be hidden. Enable by hand then. svn path=/trunk/; revision=34775
* ** Fixes bug #362638Matthew Barnes2007-12-211-23/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-12-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #362638 * calendar/gui/alarm-notify/alarm-notify.c: * calendar/gui/alarm-notify/alarm-notify.h: * calendar/gui/alarm-notify/alarm-queue.c: Rewrite message passing to use GThreadPool instead of EThread. * mail/mail-mt.h: Overhaul the message passing API: - Define a MailMsg type as the base message struct. - Define types for the various callback functions. - Add a priority value to each message (not yet used). - Add a reference count to each message. - Define a MailMsgInfo type for the virtual function table. - Record the size of message sub-types in MailMsgInfo. - New/changed functions: mail_msg_new() - Easier to use. mail_msg_ref() - Increase reference count. mail_msg_unref() - Decrease reference count. mail_msg_main_loop_push() } mail_msg_unordered_push() } Submit MailMsgs to various mail_msg_fast_ordered_push() } message-processing threads. mail_msg_slow_ordered_push() } * mail/mail-mt.c (mail_msg_new): Use GSlice for memory allocation. * mail/mail-mt.c (mail_msg_ref), (mail_msg_unref): New functions increment/decrement a MailMsg's reference count. * mail/mail-mt.c (mail_cancel_hood_add), (mail_cancel_hook_remove): Convert the 'cancel_hook_list' from an EDList to a GHookList and modify the API accordingly. * mail/mail-mt.c: Use GThreadPools instead of EThreads. Use GAsyncQueues instead of EMsgPorts. * mail/em-composer-utils.c: * mail/em-folder-browser.c: * mail/em-folder-properties.c: * mail/em-folder-tree.c: * mail/em-folder-utils.c: * mail/em-folder-view.c: * mail/em-format-html-print.c: * mail/em-format-html.c: * mail/em-subscribe-editor.c: * mail/em-sync-stream.c: * mail/importers/elm-importer.c: * mail/importers/mail-importer.c: * mail/importers/pine-importer.c: * mail/mail-component.c: * mail/mail-folder-cache.c: * mail/mail-mt.c: * mail/mail-ops.c: * mail/mail-ops.h: * mail/mail-send-recv.c: * mail/mail-session.c: * mail/mail-vfolder.c: * mail/message-list.c: * plugins/folder-unsubscribe/folder-unsubscribe.c: * plugins/groupwise-features/share-folder-common.c: * plugins/exchange-operations/exchange-folder.c: * plugins/mark-all-read/mark-all-read.c: * plugins/mailing-list-actions/mailing-list-actions.c: * plugins/itip-formatter/itip-formatter.c: * plugins/save-attachments/save-attachments.c: Use the new MailMsg API for messages. svn path=/trunk/; revision=34730
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-60/+60
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* ** Fixes bug #477045Matthew Barnes2007-09-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-09-27 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #477045 * addressbook/gui/component/addressbook-component.c: * addressbook/gui/component/addressbook-view.c: * 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/gui/widgets/eab-contact-display.c: * calendar/gui/calendar-commands.c: * calendar/gui/calendar-component.c: * calendar/gui/dialogs/cal-attachment-select-file.c: * calendar/gui/dialogs/comp-editor.c: * calendar/gui/dialogs/event-editor.c: * calendar/gui/dialogs/task-editor.c: * calendar/gui/e-cal-popup.c: * calendar/gui/e-calendar-table.c: * calendar/gui/e-calendar-view.c: * calendar/gui/e-day-view.c: * calendar/gui/e-memo-table.c: * calendar/gui/e-week-view.c: * calendar/gui/memos-component.c: * calendar/gui/memos-control.c: * calendar/gui/tasks-component.c: * calendar/gui/tasks-control.c: * composer/e-msg-composer-select-file.c: * composer/e-msg-composer.c: * mail/em-folder-tree.c: * mail/em-folder-view.c: * mail/em-popup.c: * mail/mail-component.c: * mail/mail-mt.c: * mail/mail-send-recv.c: * mail/message-list.c: * plugins/exchange-folder-permission.c: * plugins/exchange-folder.c: * plugins/groupwise-features/share-folder-common.c: * shell/e-shell-window-commands.c: * ui/evolution-addressbook.xml: * ui/evolution-calendar.xml: * ui/evolution-composer-entries.xml: * ui/evolution-editor.xml: * ui/evolution-event-editor.xml: * ui/evolution-mail-list.xml: * ui/evolution-mail-message.xml: * ui/evolution-memos.xml: * ui/evolution-message-composer.xml: * ui/evolution-subscribe.xml: * ui/evolution-task-editor.xml: * ui/evolution-tasks.xml: * ui/evolution.xml: Use standard icon names where applicable. svn path=/trunk/; revision=34322
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-021-1/+1
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* ** Fixes bug #419524Matthew Barnes2007-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 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
* ** See bug 326348 check if its a valid accoune before creating folderParthasarathi Susarla2006-02-081-0/+4
| | | | | | | | | | 2006-02-08 Parthasarathi Susarla <sparthasarathi@novell.com> ** See bug 326348 * share-folder-common.c:(refresh_folder_tree) check if its a valid accoune before creating folder svn path=/trunk/; revision=31445
* : (org_gnome_shared_folder_factory) enable shared-folder functionalilty,Vivek Jain2005-09-301-7/+0
| | | | | | | | | | | 2005-09-30 Vivek Jain <jvivek@novell.com> * shared-folder-common.c: (org_gnome_create_option) : (org_gnome_shared_folder_factory) * install-shared.c : (org_gnome_popup_wizard) enable shared-folder functionalilty, remove env check svn path=/trunk/; revision=30441
* return the right type. (proxy_soap_login): fix pointer cast.Not Zed2005-08-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-08-23 Not Zed <NotZed@Ximian.com> * proxy-login.c (proxy_get_password): return the right type. (proxy_soap_login): fix pointer cast. (proxy_login_add_new_store): fix pointer cast. (proxy_login_setup_tree_view): fix callback cast. (org_gnome_proxy_account_login): fix prototype to match use. * junk-settings.c (user_selected): fix calling. (junk_settings_construct): more stupid casts. * junk-mail-settings.c (junk_mail_settings): casts. * install-shared.c (install_folder_response): constify item_id. (install_folder_response): remove unused. (org_gnome_popup_wizard): fixed numerous problems with this, over-copying data around, not referencing information properly, freeing potentially unset variables, etc etc. (accept_free): add a free function. * share-folder.c (notification_clicked): fix a multitude of busted casts. (user_selected): fix broken calling conventions, busted style. (share_folder_construct): fix more busted/missing casts. * share-folder-common.c: add missing header. svn path=/trunk/; revision=30232
* ** see previous commit changed variable name to groupwise_shared_foldervivek jain2005-08-221-2/+2
| | | | | | | | | | 2005-08-22 vivek jain <jvivek@novell.com> ** see previous commit changed variable name to groupwise_shared_folder svn path=/trunk/; revision=30198
* : (org_gnome_shared_folder_factory) disable shared-folder functionaliltyVivek Jain2005-08-221-0/+8
| | | | | | | | | | | | | 2005-08-22 Vivek Jain <jvivek@novell.com> * shared-folder-common.c: (org_gnome_create_option) : (org_gnome_shared_folder_factory) * install-shared.c : (org_gnome_popup_wizard) disable shared-folder functionalilty temporarily, (server doesn't show mails in it) export SHARED_FOLDER if you want to have it svn path=/trunk/; revision=30192
* always use full name for the folder **Fixes #311555Vivek Jain2005-08-101-8/+12
| | | | | | | | | | 2005-08-10 Vivek Jain <jvivek@novell.com> * share-folder-common.c:(org_gnome_shared_folder_factory) always use full name for the folder **Fixes #311555 svn path=/trunk/; revision=30068
* Marked strings for translationVivek Jain2005-07-191-2/+2
| | | | | | | | 2005-07-19 Vivek Jain <jvivek@novell.com> * junk-mail-settings.c: Marked strings for translation svn path=/trunk/; revision=29800
* removed "Item" tag entries, included a factory methodVivek Jain2005-05-241-1/+38
| | | | | | | | | | | | | | 2005-05-24 Vivek Jain <jvivek@novell.com> * org-gnome-groupwise-features.eplug.xml: removed "Item" tag entries, included a factory method * shared-folder-common.c: changed callback (org_gnome_create_option) to a factory method, check uri before adding the option to the menu. New folder dialog now comes in another callback (create_shared_folder) also added a function to free the item list. svn path=/trunk/; revision=29404
* Created a plugin "groupwise-features" which is a consolidation ofVivek Jain2005-05-231-0/+494
23-05-2005 Vivek Jain <jvivek@novell.com> Created a plugin "groupwise-features" which is a consolidation of following existing plugins * groupwise-account-setup * addressbook-groupwise * shared-folder * groupwise-send-options * groupwise-status-tracking * send-options svn path=/trunk/; revision=29400