Commit Graph

2258 Commits

Author SHA1 Message Date
Matthew Barnes 1040078ce6 Update API documentation.
Also, start fixing some Gtk-Doc warnings.  There's a lot.
2010-02-09 18:02:51 -05:00
Matthew Barnes 9cd1f937a2 Bug 609302 - Quick search filters are broken 2010-02-08 12:02:44 -05:00
Matthew Barnes 7f3440fc9e Bug 609304 - Search scope forgotten if search is not performed 2010-02-08 11:22:26 -05:00
Matthew Barnes 5a07799e1f Remember search menu option even when not searching. 2010-02-08 11:22:26 -05:00
Matthew Barnes 393021c19d Add missing linker flags for libeshell. 2010-02-07 15:07:36 -05:00
Matthew Barnes 49ef32b76c Coding style and whitespace cleanup. 2010-02-07 13:26:37 -05:00
Matthew Barnes 31e449ebed Implement account-wide search scope in mail.
Also, let EShellSearchbar handle search state persistence.
2010-02-06 13:46:40 -05:00
Matthew Barnes 9ede7a7fb4 Enforce unique-1.0 >= 1.1.2 build requirement.
Also, add unique-1.0 to GNOME_PLATFORM so it's included in CFLAGS and
LIBADD variables everywhere.
2010-02-03 09:26:31 -05:00
Matthew Barnes ec73f5522f Coding style and whitespace cleanup. 2010-01-30 18:09:19 -05:00
Chenthill Palanisamy 1359e1e546 Bug 581604 - Permissions on mail/local folders are too open 2010-01-30 01:34:00 +05:30
Matthew Barnes 11ecab76c4 Bug 608340 - Help text missing --debug parameter 2010-01-28 09:52:07 -05:00
Fridrich Strba 8bbc48cd77 Changes in mingw.org last w32api/mingw-rt packages. 2010-01-28 14:42:27 +01:00
Srinivasa Ragavan e741ec3076 Fix a issue for anjal while saving/restoring search across multiple
folders
2010-01-25 17:01:23 +05:30
Matthew Barnes 53d9c34bb5 Bug 606342 - PST option not offered in single file import 2010-01-22 16:16:42 -05:00
Matthew Barnes 48462592cb Add a EShellWindow::shell-view-created signal.
The signal uses the name of the newly created shell view as the detail,
so for example "shell-view-created::mail" is emitted when the "mail"
view is created.

Also, add e_shell_window_peek_shell_view() to obtain a shell view if it
exists but without instantiating it.

Using these new tools, teach the templates plugin to wait for the user
to switch to the "mail" view before connecting to its "update-actions"
signal.  Previously is was instantiating the "mail" view itself.
2010-01-22 11:46:34 -05:00
Matthew Barnes b448093c34 EShellBackend cleanup. 2010-01-19 10:02:25 -05:00
Matthew Barnes cae22334fa Remove dead assignments found by clang. 2010-01-15 21:50:05 -05:00
Matthew Barnes 78c24066fa Bug 604520 - Create first account window hidden behind main window 2010-01-11 12:30:45 -05:00
Milan Crha abaecf816e Bug #606340 - Crash on non-utf8 letter in mail folder name 2010-01-08 16:29:42 +01:00
Milan Crha c6e32c11c1 Do not focus in a search entry when it is not having a focus 2010-01-07 19:15:02 +01:00
Matthew Barnes 5c80f1534b Coding style and whitespace cleanup. 2010-01-04 20:22:21 -05:00
Matthew Barnes 32bc83c91d Clarify "Synchronization Options" menu item.
Rename it "GNOME Pilot Synchronization" and only display the item if
gnome-pilot is installed.
2009-12-27 22:15:23 -05:00
Matthew Barnes ae7307e970 Hide "Submit Bug Report" if bug-buddy is not present. 2009-12-27 22:03:35 -05:00
Matthew Barnes 59bd81691d Compiler and linker flag cleanups. 2009-12-27 14:32:39 -05:00
Matthew Barnes bd31f49bac Coding style and whitespace cleanup. 2009-12-26 00:26:18 -05:00
Matthew Barnes abc0e4c694 Introduce ESelectable and EFocusTracker.
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.
2009-12-25 15:42:17 -05:00
Milan Crha 3b199d9db0 Reverting commit 55c3f228ad because it's crashing Evolution 2009-12-23 12:03:58 +01:00
Srinivasa Ragavan 05c11c2cee Provison to hide search label for Anjal's use. 2009-12-23 14:43:00 +05:30
Srinivasa Ragavan b687d95fac Anjal's search bar is outside of EShellContent. Handle that. 2009-12-23 14:42:59 +05:30
Srinivasa Ragavan 55c3f228ad Fix the way parent class is called. Anjal classes were never invoked
before.
2009-12-23 14:42:59 +05:30
Paul Bolle 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
Matthew Barnes 83a264cd7e Coding style and whitespace cleanup. 2009-12-19 18:36:46 -05:00
Matthew Barnes 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
Matthew Barnes 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
Matthew Barnes a1efb83756 EShellContent cleanups. 2009-12-18 22:22:33 -05:00
Jonathon Jongsma e2a748116d Fix a small memory leak in EShellBackend 2009-12-18 12:46:33 -06:00
Jonathon Jongsma 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
Milan Crha 5341a35f20 Bug #604884 - Use proper colors in Search bar when is search activated 2009-12-18 13:47:02 +01:00
Milan Crha fb84cc9a9a Bug #593896 - "Search -> Find now" should not be always enabled 2009-12-17 20:29:11 +01:00
Milan Crha fe15c797a0 Bug #603184 - Various problems with search box in folders 2009-12-17 18:17:21 +01:00
Milan Crha 859c8b5a8f Bug #603342 - Memory leak fixes 2009-12-15 11:12:41 +01:00
Matthew Barnes 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
Matthew Barnes ca899cf1cb Make e_shell_window_update_search_menu() more crash-resistant. 2009-12-14 15:39:53 -05:00
Matthew Barnes baea9882fc Move icon theme path setup from main() to EShell.
So Anjal picks it up.
2009-12-14 15:37:17 -05:00
Milan Crha 4a9bf4dffd Bug #499322 - Use extension for "Save as" suggested file name 2009-12-10 16:08:52 +01:00
Jonathon Jongsma 31204c9cc2 Port all error code to use GObject-ified EAlert / EAlertDialog
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.
2009-12-07 12:25:23 -06:00
Matthew Barnes 40ff31b2af Bug 603592 - X11 window roles should be set 2009-12-03 11:31:21 -05:00
Matthew Barnes ba05eccc8d Revise the EShell ref-leak check to not upset Valgrind. 2009-12-02 16:50:53 -05:00
Matthew Barnes 38a616e8b7 Add an EShell:module-directory constructor property.
This tells EShell where to look for EModules.  Best practice is to
define the directory in your CPPFLAGS and then pass it to EShell at
instantiation time, like so:

Makefile.am:

    evolution_CPPFLAGS = \
            -DMODULEDIR=\""$(moduledir)"\"
            ...

main.c:

    shell = g_object_new (
            E_TYPE_SHELL, "module-directory", MODULEDIR, ...);
2009-12-02 00:57:44 -05:00
Matthew Barnes f1825606e6 Allow EShellWindow "construct" methods to return NULL.
Also allow the methods themselves to be NULL.
2009-12-01 23:53:36 -05:00