Commit Graph

160 Commits

Author SHA1 Message Date
cd7c20d152 Bug #603418 - Custom headers not displayed in message preview 2010-04-26 16:42:02 +02:00
bc90469e7f Camel is now GObject-based. 2010-04-24 11:05:27 -04:00
edf6286a38 Work around another dropped gnome-icon-theme icon.
mail-mark-notjunk -> mail-mark-not-junk
2010-04-22 18:36:29 -04:00
5974489593 Bug #615331 - Message list/Folder tree focus policy has changed 2010-04-19 12:36:19 +02:00
448685bd5d Forgot to commit some bits. 2010-04-08 11:33:01 -04:00
72797decc1 Giant leap towards GSEAL compliance. 2010-04-08 11:05:26 -04:00
a8feedf390 Adapt to Camel API changes. 2010-04-03 23:06:39 -04:00
fabb6b035c Only #include Camel's top-level header. 2010-04-02 16:59:20 -04:00
4e4fcdad46 Miscellaneous cleanup bits from WebKit branch. 2010-04-02 09:23:19 -04:00
b2e7e4fedd Bug #325121 - Do not translate developer strings in g_param_spec_* 2010-04-01 21:40:19 +02:00
b3c6fdfc6b Bug #613354 - Folder->Mark all messages as read does not work 2010-04-01 15:25:16 +02:00
c516014a5a Express: Composer always defaults to HTML mode
Composer and signature editor always default to HTML in Express mode.
Hide the corresponding composer preference.  This will not affect the
user preference in normal mode.
2010-03-30 09:25:30 -04:00
86efefd39f Bug 468448 - Kill "Hide Read Messages" and "Hide Selected Messages"
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".
2010-03-28 10:15:07 -04:00
f7547cc6ac Simplify the search UI for express mode.
For express mode:

- Move the search bar up to the toolbar.

- Hide the "filter" combo box and lock down the first item.

- Hide the "scope" combo box and lock down the first item.
  (This is the combo box with "Current Folder" only in the mailer.)

- EShellView owns the search bar widget now instead of EShellContent.

- Insert several nasty hacks that will likely come back to bite me.
2010-03-26 20:29:30 -04:00
1dd4c129bd Fix build break due to GTK+ deprecations. 2010-03-26 11:32:54 -04:00
1457c12bb1 Ensure that the width of the mail sidebar is not too wide
We just clamp this to one fourth of the screen's width; we do
some voodoo to guess the monitor we are in.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-03-25 15:43:32 -06:00
2e1c9b5439 Clear one more instance of lockdown settings 2010-03-23 17:38:05 +01:00
f794e6a003 Oops, remove debug printf
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-03-23 14:26:07 +05:30
7245c36554 Don't hardcode a width, but compute a suitable one
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
2010-03-23 14:25:40 +05:30
f644fea17f Start the mailer's folder sidebar with a reasonable width
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-03-23 14:18:21 +05:30
c8ead63857 Start the mailer's folder sidebar with a reasonable width
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>
2010-03-22 14:07:22 -06:00
7094f32df1 Add an extension to configure EWebView.
Make EWebView extensible and register an extension to automatically
bind every EWebView instance to the appropriate EShellSettings.
2010-03-22 12:03:46 -04:00
11cd3fda1a [win32] Be consistent in disabling the lockdown options. 2010-03-21 00:13:49 +01:00
7c51d1c1a6 Add an extension to configure EMFormatHTML.
Make EMFormatHTML extensible and register an extension to automatically
bind every EMFormatHTML instance to the appropriate EShellSettings.
2010-03-20 11:49:46 -04:00
d7494c8f16 Shell and UI manager cleanups.
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.)
2010-03-13 20:53:17 -05:00
19eea41c74 clean up the 'express' mode hooks for UI Managers and start to
extend them to plugins - use a simple one-off boolean on the UI Manager
instead of exhaustively trying to propagate this information everywhere.
2010-03-13 20:53:16 -05:00
5069df6878 Restructure capplet stuffs and load only on express mode. 2010-03-13 20:49:49 -05:00
8e0c294e15 Switch to anjal style on express mode. 2010-03-13 20:49:49 -05:00
a952896b27 Integrate into new account button. 2010-03-13 20:49:49 -05:00
304777ae4c Add generic 'express mode' conditionals to the UI XML 2010-03-13 20:49:49 -05:00
c0533ef053 Some more directories relocated on windows 2010-03-11 00:22:35 +01:00
e9dc381d3a Bug 587014 - Magic space does not work as expected
Neither ETree::key-press nor ETableItem::key-press signal definitions
specify a GSignalAccumulator that terminates the signal emission when
a handler returns TRUE, and Evolution 2.29 connects multiple handlers
to ETree::key-press.

When the space key is pressed, the first handler implements the magic
space bar behavior and returns TRUE, which should terminate signal
emission but doesn't because there's no accumulator function on the
signal.  So the second handler runs and checks for other keys besides
space.  It returns FALSE since it didn't handle the key press.

End result: emission site gets back FALSE (from the second handler) as
the return value, so it thinks the key press was not handled at all and
invokes the fallback handler -- e_selection_model_toggle_single_row() --
which -unselects- the newly selected row, making it appear the next
unread message was never selected.

Several other ETable-related signals that return "handled" flags also
lack GSignalAccumulator functions.  I've made a note to myself to fix
those as well.
2010-02-17 19:45:28 -05:00
62b4d9af96 Bug 609836 - Add translator comments to ambiguous strings 2010-02-16 11:13:19 -05:00
9b608beea9 Bug 604542 - Skip non-system rules when building quick search menu 2010-02-10 13:40:08 -05:00
22326b6d33 Bug 609404 - Quick search filter should work on current message list view 2010-02-09 12:22:04 -05:00
31e449ebed Implement account-wide search scope in mail.
Also, let EShellSearchbar handle search state persistence.
2010-02-06 13:46:40 -05:00
6dcf4ec127 Bug #606666 - Cannot move cursor with arrows in preview with caret mode 2010-01-25 16:20:19 +01:00
5787b62931 Bug 549558 - "Download Messages for Offline Usage" still sensitive in offline mode 2010-01-21 12:22:06 -05:00
3459b38905 Bug 607608 - Empty Trash does not work unless Trash is selected 2010-01-21 11:28:43 -05:00
39ee1b7890 Give all preview panes a search bar.
Use Shift+Ctrl+F as the accelerator for consistency with the mailer.
2010-01-17 23:54:06 -05:00
cae22334fa Remove dead assignments found by clang. 2010-01-15 21:50:05 -05:00
79741ccd3f Bug 606250 - Remove usage of deprecated GTK+ symbols
Several GtkWidget macros were recently deprecated.
2010-01-07 14:45:43 -05:00
5f1c9ff19d Bug #549988 - "Empty Trash" in Trash popup empties all Trash folders 2010-01-06 13:35:05 +01:00
ac07595af4 Bug #597816 - Read/save search folders with labels properly 2010-01-05 14:40:19 +01:00
1501b8588c Kill e_popup_menu().
The function is trivial and was only used from ETableHeaderItem.
This also eliminates widgets/misc/e-gui-utils.[ch].
2010-01-04 20:22:21 -05:00
e77ee5d5d3 Coding style and whitespace cleanup. 2010-01-03 12:15:01 -06:00
59bd81691d Compiler and linker flag cleanups. 2009-12-27 14:32:39 -05:00
bd31f49bac Coding style and whitespace cleanup. 2009-12-26 00:26:18 -05:00
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
3f36489c67 Bug #329693 - Add contexts to translated "None" words 2009-12-23 17:11:59 +01:00