aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-tree.c
Commit message (Collapse)AuthorAgeFilesLines
* Bug #638333 - Critical warning when invoking File->New->Mail FolderMilan Crha2011-06-301-0/+11
|
* Fix few memory leaksMilan Crha2011-06-301-2/+8
|
* Adapt EMFolderTree to latest gtk+-3.0 API.Matthew Barnes2011-06-301-5/+3
|
* Drop backward-compatibility cruft.Matthew Barnes2011-06-301-3/+0
|
* Do not dereference NULL local_error variableMilan Crha2011-06-301-2/+3
|
* Do not hide maildir accounts from UIMilan Crha2011-06-301-1/+1
|
* EMFolderTree: Fully implement ESelectableInterface.Matthew Barnes2011-06-301-35/+180
| | | | Was missing "copy-target-list" and "paste-target-list" properties.
* Migrate the local store from mbox to maildir formatChenthill Palanisamy2011-06-301-1/+1
|
* Bug #633371 - Remote pop folder no longer emptiedMilan Crha2010-10-291-1/+1
|
* Simplify EActivity.Matthew Barnes2010-10-231-12/+20
| | | | | | | | | | | | | | | | | | | | | | With unintrusive error dialogs gone, we can cut some unnecessary bits out of EActivity. I'm also adding a new enum property called "state", which is one of: E_ACTIVITY_RUNNING E_ACTIVITY_WAITING E_ACTIVITY_CANCELLED E_ACTIVITY_COMPLETED The state of an activity must be explicitly changed. In particular, when the user cancels an activity the state should be set only after confirming the operation has been cancelled and not when cancellation is requested (e.g. after receiving a G_IO_ERROR_CANCELLED, not when the GCancellable emits "cancelled"). EActivityBar and EActivityProxy widgets have been updated to make this distinction clearer in the UI. E_ACTIVITY_WAITING will be used when activities have to be queued and dispatched in sequence, which I haven't written yet.
* Add an "ellipsize" property to EMFolderTree.Matthew Barnes2010-10-191-10/+53
| | | | | | So we don't have to access GConf directly from EMFolderTree. The property gets bound to an EShellSettings property, which is in turn bound to the "no_folder_dots" GConf key by way of a transform function.
* Move more account utilities to e-account-utils.c.Matthew Barnes2010-10-191-2/+1
|
* Kill mail_config_get_gconf_client().Matthew Barnes2010-10-191-3/+5
|
* Give MailSession a permanent home.Matthew Barnes2010-10-131-12/+106
| | | | | | | | | | | 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.
* Bug #631320 - GtkObject is gone in GTK3Milan Crha2010-10-071-36/+20
|
* Adapt to Camel API changes.Matthew Barnes2010-09-281-11/+11
|
* Pass GCancellable to Camel.Matthew Barnes2010-09-281-10/+24
|
* Use new GDK keysym names if available.Matthew Barnes2010-09-181-2/+4
| | | | | | | In GTK+ 2.21.8, the keysym names were renamed from GDK_* to GDK_KEY_*. I've added backward-compatibility macors to gtk-compat.h, which can be dumped as soon as we require GTK+ >= 2.22.0.
* Coding style cleanups.Matthew Barnes2010-09-131-88/+88
|
* Coding style and whitespace cleanups.Matthew Barnes2010-09-121-80/+159
|
* Memory leak fix in em_folder_tree_get_selected_folderMilan Crha2010-09-071-0/+2
|
* Typo in tree_autoscroll().Matthew Barnes2010-08-111-1/+1
|
* Simplify em_folder_tree_restore_state().Matthew Barnes2010-07-301-14/+10
|
* Bug 624235 - CamelPOP3Store missing some methodsMatthew Barnes2010-07-131-0/+7
| | | | | | CamelPOP3Store's get_folder_info() now sets CAMEL_STORE_ERROR_NO_FOLDER since it has no folder hierarchy to scan. This catches and clears that error so it doesn't reach the user.
* Migrate from CamelException to GError.Matthew Barnes2010-07-091-44/+26
|
* Various folder tree icon enhancements.Matthew Barnes2010-06-231-32/+73
| | | | | | | | - Show selected folders with plain folder icons as "folder-open". - When a folder is a valid drag destination, use "folder-drag-accept". - When dragging folders, show the tree view row being dragged.
* More GTK3 preparation.Matthew Barnes2010-06-041-51/+74
| | | | | This uses the new gtk_assistant_commit() I had added to GTK+ for our EImportAssistant progress page.
* Fix a duplicate statement in em-folder-tree.c.Matthew Barnes2010-05-291-2/+0
|
* Merge branch 'express2'Matthew Barnes2010-05-271-0/+2
|\
| * Coding style and whitespace cleanup.Matthew Barnes2010-05-251-4/+4
| |
| * Bug #616823 - Evolution allows moving IMAP Inbox to other foldersMilan Crha2010-05-111-1/+25
| |
| * Bug #615331 - Message list/Folder tree focus policy has changedMilan Crha2010-04-191-0/+89
| |
* | Bug #616823 - Evolution allows moving IMAP Inbox to other foldersMilan Crha2010-05-111-1/+25
| |
* | Coding style and whitespace cleanup.Matthew Barnes2010-05-021-4/+4
| |
* | Adapt to Camel API changes.Matthew Barnes2010-04-301-4/+12
| |
* | Camel is now GObject-based.Matthew Barnes2010-04-241-12/+12
| |
* | Bug #615331 - Message list/Folder tree focus policy has changedMilan Crha2010-04-191-0/+89
| |
* | Use accessor functions instead direct access (GSEAL work)Javier Jardón2010-04-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Still remaining: GtkAccessible::widget GtkAssistant::forward GtkAssistant::back GtkObject::flags GtkTreeStore::stamp The GtkAssistant fields are related to bug #596428. We don't need accessor functions so much as the enhancement described there implemented. https://bugzilla.gnome.org/show_bug.cgi?id=615613
* | Giant leap towards GSEAL compliance.Matthew Barnes2010-04-081-16/+28
| |
* | Only #include Camel's top-level header.Matthew Barnes2010-04-031-9/+0
|/
* Shell and UI manager cleanups.Matthew Barnes2010-03-141-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | Replace the EVO_EXPRESS environment variable with an --express command line option. (Note, this adds a new translatable string for --help.) Add an EUIManager class with an "express-mode" property and custom load functions that use our new "express" preprocessor. This replaces the UI manager functions in e-utils.c. (Also going to see if I can get GTK+ to add an "add_ui_from_string" method to GtkUIManagerClass that we can override. Then we could just call gtk_ui_manager_add_ui_from_string() and the preprocessor would automatically do its thing and chain up.) Add an "express-mode" read-only GObject property to EShell. Add e_shell_configure_ui_manager() to e-shell-utils.c. For now this just creates a one-way property binding: EShell:express-mode -> EUIManager:express-mode Call this immediately after e_ui_manager_new(). (EUIManager can't do this itself because it lives too low in the dependency hierarchy and doesn't know about EShell.)
* Collapse system stores by default.Srinivasa Ragavan2010-03-141-2/+17
|
* Bug #604306 - Crash in folder_tree_cell_edited_cbMilan Crha2010-02-161-8/+20
|
* Coding style and whitespace cleanup.Matthew Barnes2010-01-311-1/+1
|
* Remove dead assignments found by clang.Matthew Barnes2010-01-161-6/+0
|
* Bug 606250 - Remove usage of deprecated GTK+ symbolsMatthew Barnes2010-01-081-1/+1
| | | | Several GtkWidget macros were recently deprecated.
* Bug #604994 - Folder state not preserved in Copy/Move Folder dialogMilan Crha2010-01-071-0/+140
|
* Introduce EMailSidebar into libevolution-mail.Matthew Barnes2009-12-151-190/+195
| | | | | | EMailSidebar is a subclass of EMFolderTree that implements the state saving and restoration feature from EMailShellSidebar. Placing this in the shared mail library allows Anjal to reuse it.
* Port all error code to use GObject-ified EAlert / EAlertDialogJonathon Jongsma2009-12-081-1/+1
| | | | | | The changes are mainly including the e-alert-header.h header instead of just e-alert.h. This allows us to include e-alert.h in non-UI situations when necessary.
* Rename EError to EAlert to match general use betterJonathon Jongsma2009-12-011-4/+4
| | | | | | | | | | The EError mechanism is used both for error dialogs as well as basic alerts or user prompts, so we should give it a more general name which matches this use. This patch also cleans up a few includes of e-alert.h (formerly e-error.h) that were not actually being used. https://bugzilla.gnome.org/show_bug.cgi?id=602963
* port mail/ to use new EError APIJonathon Jongsma2009-12-011-3/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=602963
* Whitespace cleanup.Matthew Barnes2009-11-151-1/+1
|
* Bug #268644 - unread mail shortcut collides with gtk tree searchMilan Crha2009-10-291-0/+16
| | | | Re-applied, as it got lost on kill-bonobo merge
* Bug 599882 - Crash in em_folder_tree_select_prev_path() when wrapping to bottomMatthew Barnes2009-10-291-49/+82
| | | | | Also fixes a whole bunch of memory leaks caused by unfreed strings and unfreed GtkTreePaths.
* Don't update the message list when right-clicking on a folder.Matthew Barnes2009-10-281-2/+14
| | | | | | After the folder's context menu closes the folder tree selection jumps back to the folder whose contents are showing in the message list. Suggested by Philippe LeCavalier on evolution-list.
* Bug #339628 - Non-default Draft folders are Draft folders tooMilan Crha2009-10-161-3/+5
|
* Bug #594015 - Keeps "Loading..." node on the first fetchMilan Crha2009-09-301-2/+12
|
* Whitespace cleanup in em-folder-tree.cMatthew Barnes2009-09-291-17/+18
|
* Fix few valgrind claimsMilan Crha2009-09-221-0/+1
|
* Followup fixes for inline folder renames.Matthew Barnes2009-09-131-8/+11
|
* Bug 217066 - Rename folders directly inside folder listMatthew Barnes2009-09-131-1/+148
|
* EMFolderTree code cleanup.Matthew Barnes2009-09-131-177/+177
|
* Require a parent window when creating an EMFolderSelector.Matthew Barnes2009-09-111-1/+0
|
* Bug #593779 - re-committing patch from bug #214238Milan Crha2009-09-011-9/+20
|
* Re-enable more calendar bits.Matthew Barnes2009-08-191-1/+1
|
* Bug 591829 - Dragging mails to folder tree does not workMatthew Barnes2009-08-181-73/+3
|
* Kill EMMenu and EMPopup.Matthew Barnes2009-08-101-1/+4
| | | | | Also finish adapting Templates plugin to EPluginUI. It was still leaning pretty hard on EMPopup.
* More whitespace cleanup.Matthew Barnes2009-07-191-1/+1
|
* Fix excessive whitespace.Matthew Barnes2009-07-141-3/+0
|
* Use an EShellSettings property for folder tree search.Matthew Barnes2009-07-111-3/+0
|
* Merge branch 'master' into kill-bonoboMatthew Barnes2009-07-011-3/+0
|\
| * Bug #268644 - unread mail shortcut collides with gtk tree searchMilan Crha2009-06-251-1/+13
| |
| * Leak a bit less. Use proper function prototype.Milan Crha2009-06-151-0/+1
| | | | | | | | The first is for mail, the second for publish-calendar plugin.
| * More code cleanup.Matthew Barnes2009-06-021-3/+3
| |
| * Bug #337082 - Do not produce unnamed folders in a folder treeMilan Crha2009-06-021-4/+6
| |
| * Bug 323037 – Folder emblem to show new mail arrivalMilan Crha2009-06-011-4/+60
| |
| * Bug 583446 – refresh folder hookLucian Langa2009-05-291-1/+5
| |
| * Whitespace cleanup.Matthew Barnes2009-05-291-2/+2
| |
| * Prefer GLib basic types over C types.Matthew Barnes2009-05-291-90/+90
| |
| * Remove trailing whitespace, again.Matthew Barnes2009-05-291-2/+2
| |
* | Split store and local folder management out from shell backend.Matthew Barnes2009-06-241-89/+106
| |
* | EMFolderTree cleanups.Matthew Barnes2009-06-201-437/+457
| |
* | Thought of a better way to copy folder tree state.Matthew Barnes2009-06-141-39/+61
| | | | | | | | | | | | 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.
* | Clean up EMFolderTreeModel.Matthew Barnes2009-06-141-15/+5
| |
* | Use key files for tracking widget states.Matthew Barnes2009-06-131-116/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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().
* | Bug #337082 - Do not produce unnamed folders in a folder treeMilan Crha2009-06-021-4/+6
| |
* | More code cleanup.Matthew Barnes2009-06-021-3/+3
| |
* | Bug 323037 – Folder emblem to show new mail arrivalMilan Crha2009-06-011-4/+60
| |
* | Whitespace cleanup.Matthew Barnes2009-05-291-2/+2
| |
* | Prefer GLib basic types over C types.Matthew Barnes2009-05-271-72/+72
| |
* | Merge branch 'master' into kill-bonoboMatthew Barnes2009-05-271-15/+15
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: a11y/widgets/ea-combo-button.c a11y/widgets/ea-combo-button.h addressbook/gui/component/addressbook-component.c addressbook/gui/component/addressbook-component.h addressbook/gui/component/addressbook-view.c addressbook/gui/component/addressbook-view.h addressbook/gui/component/component-factory.c addressbook/gui/widgets/e-addressbook-view.c addressbook/gui/widgets/eab-contact-display.c addressbook/gui/widgets/eab-gui-util.h addressbook/gui/widgets/eab-menu.c addressbook/gui/widgets/eab-menu.h addressbook/gui/widgets/eab-popup-control.c addressbook/gui/widgets/eab-popup-control.h addressbook/gui/widgets/eab-popup.c addressbook/gui/widgets/eab-popup.h calendar/gui/cal-search-bar.c calendar/gui/calendar-commands.c calendar/gui/calendar-component.c calendar/gui/comp-editor-factory.c calendar/gui/comp-editor-factory.h calendar/gui/control-factory.c calendar/gui/dialogs/comp-editor.c calendar/gui/e-cal-component-memo-preview.c calendar/gui/e-cal-component-memo-preview.h calendar/gui/e-calendar-table.c calendar/gui/e-memo-table.c calendar/gui/e-memos.c calendar/gui/e-tasks.c calendar/gui/gnome-cal.c calendar/gui/gnome-cal.h calendar/gui/itip-bonobo-control.c calendar/gui/itip-bonobo-control.h calendar/gui/main.c calendar/gui/memos-component.c calendar/gui/memos-control.c calendar/gui/memos-control.h calendar/gui/migration.c calendar/gui/migration.h calendar/gui/tasks-component.c calendar/gui/tasks-control.c calendar/importers/main.c composer/Makefile.am composer/e-composer-header-table.c composer/e-composer-header.c composer/e-composer-header.h composer/e-composer-name-header.c composer/e-composer-private.c composer/e-composer-text-header.c composer/e-msg-composer.c composer/e-msg-composer.h e-util/e-corba-utils.h e-util/e-logger.c e-util/e-logger.h e-util/e-util-labels.c e-util/e-util-labels.h em-format/em-format.c mail/Makefile.am mail/e-mail-shell-migrate.c mail/em-account-editor.c mail/em-account-editor.h mail/em-composer-prefs.c mail/em-composer-utils.c mail/em-composer-utils.h mail/em-folder-browser.c mail/em-folder-tree-model.c mail/em-folder-tree.c mail/em-folder-tree.h mail/em-folder-utils.c mail/em-folder-utils.h mail/em-folder-view.c mail/em-format-html-display.c mail/em-format-html.c mail/em-mailer-prefs.c mail/em-mailer-prefs.h mail/em-message-browser.c mail/em-message-browser.h mail/em-network-prefs.h mail/em-popup.c mail/em-utils.c mail/importers/Makefile.am mail/mail-component-factory.c mail/mail-component.c mail/mail-config-factory.c mail/mail-config-factory.h mail/mail-config.c mail/mail-dialogs.glade mail/mail-types.h plugins/calendar-weather/calendar-weather.c plugins/mail-account-disable/mail-account-disable.c plugins/select-one-source/select-one-source.c po/POTFILES.in shell/e-component-registry.c shell/e-component-registry.h shell/e-component-view.c shell/e-component-view.h shell/e-corba-config-page.c shell/e-corba-config-page.h shell/e-shell-constants.h shell/e-shell-settings-dialog.c shell/e-shell-settings-dialog.h shell/e-shell-window-commands.c shell/e-shell-window.c shell/e-shell.h shell/e-sidebar.c shell/e-sidebar.h shell/e-user-creatable-items-handler.c shell/e-user-creatable-items-handler.h shell/es-menu.c shell/es-menu.h shell/evolution-component.h shell/evolution-config-control.c shell/evolution-config-control.h shell/evolution-listener.c shell/evolution-listener.h shell/evolution-shell-component-utils.c shell/evolution-shell-component-utils.h shell/importer/evolution-importer-client.c shell/importer/evolution-importer-client.h shell/importer/evolution-importer-listener.c shell/importer/evolution-importer-listener.h shell/importer/evolution-importer.c shell/importer/evolution-importer.h shell/importer/evolution-intelligent-importer.c shell/importer/evolution-intelligent-importer.h shell/importer/intelligent.c shell/main.c shell/test/evolution-test-component.c shell/test/evolution-test-component.h widgets/menus/gal-view-instance.c widgets/menus/gal-view-menus.c widgets/menus/gal-view-menus.h widgets/misc/Makefile.am widgets/misc/e-activity-handler.c widgets/misc/e-activity-handler.h widgets/misc/e-charset-picker.c widgets/misc/e-combo-button.c widgets/misc/e-combo-button.h widgets/misc/e-config-page.h widgets/misc/e-dropdown-button.c widgets/misc/e-dropdown-button.h widgets/misc/e-filter-bar.c widgets/misc/e-info-label.c widgets/misc/e-info-label.h widgets/misc/e-multi-config-dialog.c widgets/misc/e-multi-config-dialog.h widgets/misc/e-search-bar.c widgets/misc/e-search-bar.h widgets/misc/e-task-bar.c widgets/misc/e-task-bar.h widgets/misc/e-task-widget.c widgets/misc/e-task-widget.h widgets/misc/test-dropdown-button.c widgets/misc/test-error.c widgets/misc/test-info-label.c widgets/table/e-table-example-1.c
| * | Remove trailing whitespace, again.Matthew Barnes2009-05-271-2/+2
| |/
| * Fix compiler warnings in mail.Matthew Barnes2009-05-261-26/+26
| |
| * Use named icons in the folder tree instead of pixbufs.Matthew Barnes2009-05-251-82/+4
| |
| * Eliminate redundant E_ICON_SIZE_* enumeration.Matthew Barnes2009-05-241-9/+9
| |
| * Mail changes required for Anjal.Srinivasa Ragavan2009-05-221-0/+17
| |
* | Mail changes required for Anjal.Srinivasa Ragavan2009-05-241-0/+10
| |
* | Adapt mail to EShellBackend changes.Matthew Barnes2009-05-081-10/+11
| | | | | | | | | | Again, builds but not tested. Lots of compiler warnings to clean up, but I don't have the energy for it. This was pretty grueling.
* | Merge branch 'master' into kill-bonoboMatthew Barnes2009-05-041-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: addressbook/gui/Makefile.am addressbook/gui/widgets/Makefile.am addressbook/gui/widgets/eab-popup-control.c calendar/gui/e-meeting-time-sel.c calendar/gui/migration.c calendar/modules/e-memo-shell-module-migrate.h e-util/e-logger.c mail/e-mail-attachment-bar.c mail/em-composer-utils.c mail/em-format-html-display.c plugins/mail-account-disable/Makefile.am plugins/select-one-source/Makefile.am po/es.po shell/Makefile.am shell/e-shell-common.h shell/e-shell-nm.c shell/e-shell-window-commands.c shell/e-shell-window.c shell/e-sidebar.c shell/e-user-creatable-items-handler.c shell/importer/Makefile.am shell/test/Makefile.am widgets/misc/test-error.c widgets/misc/test-info-label.c widgets/misc/test-multi-config-dialog.c
| * ** BUGFIX: 573830 - g_timeout_add_seconds should be preferred to g_timeout_addMarcel Stimberg2009-05-041-1/+1
| | | | | | | | | | | | According to https://wiki.ubuntu.com/SavingTheWorld (and of course according to the gtk docs) using g_timeout_add_seconds is preferred over g_timeout_add if a timeout in seconds is desired.
* | Merge branch 'master' into kill-bonoboMatthew Barnes2009-04-251-1/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was a particularly messy merge. Watch out for regressions! Conflicts: ChangeLog NEWS a11y/ChangeLog a11y/widgets/ea-combo-button.c a11y/widgets/ea-combo-button.h a11y/widgets/ea-widgets.c addressbook/ChangeLog addressbook/gui/component/GNOME_Evolution_Addressbook.server.in.in addressbook/gui/component/addressbook-component.c addressbook/gui/component/addressbook-component.h addressbook/gui/component/addressbook-config.c addressbook/gui/component/addressbook-migrate.h addressbook/gui/component/addressbook-view.c addressbook/gui/component/addressbook-view.h addressbook/gui/component/addressbook.h addressbook/gui/component/autocompletion-config.c addressbook/gui/component/autocompletion-config.h addressbook/gui/component/component-factory.c addressbook/gui/component/e-book-shell-module-migrate.c addressbook/gui/component/ldap-config.glade addressbook/gui/contact-editor/Makefile.am addressbook/gui/contact-editor/contact-editor.glade addressbook/gui/contact-editor/e-contact-editor-address.c addressbook/gui/contact-editor/e-contact-editor-address.h addressbook/gui/contact-editor/e-contact-editor-im.c addressbook/gui/contact-editor/e-contact-editor-im.h addressbook/gui/contact-editor/e-contact-editor.c addressbook/gui/contact-editor/e-contact-editor.h addressbook/gui/contact-editor/eab-editor.c addressbook/gui/contact-editor/eab-editor.h addressbook/gui/contact-editor/test-editor.c addressbook/gui/contact-list-editor/Makefile.am addressbook/gui/widgets/Makefile.am addressbook/gui/widgets/e-addressbook-model.c addressbook/gui/widgets/e-addressbook-model.h addressbook/gui/widgets/e-addressbook-reflow-adapter.c addressbook/gui/widgets/e-addressbook-view.c addressbook/gui/widgets/e-addressbook-view.h addressbook/gui/widgets/e-minicard-view.c addressbook/gui/widgets/eab-contact-display.c addressbook/gui/widgets/eab-gui-util.c addressbook/gui/widgets/eab-menu.c addressbook/gui/widgets/eab-menu.h addressbook/gui/widgets/eab-popup-control.c addressbook/gui/widgets/eab-popup-control.h addressbook/gui/widgets/eab-popup.c addressbook/gui/widgets/eab-popup.h addressbook/gui/widgets/eab-vcard-control.c addressbook/gui/widgets/eab-vcard-control.h addressbook/gui/widgets/gal-view-minicard.c addressbook/gui/widgets/gal-view-minicard.h addressbook/printing/e-contact-print-style-editor.c addressbook/printing/e-contact-print-style-editor.h addressbook/printing/e-contact-print.glade addressbook/printing/test-contact-print-style-editor.c addressbook/tools/evolution-addressbook-export.c addressbook/util/Makefile.am calendar/ChangeLog calendar/gui/Makefile.am calendar/gui/apps_evolution_calendar.schemas.in calendar/gui/calendar-component.c calendar/gui/calendar-component.h calendar/gui/calendar-config.c calendar/gui/comp-editor-factory.c calendar/gui/comp-editor-factory.h calendar/gui/comp-util.c calendar/gui/comp-util.h calendar/gui/control-factory.c calendar/gui/control-factory.h calendar/gui/dialogs/alarm-dialog.c calendar/gui/dialogs/cal-prefs-dialog.c calendar/gui/dialogs/cal-prefs-dialog.glade calendar/gui/dialogs/cal-prefs-dialog.h calendar/gui/dialogs/comp-editor.c calendar/gui/dialogs/comp-editor.h calendar/gui/dialogs/event-editor.c calendar/gui/dialogs/event-page.c calendar/gui/dialogs/memo-editor.c calendar/gui/dialogs/memo-page.c calendar/gui/dialogs/recurrence-page.c calendar/gui/dialogs/task-details-page.c calendar/gui/dialogs/task-details-page.glade calendar/gui/dialogs/task-editor.c calendar/gui/dialogs/task-page.c calendar/gui/e-cal-component-memo-preview.c calendar/gui/e-cal-component-memo-preview.h calendar/gui/e-cal-component-preview.c calendar/gui/e-cal-component-preview.h calendar/gui/e-cal-event.h calendar/gui/e-cal-model.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-itip-control.c calendar/gui/e-memo-table.c calendar/gui/e-memos.c calendar/gui/e-memos.h calendar/gui/e-tasks.c calendar/gui/e-tasks.h calendar/gui/e-week-view.c calendar/gui/gnome-cal.c calendar/gui/goto.c calendar/gui/itip-bonobo-control.c calendar/gui/itip-bonobo-control.h calendar/gui/itip-utils.c calendar/gui/itip-utils.h calendar/gui/main.c calendar/gui/memos-component.c calendar/gui/memos-control.c calendar/gui/memos-control.h calendar/gui/migration.c calendar/gui/migration.h calendar/gui/tasks-component.c calendar/gui/tasks-control.c calendar/importers/main.c composer/ChangeLog composer/e-composer-actions.c composer/e-composer-private.c composer/e-msg-composer.c composer/e-msg-composer.h composer/evolution-composer.ui configure.in doc/reference/shell/eshell-overrides.txt e-util/ChangeLog e-util/Makefile.am e-util/e-corba-utils.c e-util/e-corba-utils.h e-util/e-gui-utils.c e-util/e-gui-utils.h e-util/e-logger.c e-util/e-non-intrusive-error-dialog.c e-util/e-non-intrusive-error-dialog.h e-util/e-plugin-ui.c e-util/e-util-labels.c e-util/e-util-labels.h e-util/e-util.c e-util/e-util.h filter/ChangeLog filter/filter-option.c help/C/evolution.xml help/ChangeLog help/Makefile.am help/cs/cs.po help/de/de.po help/es/es.po help/eu/figures/Screenshot-Free-Busy.png help/eu/figures/evo_blink.png help/eu/figures/evo_dialog-info.png help/eu/figures/evo_dialog-warning.png help/eu/figures/evo_email_a.png help/eu/figures/evo_flag_follow_up_a.png help/eu/figures/evo_proxyadd_a.png help/eu/figures/evo_shd_memo_a.png help/eu/figures/exchange-delegation.png help/eu/figures/exchange-identity.png help/eu/figures/exchange-receive-options.png help/eu/figures/exchange-receive.png help/eu/figures/exchg-identity.png help/eu/figures/exchng-identity.png help/eu/figures/exchng-rec-mail.png help/eu/figures/exchng-rec-option.png help/eu/figures/exchng-rec-options.png help/eu/figures/free_busy.png help/eu/figures/full-1.png help/eu/figures/full-2.png help/eu/figures/full-3.png help/eu/figures/full-4.png help/eu/figures/full-5.png help/eu/figures/full-6.png help/eu/figures/full-7.png help/eu/figures/mail-druid-pic.png help/eu/figures/mail-inbox.png help/eu/figures/mail-threaded.png help/eu/figures/mainwindow-pic.png help/eu/figures/minus.png help/eu/figures/plus.png help/eu/figures/proxy-cal.png help/eu/figures/proxy-login.png help/eu/figures/schedule.png help/eu/figures/stock_search.png help/eu/figures/sub-others-folder.png help/eu/figures/sub-pub-fold.png help/eu/figures/vfolder-createrule-fig.png help/quickref/Makefile.am mail/ChangeLog mail/Makefile.am mail/default/Makefile.am mail/e-mail-shell-module-migrate.c mail/e-searching-tokenizer.c mail/em-account-editor.c mail/em-account-prefs.h mail/em-composer-prefs.c mail/em-composer-prefs.h mail/em-composer-utils.c mail/em-filter-folder-element.c mail/em-folder-browser.c mail/em-folder-selection-button.h mail/em-folder-selector.c mail/em-folder-tree-model.c mail/em-folder-tree-model.h mail/em-folder-tree.c mail/em-folder-tree.h mail/em-folder-utils.c mail/em-folder-utils.h mail/em-folder-view.c mail/em-format-html-display.c mail/em-format-html-print.c mail/em-format-html-print.h mail/em-format-html.c mail/em-format-quote.h mail/em-format.c mail/em-format.h mail/em-html-stream.h mail/em-mailer-prefs.c mail/em-mailer-prefs.h mail/em-message-browser.c mail/em-message-browser.h mail/em-migrate.h mail/em-network-prefs.h mail/em-popup.c mail/em-search-context.h mail/em-subscribe-editor.c mail/em-utils.c mail/em-utils.h mail/filtertypes.xml mail/mail-component-factory.c mail/mail-component.c mail/mail-config-factory.c mail/mail-config-factory.h mail/mail-config.c mail/mail-config.glade mail/mail-crypto.c mail/mail-crypto.h mail/mail-dialogs.glade mail/mail-folder-cache.c mail/mail-mt.c mail/mail-send-recv.c mail/mail-send-recv.h mail/mail-session.c mail/mail-session.h mail/mail-types.h mail/mail-vfolder.c mail/message-list.c mail/message-tag-followup.c mail/searchtypes.xml mail/vfoldertypes.xml plugins/attachment-reminder/Makefile.am plugins/audio-inline/org-gnome-audio-inline.eplug.xml plugins/caldav/ChangeLog plugins/caldav/caldav-source.c plugins/calendar-http/ChangeLog plugins/calendar-weather/ChangeLog plugins/calendar-weather/calendar-weather.c plugins/email-custom-header/ChangeLog plugins/email-custom-header/email-custom-header.c plugins/exchange-operations/ChangeLog plugins/google-account-setup/ChangeLog plugins/google-account-setup/Makefile.am plugins/google-account-setup/google-contacts-source.c plugins/google-account-setup/google-source.c plugins/import-ics-attachments/ChangeLog plugins/import-ics-attachments/Makefile.am plugins/import-ics-attachments/icsimporter.c plugins/itip-formatter/ChangeLog plugins/itip-formatter/itip-view.c plugins/mail-account-disable/ChangeLog plugins/mail-account-disable/mail-account-disable.c plugins/mail-notification/ChangeLog plugins/mail-notification/mail-notification.c plugins/mail-to-meeting/ChangeLog plugins/mail-to-task/ChangeLog plugins/mark-all-read/mark-all-read.c plugins/publish-calendar/ChangeLog plugins/publish-calendar/publish-format-fb.c plugins/publish-calendar/publish-format-ical.c plugins/save-attachments/ChangeLog plugins/save-attachments/Makefile.am plugins/save-attachments/save-attachments.c plugins/select-one-source/ChangeLog plugins/select-one-source/Makefile.am plugins/select-one-source/select-one-source.c plugins/startup-wizard/ChangeLog plugins/startup-wizard/startup-wizard.c plugins/webdav-account-setup/ChangeLog plugins/webdav-account-setup/Makefile.am plugins/webdav-account-setup/webdav-contacts-source.c po/ChangeLog po/POTFILES.in po/ar.po po/bg.po po/bn_IN.po po/ca.po po/cs.po po/da.po po/de.po po/el.po po/en_GB.po po/es.po po/et.po po/fr.po po/gl.po po/gu.po po/hi.po po/hu.po po/it.po po/ja.po po/kn.po po/ko.po po/lt.po po/ml.po po/mr.po po/nb.po po/nl.po po/pa.po po/pl.po po/pt.po po/ru.po po/sl.po po/sr.po po/sr@latin.po po/sv.po po/ta.po po/te.po po/th.po po/tr.po po/zh_HK.po po/zh_TW.po shell/ChangeLog shell/Evolution-Component.idl shell/Makefile.am shell/apps_evolution_shell.schemas.in shell/e-component-registry.c shell/e-component-registry.h shell/e-component-view.c shell/e-component-view.h shell/e-corba-config-page.c shell/e-corba-config-page.h shell/e-shell-constants.h shell/e-shell-importer.c shell/e-shell-importer.h shell/e-shell-nm.c shell/e-shell-settings-dialog.c shell/e-shell-settings-dialog.h shell/e-shell-view.c shell/e-shell-view.h shell/e-shell-window-commands.c shell/e-shell-window-commands.h shell/e-shell-window.c shell/e-shell-window.h shell/e-shell.c shell/e-shell.h shell/e-sidebar.c shell/e-sidebar.h shell/e-user-creatable-items-handler.c shell/e-user-creatable-items-handler.h shell/es-menu.c shell/es-menu.h shell/evolution-component.c shell/evolution-component.h shell/evolution-config-control.c shell/evolution-config-control.h shell/evolution-listener.c shell/evolution-listener.h shell/evolution-shell-component-utils.c shell/evolution-shell-component-utils.h shell/importer/evolution-importer-client.c shell/importer/evolution-importer-client.h shell/importer/evolution-importer-listener.c shell/importer/evolution-importer-listener.h shell/importer/evolution-importer.c shell/importer/evolution-importer.h shell/importer/evolution-intelligent-importer.c shell/importer/evolution-intelligent-importer.h shell/importer/import.glade shell/importer/intelligent.c shell/importer/intelligent.h shell/main.c shell/shell.error.xml shell/test/evolution-test-component.c shell/test/evolution-test-component.h smime/ChangeLog smime/lib/Makefile.am ui/Makefile.am ui/evolution-addressbook.xml ui/evolution-calendar.xml widgets/ChangeLog widgets/menus/gal-view-menus.c widgets/menus/gal-view-menus.h widgets/misc/ChangeLog widgets/misc/Makefile.am widgets/misc/e-activity-handler.c widgets/misc/e-activity-handler.h widgets/misc/e-attachment-bar.c widgets/misc/e-attachment-bar.h widgets/misc/e-attachment.c widgets/misc/e-attachment.h widgets/misc/e-calendar-item.c widgets/misc/e-charset-picker.c widgets/misc/e-combo-button.c widgets/misc/e-combo-button.h widgets/misc/e-config-page.c widgets/misc/e-config-page.h widgets/misc/e-dropdown-button.c widgets/misc/e-dropdown-button.h widgets/misc/e-filter-bar.h widgets/misc/e-info-label.c widgets/misc/e-info-label.h widgets/misc/e-multi-config-dialog.c widgets/misc/e-multi-config-dialog.h widgets/misc/e-online-button.c widgets/misc/e-search-bar.c widgets/misc/e-search-bar.h widgets/misc/e-signature-combo-box.c widgets/misc/e-signature-combo-box.h widgets/misc/e-signature-editor.c widgets/misc/e-signature-editor.h widgets/misc/e-task-bar.c widgets/misc/e-task-bar.h widgets/misc/e-task-widget.c widgets/misc/e-task-widget.h widgets/misc/test-dropdown-button.c widgets/misc/test-info-label.c widgets/misc/test-multi-config-dialog.c widgets/table/ChangeLog widgets/table/e-cell-date.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-group.h widgets/table/e-table.c widgets/table/e-table.h
| * Bug 577929 – Consolidate marshallersMatthew Barnes2009-04-231-3/+2
| | | | | | | | | | | | Consolidate all marshalling specifications to e-util/e-marshal.list. This reduces code duplication and makes it slightly easier to locate unused marshallers.
| * Do not ask for a folder when no folder selected.Milan Crha2009-04-021-1/+2
| | | | | | | | | | | | | | | | | | | | 2009-04-02 Milan Crha <mcrha@redhat.com> * em-folder-tree.c: (em_folder_tree_get_selected_folder): Do not ask for a folder when no folder selected. svn path=/trunk/; revision=37490
| * ** Fix for bug #504767Milan Crha2009-03-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-03-19 Milan Crha <mcrha@redhat.com> ** Fix for bug #504767 * em-folder-utils.h: (em_folder_utils_create_folder): * em-folder-utils.c: (em_folder_utils_create_folder): * em-folder-selector.c: (emfs_response): Inherit modality from a parent's window, if any. * em-folder-browser.c: (emfb_folder_create): * em-folder-tree.c: (emft_popup_new_folder): * mail-component.c: (create_item): Propagate changes in function prototype. svn path=/trunk/; revision=37461
| * Patch from Matt McCutchen 2: Fix for bug #567935 (Don't use an uninitialized ↵Suman Manjunath2009-02-021-3/+3
| | | | | | | | | | | | variable). svn path=/trunk/; revision=37208
| * Add the unread vfolder hack.Srinivasa Ragavan2008-12-151-0/+36
| | | | | | | | | | | | | | | | | | | | 2008-12-15 Srinivasa Ragavan <sragavan@novell.com> * em-account-editor.c: (emae_option_checkspin): * em-folder-tree.c: (emft_popup_uvfolder), (emft_popup): Add the unread vfolder hack. svn path=/trunk/; revision=36884
| * Milan Crha <mcrha@redhat.com> ** Fix for bug #337082 (Do not set 'finished ↵Suman Manjunath2008-12-081-1/+2
| | | | | | | | | | | | loading' until we are really done with it. The previous behavior can cause duplicate nodes in tree for subscribed folders). svn path=/trunk/; revision=36847
| * Disable delete and rename onSankarasivasubramanian Pasupathilingam2008-10-311-0/+4
| | | | | | | | | | | | right click menu for the system folders svn path=/trunk/; revision=36703
| * Change license from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-09-191-14/+14
| | | | | | | | svn path=/trunk/; revision=36381
| * Milan Crha <mcrha@redhat.com> ** Fix for bug #504767 (Expand also parent ↵Suman Manjunath2008-09-141-1/+1
| | | | | | | | | | | | nodes, if necessary). svn path=/trunk/; revision=36328
| * Patch from Paul Bolle <pebolle@tiscali.nl>: Fix for bug #549661 (Process ↵Suman Manjunath2008-09-011-1/+1
| | | | | | | | | | | | DND correctly when a mail message is dragged from outside Evolution to a folder in the sidebar). svn path=/trunk/; revision=36236
| * Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #249844 (Use C_() macro ↵Suman Manjunath2008-08-041-1/+1
| | | | | | | | | | | | instead of Q_() macro, Use fully qualified names for New submenu entries). svn path=/trunk/; revision=35897
| * Kill a compilation warning.Srinivasa Ragavan2008-07-291-1/+1
| | | | | | | | | | | | | | | | 2008-07-29 Srinivasa Ragavan <sragavan@novell.com> * mail/em-folder-tree.c: Kill a compilation warning. svn path=/trunk/; revision=35857
| * ** See bug #544969: Added the hook for folder custom icon.Lucian Langa2008-07-281-1/+10
| | | | | | | | | | | | | | | | | | | | | | 2008-07-27 Lucian Langa <lucilanga@gnome.org> * mail/em-event.h (struct _EMEventTargetCustomIcon): * mail/em-event.c (em_event_target_new_custom_icon): * mail/em-folder-tree.c (render_pixbuf): ** See bug #544969: Added the hook for folder custom icon. svn path=/trunk/; revision=35842
| * ** Fix for bug #543411Srinivasa Ragavan2008-07-281-1/+8
| | | | | | | | | | | | | | | | | | | | | | 2008-07-28 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bug #543411 * mail/em-folder-tree-model.c: Dont load known folders. * mail/em-folder-tree.c: Move iter to the last entry. svn path=/trunk/; revision=35841
| * ** Fixes Bug #200147Bharath Acharya2008-07-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-07-18 Bharath Acharya <abharath@novell.com> ** Fixes Bug #200147 Basic functionality implemented by Diego Escalante Urrelo <diegoe@gnome.org> Everyone owes him a big mug of Beer for that. ** Added Templates plugin * Makefile.am: * apps-evolution-template-placeholders.schemas.in: * org-gnome-templates.eplug.xml: * templates.c: * templates.glade: svn path=/trunk/; revision=35780
* | Split EAccountList and ESignatureList management out of the mail module.Matthew Barnes2009-01-271-3/+4
| | | | | | | | | | | | | | This reduces the dependency of the composer on the mail module, which is currently a circular dependency. svn path=/branches/kill-bonobo/; revision=37135
* | Make the sidebar icon follow the folder icon.Matthew Barnes2009-01-251-82/+4
| | | | | | | | | | | | Fix more runtime warnings. svn path=/branches/kill-bonobo/; revision=37130
* | Implement folder tree popup actions. Purge EPopup from EMFolderTree.Matthew Barnes2008-12-191-254/+5
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36917
* | Merge revisions 36811:36865 from trunk.Matthew Barnes2008-12-111-1/+2
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36867
* | Merge revisions 36685:36729 from trunk.Matthew Barnes2008-11-081-0/+4
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36763
* | Commit recent work so I can merge from trunk.Matthew Barnes2008-10-251-0/+22
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36684
* | Yeah, it was something stupid. Folder tree now working.Matthew Barnes2008-10-171-1/+1
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36624
* | Get the mail folder tree compiling, though I'm not yet sure why it's notMatthew Barnes2008-10-171-223/+279
| | | | | | | | | | | | showing anything. Probably something stupid. Also enabled the composer. svn path=/branches/kill-bonobo/; revision=36623
* | Merge revisions 36016:36533 from trunk.Matthew Barnes2008-10-021-15/+15
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36534
* | Merge revisions 36016:36303 from trunk.Matthew Barnes2008-09-111-1/+1
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36307
* | Merge revisions 35747:35930 from trunk.Matthew Barnes2008-08-081-4/+20
|/ | | | svn path=/branches/kill-bonobo/; revision=35931
* fixed copyright noticesJeffrey Stedfast2008-06-211-1/+1
| | | | svn path=/trunk/; revision=35663
* ** Fix for bug #538002Milan Crha2008-06-131-0/+5
| | | | | | | | | | | | 2008-06-13 Milan Crha <mcrha@redhat.com> ** Fix for bug #538002 * em-folder-tree.c: (emft_drop_target): Do not allow dropping messages on folders with CAMEL_FOLDER_NOSELECT flag set. svn path=/trunk/; revision=35631
* ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES andMatthew Barnes2008-06-061-2/+0
| | | | | | | | | | 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
* ** Fix for bug #323402Milan Crha2008-04-211-1/+2
| | | | | | | | | | | | | 2008-04-21 Milan Crha <mcrha@redhat.com> ** Fix for bug #323402 * em-folder-tree.c: (folder_tree_new): * evolution-mail.schemas.in: Be able to disable ellipsizing of folder names with hidden option /apps/evolution/mail/display/no_folder_dots. svn path=/trunk/; revision=35395
* Fix an implicit function declaration.Milan Crha2008-03-131-0/+1
| | | | | | | | | | 2008-03-13 Milan Crha <mcrha@redhat.com> * em-folder-tree.c: * em-format-html.c: Fix an implicit function declaration. svn path=/trunk/; revision=35186
* ** 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
* Re-fix bug #351672 since my patch for bug #362638 accidentally revertedMatthew Barnes2008-03-041-18/+1
| | | | | | | | | | | 2008-03-03 Matthew Barnes <mbarnes@redhat.com> * mail/em-folder-tree.c (emft_drop_async__done): Re-fix bug #351672 since my patch for bug #362638 accidentally reverted the original solution. svn path=/trunk/; revision=35124
* Patch from Michael Monreal <michael.monreal@gmx.net>: Fix for bug #492188 ↵Suman Manjunath2008-01-071-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | (Use the new Tangoized icons instead of the deprecated ones from gnome-icon-theme) M addressbook/gui/component/addressbook-view.c M addressbook/ChangeLog AM data/icons/hicolor_actions_16x16_mail-move.png AM data/icons/hicolor_actions_16x16_mail-copy.png AM data/icons/hicolor_actions_16x16_folder-move.png M data/icons/Makefile.am AM data/icons/hicolor_actions_16x16_folder-copy.png M mail/em-folder-browser.c M mail/ChangeLog M mail/em-folder-tree.c M mail/em-folder-view.c M mail/message-list.c M composer/ChangeLog M composer/e-msg-composer.c M ChangeLog M calendar/gui/dialogs/comp-editor.c M calendar/ChangeLog svn path=/trunk/; revision=34769
* ** Fixes bug #362638Matthew Barnes2007-12-211-41/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Moving some code from tree to model where it belongs. Fixes some CPU usageSankar P2007-12-141-26/+0
| | | | | | | | | | | | | | | | 2007-12-14 Sankar P <psankar@novell.com> * em-folder-tree-model.c: (emft_model_unread_count_changed), (em_folder_tree_model_init), (em_folder_tree_model_set_unread_count): * em-folder-tree.c: (em_folder_tree_construct): Moving some code from tree to model where it belongs. Fixes some CPU usage issue whenever (un)read count is updated. Hopefully no regresssions. svn path=/trunk/; revision=34698
* ** Fix for bug #498551Milan Crha2007-11-221-2/+2
| | | | | | | | | | | | 2007-11-22 Milan Crha <mcrha@redhat.com> ** Fix for bug #498551 * em-folder-tree.c: (emft_get_folder_info__got): Remove placeholder node even for store if no children found. svn path=/trunk/; revision=34563
* ** Fix for bug #495875Gilles Dartiguelongue2007-11-181-11/+14
| | | | | | right click menu reordering svn path=/trunk/; revision=34549
* Call camel_folder_info_new() instead of g_new0().Matthew Barnes2007-11-151-1/+1
| | | | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> * mail/em-folder-tree.c (em_folder_tree_get_selected_folder_info): * plugins/exchange-operations/exchange-folder.c (ex_create_folder_info): Call camel_folder_info_new() instead of g_new0(). svn path=/trunk/; revision=34538
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-245/+245
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* ** Fix for bug #343011 (restore collapse state of selected folder afterMilan Crha2007-11-051-3/+12
| | | | | | | | | | | | | | | | | | | | | 2007-11-05 Milan Crha <mcrha@redhat.com> ** Fix for bug #343011 (restore collapse state of selected folder after start) * em-folder-tree.c: (emft_maybe_expand_row): Do not expand subtree of a node, only make it visible. * em-folder-tree-model.h: (em_folder_tree_model_get_expanded_uri), (em_folder_tree_model_set_expanded_uri): * em-folder-tree-model.c: (em_folder_tree_model_get_expanded_uri), (em_folder_tree_model_set_expanded_uri): Same as ..._get/_set_expanded, but using 'uri', instead of 'key'. * em-folder-tree-model.c: (emftm_uri_to_key): New helper function. * mail-component.c: (impl_createView): Restore collapsed state after selecting last selected folder, if necessary. svn path=/trunk/; revision=34503
* Change enum order. LAST should be the last. Regression from #446035Sankar P2007-11-051-2/+2
| | | | | | | | | | | | | | 2007-11-05 Sankar P <psankar@novell.com> * em-folder-tree.c: Change enum order. LAST should be the last. Regression from #446035 ** Fix for bug #493646 svn path=/trunk/; revision=34492
* ** Fix for bug #446035Michael Monreal2007-10-311-1/+5
| | | | | | | | | | | | 2007-10-30 Michael Monreal <mmonreal@svn.gnome.org> ** Fix for bug #446035 * em-folder-tree.c: (render_pixbuf): Use the folder-saved-search icon for vfolders. svn path=/trunk/; revision=34459
* ** Migration of theme icons to data/icons/ (bug #479257)Michael Monreal2007-10-121-3/+3
| | | | | | | | | | | | | | | | | | | | | 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
* ** Fixes bug #477045Matthew Barnes2007-10-041-1/+1
| | | | | | | | | | | | | | | | 2007-10-04 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #477045 * addressbook/gui/component/addressbook-view.c: * calendar/gui/calendar-component.c: * calendar/gui/memos-component.c: * calendar/gui/tasks-component.c: * mail/em-folder-tree.c: Use "edit-copy" and "document-properties" icons in the pop-up menu. svn path=/trunk/; revision=34354
* ** Fixes bug #477045Matthew Barnes2007-09-281-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 2007-09-07 mcrha Fix for bug #473903Milan Crha2007-09-071-15/+9
| | | | svn path=/trunk/; revision=34192
* 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
* ** Move away from g_assert to g_return* calls Srinivasa Ragavan2007-08-311-2/+1
| | | | svn path=/trunk/; revision=34143
* 2007-08-30 Gavin Scott Fixes bug #351672Milan Crha2007-08-301-19/+1
| | | | svn path=/trunk/; revision=34135
* ** Fix for bug #467165Srinivasa Ragavan2007-08-201-1/+1
| | | | svn path=/trunk/; revision=34037
* ** Fix for bug #464312Srinivasa Ragavan2007-08-071-3/+7
| | | | svn path=/trunk/; revision=33965
* Fix from Lucky to expand newly created folderSrinivasa Ragavan2007-08-021-12/+17
| | | | svn path=/trunk/; revision=33926
* ** Fix for bug #237989Srinivasa Ragavan2007-07-291-4/+109
| | | | svn path=/trunk/; revision=33870
* ** Add support for the Magic Space Bar.Srinivasa Ragavan2007-06-171-0/+47
| | | | svn path=/trunk/; revision=33682
* Do not fetch folder-info from backend - use the available folder-treeSrinivasa Ragavan2007-06-041-4/+22
| | | | | | | instance. svn path=/trunk/; revision=33651
* Fix compilation warnings in mail folder (#437935).Matthew Barnes2007-06-031-3/+3
| | | | svn path=/trunk/; revision=33628
* Added support for flush outbox and refresh folder.Srinivasa Ragavan2007-05-111-0/+25
| | | | svn path=/trunk/; revision=33504
* Update parent rows when a child row changes. (#352713) Patch by RenéMatthew Barnes2007-04-051-0/+26
| | | | | | | | | | | 2007-04-04 Matthew Barnes <mbarnes@redhat.com> * em-folder-tree.c (emft_model_row_changed): Update parent rows when a child row changes. (#352713) Patch by René Stadler. svn path=/trunk/; revision=33381
* ** 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
* Add header glib/gi18n.h to provide the missing symbol required by theHarish Krishnaswamy2006-08-081-0/+1
| | | | | | | | | | 2006-08-08 Harish Krishnaswamy <kharish@novell.com> * em-folder-tree.c: Add header glib/gi18n.h to provide the missing symbol required by the previous commit. This was an ugly crasher on the release tarball candidate. svn path=/trunk/; revision=32494
* Marking vFolder names in the folder tree localizable.Karsten Bräckelmann2006-08-081-1/+16
| | | | svn path=/trunk/; revision=32492
* Use gnome-fs-trash-empty rather than stock_delete for the Trash folderRodney Dawes2006-04-281-1/+1
| | | | | | | | | | | | | | | 2006-04-27 Rodney Dawes <dobey@novell.com> * em-folder-tree.c (render_pixbuf): Use gnome-fs-trash-empty rather than stock_delete for the Trash folder icon * em-folder-view.c (emfv_popup_items[]): Don't set an icon for Undelete (emfv_message_pixmaps[]): Don't set an icon for Undelete and set the icon for deleting a message to gnome-fs-trash-empty, not stock_delete Fixes #339626 svn path=/trunk/; revision=31920
* Committing fix for 323402 from Vincent NoelSrinivasa Ragavan2006-04-261-1/+8
| | | | svn path=/trunk/; revision=31896
* s/int/guint/g for 1-bit bitfield. Remove cruft use guint for 1-bitKjartan Maraas2006-02-081-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-09 Kjartan Maraas <kmaraas@gnome.org> * em-account-editor.h: s/int/guint/g for 1-bit bitfield. * em-composer-utils.c: (em_utils_redirect_message): Remove cruft * em-folder-tree.c: (emft_drop_target): use guint for 1-bit bitfield and rename a variable with a name clash. * em-folder-utils.c: (em_folder_utils_rename_folder): Rename var to avoid name clashes. * em-folder-view.c: guint for 1-bit bitfields. * em-folder-view.h: Same as above. * em-format-html-print.h: Again. * em-format-html.c: (efh_text_html), (efh_multipart_related): Add comments * em-format.c: (emf_multipart_alternative): Add comment about using var that is passed in rather than a local variable. * em-inline-filter.c: (emif_scan): Remove unused var. Mark code static. * em-mailer-prefs.h: guint for 1-bit bitfields. * em-migrate.c: (em_migrate_folder): mark a struct static. remove unused var * em-subscribe-editor.c: guint for 1-bit bitfield * em-utils.c: remove unused function * em-vfolder-rule.c: mark array static * importers/mail-importer.c: (decode_status): Remove unused code. Use guint for 1-bit bitfield. * mail-autofilter.c: (rule_from_message): rename a variable * mail-component.c: guint for 1-bit bitfield * mail-folder-cache.c: (update_1folder): remove unused code * mail-mt.c: mark some structs static * message-list.c: (message_list_select_uid), (ml_value_to_string), (ml_tree_value_at), (find_next_undeleted), (build_tree), (build_flat): Remove unused code and fix some format specifiers. svn path=/trunk/; revision=31448
* Return valid transport, only if the account is enabled.Parthasarathi Susarla2005-10-221-1/+1
| | | | | | | | | | | | | | | | 2005-10-22 Parthasarathi Susarla <sparthasarathi@novell.com> * mail-config.c: (mail_config_get_default_account): Return valid transport, only if the account is enabled. 2005-10-22 Parthasarathi Susarla <sparthasarathi@novell.com> * em-composer-utils.c: (create_new_composer): If the account corresponding to the fromuri is not enabled. Then load the preferred account from the composer. ---------------------------------------------------------------------- svn path=/trunk/; revision=30555
* Fixes #208647S.Antony Vincent Pandian2005-09-261-1/+12
| | | | | | | | | | | | 2005-09-26 S.Antony Vincent Pandian <santony@gmail.com> Fixes #208647 * em-folder-tree.c : Have added a menu item Empty Trash in the folder tree's context menu and also added its callback. svn path=/trunk/; revision=30373
* Added enum and the code to change the icon for sent items folder. FixesSankar P2005-09-201-0/+5
| | | | | | | | | | 2005-09-15 Sankar P <psankar@novell.com> * em-folder-tree-model.c (em_folder_tree_model_set_folder_info): * em-folder-tree.c (render_pixbuf): Added enum and the code to change the icon for sent items folder. Fixes #257321 svn path=/trunk/; revision=30365
* ** See #312715.Not Zed2005-08-101-81/+8
| | | | | | | | | | | | | | | | | | | 2005-08-09 Not Zed <NotZed@Ximian.com> ** See #312715. * em-folder-tree.c (emft_drop_folder_rec): removed. (emft_drop_folder): call em_folder_utils_copy_folders to perform the operation rather than: doing it sync when it shouldn't be, and 2; copying code redundantly. * em-folder-utils.c (em_folder_utils_move_folder): remove this redundant api. (em_folder_utils_copy_folder): add delete flag. (em_folder_utils_copy_folders): export this function. fix strange argument order. svn path=/trunk/; revision=30066
* Change instances of "vfolder" that appear in the UI to use the termRodney Dawes2005-08-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | 2005-08-07 Rodney Dawes <dobey@novell.com> * em-folder-browser.c (emfb_search_items): * em-folder-tree-model.c (sort_cb, em_folder_tree_model_load_state): * em-folder-tree.c (emft_drop_target): * em-folder-view.c (emfv_popup_items, emfv_uri_popups): * em-utils.c: * em-vfolder-editor.c (em_vfolder_editor_new): * em-vfolder-rule.c (em_vfolder_editor_sourcelist_new): * mail-dialogs.glade: * mail-vfolder.c (vfolder_setup_desc, vfolder_setup_do): (vfolder_adduri_desc, vfolder_load_storage, vfolder_edit): (vfolder_edit_rule, vfolder_gui_add_rule): * mail.error.xml: Change instances of "vfolder" that appear in the UI to use the term "Search Folder" instead Update some comments to use the term "Search Folder" instead of vfolder svn path=/trunk/; revision=30024
* if we get a null default, then set "" on the entry. (emae_option_entry):Not Zed2005-07-211-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-21 Not Zed <NotZed@Ximian.com> * em-account-editor.c (emae_option_entry): if we get a null default, then set "" on the entry. (emae_option_entry): set the default value on the url if it doesn't exist already. 2005-07-20 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (refresh_folders_desc, refresh_folders_get) (refresh_folders_got, refresh_folders_free, get_folders) (receive_update_got_folderinfo, receive_update_got_store): refresh all the folders manually and directly. * mail-folder-cache.c (setup_folder): propagate even -1 unread counts, they get ignored later. * em-composer-utils.c (emu_handle_receipt_message) (em_utils_handle_receipt): use getmessagex too, so we can always clear any error. * em-folder-view.c (emfv_message_selected_timeout) (emfv_list_done_message_selected): use getmessagex and do something meaninful with the error. * mail-ops.c (mail_get_messagex): added new get message which returns an exception. 2005-07-19 Not Zed <NotZed@Ximian.com> * mail-tools.c (mail_tool_uri_to_folder): dont get the service connected, it will connect if it needs to. * mail-ops.c (get_folderinfo_get): * em-folder-utils.c (emft_copy_folders__copy) (emfu_delete_folders): * em-folder-tree.c (emft_get_folder_info__get): Always request subscribed folders, if the backend doesn't implement it it will ignore it. 2005-07-13 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (mail_autoreceive_init, auto_online): listen to session online events, and if we are online, trigger an auto-receive of all auto-check accounts. 2005-07-11 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (auto_account_commit): force an update immediately if we're setting up the timeout to start with. * em-folder-tree-model.c (em_folder_tree_model_set_unread_count): noop if the unread count < 0. (em_folder_tree_model_set_folder_info): only set the unread count if we actually have one. * em-folder-tree.c (emft_tree_row_expanded): get the folder list 'fast'. * mail-ops.c (get_folderinfo_get): get the folder list 'fast'. svn path=/trunk/; revision=29822
* calling the wrong api to move a folder. Infact it was copying for move.Srinivasa Ragavan2005-07-201-1/+1
| | | | | | | | | 2005-07-19 Srinivasa Ragavan <sragavan@novell.com> * em-folder-tree.c: (emft_popup_move) calling the wrong api to move a folder. Infact it was copying for move. svn path=/trunk/; revision=29808
* fix rodney's name choices. fix multiple-inclusion. fix forward references.Not Zed2005-05-191-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-05-19 Not Zed <NotZed@Ximian.com> * em-folder-utils.h: fix rodney's name choices. fix multiple-inclusion. fix forward references. fix all callers. add many fixme's for the busted api's. * em-format-quote.c (emfq_format_clone): use pseudo mime type to find message formatter. * em-format-html-display.c (efhd_format_message): remove, it didn't do anything. * em-format-html.c (efh_format_message): make this a handler callback. * em-format.c (emf_message_rfc822): make this use the pseudo mime-type x-evolution/message/rfc822 instead of the hardcoded format_message callback. * em-format-html-display.c (efhd_message_prefix): make this use a pseudo-mime-type handler rather than hard-coded, so it can be overridden by a plugin. svn path=/trunk/; revision=29382
* move e-error into e-util/Not Zed2005-05-161-2/+1
| | | | | | | | 2005-05-16 Not Zed <NotZed@Ximian.com> * move e-error into e-util/ svn path=/trunk/; revision=29366
* Add profiler so that it gets disted properlyRodney Dawes2005-05-141-714/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-05-13 Rodney Dawes <dobey@novell.com> * plugins/Makefile.am (DIST_SUBDIRS): Add profiler so that it gets disted properly 2005-05-13 Rodney Dawes <dobey@novell.com> * Makefile.am: Add new em-folder-utils.[ch] abstraction * em-folder-browser.c: Update for new menu layout Add new methods to handle the actions that were previously only available from the context menu when right-clicking on a folder * em-folder-selector.c (emfs_response): Just call emfu_folder_create if the user wants to create a new folder in the selector dialog (em_folder_selector_get_selected_path): Clean up the code to fix a couple potential crashes * em-folder-tree.[ch]: Add methods to get pointers to a CamelFolder or CamelFolderInfo object for the selected item in the tree Add a method to get a pointer to an EMFolderTreeModelStoreInfo object for the selected store in the tree Move folder operations out into em-folder-utils.[ch] so that they are abstracted from the tree and can be used by methods other than the internal context menu * em-folder-utils.[ch]: Move the folder operations code to here * em-folder-view.c: Update for the new menu layout Fix Mark as Read/Unread in the context menu to only show up in the list * mail-component.c (create_item): Just call emfu_folder_create here when the user requests to create a new folder from the New toolbar item 2005-05-13 Rodney Dawes <dobey@novell.com> * org-gnome-mailing-list-actions.xml: Update for the new menu layout 2005-05-13 Rodney Dawes <dobey@novell.com> * org-gnome-plugin-manager.xml: Update for new menu layout 2005-05-13 Rodney Dawes <dobey@novell.com> * org-gnome-save-attachments.xml: Update for new menu layout 2005-05-13 Rodney Dawes <dobey@novell.com> * e-shell-window.c (setup_widgets): Update for the new menu layout by putting the "component" switching items under the "Tools" menu 2005-05-13 Rodney Dawes <dobey@novell.com> * *.xml: Update to the new menu layout 2005-05-13 Rodney Dawes <dobey@novell.com> * e-filter-bar.[ch]: Update for the new menu layout svn path=/trunk/; revision=29354
* ** See bug #273752Not Zed2005-04-131-1/+1
| | | | | | | | | | | 2005-04-12 Not Zed <NotZed@Ximian.com> ** See bug #273752 * em-folder-tree.c (emft_drop_folder_rec): handle NULL "parent_name" - dropping to store node. svn path=/trunk/; revision=29206
* ** See bug #72518Not Zed2005-04-011-2/+3
| | | | | | | | | | | 2005-03-31 Not Zed <NotZed@Ximian.com> ** See bug #72518 * em-folder-tree.c (emft_popup_delete_folder): prompt for vfolder case differently. svn path=/trunk/; revision=29143
* **fixes bug #73139 change the shared-folder icon names to the names inVivek Jain2005-03-101-2/+3
| | | | | | | | | | 2005-03-10 Vivek Jain <jvivek@novell.com> **fixes bug #73139 * em-folder-tree.c (render_pixbuf):change the shared-folder icon names to the names in gnome-icon-theme svn path=/trunk/; revision=28994
* ** See bug #72209Not Zed2005-02-081-5/+48
| | | | | | | | | | | | | | | | | | | 2005-02-07 Not Zed <NotZed@Ximian.com> ** See bug #72209 * em-folder-tree.c (emft_popup_copy_folder_exclude): implement one for copying/moving folders. * em-folder-selection.c (em_select_folder): add an excluded func argument, fix callers. * em-folder-tree.c (em_folder_tree_set_exclude_func): allow custom callback for exclusion. (emft_select_func): handle the custom excluded callback. svn path=/trunk/; revision=28745
* use the type hint to sort for inbox, not the name.Not Zed2005-02-011-15/+20
| | | | | | | | | | | | | | | | | | | | | 2005-02-01 Not Zed <NotZed@Ximian.com> * em-folder-tree-model.c (sort_cb): use the type hint to sort for inbox, not the name. (emft_is_special_local_folder): removed. (em_folder_tree_model_set_folder_info): special-case the local-store case, handle translated names and the name hints. * em-folder-tree.c (render_pixbuf): use the camel folderinfo folder type to determine the icon, don't hardcode based on name. ** See bug #71310 * em-composer-prefs.c (sig_add_script_response): force a save of the signatures as soon as they change. Also save the script name if we were just editing it, not just the signature name. svn path=/trunk/; revision=28653
* Fixes #71774 we should check whether the 'new_name' is a NULL pointer toMengjie Yu2005-01-271-4/+4
| | | | | | | | | | | 2005-01-26 Mengjie Yu <meng-jie.yu@sun.com> Fixes #71774 * em-folder-tree.c: (emft_popup_rename_folder): we should check whether the 'new_name' is a NULL pointer to avoid Evolution crashes. svn path=/trunk/; revision=28574
* Added a description function for copying folders (so we don't get aJeffrey Stedfast2005-01-211-1/+9
| | | | | | | | | | | | | 2005-01-20 Jeffrey Stedfast <fejj@novell.com> * em-folder-tree.c (emft_copy_folders__desc): Added a description function for copying folders (so we don't get a "Working 0x..." status message). * mail-mt.c (do_op_status): Always g_free(what) since we always strdup it. svn path=/trunk/; revision=28467
* ** See bug #70768.Not Zed2005-01-181-1/+5
| | | | | | | | | | | | | | | 2005-01-18 Not Zed <NotZed@Ximian.com> ** See bug #70768. * em-folder-browser.c (emfb_mark_all_read): get the uid list from the message-list (view) rather than folder (model). * message-list.c (message_list_foreach): removed, no longer used. (message_list_get_uids): new function replacing ml_foreach, get visible uids's of messages. svn path=/trunk/; revision=28425
* Added conditions to check for shared folders to display different icon ifVivek Jain2005-01-111-3/+11
| | | | | | | | | 2005-01-11 Vivek Jain <jvivek@novell.com> * em-folder-tree.c (render_pixbuf): Added conditions to check for shared folders to display different icon if it is a shard folder. svn path=/trunk/; revision=28349
* add atk name for the treeview.Mengjie Yu2005-01-041-0/+4
| | | | | | | | | 2004-12-28 Mengjie Yu <meng-jie.yu@sun.com> * em-folder-tree.c: (em_folder_tree_new_with_model): add atk name for the treeview. svn path=/trunk/; revision=28230
* moved to after emae_authtype_changed to fix warning.Not Zed2004-12-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | 2004-12-22 Not Zed <NotZed@Ximian.com> * em-account-editor.c (emae_needs_auth): moved to after emae_authtype_changed to fix warning. 2004-12-17 Not Zed <NotZed@Ximian.com> * em-format-html-display.c (efhd_attachment_popup): * message-list.c (ml_tree_drag_data_received): * em-folder-view.c (emfv_popup, emfv_format_popup_event): * em-folder-tree.c (tree_drag_data_received): api changes. (emft_popup): * em-popup.c (emp_standard_menu_factory) (emp_standard_menu_factory): api changes. svn path=/trunk/; revision=28180
* Use stock_new-dir instead of stock_folder for "New Folder" creationRodney Dawes2004-12-091-1/+1
| | | | | | | | | | 2004-12-08 Rodney Dawes <dobey@novell.com> * em-folder-tree.c: * mail-component.c (impl__get_userCreatableItems): Use stock_new-dir instead of stock_folder for "New Folder" creation svn path=/trunk/; revision=28089
* added hook docs, and cleaned up some of the hook point names.Not Zed2004-10-281-2/+8
| | | | | | | | | | | | | | | | | | | | 2004-10-28 Not Zed <NotZed@Ximian.com> * mail-folder-cache.c (real_flush_updates): * em-message-browser.c (em_message_browser_new): * em-mailer-prefs.c (em_mailer_prefs_construct): * em-format-html-display.c (efhd_attachment_popup): * em-folder-view.c (emfv_popup, emfv_list_done_message_selected) (emfv_format_popup_event): * em-folder-tree.c (emft_popup): * em-folder-properties.c (emfp_dialog_got_folder): * em-folder-browser.c (em_folder_browser_new): * em-composer-utils.c (em_utils_reply_to_message): * em-composer-prefs.c (em_composer_prefs_construct): * em-account-editor.c (em_account_editor_construct): added hook docs, and cleaned up some of the hook point names. svn path=/trunk/; revision=27749
* Give the Rename item a different path than the Delete item.Jeffrey Stedfast2004-10-231-1/+1
| | | | | | | | | 2004-10-22 Jeffrey Stedfast <fejj@novell.com> * em-folder-tree.c: Give the Rename item a different path than the Delete item. svn path=/trunk/; revision=27702
* convert to org.gnome hook namesJP Rosevear2004-10-201-2/+2
| | | | | | | | | | | | | 2004-10-19 JP Rosevear <jpr@novell.com> * em-account-editor.c, em-composer-prefs.c, em-config.c, em-event.c, em-folder-browser.c, em-folder-properties.c, em-folder-tree.c, em-folder-view.c, em-format-hook.c, em-format-html-display.c, em-mailer-prefs.c, em-menu.c, em-message-browser.c, em-popup.c, message-list.c: convert to org.gnome hook names svn path=/trunk/; revision=27635
* implement popup_menu so that popup menu can be shown with Shift+F10 onHarry Lu2004-10-081-28/+53
| | | | | | | | | | | | 2004-10-08 Harry Lu <harry.lu@sun.com> * em-folder-tree.c: (em_folder_tree_class_init), (real_popup_menu), (emft_popup_menu), (emft_tree_button_press): implement popup_menu so that popup menu can be shown with Shift+F10 on folder tree. * em-folder-view.c: (emfv_popup), (emfv_list_key_press): same as above. svn path=/trunk/; revision=27507
* put back in the attachment attaching code. Doesn't work for s/mime andNot Zed2004-10-071-12/+10
| | | | | | | | | | | | | | | | | | | | | 2004-09-28 Not Zed <NotZed@Ximian.com> * em-composer-utils.c (forward_non_attached): put back in the attachment attaching code. Doesn't work for s/mime and pgp, but why bother arguing about it. 2004-10-06 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (emft_get_folder_info__desc): fix busted cast. * *.c: e-popup api changes. 2004-10-06 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (emft_tree_button_press): remove some debug that made it in accidentally. svn path=/trunk/; revision=27487
* remove old debug which no longer works.Not Zed2004-10-061-6/+8
| | | | | | | | | | | | | | | | 2004-10-05 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (emft_popup_copy_folder_selected): remove old debug which no longer works. ** See bug #66991 (related to #64377). * em-folder-tree.c (em_folder_tree_set_selected): if we get a NULL uri or "", just clear the list. (emft_tree_button_press): select the new path as well as move the cursor there, otherwise emft_tree_user_event clears the selection. svn path=/trunk/; revision=27469
* describe the get-folder process. This also makes it cancellable.Not Zed2004-09-241-1/+13
| | | | | | | | | | | | | | 2004-09-23 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (emft_get_folder_info__desc): describe the get-folder process. This also makes it cancellable. ** See bug #64972. * em-composer-utils.c (em_utils_reply_to_message): pass the folder to guess_account. svn path=/trunk/; revision=27354
* Merged notzed-eplugin-2-branch to head.Michael Zucci2004-09-201-44/+64
| | | | svn path=/trunk/; revision=27300
* Set the store and full_name info on the dialog.Jeffrey Stedfast2004-08-311-26/+19
| | | | | | | | | | | | 2004-08-30 Jeffrey Stedfast <fejj@novell.com> * em-folder-tree.c (emft_popup_delete_folder): Set the store and full_name info on the dialog. (emft_popup_delete_response): Use the requisite data stored on the dialog object rather than examining the selection again. Fixes bug #62665. svn path=/trunk/; revision=27095
* ** See bug #64377.Not Zed2004-08-311-33/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-08-30 Not Zed <NotZed@Ximian.com> ** See bug #64377. * em-folder-selector.c (emfs_response): only set the uri if we have one to set. * em-folder-tree.c (em_folder_tree_finalize): Removed cose using selected_path and selected_uri strings. (emft_popup_new_folder): " (emft_popup_copy_folder_selected): " (emft_tree_selection_changed): (emft_tree_row_activated): ", free paths after use. * em-folder-selector.c (emfs_create_name_changed): free get_selected_uri return. (emfs_create_name_activate): " (em_folder_selector_get_selected_path): handle api change, store the selected_path too. * em-folder-tree.c (em_folder_tree_get_selected_uri): de-constify,and get the selection directly from the tree. (em_folder_tree_get_selected_path): same. svn path=/trunk/; revision=27092
* Fix for bug #63177Jeffrey Stedfast2004-08-261-4/+5
| | | | | | | | | | | | | | | 2004-08-24 Jeffrey Stedfast <fejj@novell.com> Fix for bug #63177 * em-folder-tree.c (emft_drop_async_drop): Check full_name == NULL rather than full_name[0] since store's have NULL full_names, not empty string (like they used to). (emft_drop_folder): Same. (tree_drag_data_received): Don't abort the drop if the user dropped on a store, this is allowed (depending on the store). svn path=/trunk/; revision=27035
* store the select-uri on the view not in the thread message.Not Zed2004-08-241-154/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-08-23 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (em_folder_tree_set_selected): store the select-uri on the view not in the thread message. (emft_get_folder_info__free): (emft_get_folder_info__got): select_uri removed. (em_folder_tree_set_selected_list): don't set each selected separately, do it as a list. (emft_maybe_expand_row): if this is a selected row, select it too. (emft_get_folder_info__got): do no pending set selection stuff here. (em_folder_tree_set_selected): just call set_selected_list with one item. (emft_expand_node): if this is a selected row, select it too. (emft_get_folder_info__got): no longer need to track lost folders. (emft_tree_row_activated): clear the pending select list. (emft_tree_selection_changed): and here too. (em_folder_tree_get_selected_uris): get the lost folders from the un-applied selected ones now. also fixes a list appending error. (emft_tree_user_event): find out when the user hits a key or mouse button to override any pending single-user select and don't override the cursor setting either. (emft_tree_row_expanded): set the 'load subdirs' false before we load it, so we don't try to load it again if its still being loaded. (emft_get_folder_info__got): don't check the loaded flag here, it should be set by the callee, also check the exception return. svn path=/trunk/; revision=27002
* setup exclusion for vfolder sources, noselect folders. Bug #60794.Not Zed2004-06-291-1/+0
| | | | | | | | | 2004-06-29 Not Zed <NotZed@Ximian.com> * em-vfolder-rule.c (source_add): setup exclusion for vfolder sources, noselect folders. Bug #60794. svn path=/trunk/; revision=26544
* Don't prepend the path string with a '/'.Jeffrey Stedfast2004-06-251-8/+7
| | | | | | | | | | | | | 2004-06-23 Jeffrey Stedfast <fejj@novell.com> * em-folder-selector.c (em_folder_selector_get_selected_path): Don't prepend the path string with a '/'. * em-folder-tree.c (em_folder_tree_create_folder): This takes a full_name so update the argument to make that clear. (emft_create_folder): Same and also don't strip a leading '/' svn path=/trunk/; revision=26513
* set search column. #60152.Not Zed2004-06-251-0/+2
| | | | | | | | 2004-06-25 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (folder_tree_new): set search column. #60152. svn path=/trunk/; revision=26507
* As toshok discovered, gtk_tree_model_get() strdup's string arguments,Jeffrey Stedfast2004-06-231-90/+124
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-22 Jeffrey Stedfast <fejj@novell.com> * em-folder-tree.c (emft_maybe_expand_row): As toshok discovered, gtk_tree_model_get() strdup's string arguments, *sigh*, so we need to free them. (tree_drag_data_delete): Same. (tree_drag_data_get): Same. (tree_drag_data_received): Same. (emft_drop_target): Same (em_folder_tree_get_selected_uris): Same. (get_selected_uris_path_iterate): Same. (emft_update_model_expanded_state): Same. (emft_tree_row_expanded): Same. (emft_tree_row_activated): Same. (emft_popup_delete_response): Same. (emft_popup_delete_folder): Same. (emft_popup_rename_folder): Same. (emft_popup_properties): Same. (emft_tree_button_press): Same. (emft_tree_selection_changed): Same. svn path=/trunk/; revision=26457
* gtk_tree_model_get on a string field allocates the return value. freeChris Toshok2004-06-231-0/+1
| | | | | | | | | 2004-06-22 Chris Toshok <toshok@ximian.com> * em-folder-tree.c (render_pixbuf): gtk_tree_model_get on a string field allocates the return value. free path. svn path=/trunk/; revision=26456
* gtk_tree_model_get on a string field allocates the return value. freeChris Toshok2004-06-221-0/+1
| | | | | | | | | 2004-06-21 Chris Toshok <toshok@ximian.com> * em-folder-tree.c (render_display_name): gtk_tree_model_get on a string field allocates the return value. free name. svn path=/trunk/; revision=26448
* ** See #59885.Not Zed2004-06-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-17 Not Zed <NotZed@Ximian.com> ** See #59885. ** Moved all of the mail specific filtering stuff from filter/* to here. Renamed appropriately into em* space, etc. * em-filter-folder-element.c (emff_copy_value): implement for folders. * em-vfolder-rule.c (get_widget): read the vfolder glade from mail-config.glade. * mail-config.glade: moved the vfolder source selector here. * em-search-context.c: new mail search specific rule context. * mail-component.c (setup_search_context): use the new em_search_context. * vfolder-rule.c (validate): change error to mail context. * filter-folder.c (validate): change error to mail context. * Makefile.am (em-filter-i18n.h): added rule for i18n of mail filter type stuff. (libevolution_mail_la_SOURCES): added in the filter and vfolder rule stuff specific to mail. ** See #59885. * em-format-html-quote.[ch]: remove and remove from build, not used. * Makefile.am (libevolution_mail_la_LIBADD): add libeabutil and evolutionsmime. * mail-component-factory.c (factory): there is no mail_config anymore. svn path=/trunk/; revision=26380
* frombase is simply the select_path, since selected_path is now just theJeffrey Stedfast2004-06-161-4/+4
| | | | | | | | | | 2004-06-15 Jeffrey Stedfast <fejj@novell.com> * em-folder-tree.c (emft_popup_copy_folder_selected): frombase is simply the select_path, since selected_path is now just the full_name rather than the path. Fixes bug #60075. svn path=/trunk/; revision=26357
* don't check rule->source, its irrelevent to vfolder sources, and clean upNot Zed2004-06-141-0/+1
| | | | | | | | | | | | | 2004-06-14 Not Zed <NotZed@Ximian.com> * mail-vfolder.c (rule_changed): don't check rule->source, its irrelevent to vfolder sources, and clean up the logic a bit. #59158. * em-folder-tree.c (emft_popup_new_folder_response): destroy the create dialogue if we're firing up the vfolder creation window. svn path=/trunk/; revision=26332
* Free any old select_uri string we may have. (emft_tree_row_expanded):Jeffrey Stedfast2004-06-121-17/+19
| | | | | | | | | | | | | | | | 2004-06-11 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (em_folder_tree_set_selected): Free any old select_uri string we may have. (emft_tree_row_expanded): Remove the gross hack that was here. (emft_get_folder_info__got): Check for priv->select_uri and try selecting it (if we can't select it yet, it'll just be re-queued for later). (emft_tree_row_activated): Clear the select_uri if set, the user's selection overrules any auto-selection. (emft_tree_selection_changed): Same. svn path=/trunk/; revision=26318
* rearrange the setting up of the target flags, stores can have a null path.Not Zed2004-06-111-13/+18
| | | | | | | | | | | | | | | | 2004-06-11 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (emft_tree_button_press): rearrange the setting up of the target flags, stores can have a null path. * em-folder-selector.c (emfs_create_name_changed): use get_selected_uri rather than path. a valid uri may have a null path now. (emfs_create_name_activate): and here too. (em_folder_selector_get_selected_path): check the uri is null for a selected path, and then handle a null path. svn path=/trunk/; revision=26307
* revert previous change. Stupid emftm.Not Zed2004-06-111-1/+1
| | | | | | | | | 2004-06-11 Not Zed <NotZed@Ximian.com> * em-folder-tree-model.c (em_folder_tree_model_add_store): revert previous change. Stupid emftm. svn path=/trunk/; revision=26306
* Fixes bug #58825. Ugh. Really Gross Hack (tm).Jeffrey Stedfast2004-06-111-3/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-10 Jeffrey Stedfast <fejj@novell.com> Fixes bug #58825. Ugh. Really Gross Hack (tm). * em-folder-tree.c (emft_tree_row_expanded): If the store that we are expanding matches the uri that we've been requested to select (e.g. from before the store was added to the tree), then give the uri to the get_folder_info_op. (em_folder_tree_set_selected): If the store for the uri isn't in the tree yet, save the uri for later. * mail-component.c (folder_selected_cb): Set the selected state of the folder-tree and save it. (impl_createControls): Restore the selected state on the folder-tree. * em-folder-tree-model.c (em_folder_tree_model_set_selected): New function to set the selected-uri saved state. (em_folder_tree_model_get_selected): New function to get the selected uri saved state. (em_folder_tree_model_save_state): Renamed. * em-folder-tree.c (emft_update_model_expanded_state): Don't let path be NULL if the node is a store node (path == NULL for any other case is a bug). (emft_maybe_expand_row): Same. svn path=/trunk/; revision=26294
* Scroll to the selected folder if needed. Fixes bug #59609.Jeffrey Stedfast2004-06-091-1/+2
| | | | | | | | | 2004-06-08 Jeffrey Stedfast <fejj@novell.com> * em-folder-tree.c (em_folder_tree_set_selected): Scroll to the selected folder if needed. Fixes bug #59609. svn path=/trunk/; revision=26262
* Only change the cursor if the currently selected folder is a subfolder ofJeffrey Stedfast2004-06-091-5/+16
| | | | | | | | | | | | | 2004-06-08 Jeffrey Stedfast <fejj@novell.com> * em-folder-tree.c (emft_tree_row_collapsed): Only change the cursor if the currently selected folder is a subfolder of the folder collapsed. Fixes bug #59801 without breaking bug #57665. (emft_tree_test_collapse_row): Renamed from emft_tree_collapse_row() to match the new signal we are connected to. svn path=/trunk/; revision=26258
* Shuffle usage of trailing "..." in menus.Christian Neumair2004-06-051-4/+4
| | | | svn path=/trunk/; revision=26227
* Disable debug here too - all this code has been working fine.Jeffrey Stedfast2004-05-291-2/+2
| | | | | | | | | | | | | | | | | | | | | 2004-05-28 Jeffrey Stedfast <fejj@novell.com> * em-folder-tree.c (d): Disable debug here too - all this code has been working fine. * em-folder-selector.c (d): Disable debug spew here too (not that this debug was ever seen since it never hit those conditions). * mail-folder-cache.c (d): Disable debug here too. * em-folder-tree-model.c: Disable debug spewage that we don't need anymore. The amount of debug spewage on the console is getting to be too much to find anything. * em-folder-tree.c (emft_expand_node): Use p+1 as the full_name rather than p. Fixes bug #59187. svn path=/trunk/; revision=26125
* Instead of removing the "Loading..." row for toplevel folder nodes onJeffrey Stedfast2004-05-281-1/+12
| | | | | | | | | | | | 2004-05-27 Jeffrey Stedfast <fejj@novell.com> * em-folder-tree.c (emft_get_folder_info__got): Instead of removing the "Loading..." row for toplevel folder nodes on failure (which indicates a failure conenct to the server, most likely), collapse the store node so that if the user expands the store node, it will automagically try connecting again. Fixes bug #57493. svn path=/trunk/; revision=26115
* set the default selection to inbox.Not Zed2004-05-261-87/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-26 Not Zed <NotZed@Ximian.com> * importers/evolution-mbox-importer.c (create_control_fn): set the default selection to inbox. * importers/evolution-outlook-importer.c (folder_selected) (create_control_fn): copied from mbox importer. fixes a crash & lets you choose the target folder. 2004-05-25 Not Zed <NotZed@Ximian.com> * mail-component.c (mc_add_local_store_done): removed, now redundant. * em-folder-tree.c (em_folder_tree_set_selected): fix for path changes. * em-folder-tree-model.c (em_folder_tree_model_set_unread_count): change to use full name rather than path name. * em-folder-tree-model.h: renamed path_hash to full_hash. * em-folder-tree-model.c (folder_subscribed): dont use g_path_get_dirname here, it is os dependent, we want / always. (full_hash_free): rename from path_hash free. svn path=/trunk/; revision=26090
* use set_cursor instead of scroll_to_row. See #58383.Not Zed2004-05-241-21/+21
| | | | | | | | | | | | | | | 2004-05-24 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (em_folder_tree_set_selected): use set_cursor instead of scroll_to_row. See #58383. (get_selected_uris_iterate): removed. (em_folder_tree_get_selected_uris): use an interative call based on gtk_tree_selection_get_selected_rows rather than selected_foreach, as the gtk+ docs suggest. was trying to fix a bug but it seems gtktreeselection bug (shift-select rows using keyboard only) svn path=/trunk/; revision=26058
* add marshaller for p_ppppp call.Not Zed2004-05-211-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-21 Not Zed <NotZed@Ximian.com> * mail-mt.c (do_call): add marshaller for p_ppppp call. * mail-session.c (get_password): fix for camel api changes. (forget_password): same. ** See #58376. * message-list.c (mail_regen_list): do some timeout foo so we don't keep doing list regnerations if we're getting called too often. God knows what this will break. (message_list_set_selected): removede bug printf. (regen_list_free): move the message-list poking stuff into regen_list_regened. (message_list_set_folder): call mail_regen_cancel to cancel any regen stuff. (mail_regen_cancel): cancel/clear outstanding regenerations. (message_list_destroy): do it here too. (message_list_select_uid): also set the pending select uid if we have a timeout pending. * mail-component.c (impl_createControls): set the defualt parent to the main folderview as soon as its created. * em-folder-tree.c (emft_popup_copy_folder_selected): use get_toplevel rather than get_ancestor. seems the more reliable one. also we're always parented so we shoudl always find a toplevel window. (em_folder_tree_create_folder): same. (emft_popup_delete_response): set error parent. (emft_popup_delete_folder, emft_popup_rename_folder) (emft_popup_rename_folder, emft_popup_rename_folder): svn path=/trunk/; revision=26030
* don't emit new mail if its any vfolder, not just vtrash folder. #56350.Not Zed2004-05-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-18 Not Zed <NotZed@Ximian.com> * mail-folder-cache.c (folder_changed): don't emit new mail if its any vfolder, not just vtrash folder. #56350. * em-folder-view.c (emfv_list_done_message_selected): run enable_menu's to make sure we're up to date. #58352. ** crappy hacks for #58385. * em-folder-selection-button.c (em_folder_selection_button_clicked): leave Ok button for this selection. * em-folder-selection.c (em_select_folder): added oklabel here too. * em-folder-selector.c (em_folder_selector_new) (em_folder_selector_construct, em_folder_selector_create_new): Added oklabel- text for ok label. (em_folder_selector_create_new): Set the ok label to Create. * em-message-browser.c (emmb_set_message): don't mark message seen if user has disabled auto-mark seen feature. #58629. * em-format.c (em_format_part): if we have no content-type header, then we get no mime-type set, so assume text/plain. #58470. svn path=/trunk/; revision=25951
* ** Bug #6556.Not Zed2004-05-171-164/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-17 Not Zed <NotZed@Ximian.com> ** Bug #6556. * message-list.c (ml_drop_async_desc, ml_drop_async_drop) (ml_drop_async_done, ml_drop_async_free, ml_drag_data_action) (ml_drop_popup_copy, ml_drop_popup_move, ml_drop_popup_cancel) (ml_tree_drag_data_received): implement async drop operations and the ask drop option menu. 2004-05-14 Not Zed <NotZed@Ximian.com> ** Bug #6556. * message-list.c (ml_selection_received_uidlist): removed, not needed anymore. (ml_selection_received): call get_uidlist to paste the selection. (ml_tree_drag_data_received): same here. * em-folder-tree.c (emft_drop_uid_list): removed, not needed because of below change. * em-utils.c (em_utils_selection_get_uidlist): actually do the copy now, don't just decode the data. * em-folder-tree.c (tree_drag_data_received): just copy the selection data data itself, dont decode yet. (emft_import_message_rfc822): removed, not needed, use em utils stuff instead. (emft_drop_message_rfc822): same. (emft_drop_text_uri_list): same. (emft_drop_async_free): simply free stuff. (emft_drop_async_drop): call em_utils stuff where they exist to do the drop. * message-list.c (ml_tree_drag_data_get): send x-mailbox instead of message/rfc822 for the mailbox. (ml_tree_drag_data_received): handle drop of x-mailbox differently to message/rfc822. (ml_tree_drag_motion): implement so proper options are setup whilst dragging. (message_list_construct): seutp the drag src/dest types for changes typs and with ASK action. * em-utils.c (em_utils_read_messages_from_stream): dont unref the stream when we get it. (em_utils_selection_get_mailbox): add an argument to scan from or not, for message/rfc822 vs x-mailbox drops. (em_utils_read_messages_from_stream): Same. * em-folder-tree.c (tree_drag_motion): default to move properly. * message-list.c (ml_selection_received_uidlist): take a move flag. (ml_tree_drag_data_received): handle move action. * em-folder-tree.c (em_folder_tree_new_with_model): got sick of this bloody warning. * em-format.c (default_headers[]): just remove x-mailer from the header list, if it isn't on by default. This is the default list. (em_format_default_headers): loop through everything. svn path=/trunk/; revision=25915
* Fix for bug #57152.Jeffrey Stedfast2004-05-081-1/+6
| | | | | | | | | | | | | | | | | | | | 2004-05-07 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #57152. * em-folder-tree.c (emft_get_folder_info__got): If we queried for a recursive folder-info listing, then pass fully_loaded as TRUE to set_folder_info(). (emft_get_folder_info__got): If we find that a folder doesn't have children, set the expanded state to FALSE. * em-folder-tree-model.c (em_folder_tree_model_set_folder_info): Now takes a "fully_loaded" argument to hint to set_folder_info whether or not folder-info's without child nodes can possibly have children (eg. if fully_loaded is set and fi->child is NULL, then 'load' will be FALSE no matter what fi->flags contains). svn path=/trunk/; revision=25826
* Check that the folder is selectable using the new flags argument.Jeffrey Stedfast2004-05-071-11/+14
| | | | | | | | | | | | | | | | 2004-05-06 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (folder_selected_cb): Check that the folder is selectable using the new flags argument. * em-folder-selector.c (folder_selected_cb): Updated for below changes. * em-folder-tree.c (emft_tree_selection_changed): Updated to pass a flags argument to the folder_selected signal. (emft_tree_row_activated): Same. svn path=/trunk/; revision=25816
* Select the row that was just collapsed. Fixes bug #57665.Jeffrey Stedfast2004-05-061-0/+2
| | | | | | | | | 2004-05-05 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_tree_row_collapsed): Select the row that was just collapsed. Fixes bug #57665. svn path=/trunk/; revision=25811
* ** See bug #57720.Not Zed2004-05-051-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-05 Not Zed <NotZed@Ximian.com> ** See bug #57720. * em-folder-browser.c (emfb_create_view_menus): removed some stuff done in create_view_instance in the superclass. * em-folder-view.c (emfv_create_view_instance): moved here from em-folder-browser, setup the view instance for the folder. (emfv_set_folder): if the folder is set, create the view instance. * em-folder-browser.c: moved the galview instance and menu pointers to EMFolderView, since they're basically meta-data on the messagelist @ to fix issues. * em-folder-view.c (em_folder_view_open_selected): copy over the threaded list value when the message browser is brought up. ** some clean up * evolution-mail.schemas.in.in: removed xmailer_mask stuff. * em-migrate.c (mail_display_map[]): Removed xmailer_mask stuff. * em-folder-view.c (emfv_setting_notify): removed xmailer_mask stuff. * em-format-html.c (em_format_html_set_xmailer_mask): removed. This isn't used anymore. ** Fixes the double-draw on separate mail view. * message-list.c (on_cursor_activated_cmd): noop if the cursor and uid match for all cases (clearing uid). (on_selection_changed_cmd): noop if the cursor and new selection hasn't changed & fix a memleak. svn path=/trunk/; revision=25806
* Fix for bug #55303, but ideally there would be a nicer way of doing this -Jeffrey Stedfast2004-05-051-4/+6
| | | | | | | | | | | | | | | | | | | | | 2004-05-04 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #55303, but ideally there would be a nicer way of doing this - likely with some added ETree API but that's not likely to happen anytime soon. * em-folder-browser.c (scroll_idle_cb): Recall the saved scrollbar position state and set it, then reconnect to the message_list_scrolled signal. (emfb_list_built): Calculate a default scrollbar position for scroll_idle_cb to use if there's no saved state. (emfb_set_folder): Disconnect from the message_list_scrolled signal and the idle_scroll_id. (emfb_list_scrolled): Save the scrollbar position state. (emfb_destroy): Disconnect from list_scrolled_id and idle_scroll_id. svn path=/trunk/; revision=25794
* If the row the cursor is hovering over has children and is not expandedJeffrey Stedfast2004-05-011-0/+68
| | | | | | | | | | | | | | 2004-04-30 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (tree_drag_motion): If the row the cursor is hovering over has children and is not expanded already, setup a timer to auto-expand it if the user hovers there long enough. (tree_autoexpand): Callback to expand the row. (tree_drag_leave): Disconnect the timer. (tree_drag_drop): Same. (em_folder_tree_destroy): Same. svn path=/trunk/; revision=25718
* ** Changed error messages to use EError.Not Zed2004-04-281-69/+39
| | | | | | | | 2004-04-28 Not Zed <NotZed@Ximian.com> ** Changed error messages to use EError. svn path=/trunk/; revision=25653
* ** See bug #57659.Not Zed2004-04-271-1/+1
| | | | | | | | | | 2004-04-27 Not Zed <NotZed@Ximian.com> ** See bug #57659. * mail-ops.c (fix_unmatched_info): removed, done in camel now. svn path=/trunk/; revision=25625
* Same.Jeffrey Stedfast2004-04-201-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-19 Jeffrey Stedfast <fejj@ximian.com> * message-tag-followup.c (construct): Same. * message-list.c (message_list_init_images): Same. * mail-send-recv.c (build_dialog): Same. * mail-mt.c (do_op_status): Same. * mail-config-druid.c (evolution_mail_config_wizard_new): Same. * em-popup.c (em_popup_create_menu): Same. * em-format-html-display.c (efhd_format_prefix): Same. * em-format-html.c (efh_format_secure): Same as below. * em-folder-tree.c (render_pixbuf): Don't use absolute icon sizes, use the e-icon-factory enums. svn path=/trunk/; revision=25527
* mail-component.cMichael Terry2004-04-191-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-19 Michael Terry <mike@mterry.name> * GNOME_Evolution_Mail.server.in.in: * em-account-prefs.[ch]: * em-composer-prefs.[ch]: * em-folder-browser.c: * em-folder-tree.c: * em-folder-view.c: * em-format-html-display.c: * em-format-html.[ch]: * em-popup.c: * mail-component.c * mail-config-druid.c: * mail-config.glade: * mail-mt.c: * mail-send-recv.c: * message-list.c: * message-tag-followup.c: * message-tags.glade: Update the mailer to use icon themes through the EIconFactory object in e-util svn path=/trunk/; revision=25517
* Scroll to the auto-selected folder. Fixes bug #56707.Jeffrey Stedfast2004-04-131-0/+1
| | | | | | | | | 2004-04-12 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (em_folder_tree_set_selected): Scroll to the auto-selected folder. Fixes bug #56707. svn path=/trunk/; revision=25418
* We need to recursively copy the dragged folder tree over to the dropJeffrey Stedfast2004-04-091-9/+54
| | | | | | | | | | | 2004-04-08 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_drop_folder): We need to recursively copy the dragged folder tree over to the drop location, not just the parent folder. We also need to subscribe to the newly created folder in some cases. svn path=/trunk/; revision=25375
* Check that emft_selection_get_selected() returns TRUE before we try to useJeffrey Stedfast2004-04-081-5/+15
| | | | | | | | | | | | | | 2004-04-07 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_tree_button_press): Check that emft_selection_get_selected() returns TRUE before we try to use the iter. Fixes bug #56652. (emft_popup_delete_response): Same idea here. (emft_popup_delete_folder): Same. (emft_popup_rename_folder): Same. (emft_popup_properties): Same. svn path=/trunk/; revision=25366
* moved a comment to a more appropriate locationJeffrey Stedfast2004-04-081-1/+1
| | | | svn path=/trunk/; revision=25365
* ref the emfoldertree in our thread message. (em_folder_tree_set_selected):Not Zed2004-04-061-0/+3
| | | | | | | | | | | | | | | | | 2004-04-06 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (emft_tree_row_expanded): ref the emfoldertree in our thread message. (em_folder_tree_set_selected): same. (emft_get_folder_info__free): unref it. * mail-folder-cache.c (ping_store): use thread_queued_slow not thread_queued - we dont care when it runs. * em-folder-view.c (emfv_set_folder_uri): use thread_new for getting the folder, we do elsewhere, and it aids interactivity. svn path=/trunk/; revision=25330
* Cleaned up header inclusions and added plenty of forward declarations.Not Zed2004-03-311-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-31 Not Zed <NotZed@Ximian.com> * *.[ch]: Cleaned up header inclusions and added plenty of forward declarations. Sped up complete re-compilation by upto 20%. ** See bug #55950. * em-utils.c (em_utils_in_addressbook): utility for checking if an email address is in the addressbook. I can't tell if it works 'cause it crashes eds. * em-format-html.c (emfh_gethttp): handle addressbook checking. 2004-03-30 Not Zed <NotZed@Ximian.com> * mail-config.h: clean up the headers and use some forward decl's instead. * em-format-html.c (em_format_html_set_load_http): change state to an int 'style' instead. * em-folder-view.c (emfv_setting_notify): set the format load http option to the config value directly. ** See bug #56147. * message-list.c (clear_info): set the node data to NULL when we unref its data. (ml_get_save_id): use a different test for the root node, and return NULL if we don't have any data on the node (because we're cleaing it). ** See bug #54962. * em-folder-tree.c (emft_popup_new_folder_response): put back the old hack to open the vfolder editor if you try to create a folder under vfolders. ** See bug #55940. * mail-autofilter.c (mail_filter_rename_uri): map the uri to an email uri before passing to filter code. (mail_filter_delete_uri): same here. svn path=/trunk/; revision=25261
* Free the folder-info.Jeffrey Stedfast2004-03-301-2/+1
| | | | | | | | | 2004-03-29 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_create_folder__free): Free the folder-info. svn path=/trunk/; revision=25233
* Fixes bug #54800.Jeffrey Stedfast2004-03-201-2/+62
| | | | | | | | | | | | | | | 2004-03-19 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #54800. * em-folder-tree.c (tree_drag_drop): Remove the autoscroll timeout. (tree_drag_leave): Remove the autoscroll timeout. (tree_autoscroll): New autoscroll timeout callback - automagically scrolls the treeview if appropriate. (tree_drag_motion): Setup the autoscroll timeout. svn path=/trunk/; revision=25134
* Fix for bug #55358.Jeffrey Stedfast2004-03-171-48/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-16 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #55358. * em-folder-tree.c (emft_expand_node): Changed to be the callback function for em_folder_tree_model_expand_foreach(). (emft_maybe_expand_row): Renamed from emft_loading_row_cb(). We now handle both "loading-row" an "loaded-row" signals. Also updated for slight change in key generation. (em_folder_tree_new_with_model): Connect to the "loaded-row" signal. (emft_update_model_expanded_state): Updated for slight change in key generation. * em-folder-tree-model.c (em_folder_tree_model_add_store): Emit the "loaded-row" signal for the newly added store. (em_folder_tree_model_set_folder_info): Emit "loaded-row" for the row we've just set the info on (but only after we've added a child node if there is one, so the signal handler can expand the newly added row if appropriate). (em_folder_tree_model_class_init): Setup the "loaded-row" signal. (em_folder_tree_model_finalize): The tree-state is now an xml file and not a binary file, so change the expanded free func. (em_folder_tree_model_load_state): Load the expand-state xml file. If one doesn't exist, setup some defaults. (em_folder_tree_model_get_expanded): Scan the XML tree for the node. (em_folder_tree_model_set_expanded): Same. (em_folder_tree_model_save_expanded): Save the expand-state xml tree to disk. (em_folder_tree_model_expand_foreach): New function to iterate over all xml nodes and call the callback if the expand state is "true". svn path=/trunk/; revision=25094
* New function to return a description of the async drop operation. FixesJeffrey Stedfast2004-03-171-1/+27
| | | | | | | | | 2004-03-16 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_drop_async_desc): New function to return a description of the async drop operation. Fixes bug #54808. svn path=/trunk/; revision=25090
* Use camel_store_rename_folder() when appropriate (m->tostore ==Jeffrey Stedfast2004-03-161-21/+35
| | | | | | | | | | 2004-03-15 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_copy_folders__copy): Use camel_store_rename_folder() when appropriate (m->tostore == m->fromstore && m->delete) svn path=/trunk/; revision=25080
* make dnd look funny for joe. #55246.Not Zed2004-03-111-1/+1
| | | | | | | | | 2004-03-11 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (tree_drag_motion): make dnd look funny for joe. #55246. svn path=/trunk/; revision=25023
* pass the raw header in instead of name and value. (efh_format_headers): ifNot Zed2004-03-111-10/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-11 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_format_header): pass the raw header in instead of name and value. (efh_format_headers): if we have specific headers to show, iterate over all headers and print out all matching ones, so duplicate headers are properly displayed. Related to #55298. * em-folder-selector.c (em_folder_selector_construct): dont set this to be modal. otherwise you can't click on error popups. duh. 2004-03-08 Not Zed <NotZed@Ximian.com> * em-folder-selection-button.c (em_folder_selection_button_clicked): don't let the user select virtual/vtrash folders or non-selectable folders. * mail-component.c (impl_createControls): disable selection of non-select rows. * em-folder-selector.c (em_folder_selector_create_new): exclude folders with noinferiors set. * em-folder-tree.c (folder_tree_new): add folder tree arg, hook onto the selection funciton for the tree selection. (emft_select_func): selection override function. allow certain things to be excluded. (em_folder_tree_set_excluded): api to set what is excluded from the selectability. (emft_tree_row_activated): call emft_select_func check to see if this row is excluded before emitting an activated signal. * em-folder-tree-model.c (em_folder_tree_model_set_folder_info): save folder info->flags in the tree store. * mail-folder-cache.c (create_folders): use tail recursion. (get_folders): tail recurse. * (*): Fixed for api changes in camel. svn path=/trunk/; revision=25020
* New async function to create a folder. (em_folder_tree_create_folder):Jeffrey Stedfast2004-03-091-28/+146
| | | | | | | | | | | | | | 2004-03-08 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_create_folder): New async function to create a folder. (em_folder_tree_create_folder): Partly moved into emft_create_folder. Might be able to remove this code, but lewing might be using it in Connector or something? Need to ask him... (emft_popup_new_folder_response): Use emft_create_folder() instead. svn path=/trunk/; revision=24993
* ** See bug #54121.Not Zed2004-03-031-1/+0
| | | | | | | | | | | | | | 2004-03-03 Not Zed <NotZed@Ximian.com> ** See bug #54121. * mail-component.c (impl_requestCreateItem) (emc_new_folder_response): Hack in a nastish implementation of create folder for the new menu. (impl__get_userCreatableItems): add 'new mail folder' to new button. svn path=/trunk/; revision=24945
* s/||/&&/. Fixes a dumb bug I introduced yesterday.Jeffrey Stedfast2004-03-031-1/+1
| | | | | | | | | 2004-03-02 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_tree_button_press): s/||/&&/. Fixes a dumb bug I introduced yesterday. svn path=/trunk/; revision=24938
* Connect to the folder-activated signal. (folder_activated_cb): CallJeffrey Stedfast2004-03-021-6/+58
| | | | | | | | | | | | | | | | | | 2004-03-01 Jeffrey Stedfast <fejj@ximian.com> * em-folder-selector.c (em_folder_selector_construct): Connect to the folder-activated signal. (folder_activated_cb): Call gtk_dialog_response() with GTK_RESPONSE_OK. Fixes bug #54793. * em-folder-tree.c (emft_tree_row_activated): New callback to emit the "folder-activated" signal which is needed to fix bug #54793. (emft_tree_button_press): Handle button1 double-clicks too (also for bug #54793). (emft_tree_button_press): On right-click, we also want to select the folder the user right-clicked on. Fixes bug #54772. svn path=/trunk/; revision=24928