aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-paned-view.c
Commit message (Collapse)AuthorAgeFilesLines
* Use gal_view_collection_get_user_directory() where needed.Matthew Barnes2013-07-061-4/+8
| | | | | | GalViewInstance and EMailPanedView need access. Currently they're just using the public GalViewCollection members directly, but those are about to be sealed up.
* GalViewEtable: Remove ETableSpecification member.Matthew Barnes2013-07-061-31/+8
| | | | | | | Instead, lazily load the state file once an ETable or ETree is attached, since we need its ETableSpecification to create an ETableState instance. This means GalViewFactoryEtable can lose its ETableSpecification too.
* EShellView: Add a "view-instance" property.Matthew Barnes2013-07-061-5/+14
| | | | | | | | | | | | | | EShellView now holds a reference to the active GalViewInstance. Where applicable, the EShellView subclass is responsible for keeping this up to date when the sidebar selection changes. Holding a reference allows EShellView to implement common actions like "Save Current View" directly instead pushing it on to subclasses. New functions: e_shell_view_get_view_instance e_shell_view_set_view_instance
* ETableSpecification: Implement GInitable.Matthew Barnes2013-07-021-4/+13
| | | | | | | | | | | | | | | | e_table_specification_new() now takes a table specification filename and a GError and parses the file as part of instance creation. If a file or parse error occurs, e_table_specification_new() returns NULL. This replaces e_table_specification_load_from_file(). New functions: e_table_specification_get_filename() Removed functions: e_table_specification_load_from_file()
* ETableState: Add a "specification" construct-only property.Matthew Barnes2013-07-021-1/+1
| | | | | | | | | | ETableState now keeps a weak reference on the ETableSpecification to which it's associated. The plan is to replace the column index numbers with a direct reference to an ETableColumnSpecification from the spec. New functions: e_table_state_ref_specification()
* Add e_mail_reader_ref_folder().Matthew Barnes2013-06-151-31/+36
| | | | Replaces e_mail_reader_get_folder().
* MessageList: Add a "folder" property.Matthew Barnes2013-06-151-4/+9
| | | | | | | | Also move the CamelFolder pointer into the private structure. New functions: message_list_ref_folder()
* EMailReader: Remove unused actions.Matthew Barnes2013-06-031-19/+0
| | | | | | | | | | These are just Express Mode leftovers. Also remove obsolete functions: e_mail_reader_get_enable_show_folder() e_mail_reader_enable_show_folder() e_mail_paned_view_set_enable_show_folder()
* Remove EMailShellSettings.Matthew Barnes2013-03-171-19/+28
| | | | | | | | EShellSettings predates GSettings and is no longer necessary. GSettings allows binding GObject properties to GSettings keys, with optional mapping functions. That fulfills the purpose of EShellSettings.
* Add "headers-collapsed" setting.Matthew Barnes2013-03-171-7/+11
| | | | | | Replaces "paned-view-headers-state", which was defined as an integer for some stupid reason. Not bothering to migrate the old setting since it's one button click.
* Consolidate base utility libraries into libeutil.Matthew Barnes2012-12-131-12/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Coding style and whitespace cleanup.Matthew Barnes2012-11-111-1/+1
|
* Coding style and whitespace cleanup.Matthew Barnes2012-08-201-4/+6
|
* Remove mail_refresh_folder().Matthew Barnes2012-07-091-1/+1
| | | | Use e_mail_reader_refresh_folder() instead.
* Adapt to single-include E-D-S libraries.Matthew Barnes2012-06-041-2/+0
|
* Adapt mail to the new ESource API.Matthew Barnes2012-06-031-3/+5
|
* Bug #669445 - A way of turning Message Preview off by defaultMilan Crha2012-05-031-5/+21
|
* WebKit port - port formatter and mail moduleDan Vrátil2012-03-291-49/+33
|
* Coding style and whitespace cleanup.Matthew Barnes2012-02-201-5/+8
|
* Bug #669097 - Cannot save column setup: File name too longMilan Crha2012-02-141-1/+27
|
* Introduce libemail-engine and libemail-utils.Matthew Barnes2012-01-191-3/+5
| | | | | | | 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.
* Avoid passing EMailBackend as much as possible.Matthew Barnes2011-12-161-1/+6
| | | | | | | | | | | | | | | More mail API churn... reversing some previous API decisions. I've made some key API changes to EMailSession on the account-mgmt branch which should allow for this, and will hopefully also benefit the "email-factory" branch. EMailBackend barely needs to exist anymore, except as the owner of EMailSession. For several low-level functions, we replace its EMailBackend parameter with EMailSession and EAlertSink parameters; the latter so it can still pass user alerts up the chain.
* Merge branch 'master' into wip/gsettingsMatthew Barnes2011-11-231-56/+63
|\ | | | | | | | | Conflicts: mail/e-mail-paned-view.c
| * Add EMailReader.get_preview_pane() method.Matthew Barnes2011-11-221-30/+21
| | | | | | | | | | Also give EMailReader::show-search-bar signal a default implementation, since it can now dig up the search bar widget itself.
| * Mail widget cleanups.Matthew Barnes2011-11-221-32/+39
| |
| * Make EMailNotebookView and EMailPanedView extensible.Matthew Barnes2011-11-221-6/+12
| | | | | | | | Since they each implement EMailReader.
| * Coding style and whitespace cleanup.Matthew Barnes2011-09-041-1/+2
| |
| * Including <glib.h> directly is rarely needed.Matthew Barnes2011-05-281-1/+0
| |
| * Bug #646109 - Fix use of include <config.h> to make sure translations workMilan Crha2011-05-271-1/+1
| |
| * Bug 650587 - Hide Search Folder actions when Search Folders are disabledMatthew Barnes2011-05-211-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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...
| * EMailReader: Support multiple action groups.Matthew Barnes2011-05-211-2/+12
| | | | | | | | | | | | Use an enum type to request different action groups. For now we just have E_MAIL_READER_ACTION_GROUP_STANDARD. EMailReader implementations should map the enum value to an appropriate GtkActionGroup.
| * Whitespace and coding style cleanups.Matthew Barnes2011-05-081-1/+3
| |
| * Use e_mail_folder_uri_from_folder() instead of camel_folder_get_uri().Matthew Barnes2011-05-041-2/+3
| |
| * Drop 'folder_uri' member from MessageList.Matthew Barnes2011-05-041-8/+16
| |
| * Remove e_mail_reader_get_folder_uri().Matthew Barnes2011-05-041-9/+8
| | | | | | | | | | Instead call e_mail_reader_get_folder() and, if you really need to, generate the folder URI with e_mail_folder_uri_from_folder().
| * Drop 'folder_uri' param from em_utils_folder_is_outbox().Matthew Barnes2011-05-031-1/+1
| |
| * Drop 'folder_uri' param from em_utils_folder_is_sent().Matthew Barnes2011-05-031-1/+1
| |
| * Drop 'folder_uri' param from em_utils_folder_is_drafts().Matthew Barnes2011-05-031-1/+1
| |
| * EMailShellView: Open the selected folder ourselves.Matthew Barnes2011-05-031-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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().
| * Bug #303653 - Make headers collapsable in preview paneDan Vrátil2011-04-271-0/+11
| |
| * Don't try to refresh or sync mail folders when offline.Matthew Barnes2011-04-141-1/+3
| | | | | | | | | | Switching between mail folders in offline mode produces lots of annoying alerts for operations we shouldn't even be attempting.
| * Bug #223838 - Do not share global Sent folder view with regular foldersMilan Crha2011-03-101-6/+6
| |
| * Coding style and whitespace cleanup.Matthew Barnes2011-03-061-1/+2
| |
| * Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedlyMilan Crha2011-02-251-16/+12
| |
| * Coding style and whitespace cleanup.Matthew Barnes2011-02-191-1/+4
| |
| * Bug #640802 - [express] Message preview automatically switches to vertical viewMilan Crha2011-02-161-1/+1
| |
| * Remove NULL checks for GObject methods.Matthew Barnes2011-02-131-2/+2
| | | | | | | | | | As of GLib 2.28 all GObject virtual methods, including constructed(), are safe to chain up to unconditionally. Remove unnecessary checks.
| * Free/busy meeting view doesn't work due to non-working extensionMilan Crha2010-12-061-0/+3
| |
| * EMailReader: Add a get_alert_sink() method.Matthew Barnes2010-11-011-0/+15
| |
* | Some more migration to GSettings in the mail componentRodrigo Moya2011-10-141-9/+7
| |
* | Coding style and whitespace cleanup.Matthew Barnes2011-09-141-1/+2
| |
* | Including <glib.h> directly is rarely needed.Matthew Barnes2011-06-301-1/+0
| |
* | Bug #646109 - Fix use of include <config.h> to make sure translations workMilan Crha2011-06-301-1/+1
| |
* | Bug 650587 - Hide Search Folder actions when Search Folders are disabledMatthew Barnes2011-06-301-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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...
* | EMailReader: Support multiple action groups.Matthew Barnes2011-06-301-2/+12
| | | | | | | | | | | | Use an enum type to request different action groups. For now we just have E_MAIL_READER_ACTION_GROUP_STANDARD. EMailReader implementations should map the enum value to an appropriate GtkActionGroup.
* | Whitespace and coding style cleanups.Matthew Barnes2011-06-301-1/+3
| |
* | Use e_mail_folder_uri_from_folder() instead of camel_folder_get_uri().Matthew Barnes2011-06-301-2/+3
| |
* | Drop 'folder_uri' member from MessageList.Matthew Barnes2011-06-301-8/+16
| |
* | Remove e_mail_reader_get_folder_uri().Matthew Barnes2011-06-301-9/+8
| | | | | | | | | | Instead call e_mail_reader_get_folder() and, if you really need to, generate the folder URI with e_mail_folder_uri_from_folder().
* | Drop 'folder_uri' param from em_utils_folder_is_outbox().Matthew Barnes2011-06-301-1/+1
| |
* | Drop 'folder_uri' param from em_utils_folder_is_sent().Matthew Barnes2011-06-301-1/+1
| |
* | Drop 'folder_uri' param from em_utils_folder_is_drafts().Matthew Barnes2011-06-301-1/+1
| |
* | EMailShellView: Open the selected folder ourselves.Matthew Barnes2011-06-301-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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().
* | Bug #303653 - Make headers collapsable in preview paneDan Vrátil2011-06-301-0/+11
| |
* | Don't try to refresh or sync mail folders when offline.Matthew Barnes2011-06-301-1/+3
| | | | | | | | | | Switching between mail folders in offline mode produces lots of annoying alerts for operations we shouldn't even be attempting.
* | Bug #223838 - Do not share global Sent folder view with regular foldersMilan Crha2011-06-301-6/+6
| |
* | Coding style and whitespace cleanup.Matthew Barnes2011-06-301-1/+2
| |
* | Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedlyMilan Crha2011-06-301-16/+12
| |
* | Coding style and whitespace cleanup.Matthew Barnes2011-06-301-1/+4
| |
* | Bug #640802 - [express] Message preview automatically switches to vertical viewMilan Crha2011-06-301-1/+1
| |
* | Remove NULL checks for GObject methods.Matthew Barnes2011-06-301-2/+2
| | | | | | | | | | As of GLib 2.28 all GObject virtual methods, including constructed(), are safe to chain up to unconditionally. Remove unnecessary checks.
* | Free/busy meeting view doesn't work due to non-working extensionMilan Crha2011-06-301-0/+3
| |
* | EMailReader: Add a get_alert_sink() method.Matthew Barnes2010-11-101-0/+15
|/
* Reduce GConf usage in em-composer-utils.c.Matthew Barnes2010-10-201-1/+41
| | | | | | | | | | | | | | | | | | To reduce GConf usage in em-composer-utils.c: - Relevant functions in em-composer-utils.c now take arguments for reply and forward styles. - Redundant forwarding functions were removed: em_utils_forward_attached() em_utils_forward_inline() em_utils_forward_quoted() - EMailReader now has "forward-style" and "reply-style" properties, which get bound to the appropriate EShellSettings properties in modules/mail/e-mail-config-reader.c. These same EShellSettings properties are bound to the combo boxes in Composer Preferences.
* Replace EBinding with GBinding.Matthew Barnes2010-10-141-3/+8
| | | | | | GObject now does property bindings itself. Requires GLib >= 2.26.
* Remove mail_tools_folder_to_url().Matthew Barnes2010-10-131-1/+3
| | | | Use camel_folder_get_uri() instead.
* Give MailSession a permanent home.Matthew Barnes2010-10-131-14/+16
| | | | | | | | | | | 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 628141 - Duplicate signal connections in EMailReaderMatthew Barnes2010-08-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | EMailShellContent implements the EMailReader interface but acts as a proxy for EMailPanedView, from which it obtains MessageList and EWebView widgets. The problem was both classes call e_mail_reader_init_private() which connects to signals emitted from the MessageList and EWebView widgets. But since EMailShellContent is a proxy for EMailPanedView, the signals were being connected twice. This commit does away with e_mail_reader_init_private(), instead adding options to e_mail_reader_init() to control what parts of initialization to run. It's an ugly and temporary hack. I'm beginning to realize EMailReader is too bloated and needs rethought. EMailReader should just manage actions. EMailView should own and manage the widgets, and EMailReader should just have a get_mail_view() method so it has access to those widgets. That way the EMailView subclasses won't have to implement EMailReader themselves and wind up allocating a bunch of duplicate, unused actions. It's too close to a stable release to rip these interfaces apart and reorganize them. I'll try to do that for 2.33 to help make the design more intuitive.
* GObject boilerplate cleanup.Matthew Barnes2010-08-251-17/+17
| | | | | | | Prefer thread-safe G_DEFINE_TYPE and G_DEFINE_INTERFACE macros over manual GType registration. This is just a start... lots more to do.
* Whitespace and coding style cleanup.Matthew Barnes2010-08-141-1/+1
|
* Add keybindings to tab.Srinivasa Ragavan2010-08-121-0/+19
| | | | | | Control Up - Go to parent folder. Control Shift Up/Down - prev/next tab Control Shift w - close tab.
* Change em_format_redraw() to em_format_queue_redraw().Matthew Barnes2010-08-111-1/+1
| | | | | | This changes the behavior of the function: instead of redrawing immediately it schedules the redraw from an idle callback. This allows us to make multiple changes to EMFormat before redrawing.
* Coding style and whitespace cleanup.Matthew Barnes2010-08-031-1/+2
|
* More code cleanup.Matthew Barnes2010-07-271-268/+64
|
* Coding style and whitespace cleanup.Matthew Barnes2010-07-261-316/+331
|
* Make clutter mode even more appealing.Srinivasa Ragavan2010-07-261-19/+1
|
* Add animations for selecting mail and search.Srinivasa Ragavan2010-07-261-1/+27
|
* Add folder pane for tabbed browser.Srinivasa Ragavan2010-07-261-10/+49
|
* More bug fixes.Srinivasa Ragavan2010-07-261-3/+4
|
* Add EMailNotebook ViewSrinivasa Ragavan2010-07-261-0/+2
|
* Make EMailPanedView up & working.Srinivasa Ragavan2010-07-261-3/+7
|
* Redo EMailPanedView and almost match to the basic one.Srinivasa Ragavan2010-07-261-47/+526
|
* More changes and modifications.Srinivasa Ragavan2010-07-261-3/+519
|
* New set of basic viewsSrinivasa Ragavan2010-07-261-0/+75