Commit Graph

31858 Commits

Author SHA1 Message Date
90ee277703 Bug #593896 - Menu > Search > Find now is always enabled (again) 2009-12-21 12:35:03 +01:00
35fec01325 Bug #596967 - Fix little constraint mistake from previous commit 2009-12-21 11:58:48 +01:00
45f3e80635 Punctuation fixes 2009-12-20 23:05:47 +01:00
99fad45f21 Updated Spanish translation 2009-12-20 13:37:51 +01:00
bac350343c Bug #604838 - Drop unused alert dialog 2009-12-20 11:20:37 +01:00
64dddd6c7c Bug 604822 - Drop more alert titles
Drop all alert titles to be found in *.error.xml. HIG suggests alerts
do not have a title.
2009-12-20 11:08:05 +01:00
f989e5d970 Bug 596947 - Calendar view forgets memo pane height 2009-12-19 23:54:54 -05:00
83a264cd7e Coding style and whitespace cleanup. 2009-12-19 18:36:46 -05:00
124a4f8913 Fix some compiler warnings. 2009-12-19 17:50:46 -05:00
c3ffcee748 Updated Spanish translation 2009-12-19 17:57:49 +01:00
011cef2499 Updated Spanish translation 2009-12-19 17:21:27 +01:00
60e6ecbb42 Remove some obsolete GConf keys.
/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.
2009-12-19 00:46:19 -05:00
668db99079 Fix distcheck errors. 2009-12-18 22:38:06 -05:00
4cbbdedf52 Refactor the EShell search API.
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.
2009-12-18 22:38:00 -05:00
a1efb83756 EShellContent cleanups. 2009-12-18 22:22:33 -05:00
43e436121a Implement get_data/config_dir vfuncs for mail backend
Now the backend specifies the data dir for the mail module.  Obviously it uses
the same directory as it previously used, it's just that the responsibility for
defining that value has moved to a different place.
2009-12-18 12:46:33 -06:00
e2a748116d Fix a small memory leak in EShellBackend 2009-12-18 12:46:33 -06:00
b8ea5c8e6f Add get_data_dir(), get_config_dir() vfuncs to EShellBackend
This allows modules to specify their own data dir in a flexible way without
having them hard-coded to the backend class name.  For example, the data dir for
the mail backend should be specified by the mail session (eventually as an eds
daemon) and the vfunc will allow the shell to query that in a generic way.
2009-12-18 12:46:33 -06:00
1059076803 Bug #596967 - Per-folder setting for threading and preview panel 2009-12-18 17:56:11 +01:00
f148a0b0e3 Bug #603701 - Don't treat 4 byte values as DDWORDs
The values of PT_LONG and PT_BOOLEAN MAPI tags are 4 byte wide so they
should be accessed as DWORDs.
2009-12-18 13:57:59 +01:00
5341a35f20 Bug #604884 - Use proper colors in Search bar when is search activated 2009-12-18 13:47:02 +01:00
fb84cc9a9a Bug #593896 - "Search -> Find now" should not be always enabled 2009-12-17 20:29:11 +01:00
134a7d4bbd Bug #593700 - Restore folder's last selected message as expected 2009-12-17 20:17:04 +01:00
fe15c797a0 Bug #603184 - Various problems with search box in folders 2009-12-17 18:17:21 +01:00
858c42577c Add a way for Anjal to override shell_builtin_backend.
Yes this is a horrible, nasty hack.  It's temporary.  Promise.
2009-12-17 11:15:30 -05:00
12d86c1f7a Merge some composer header changes for Anjal. 2009-12-17 10:55:07 -05:00
735496ba52 Install e-util/gconf-bridge.h. 2009-12-17 08:10:18 -05:00
428546797b Updated Slovenian translation 2009-12-17 09:04:32 +01:00
d9df0831c9 Bug #604761 - Select certificate doesn't work 2009-12-16 21:08:49 +01:00
a4def5c093 Bug #553057 - Show signer's information in a message window/preview 2009-12-16 20:19:58 +01:00
f65f8935bc Kill MailSession's interactive flag.
After analyzing this again I'm confident we really don't need it.

The only state change is from FALSE to TRUE at startup, and that
one-time event happens while the mail shell backend is starting up
(see: e_shell_backend_start()).

If a need arises to query for this in the future I'll extend the
EShellBackend API with an e_shell_backend_started() function, but
for now there's no need.
2009-12-16 13:39:39 -05:00
2a7f68fe45 Move MailFolderCache signal handlers to EMailBackend.
Move the MailFolderCache signal handlers from EMailShellBackend down to
EMailBackend (in libevolution-mail.so) to share with Anjal.
2009-12-16 13:29:17 -05:00
968ea42023 Kill em_utils_get_data/config_dir(), push down to MailSession
This pushes the get_data_dir() API down to the right level.  At present, it is
still implemented by querying the shell backend for the data dir / config dir.
But this should eventually be reversed (when mail is split off to EDS) so that
the mail daemon is the one responsible for the storage locations and the shell
backend queries the daemon for these values.
2009-12-16 11:10:02 -06:00
3a0a795a16 Bug #359755 - Do not fetch content of a CalDAV calendar when given it 2009-12-16 15:58:49 +01:00
c52f17a177 Kill em_utils_adjustment_page(). 2009-12-15 23:59:18 -05:00
0eb2649bde Introduce EMailBackend into libevolution-mail.
EMailBackend is an abstract subclass of EShellBackend that handles
online and offline modes and application shutdown.  Placing this in
the shared mail library allows Anjal to reuse it.  Evolution's mail
module further extends this class as EMailShellBackend.
2009-12-15 22:27:43 -05:00
5e8c5475cb Updated Norwegian bokmål translation. 2009-12-15 22:15:02 +01:00
d73f435973 Update this 2009-12-15 21:51:29 +01:00
cef8bd60e1 Use the boxed CamelObject type for signal params in MailFolderCache
Previously I was just using G_TYPE_POINTER.  Use the boxed camel object type
from e-util.h instead.  When camel-gobject lands, we'll use G_TYPE_OBJECT
instead.
2009-12-15 14:16:09 -06:00
6818a05259 Add MailFolderCache::folder-changed signal
Yes, this signal is kind of an ugly monster.  I'm not sure how to improve this
significantly.  But this commit removes the last EMFolderTreeModel and EShell
dependencies from MailFolderCache, which is a big step towards splitting off
the backend.

https://bugzilla.gnome.org/show_bug.cgi?id=604627
2009-12-15 14:16:09 -06:00
9c644867fe MailFolderCache: add signal for updated unread counts
Emit a signal when we have an updated unread count for a folder rather than
pushing the update directly to a particular treemodel.  This doesn't yet remove
the dependency on EMFolderTreeModel, but it's a first step.

https://bugzilla.gnome.org/show_bug.cgi?id=604627
2009-12-15 14:16:09 -06:00
0eef4618ca Remove mail-config, vfolder, and filter deps from mail-folder-cache
Instead of pushing the updates to the right places, the folder cache simply
emits the appropriate signals and other objects are responsible for listening
and handling them appropriately.  This allows us to cut down the dependencies of
MailFolderCache significantly, which is a huge step towards allowing us to split
it off for the backend.

Another nice thing about this is that it allows us to trim a lot of 'public' api
from the filter, vfolder, and config classes that were only used by the cache.
Now that stuff can all be internal since they're pulling changes rather than
having the changes pushed.

The last remaining problematic dependency in MailFolderCache is
EmFolderTreeModel.  That is next on the chopping block.

https://bugzilla.gnome.org/show_bug.cgi?id=604627
2009-12-15 14:16:09 -06:00
6e73a7a8f3 Add signals to MailFolderCache for common events
This will allow us to decouple ourselves from some of the current dependencies,
such as the folder treemodel, the shell, etc.  This just defines the signals,
the next step is to refactor things and actually make other classes use them.

We need one additional signal yet related to indicating the new unread emails,
but that one will require a little more thought I think.

https://bugzilla.gnome.org/show_bug.cgi?id=604627
2009-12-15 14:16:08 -06:00
9c4f98e915 Add documentation to clarify mail-folder-cache functionality
Added a bunch of gtk-doc documentation as well as a variety of small comments in
the code.  Also added documentation and renamed a couple of mail_vfolder_*
functions that are only used by mail-folder-cache to make things a lot more
understandable.

https://bugzilla.gnome.org/show_bug.cgi?id=604627
2009-12-15 14:16:08 -06:00
65705e4f55 Make the mail folder cache a proper GObject
mail-folder-cache previously was a bit of a pseudo object (sort of a singleton)
that operated on some file static data.  This commit re-factors things so that
it is a proper class named MailFolderCache.  At the moment, this doesn't gain us
much, but in the future, it will allow us to add signals, etc so that we can
de-couple a lot of the interdependencies in here.  This is essentially a
pre-requisite to splitting up a lot of the mail backend stuff.

https://bugzilla.gnome.org/show_bug.cgi?id=604627
2009-12-15 14:16:08 -06:00
b8efcdb8d6 Bug #602505 - Incorrect information in message window 2009-12-15 18:36:37 +01:00
2aea353ce7 Move mail migration code to libevolution-mail.so.
So Anjal can reuse it.
2009-12-15 11:53:50 -05:00
859c8b5a8f Bug #603342 - Memory leak fixes 2009-12-15 11:12:41 +01:00
c0c247128c Bug 604562 - Typo in gconf schema 2009-12-14 23:23:29 -05:00
5ba8caffba Introduce EMailSidebar into libevolution-mail.
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.
2009-12-14 20:11:38 -05:00