Commit Graph

1159 Commits

Author SHA1 Message Date
dfb3b918b0 Bug #617557 - Quits without asking user to save unfinished messages
The second attempt.
2010-06-15 15:10:05 +02:00
ffc019e36f Coding style and whitespace cleanups. 2010-06-06 20:09:08 -04:00
0b1cd2dd5b Coding style and whitespace cleanup. 2010-05-26 17:19:41 -04:00
c9ec8c3f4d Merge branch 'express2' 2010-05-26 13:09:33 -04:00
9653887891 Coding style and whitespace cleanup. 2010-05-25 10:15:32 -04:00
f49077cfb5 Merge branch 'gnome-2-30' into express2 2010-05-25 09:14:51 -04:00
6139fb4d0b Bug #617557 - Quits without asking user to save unfinished messages 2010-05-21 17:33:59 +02:00
8e3af3094e Bug #617557 - Quits without asking user to save unfinished messages 2010-05-21 17:32:57 +02:00
d3c7420fb9 get the composer dialog size right on MeeGo 2010-05-21 16:25:26 +01:00
7aa52ff5ca Bug #220672 - Excessive autosaving uses lots of resources 2010-05-19 23:48:58 +02:00
98adb40685 Bug #304415 - Allow change of signature hash algorithm 2010-05-19 23:09:26 +02:00
20cb61bd44 Don't hide the composer's menu bar in lite mode
We are not ready to hide it just yet, as there are useful commands
there that are not available from the composer's other widgets.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-05-07 20:27:30 -05:00
5b75d85a0c Pack the header-table's headers closer together for small screens
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-05-07 15:47:57 -05:00
f9352579b4 Use the lite-composer when the shell is in small-screen mode
Remove various utility functions that conditionally create
a lite composer, and just use the normal functions to
create a composer.  The composer will know by itself whether
it needs to adjust for small screens.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-05-07 15:23:25 -05:00
2aa44ca3df Merge express2 into relayout-composer 2010-05-07 12:12:48 -05:00
ac2ef9fb41 Hide the From header if only one account is set up
This lets us save vertical space in the mail composer
in the common case where the user has only a single
email account configured - then he doesn't need to
choose which account to send from.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-05-04 15:48:41 -05:00
6dce401d73 Remove the 'View From' menu item from the composer
Now the From header will only be shown if you have more than
one mail account.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-05-04 15:48:39 -05:00
e926691218 Right-align the labels of the composer's headers
This is so that the colons of the labels will align vertically.
Although the labels inside buttons don't align 100% perfectly
with the buttonless labels, this looks good enough for now,
and certainly much better than all-centered labels.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-05-03 18:17:42 -05:00
9a6064142f Always show a button in the label of name selectors
This is so that the address picker will be available; there is no
good reason to hide it.

This basically reverts commit 70c799f348

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-05-03 18:17:17 -05:00
c30d29425e Coding style and whitespace cleanup. 2010-05-01 23:18:28 -04:00
faa40288d4 Don't lay out the headers differently for the lite composer
This is basically a selective revert of these commits:
  9b0e9dc0ae
  631da1b6ba
  5d4e8994e8

Instead of having buttons to show/hide headers in the same row as the 'To:' header,
we will have expanders or something prettier, a la googlemail.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-04-30 17:38:45 -05:00
5b075e47ac Remove unused function
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-04-30 17:38:45 -05:00
abd1b7ef77 Use e_msg_composer_get_lite() instead of a global variable or struct fields
This will also make 'grep' easier when we remove the lite stuff
by refactoring.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-04-30 17:38:28 -05:00
4db5d55329 Set transient prop in express mode so that composer appears in the same
zone as the mail window.
2010-04-30 09:33:35 +05:30
bc90469e7f Camel is now GObject-based. 2010-04-24 11:05:27 -04:00
91020b05a3 Bug #360461 - Avoid markup in translatable messages 2010-04-23 11:20:50 +02:00
1ff91f837a Adapt to libedataserverui API changes. 2010-04-19 13:36:13 -04:00
24a2694878 Bug #494047 - Unescape uris in composer's Post-To 2010-04-19 13:18:50 +02:00
96421ff37c Use accessor functions instead direct access (GSEAL work)
Still remaining:
GtkAccessible::widget
GtkAssistant::forward
GtkAssistant::back
GtkObject::flags
GtkTreeStore::stamp

The GtkAssistant fields are related to bug #596428.  We don't
need accessor functions so much as the enhancement described
there implemented.

https://bugzilla.gnome.org/show_bug.cgi?id=615613
2010-04-13 16:23:16 +02:00
72797decc1 Giant leap towards GSEAL compliance. 2010-04-08 11:05:26 -04:00
51a35cd8be 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-04-07 12:26:43 +01:00
1d6ecf87aa Fix mismatched quotes. 2010-04-07 12:25:57 +01:00
f248caf515 Bug 614892 - String leak in the composer 2010-04-06 23:35:12 -04:00
dadaaef68d Bug 614892 - String leak in the composer 2010-04-06 23:34:15 -04:00
a8feedf390 Adapt to Camel API changes. 2010-04-03 23:06:39 -04:00
26240e0b18 Generate ChangeLog files for tarball releases.
Remove old ChangeLog files that predate our switch to git.
2010-04-02 18:18:33 -04:00
fabb6b035c Only #include Camel's top-level header. 2010-04-02 16:59:20 -04: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
fa2da5acd6 Fix mismatched quotes. 2010-03-28 18:55:22 -04:00
04305b8fa3 Revert some bad assumptions I made in EPluginUI.
We can't require the use of EUIManager everywhere because we don't
control all the UI manager instances -- the most compelling example
being the composer, whose UI manager comes from GtkhtmlEditor.

Instead, EPluginUI will check the instance type and pick an appropriate
"load_from_string" function.
2010-03-15 12:14:36 -04:00
58d0d111af Prevent future bugs like #612792.
Add G_GNUC_NULL_TERMINATED to EAlert functions with variable-length
parameter lists and drop the unnecessary "arg0" parameter so the
function attribute works correctly.
2010-03-15 10:38:59 -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
08b9fa7c73 Coding style and whitespace cleanup. 2010-03-07 19:55:27 -05:00
6c56bea75f Bug 593789 - Most of the toolbar buttons in the Evolution composer window have no tooltips. 2010-02-22 15:20:46 +05:30
3b5864586c Bug 610124 - Autosave errors dialogues can't be dismissed 2010-02-16 12:51:20 -05:00
d7dbab49b5 Bug 554663 - Swap "Save" and "Save as Draft" accelerators in composer 2010-02-16 07:44:44 -05:00
1460590b4a Rearrange composer options.
Renamed the "Security" menu to "Options" moved other options there:

  Request Read Receipt
  Prioritize Message
  Character Encoding
2010-01-23 10:58:01 -05:00
9acd121a93 Coding style and whitespace cleanups. 2010-01-22 23:04:56 -05:00
5f2fd41ef4 Don't stomp on GConf's identifier namespace. 2010-01-19 10:02:26 -05:00
3e7c7808cc Improve clipboard behavior.
Add "copy-target-list" and "paste-target-list" to the ESelectable
interface.  These are underutilized for the moment, but will eventually
be used to help integrate drag-and-drop support into ESelectable.

Add cut and paste support to EWebView, along with a new "editable"
property and new clipboard signals "copy-clipboard", "cut-clipboard" and
"paste-clipboard".

In EFocusTracker, listen for "owner-changed" signals from the default
clipboard as another trigger to update actions, particularly the Paste
action.  (Unfortunately this doesn't work for EWebView since GtkHtml
implements its own clipboard.)

In EMsgComposer, convert GtkhtmlEditor's clipboard methods to empty
stubs, since EFocusTracker will now trigger EWebView's clipboard
actions.  Also, intercept EWebView::paste-clipboard signals and improve
the interaction between the HTML editor and the attachment bar based on
use cases in bug #603715.
2010-01-17 12:11:08 -05:00