aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail/e-mail-shell-view-actions.c
Commit message (Collapse)AuthorAgeFilesLines
* 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-12/+8
| | | | | | 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.
* EMFolderTree: Store an EMailBackend instead of an EMailSession.Matthew Barnes2011-05-241-8/+5
| | | | | | | | All this so EMFolderTree can submit EActivity instances for async ops. You can obtain an EMailSession from an EMailBackend, but not vice versa. Creates lots of pretty ripples in the mail code, but ultimately reduces complexity. So it's a code cleanup of sorts.
* Bug 650587 - Hide Search Folder actions when Search Folders are disabledMatthew Barnes2011-05-211-14/+23
| | | | | | | | | | | | | | | | Add an action group for Search Folders to EMailReader. The action group's visibility is bound to the "mail-enable-search-folders" setting, so that menu items related to Search Folders are hidden when Search Folders are disabled in GConf. Affected menu items are: Edit -> Search Folders Message -> Create Rule -> Search Folder from Subject... Message -> Create Rule -> Search Folder from Sender... Message -> Create Rule -> Search Folder from Recipients... Message -> Create Rule -> Search Folder from Mailing List... Search -> Create Search Folder From Search...
* Remove mail_remove_folder().Matthew Barnes2011-05-211-6/+5
| | | | Use e_mail_folder_remove() instead.
* Remove mail_store_prepare_offline().Matthew Barnes2011-05-181-4/+49
| | | | Use e_mail_store_prepare_for_offline() instead.
* Add e_mail_reader_new_activity().Matthew Barnes2011-05-131-1/+6
| | | | | | | | | | | | | | | | Configuring and submitting an EActivity for every mail operation is getting tedious. This function helps reduce boilerplate code by: * Creating a new EActivity instance. * Installing an EAlertSink using e_mail_reader_get_alert_sink(). * Installing a GCancellable (which is really a CamelOperation). * Submitting the activity via e_shell_backend_add_activity(). I'm considering adding a similar function (or class method) for EShellView. Not sure yet...
* Reimplement em_folder_properties_show().Matthew Barnes2011-05-121-1/+1
| | | | | Now uses camel_store_get_folder() and camel_folder_get_quota_info(), although I need to rewrite the quota function to be asynchronous.
* Add e_activity_handle_cancellation().Matthew Barnes2011-05-121-2/+1
| | | | | | | | Convenience function for use in GAsyncReadyCallback functions. This acknowledges the cancellation, so that the activity's description changes from "(cancelling)" to "(cancelled)" and the description appears crossed out in the UI for a moment before disappearing.
* em_folder_utils_create_folder(): Change function parameters.Matthew Barnes2011-05-071-6/+6
| | | | | Take a folder URI string instead of a CamelFolderInfo, and swap places with the GtkWindow parameter.
* em_folder_utils_copy_folder(): Change function parameter.Matthew Barnes2011-05-071-10/+12
| | | | Take a folder URI string instead of a CamelFolderInfo.
* Remove e_mail_reader_get_folder_uri().Matthew Barnes2011-05-041-2/+7
| | | | | Instead call e_mail_reader_get_folder() and, if you really need to, generate the folder URI with e_mail_folder_uri_from_folder().
* Add em_folder_tree_get_selected_account().Matthew Barnes2011-05-031-15/+4
| | | | Comes in handy for a few EMailShellView actions.
* Adapt to CamelService changes.Matthew Barnes2011-04-211-1/+1
|
* Coding style and whitespace cleanup.Matthew Barnes2011-02-191-1/+5
|
* Bug #638333 - Critical warning when invoking File->New->Mail FolderMilan Crha2011-02-161-1/+1
|
* Coding style and whitespace cleanup.Matthew Barnes2011-01-301-7/+18
|
* Bug #634403 - Mails Label popup menu is not updated properlyMilan Crha2011-01-191-0/+1
|
* Bug #633982 - Crash when trying to Create a search folder from a searchMilan Crha2011-01-191-1/+3
|
* Fix menu item capitalizaion.Matthew Barnes2010-12-271-2/+2
|
* Bug #207580 - Allow new mail check on individual accountsMilan Crha2010-11-261-0/+68
|
* Bug #632683 - Remove-duplicates should work on selectionMilan Crha2010-11-101-134/+0
|
* Coding style and whitespace cleanup.Matthew Barnes2010-11-081-3/+3
|
* Kill em_folder_utils_unsubscribe_folder().Matthew Barnes2010-11-011-2/+48
| | | | Use e_mail_session_unsubscribe_folder() instead.
* Bug #445439 - Delete mail from pop-server when deleted from Inbox/TrashMilan Crha2010-10-271-1/+1
|
* Fix capitalization in menu labels.Matthew Barnes2010-10-231-1/+1
|
* Move more account utilities to e-account-utils.c.Matthew Barnes2010-10-191-2/+2
|
* Send errors to an EAlertSink instead of the task bar.Matthew Barnes2010-10-191-22/+24
| | | | | | This marks the end of unintrusive error dialogs, which were too unintrusive. We now show errors directly in the main window using the EAlert / EAlertSink framework.
* Bug #587011 - Integrate remove-duplicates into evolutionMilan Crha2010-10-151-0/+134
|
* Replace EBinding with GBinding.Matthew Barnes2010-10-141-24/+39
| | | | | | GObject now does property bindings itself. Requires GLib >= 2.26.
* Bug 305425 - Toolbar cancel button is always sensitiveMatthew Barnes2010-10-141-0/+6
|
* EShellBackend: Respond to EShell::prepare-for-quit signals.Matthew Barnes2010-10-141-0/+14
| | | | | | | | | | | | Listen for "prepare-for-quit" signals from the shell and inhibit shutdown until all the activities we're tracking are finalized. Also, add a couple supporting functions: gboolean e_shell_backend_is_busy (EShellBackend *shell_backend); void e_shell_backend_cancel_all (EShellBackend *shell_backend); These will eventually replace mail_msg_active() and mail_cancel_all().
* Give MailSession a permanent home.Matthew Barnes2010-10-131-16/+91
| | | | | | | | | | | 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 510020 - Add "Manage Subscriptions" to store context menusMatthew Barnes2010-10-031-1/+19
|
* Rewrite the folder subscription editor.Matthew Barnes2010-10-031-4/+16
| | | | | Redesign the "Folder Subscriptions" dialog and use Camel's async API instead of the MailMsg infrastructure to simplify the implementation.
* Mail module + EMailView cleanups.Matthew Barnes2010-08-271-30/+97
|
* Rewrite the content piece of evolution.Srinivasa Ragavan2010-07-261-13/+13
|
* Keep chipping away at direct GtkHTML usage.Matthew Barnes2010-06-011-10/+10
| | | | | | | | | | EMFormatHTML now holds a sealed EWebView instead of a public GtkHTML, accessible through em_format_html_get_web_view(). Rename e_mail_reader_get_html_display() to e_mail_reader_get_formatter() and have it return an EMFormatHTML instead of an EMFormatHTMLDisplay, since that's usually the type you want (or else an EMFormat, but never an EMFormatHTMLDisplay).
* Revert "Work around another dropped gnome-icon-theme icon."Matthew Barnes2010-05-271-1/+1
| | | | | | | This reverts commit 43e2c871a418b560b391af00df2b10896055026c. Correct icon name is "mail-mark-notjunk". The previous fix got clobbered by the express2 merge.
* Coding style and whitespace cleanup.Matthew Barnes2010-05-271-1/+3
|
* Merge branch 'express2'Matthew Barnes2010-05-271-1/+1
|\
| * Merge branch 'gnome-2-30' into express2Matthew Barnes2010-05-171-1/+1
| |\
| | * Bug 618400 - "Mark All Messages as Read" shortcut missingMatthew Barnes2010-05-121-1/+1
| | |
| | * Revert "Work around another dropped gnome-icon-theme icon."Matthew Barnes2010-04-301-1/+1
| | | | | | | | | | | | | | | | | | This reverts commit edf6286a38279e6db82dee4da50e94c587f06e02. gnome-icon-theme got it wrong, not us. See bug #616954.
| | * Work around another dropped gnome-icon-theme icon.Matthew Barnes2010-04-231-1/+1
| | | | | | | | | | | | mail-mark-notjunk -> mail-mark-not-junk
| * | Work around another dropped gnome-icon-theme icon.Matthew Barnes2010-04-301-1/+1
| |/ | | | | | | mail-mark-notjunk -> mail-mark-not-junk
| * Bug #613354 - Folder->Mark all messages as read does not workMilan Crha2010-04-011-1/+5
| |
* | Bug #546551 - Dialog for mark-all-read always mentions subfoldersMilan Crha2010-05-211-1/+5
| |
* | Bug 618400 - "Mark All Messages as Read" shortcut missingMatthew Barnes2010-05-121-1/+1
| |
* | Revert "Work around another dropped gnome-icon-theme icon."Matthew Barnes2010-04-301-1/+1
| | | | | | | | | | | | This reverts commit edf6286a38279e6db82dee4da50e94c587f06e02. gnome-icon-theme got it wrong, not us. See bug #616954.
* | Work around another dropped gnome-icon-theme icon.Matthew Barnes2010-04-231-1/+1
| | | | | | | | mail-mark-notjunk -> mail-mark-not-junk
* | Bug #613354 - Folder->Mark all messages as read does not workMilan Crha2010-04-011-1/+5
| |
* | Bug 468448 - Kill "Hide Read Messages" and "Hide Selected Messages"Matthew Barnes2010-03-281-85/+20
|/ | | | | | | | | | | | | | | | | | | | Removed the following menu items under View: Hide Selected Messages Hide Read Messages Show Hidden Messages These options are confusing and don't fit with the rest of the mailer design. Hidden messages were tracked by folder in: ~/.evolution/mail/config/hidestate-<<folder-uri>> So by simply not loading those files any more we reveal all previously hidden messages and avoid any risk of lost messages. Also inverted "Hide Deleted Messages" to "Show Deleted Messages".
* Bug 609836 - Add translator comments to ambiguous stringsMatthew Barnes2010-02-171-0/+2
|
* Implement account-wide search scope in mail.Matthew Barnes2010-02-071-78/+11
| | | | Also, let EShellSearchbar handle search state persistence.
* Bug 549558 - "Download Messages for Offline Usage" still sensitive in ↵Viswanath Sivakumar2010-01-221-1/+7
| | | | offline mode
* Bug 607608 - Empty Trash does not work unless Trash is selectedMatthew Barnes2010-01-221-32/+42
|
* Remove dead assignments found by clang.Matthew Barnes2010-01-161-4/+0
|
* Bug #549988 - "Empty Trash" in Trash popup empties all Trash foldersMilan Crha2010-01-061-4/+4
|
* Introduce ESelectable and EFocusTracker.Matthew Barnes2009-12-261-49/+0
| | | | | | | | | | | | | | | | | | 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.
* Remove some obsolete GConf keys.Matthew Barnes2009-12-191-65/+6
| | | | | | | | | /apps/evolution/mail/display/show_preview /apps/evolution/mail/display/thread_list These keys are no longer needed since we're storing the settings by folder now in ~/.evolution/mail/config/state. To simplify things we use hard-coded defaults: TRUE for PreviewVisible, FALSE for GroupByThreads.
* Refactor the EShell search API.Matthew Barnes2009-12-191-27/+41
| | | | | | | | | | | | | | | | | 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 #596967 - Per-folder setting for threading and preview panelMilan Crha2009-12-191-1/+38
|
* Expand the EMailReader interface so it's easier to use.Matthew Barnes2009-12-021-37/+17
| | | | | | | | Adds the following methods: CamelFolder * (*get_folder) (EMailReader *reader); const gchar * (*get_folder_uri) (EMailReader *reader); GPtrArray * (*get_selected_uids) (EMailReader *reader);
* Kill message_list_free_uids().Matthew Barnes2009-12-021-6/+6
| | | | Use em_utils_uids_free() instead.
* Merge bits and pieces of the anjal-evo-2-30 branch.Matthew Barnes2009-12-011-65/+74
|
* Bug #579599 - Let the Advanced Search work againMilan Crha2009-11-191-54/+14
|
* Bug 600714 - No label colors in popup menuMatthew Barnes2009-11-141-7/+8
|
* Cleanup and rename filter classes.Matthew Barnes2009-10-271-4/+4
|
* Enable File->Empty Trash menu item for all foldersMilan Crha2009-10-071-1/+8
|
* Bug 217066 - Rename folders directly inside folder listMatthew Barnes2009-09-131-4/+1
|
* Bug 593899 - "Create Search Folder from Search" does not workMatthew Barnes2009-09-111-2/+71
|
* Bug 593905 - 'Subject or Addresses contains' search criteria missingMatthew Barnes2009-09-111-11/+4
|
* Require a parent window when creating an EMFolderSelector.Matthew Barnes2009-09-111-2/+14
|
* Finish killing Bonobo.Matthew Barnes2009-09-091-2/+2
|
* Introduce an EShellView::execute-search signal.Matthew Barnes2009-09-031-66/+10
| | | | | | | | | | | | 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.
* Relax the EBinding API to reduce GObject casting.Matthew Barnes2009-09-021-20/+20
| | | | | Also make it more fault-tolerant by warning about non-existent property names instead of just crashing.
* Disable classic/vertical options when preview is hidden.Matthew Barnes2009-09-021-0/+8
|
* Remove redundant "vertical view" functions.Matthew Barnes2009-08-281-4/+15
|
* Add vertical view to Memos and Tasks.Matthew Barnes2009-08-281-1/+1
|
* Kill the "folder-unsubscribe" plugin.Matthew Barnes2009-06-261-1/+28
| | | | Feature is now integrated in core mailer, and has a main menu item.
* Radically reorganize source code.Matthew Barnes2009-06-251-0/+1806
- 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.