aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail/e-mail-shell-view.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove gal_view_collection_add_factory().Matthew Barnes2013-07-061-0/+3
| | | | | | No longer needed. Instead, use g_type_ensure() to ensure the necessary GalView subclasses are registered in the GType system before loading a GalViewCollection. Best place to ensure types is from GClassInitFunc.
* e-mail-shell-view.c: Avoid e_tree_set_state().Matthew Barnes2013-07-021-2/+12
| | | | | Create our own ETableState and call e_table_state_load_from_string() followed by e_tree_set_state_object().
* Add e_mail_reader_ref_folder().Matthew Barnes2013-06-151-7/+16
| | | | Replaces e_mail_reader_get_folder().
* Coding style and whitespace cleanup.Matthew Barnes2013-05-081-1/+1
|
* Merge [mark-all-read] plugin into core codeMilan Crha2013-05-041-5/+14
| | | | | | During fixes on bug #602428, rather than do everything twice, I merged the plugin into the core code, thus it should be easier to maintain as well.
* Remove EUIManager.Matthew Barnes2013-04-011-2/+2
| | | | No longer needed. Use GtkUIManager directly.
* Bug #639698 - Crash in mail_shell_view_execute_search()Milan Crha2013-01-231-20/+28
|
* Bug 588216 - 'Unsubscribe' disabled for newsgroupsMatthew Barnes2012-12-291-1/+1
| | | | Unsubscribable folders are not necessarily deletable.
* Consolidate base utility libraries into libeutil.Matthew Barnes2012-12-131-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Evolution consists of entirely too many small utility libraries, which increases linking and loading time, places a burden on higher layers of the application (e.g. modules) which has to remember to link to all the small in-tree utility libraries, and makes it difficult to generate API documentation for these utility libraries in one Gtk-Doc module. Merge the following utility libraries under the umbrella of libeutil, and enforce a single-include policy on libeutil so we can reorganize the files as desired without disrupting its pseudo-public API. libemail-utils/libemail-utils.la libevolution-utils/libevolution-utils.la filter/libfilter.la widgets/e-timezone-dialog/libetimezonedialog.la widgets/menus/libmenus.la widgets/misc/libemiscwidgets.la widgets/table/libetable.la widgets/text/libetext.la This also merges libedataserverui from the Evolution-Data-Server module, since Evolution is its only consumer nowadays, and I'd like to make some improvements to those APIs without concern for backward-compatibility. And finally, start a Gtk-Doc module for libeutil. It's going to be a project just getting all the symbols _listed_ much less _documented_. But the skeletal structure is in place and I'm off to a good start.
* Bug #202576 - A way to refresh IMAP folder listMilan Crha2012-11-221-0/+4
|
* EMailShellView: Remove GroupWise-specific cruft.Matthew Barnes2012-10-191-43/+0
| | | | | The GroupWise backend is dead, and this logic never belonged here in the first place.
* Remove "Disable Account" menu item for GOA-based accounts.Matthew Barnes2012-10-191-1/+4
| | | | GOA-based accounts must only be disabled from gnome-control-center.
* Coding style and whitespace cleanup.Matthew Barnes2012-08-201-4/+5
|
* Adapt to CamelSession API changes.Matthew Barnes2012-08-121-6/+8
| | | | | | | | | | | | These functions now return new references: camel_session_add_service() camel_session_list_services() These functions have been renamed and also return new references: camel_session_get_service() -> camel_session_ref_service() camel_session_get_service_by_url() -> camel_session_ref_service_by_url()
* Bug 679649 - Remove "Recent Messages" from Quick Search BarMatthew Barnes2012-07-101-17/+0
| | | | | | | | | | | | | | | | The story on this is a question [1] was recently posed to the mailing list about what's the different between "Recent Messages" and "Last 5 Days' Messages" as listed in the Show: combo box, and even I could not answer before looking up the query expression for "Recent Messages" in the source code (messages received in the past 24 hours, it turns out). I can't defend why we need both options, and "Last 5 Days' Messages" is less ambiguous and overlaps the results for "Recent Messages", so "Last 5 Days' Messages" seems sufficient to me. There are numerous ways to re-create the "Recent Messages" query if it's still desired: saved search, search folder, or just sort messages by date received. [1] https://mail.gnome.org/archives/evolution-list/2012-July/msg00044.html
* Bug #602425 - Search in "Current Account"/"All Accounts" depends on vfoldersMilan Crha2012-07-091-102/+103
|
* Avoid em_folder_tree_get_selected_folder() in some places.Matthew Barnes2012-07-091-2/+20
| | | | | | | em_folder_tree_get_selected_folder() currently blocks, and I'm about to remove the function. But there's a couple places where we just need to block for now, else it would require a significant rewrite. So execute the em_folder_tree_get_selected_folder() logic manually in those places.
* Bug 678393 - Disable Properties for built-in mail storesMatthew Barnes2012-06-211-2/+4
|
* Bug 677624 - Disable Properties when Search Folders is selectedMatthew Barnes2012-06-081-4/+4
|
* Adapt modules/mail to the new ESource API.Matthew Barnes2012-06-031-14/+33
|
* Adapt to vFolder changes from evolution-data-serverMilan Crha2012-05-311-5/+11
|
* Adapt to CamelService API changes.Matthew Barnes2012-05-201-2/+2
| | | | | | em_utils_connect_service_sync() and em_utils_disconnect_service_sync() are no longer needed. CamelService itself now effectively does what these functions were doing.
* Account properties shown also on remote foldersMilan Crha2012-02-211-1/+1
|
* Bug #668482 - Edit account properties from menu on folder storeMilan Crha2012-02-161-0/+4
|
* Bug 418520 - Disable Folder -> Expunge in virtual foldersMatthew Barnes2012-02-071-1/+4
| | | | | | | | | Expunging from a virtual folder actually expunges one or more real folders, which the user may not be aware of and can lead to unintended message removal. I feel it's safest to just disable Folder -> Expunge for any virtual folder, be it Junk, Trash, or a Search Folder. Note that File -> Empty Trash is still always enabled.
* Introduce libemail-engine and libemail-utils.Matthew Barnes2012-01-191-1/+1
| | | | | | | These libraries are bound for E-D-S so they live at the lowest layer of Evolution for now -- even libeutil can link to them (but please don't). This is the first step toward moving mail handing to a D-Bus service.
* Move EMailLabelListStore to EMailSession.Matthew Barnes2011-12-251-16/+10
| | | | | Access the EMailLabelListStore through EMailSession instead of EShellSettings, which was a quick hack of mine during kill-bonobo.
* Reorder accounts by drag-and-drop.Matthew Barnes2011-12-111-2/+2
| | | | | | | | | | | | | | | | | | | | | This implements https://bugzilla.gnome.org/show_bug.cgi?id=663527#c3. Account reordering is now done by drag-and-drop instead of up/down buttons. Turned out to be a wee bit more complicated than I initially thought. This scraps EAccountManager and EAccountTreeView and replaces them with new classes centered around EMailAccountStore, which EMailSession owns. EMailAccountStore is the model behind the account list in Preferences. The folder tree model now uses it to sort its own top-level rows using gtk_tree_path_compare(). It also broadcasts account operations through signals so we don't have to rely so heavily on EAccountList signals, since EAccountList is going away soon. Also as part of this work, the e-mail-local.h and e-mail-store.h APIs have been merged into EMailSession and MailFolderCache.
* Move folder URI caching to MailFolderCache.Matthew Barnes2011-12-081-19/+9
|
* Miscellaneous EShellView-related cleanups.Matthew Barnes2011-12-081-5/+4
|
* Bug 663376 - Folder->Properties enabled when no folder selectedMatthew Barnes2011-11-131-1/+1
|
* EMFolderTreeModel: Don't use parameters in "get_default" functions.Matthew Barnes2011-09-261-1/+1
| | | | | | | | Drop EMFolderTreeModel's "session" property now that it has a "backend" property and call em_folder_tree_model_set_backend() where we used to call em_folder_tree_model_set_session(). The session can still be obtained through e_mail_backend_get_session().
* Bug #351025 - Make the order of the mail accounts configurableMilan Crha2011-09-261-1/+1
|
* Miscellaneous cleanups.Matthew Barnes2011-08-311-1/+12
| | | | | | | Reducing diff noise with the account-mgmt branch. Trying to erode our dependency on EAccount as much as possible, or at least isolate its usage, to make things easier for me on the branch.
* Adapt to new CamelSubscribable interface.Matthew Barnes2011-08-161-9/+9
|
* Bug #655957 - Current account / all accounts search changes columnMilan Crha2011-08-121-1/+5
|
* Bug #650671 - Service connect/disconnect not cancelled properlyMilan Crha2011-07-021-2/+2
|
* EMailShellView: Avoid e_get_subscribable_accounts().Matthew Barnes2011-05-291-16/+17
| | | | | Use em_folder_tree_model_list_stores() to determine whether to enable the folder subscription editor.
* Bug #646109 - Fix use of include <config.h> to make sure translations workMilan Crha2011-05-271-0/+4
|
* Use em_folder_tree_get_selected() in places to simplify code.Matthew Barnes2011-05-251-14/+7
| | | | | | There were a few places where we were accessing the folder tree model directly to get the selected store + folder name, or were asking for the selected URI only to parse back into its store + folder name components.
* Remove e_mail_reader_get_folder_uri().Matthew Barnes2011-05-041-8/+12
| | | | | Instead call e_mail_reader_get_folder() and, if you really need to, generate the folder URI with e_mail_folder_uri_from_folder().
* Fix compiler warnings.Matthew Barnes2011-05-031-3/+0
| | | | Mostly dead assignments.
* Drop 'folder_uri' param from em_utils_folder_is_sent().Matthew Barnes2011-05-031-2/+2
|
* EMailShellView: Open the selected folder ourselves.Matthew Barnes2011-05-031-16/+6
| | | | | | | | | | | | | | | | | This one's a little involved: - EMailShellView now obtains a CamelFolder itself in response to EMFolderTree::folder-selected signals. Uses EActivity to do so. - Revise EMFolderTree::folder-selected signal arguments to be more useful: emit a CamelStore object instead of a folder URI. - Also revise EMFolderTree::folder-activiated signal arguments the same way while we're at it. - Remove the "folder_uri" argument from e_mail_reader_set_folder(). If you have a CamelFolder object you can obtain the URI string by calling camel_folder_get_uri().
* Add em_folder_tree_get_selected_account().Matthew Barnes2011-05-031-3/+3
| | | | Comes in handy for a few EMailShellView actions.
* Adapt to CamelService changes.Matthew Barnes2011-04-211-10/+13
|
* Miscellaneous GtkAction-related cleanups.Matthew Barnes2011-03-281-1/+1
| | | | Prefer the newer GtkAction "set" functions over g_object_set().
* Coding style and whitespace cleanup.Matthew Barnes2011-03-061-1/+3
|
* Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedlyMilan Crha2011-02-251-4/+3
|
* Bug 641756 - Fix warnings from GCC 4.6Kjartan Maraas2011-02-091-2/+0
| | | | GCC learned how to find dead assignments.
* Bug #634403 - Mails Label popup menu is not updated properlyMilan Crha2011-01-191-0/+1
|
* Bug #633783 - Folder->Expunge enabled when no folder selectedMilan Crha2010-11-221-0/+4
|
* Bug 633172 - Folder->Subscriptions is always enabledMatthew Barnes2010-10-301-5/+14
|
* Simplify EActivity.Matthew Barnes2010-10-231-1/+3
| | | | | | | | | | | | | | | | | | | | | | 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.
* Move more account utilities to e-account-utils.c.Matthew Barnes2010-10-191-1/+1
|
* Remove mail_tools_folder_to_url().Matthew Barnes2010-10-131-8/+4
| | | | Use camel_folder_get_uri() instead.
* Give MailSession a permanent home.Matthew Barnes2010-10-131-4/+11
| | | | | | | | | | | 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 588851 - Don't show unsubscribe option for local foldersMatthew Barnes2010-10-051-1/+3
|
* Coding style and whitespace cleanup.Matthew Barnes2010-10-041-4/+11
|
* Bug 510020 - Add "Manage Subscriptions" to store context menusMatthew Barnes2010-10-031-0/+7
|
* camel_operation_new() now returns a GCancellable pointer.Matthew Barnes2010-09-291-7/+7
|
* Bug #629266 - Crash on search in Current AccountMilan Crha2010-09-291-7/+54
|
* Adapt to Camel API changes.Matthew Barnes2010-09-281-2/+0
|
* Pass GCancellable to Camel.Matthew Barnes2010-09-281-2/+4
|
* Adapt to CamelOperation API changes.Matthew Barnes2010-09-151-6/+6
|
* Mail module + EMailView cleanups.Matthew Barnes2010-08-271-6/+19
|
* Coding style and whitespace cleanup.Matthew Barnes2010-07-261-2/+1
|
* Rewrite the content piece of evolution.Srinivasa Ragavan2010-07-261-4/+4
|
* Bug 624128 - Folder -> Subscriptions is always enabledMatthew Barnes2010-07-121-1/+11
|
* Migrate from CamelException to GError.Matthew Barnes2010-07-091-12/+2
|
* Adapt to Camel API changes.Matthew Barnes2010-04-301-1/+1
|
* Camel is now GObject-based.Matthew Barnes2010-04-241-7/+7
|
* Don't hardcode a width, but compute a suitable oneSrinivasa Ragavan2010-03-231-16/+1
| | | | | | | | | | | | We do this by measuring a template string, which contains a sample name for an email account. This is what normally gets displayed in the folder tree, so such a sample string should give a reasonable width. Signed-off-by: Federico Mena Quintero <federico@novell.com> Conflicts: modules/mail/e-mail-shell-sidebar.c
* Start the mailer's folder sidebar with a reasonable widthFederico Mena Quintero2010-03-231-1/+16
| | | | Signed-off-by: Federico Mena Quintero <federico@novell.com>
* Shell and UI manager cleanups.Matthew Barnes2010-03-141-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 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.)
* clean up the 'express' mode hooks for UI Managers and start toMichael Meeks2010-03-141-5/+1
| | | | | extend them to plugins - use a simple one-off boolean on the UI Manager instead of exhaustively trying to propagate this information everywhere.
* Add generic 'express mode' conditionals to the UI XMLMichael Meeks2010-03-141-1/+4
|
* Bug 609404 - Quick search filter should work on current message list viewMatthew Barnes2010-02-101-8/+18
|
* Implement account-wide search scope in mail.Matthew Barnes2010-02-071-23/+362
| | | | Also, let EShellSearchbar handle search state persistence.
* BugĀ 607608 - Empty Trash does not work unless Trash is selectedMatthew Barnes2010-01-221-1/+1
|
* Remove dead assignments found by clang.Matthew Barnes2010-01-161-5/+0
|
* Bug #597816 - Read/save search folders with labels properlyMilan Crha2010-01-051-2/+9
|
* Coding style and whitespace cleanup.Matthew Barnes2010-01-041-11/+17
|
* Introduce ESelectable and EFocusTracker.Matthew Barnes2009-12-261-4/+3
| | | | | | | | | | | | | | | | | | EFocusTracker tracks the input focus within a window and helps keep the sensitivity of "selectable" actions in the main menu up-to-date. Selectable actions include Cut, Copy, Paste, Select All and Delete. EFocusTracker has built-in support for widgets that implement the GtkEditable interface such as GtkEntry and GtkTextView. It also supports custom widgets that implement the ESelectable interface, which is a subset of GtkEditable and can apply to anything that displays selectable content (esp. tree views and ETables). This commit integrates EFocusTracker with EShellWindow, CompEditor, EMsgComposer, and ESignatureManager. It also bumps the GtkHTML requirement to 2.29.5 to utilize the new GtkhtmlEditor:html constructor property.
* Refactor the EShell search API.Matthew Barnes2009-12-191-8/+13
| | | | | | | | | | | | | | | | | Move the search interface to a new widget: EShellSearchbar The current search rule is now stored in EShellView, and the search context in EShellViewClass similar to GalViewCollection (since it's class-specific, not instance-specific). Also add a couple new signals to EShellView: "clear-search" and "custom-search" ("custom" refers to an advanced search or a saved search -- something more complex than a quick search). Still working out a few kinks. The search entry is clearly trying to be too many things. We need a different way of indicating that you're looking at search results. Perhaps a search results banner similar to Nautilus.
* Bug #603184 - Various problems with search box in foldersMilan Crha2009-12-181-0/+3
|
* Introduce EMailSidebar into libevolution-mail.Matthew Barnes2009-12-151-6/+6
| | | | | | 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.
* Expand the EMailReader interface so it's easier to use.Matthew Barnes2009-12-021-6/+3
| | | | | | | | Adds the following methods: CamelFolder * (*get_folder) (EMailReader *reader); const gchar * (*get_folder_uri) (EMailReader *reader); GPtrArray * (*get_selected_uids) (EMailReader *reader);
* Merge bits and pieces of the anjal-evo-2-30 branch.Matthew Barnes2009-12-011-7/+10
|
* Rename EError to EAlert to match general use betterJonathon Jongsma2009-12-011-0/+1
| | | | | | | | | | 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
* Bug #579599 - Let the Advanced Search work againMilan Crha2009-11-191-17/+13
|
* BugĀ 589153 - Use GtkBuilder instead of libgladeMatthew Barnes2009-11-171-1/+2
|
* Whitespace cleanup.Matthew Barnes2009-11-151-1/+1
|
* Fix few compiler warningsMilan Crha2009-11-031-1/+1
|
* Lets the saved searches to work.Chenthill Palanisamy2009-10-301-0/+13
|
* Bug 600019 - Menu glitches when an account name is selectedMatthew Barnes2009-10-291-0/+12
|
* Don't update the message list when right-clicking on a folder.Matthew Barnes2009-10-281-4/+21
| | | | | | 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 #550049 - Disable Mark messages as read actions when unusableMilan Crha2009-10-281-0/+68
|
* Cleanup and rename filter classes.Matthew Barnes2009-10-271-10/+10
|
* Fix few valgrind claimsMilan Crha2009-09-221-1/+1
|
* Followup fix for bug #593905.Matthew Barnes2009-09-111-1/+1
|
* Introduce an EShellView::execute-search signal.Matthew Barnes2009-09-031-0/+267
| | | | | | | | | | | | This addresses bug #593896 but is also a cleaner design than before. It introduces an EShellView::execute-search signal and renames the "search-execute" action to "search-quick" to clarify that it's only meant for the "quick" search bar in the main window. Shell view subclasses should implement the execute_search() method to actually execute a search. e_shell_view_execute_search() emits the new signal.
* Get the "mail-to-task" plugin working again.Matthew Barnes2009-06-261-4/+2
| | | | | This one was more challenging. It exposed some flaws in the new shell design and in EPluginUI, which is good because they're fixed now.
* Kill the "folder-unsubscribe" plugin.Matthew Barnes2009-06-261-0/+4
| | | | Feature is now integrated in core mailer, and has a main menu item.
* Radically reorganize source code.Matthew Barnes2009-06-251-0/+260
- Collect all shell modules into a new top-level 'modules' directory: $(top_srcdir)/modules/addressbook $(top_srcdir)/modules/calendar $(top_srcdir)/modules/mail Nothing is allowed to link to these, not plugins nor other modules. THIS SOLVES BUG #571275 AND OPENS THE DOOR TO PORTING TO MAC OS X. - Mimic the libevolution-mail-shared library from master (except drop the "shared" suffix) and have libevolution-mail-importers and all mail-related plugins link to it. - Discard the a11y subdirectories and have the files live alongside their counterpart widgets.