Commit graph

62 commits

Author SHA1 Message Date
Robert Schroll
bc29652175 New detach icon for inline composer
https://bugzilla.gnome.org/show_bug.cgi?id=733370
2014-07-19 17:17:23 -04:00
Robert Schroll
221d8f7400 Use HeaderBars for composers
Move the buttons from the bottom of the composer into the header.  The
draft save text is moved into the composer toolbar, for lack of a better
location.  When it's inline, we insert our own close button, so we can
control what it does.  When it's detached (and not using Unity), we
enable to default close button.

https://bugzilla.gnome.org/show_bug.cgi?id=731537
2014-07-18 12:05:24 -04:00
Robert Schroll
39ef136065 Separate the pill-style Toolbar from the pill-style HeaderBar
The composer toolbar uses the former, while the main window header uses
the latter.

https://bugzilla.gnome.org/show_bug.cgi?id=730903
2014-06-03 20:43:01 -04:00
Jim Nelson
4233f1acc7 Unmark strings for translation, HIG tooltip change 2014-05-20 18:59:28 -07:00
Robert Schroll
78d1d48366 Work around reply/reply-all bug in compact recipients 2014-05-20 16:30:22 -07:00
Robert Schroll
ccf0b0ad18 Ellipsize long recipient labels in the compact composer 2014-05-20 16:30:22 -07:00
Robert Schroll
3c9ab2bd79 Support different modes for the inline composer
INLINE_NEW: New message, taking up the full view
INLINE: Reply or forward, with editable recipients
INLINE_COMPACT: Reply, without editable recipients

Note that the only allowed paths are
  INLINE_COMPACT -> INLINE -> DETACHED
  INLINE_NEW -> DETACHED
2014-05-20 16:30:22 -07:00
Robert Schroll
28eb213736 Don't focus on the detach button on click
This way, we can maintain the selection when detaching the composer.
2014-05-20 16:30:22 -07:00
Robert Schroll
a49cf8821f Hide attachment widgets when no attachments
This saves a bit of space.
2014-05-20 16:30:22 -07:00
Robert Schroll
94c15bd461 Compact header for inline replies 2014-05-20 16:30:22 -07:00
Robert Schroll
35e3cdfd9b Move detach button to bottom of compose widget
Also, remove the embed toolbar at the top.

Note that the focus is stolen by the detach button when it's clicked, so
we can't re-establish it in the window.  Instead, we use the existing
set_focus() method to put in a (hopefully) appropriate place.
2014-05-20 16:30:22 -07:00
Charles Lindsay
7e1e968b61 Add mnemonics to composer fields
Closes: bgo #713843
2014-02-25 12:01:35 -08:00
Yosef Or Boczko
288eaee831 Indent and outdent icons for RTL: Closes #7551 2013-11-08 13:03:29 -08:00
Eric Gregory
aa1175b2ab Closes #7508 Composer edit box is now in a GtkFrame 2013-10-02 16:07:34 -07:00
Eric Gregory
302ffc4fdc Closes #7365 Draft saving notifications are now less distracting 2013-09-27 17:05:28 -07:00
Jim Nelson
1d9ea39dd1 Several mnemonic and capitalization fixes
Missing mnemonics in composer context menu: Closes #7439
Context menu items need capitazliation: Closes #6862
No tooltip for remove button in Accounts window: Closes #6551
Print menu item needs ellipsis: Closes #7259
"Saving..." -> "Saving" in composer: Refs #7365
2013-09-04 19:15:24 -07:00
Yosef Or Boczko
74076f06fa Mark overlooked Glade strings for translation: Closes #7414 2013-08-29 13:03:44 -07:00
Eric Gregory
28d71fb1a7 Closes #7397 Capitalization fixes in menus 2013-08-28 18:41:00 -07:00
Eric Gregory
bb72647b26 UI refresh. Closes #7267 Closes #7199 Closes #7198 Closes #7043 Closes #6819 Closes #5839 2013-08-26 14:56:46 -07:00
Eric Gregory
f78ddf6bbd Autosave drafts. Closes #6124 2013-08-13 18:02:42 -07:00
Eric Gregory
8059f0f31e Merge branch 'master' into feature/drafts 2013-08-13 14:53:12 -07:00
Brendan Long
624a7171be Content menu missing labels in composer: Closes #7322 2013-08-12 16:30:17 -07:00
Eric Gregory
c8cbebc39c Merge branch 'master' into feature/drafts 2013-08-08 13:07:51 -07:00
Eric Gregory
0e185be7be Closes #7236 Replace previous draft 2013-08-02 17:49:33 -07:00
Jim Nelson
403dd8508e Drop Gtk.Stock: Closes #7203, Closes #7294
These changes also invalidates #7218, as we're no longer using
buttons with icons with these changes.
2013-08-02 15:28:33 -07:00
Eric Gregory
bc8a77bcd1 Closes #3769 Initial save to drafts functionality 2013-07-18 12:56:54 -07:00
Robert Schroll
8bb4f5fba7 Add formatting menu in composer; fix #6436
N.B. The actions for the menu need to be set through the UIManager, not
through the ActionGroup.  Otherwise you get warnings about
gtk_accel_label_set_accel_closure.
2013-04-30 17:20:13 -07:00
Janosch Rolles
0ddcfb3512 Closes #6755 Ctrl-W to close composer window. 2013-04-23 12:18:26 -07:00
Robert Schroll
0dc252d631 "Cancel" means two things when closing composer: Closes #6830 2013-04-22 12:14:40 -07:00
Robert Schroll
7d8b23545f Closes #6438 Quote level replaces indent 2013-04-10 12:45:33 -07:00
Robert Schroll
96a5e99b06 Add button to include reply attachments; fix #6308 2013-04-10 12:39:10 -07:00
Jim Nelson
a8eb2bce88 "Rich text" -> "Rich Text" as per GNOME HIG 2013-02-26 15:38:50 -08:00
Robert Schroll
3e4b94de0e Optionally send email in plain text: Closes #3198
The composer can now be switched between rich and plain text mode
using the context menu.
2013-02-26 15:30:47 -08:00
Eric Gregory
e2f4302e31 Closes #6044 Shortcuts in tooltips 2013-02-25 18:29:01 -08:00
Eric Gregory
f604d2d988 Closes #6334 Show and set "From:" field in composer 2013-02-08 11:59:27 -08:00
Eric Gregory
4859f6829d Closes #5820 "Attach File" instead of "Attach a file" 2013-01-09 17:23:59 -08:00
Jim Nelson
5a9cdfd1e6 Composer buttons clean-up: Closes #5810, Closes #5818 2012-09-25 11:58:46 -07:00
Adam Dingle
1fccd5a37e Revert "Fixed #5820 ("Attach a file" should be title case)."
I erroneously made this string change after string freeze.

This reverts commit dceefa3003.
2012-09-25 11:01:03 -07:00
Jim Nelson
621b9bdd8c Better "Remove formatting" icon: Closes #5795
Better icon courtesy Daniel Fore.  Also increased the size of the
toolbar and reduced the child spacing in the composer to better
utilize space.  This might also handle #5054, but need to confirm
separately.
2012-09-17 16:59:04 -07:00
Adam Dingle
18d254d81d Fixed #5819 (Use "content-view" class for composer bottom toolbar). 2012-09-14 11:43:44 -07:00
Adam Dingle
dceefa3003 Fixed #5820 ("Attach a file" should be title case). 2012-09-13 14:43:26 -07:00
Adam Dingle
827747c7a9 Fixed #5809 (new compose window cancel button does nothing).
Fixed #5811 (console warnings when opening the composer).
2012-09-13 09:48:25 -07:00
Adam Dingle
dfbf5cd955 Added a Cancel button to the composer window. Closes #5794. 2012-09-12 14:29:32 -07:00
Adam Dingle
e4a88d124a Partially implemented #5794 (move send button and attachments to bottom of the compose window).
There's still no cancel button.
2012-09-12 13:37:45 -07:00
Joanmarie Diggs
d45e035b1f [a11y] Composer window not accessible to blind users: Closes #5555 2012-07-16 17:17:34 -07:00
Matthew Pirocchi
f253f58249 Use gettext comments: Closes #5464.
Use comments beginning with '///' before potentially difficult
translatable strings. The comments are extracted by xgettext when it is
passed the option '--add-coments="/"'.
2012-06-28 11:06:17 -07:00
Matthew Pirocchi
1dd044bb98 Allow files to be dragged to the composer window: Closes #5368. 2012-06-27 15:35:32 -07:00
Matthew Pirocchi
89a9edc915 Allow attachments to be added to emails. Closes #5302. 2012-06-25 18:35:08 -07:00
Nate Lillich
b361fd8ead Fix for #5010. This adds a new remove formatting icon, custom made for us. 2012-05-03 18:01:31 -07:00
Eric Gregory
ff88b2cec5 Closes #5115 Closes #5118 Fonts now selected by drop down, made composer toolbar icons smaller 2012-04-24 18:30:01 -07:00