Commit graph

5473 commits

Author SHA1 Message Date
James Westman
c53b1b0a30 composer: Custom icon for "show formatting" button
This replaces the italic icon with a new, custom icon.
2020-02-15 23:01:25 -06:00
James Westman
adf6f2b4a7 composer: Improve "insert link" popover
- Use transitions instead of show/hide
- Make the popover narrower (360px instead of 40 chars)
- Use text labels for "Add" and "Insert" rather than the check icon
- Show the button as active when the popover is open
2020-02-15 23:01:25 -06:00
James Westman
66bbb576a6 composer: Make format menu more generic
It still only contains text formatting options, but it uses the
view-more-symbolic icon.
2020-02-15 23:01:25 -06:00
James Westman
d3aff68273 composer: Style improvements for attachment box
- Add separators between rows
- Use icon instead of text for remove button
2020-02-15 23:01:25 -06:00
James Westman
233a1a6c37 composer: Improve spell check popover
- Use a MenuButton
- Separators between rows
- Make the popover narrower
- Put the country name below the language name, instead of in
  parenthesis
- Ellipsize country/language names
2020-02-15 23:01:25 -06:00
Michael Gratton
1c098b9b4a Merge branch 'mjog/revert-webkit-shared-process' into 'mainline'
Revert "Merge branch 'mjog/558-webkit-shared-process' into 'mainline'"

See merge request GNOME/geary!411
2020-02-15 22:47:06 +00:00
Michael Gratton
bfdecebdbd Merge branch 'fix-move-to-trash' into 'mainline'
Fix move to trash

See merge request GNOME/geary!412
2020-02-15 21:47:23 +00:00
Michael Gratton
051ccf428e Merge branch 'mjog/composer-autocomplete-fixes' into 'mainline'
Composer autocomplete fixes

Closes #680

See merge request GNOME/geary!413
2020-02-15 21:46:17 +00:00
Michael Gratton
b4fc3a6d74 Improve handling when inserting email addresses from completion
Fixes inserting an address overwriting an existing one, inserting
addresses with multi-byte chars, and a few other bits and pieces.

Closes #680
2020-02-15 09:35:38 +11:00
Алексей Шилин
6f44f89b48 ConversationListView: Fix shift-to-delete inversion
The 'Is Shift down' condition was accidentally inverted in commit
419bc6d051, resulting in inconsistency
between the main toolbar and a conversations list context menu.
2020-02-14 14:17:44 +03:00
Алексей Шилин
03a11373f9 ConversationListView: Really move conversations to Trash
Conversations list context menu item says 'Move conversation to Trash',
but archiving was being done instead.
2020-02-14 14:03:10 +03:00
Michael Gratton
aa393a154f Don't set an email autocomplete key when cursor is at beginning
Fixes the autocomplete showing up again after having just completed an
addresss.
2020-02-13 12:58:00 +11:00
Michael Gratton
30225239c9 Don't use public addresses setter internally in EmailEntry
Fixes being unable to enter spaces or other punctuation in half-formed
email addresses because the public setter was causing the entry's text
to be reset with the formatted address.
2020-02-13 12:58:00 +11:00
Michael Gratton
3ce2eb9f17 Fix <Tab> not filling selected autocomplete in composer
Gtk.EntryCompletion only fires `cursor_on_match` if `inline_selection`
is true. O_o
2020-02-13 12:58:00 +11:00
Michael Gratton
3340d7911f Remove some code clearly meant for testing only 2020-02-13 12:56:52 +11:00
Michael James Gratton
cbe6e0ba9b Revert "Merge branch 'mjog/558-webkit-shared-process' into 'mainline'"
Revert merge request GNOME/geary!374 for now since the shared process
model breaks old-style WebProcess message handler IPC.

This can be un-reverted when out JS is ported to the new Messages API
that is landing in WebKitGTK 2.28.

This reverts commit e4a5b85698, reversing
changes made to 66f6525480.
2020-02-13 12:56:52 +11:00
Andre Klapper
d9c10b5f20 help: Make shortcuts.page pass "yelp-check validate"
<section> elements must include a <title> element.
2020-02-10 22:03:09 +01:00
Michael Gratton
947914d892 Merge branch 'fix-prefs-window-size' into 'mainline'
preferences: Set propagate_natural_width

See merge request GNOME/geary!409
2020-02-09 02:13:34 +00:00
Michael Gratton
1aa59264fb Merge branch 'wip/nielsdg/fix-flatpak-build-folks' into 'mainline'
ci: Don't build BlueZ backend

Closes #695

See merge request GNOME/geary!410
2020-02-06 12:53:05 +00:00
Niels De Graef
361cf5ae69 ci: Don't build BlueZ backend
We figured out in libfolks that we were accidentally not properly
requiring the `python3-dbusmock` module that is necessary for the BlueZ
tests. We might want to be smarter about this in the future, but let's
just lose the offending backend for now.

Fixes https://gitlab.gnome.org/GNOME/geary/issues/695
2020-02-06 07:41:19 +01:00
Kukuh Syafaat
9dee9aba2b Update Indonesian translation 2020-02-05 11:54:54 +00:00
James Westman
641fa4e8e6 preferences: Set propagate_natural_width
This makes the preferences window wide enough to not ellipsize the
labels, if there is enough space to do that.
2020-02-04 09:38:42 -06:00
Michael Gratton
d332e2d1e3 Merge branch 'mjog/misc-fixes' into 'mainline'
Misc fixes

See merge request GNOME/geary!406
2020-02-02 07:33:24 +00:00
Michael Gratton
7d51a5183e Sanitise Geary.ComposedEmail setter method inputs
Ensure that if any empty mailbox or message id lists are passed to a
setter that they are set as null instead, to conform to the
EmailHeaderSet contract.
2020-02-02 18:15:53 +11:00
Michael Gratton
9c0fecf552 Fix some build warnings 2020-02-02 18:15:53 +11:00
Michael Gratton
b3fa1446c1 Clean up EmailEntry API
Move into composer namespace and rename to match. Update API for
consistency with style guide. Remove uneeded fields and clarify when
::modified is true. Fix call sites.
2020-02-02 18:15:53 +11:00
Michael Gratton
19fc5eced3 Add Geary.RFC822.MailboxAddresses::is_empty 2020-02-02 18:15:53 +11:00
Michael Gratton
516db957e1 Fix notifications not being shown 2020-02-02 18:15:53 +11:00
Piotr Drąg
c4d0b71455 Update Polish translation 2020-01-26 14:41:48 +01:00
Michael Gratton
4614a89db8 Fix occasional Application.MainWindow criticals on shutdown
Keep a reference to Application.Controller in MainWindow so that when
being shutdown, async method's end can still be successfully called.
2020-01-25 15:35:47 +11:00
Michael Gratton
25976dd218 Update Application.Client shutdown process
We can't actually override GLib.Application::quit in a robust way since
it's not virtual, so move as much of the shutdown process as possible to
::shutdown which can be overridden.
2020-01-25 15:35:47 +11:00
Michael Gratton
b30e639022 Fix critical closing composers with drafts 2020-01-25 15:35:47 +11:00
Emin Tufan Çetin
85c4151444 Update Turkish translation 2020-01-24 20:07:39 +00:00
Michael Gratton
0736020ce5 Merge branch 'header-group' into 'mainline'
main-toolbar: Use a header group

See merge request GNOME/geary!398
2020-01-23 23:14:54 +00:00
Michael Gratton
b2d2da813a Merge branch 'mjog/flatpak-ci-handy-submodule' into 'mainline'
Fix Flatpak CI FTB

See merge request GNOME/geary!403
2020-01-23 23:07:48 +00:00
Michael Gratton
8bc00e2fa6 Update flatpak libical to 3.0.7 2020-01-24 09:47:21 +11:00
Michael Gratton
3d86c345be Remove libhandy git submodule, bump minimum version to 0.10
Fixes Flatpak CI FTB, distros are all packaging it anyway.
2020-01-24 09:47:21 +11:00
Piotr Drąg
6441c103fc Update POTFILES.skip 2020-01-23 17:41:34 +01:00
Daniel Mustieles
f58899350e Updated Spanish translation 2020-01-23 12:54:05 +01:00
Michael Gratton
2cf110eb20 Merge branch 'mainline' into 'header-group'
# Conflicts:
#   src/client/components/main-toolbar.vala
2020-01-23 11:34:40 +00:00
Michael Gratton
411a7198e3 Merge branch 'composer-fields' into 'mainline'
composer: Do not hide nonempty extended fields

Closes #675

See merge request GNOME/geary!402
2020-01-23 09:23:03 +00:00
Michael Gratton
fa38c6cf8a Merge branch 'composer' into 'mainline'
composer: Adaptive toolbar

See merge request GNOME/geary!396
2020-01-23 08:36:45 +00:00
Adrien Plazas
7d207dbb77 main-toolbar: Use a header group
This simplifies the code handling the location of the window decorations
by using HdyHeaderGroup, whis is designed specifically for that.
2020-01-22 14:51:13 +01:00
Michael Gratton
65ff5bea40 Merge branch 'no-queued-notification' into 'mainline'
Don't display "email queued for delivery" when undo-send-delay is 0

Closes #672

See merge request GNOME/geary!399
2020-01-22 09:34:24 +00:00
Michael Gratton
bcc6f8d56b Merge branch 'brief-notifications' into 'mainline'
Allow brief notifications

Closes #602

See merge request GNOME/geary!400
2020-01-22 09:33:01 +00:00
James Westman
f5b6bd6e7c composer: Do not hide nonempty extended fields
This way, you won't forget about an important field (such as CC) if the
extended fields are hidden.

Fixes #675.
2020-01-21 21:20:45 -06:00
James Westman
d6d6f3dff5 composer: Fix focus when clicking font buttons 2020-01-21 21:12:52 -06:00
James Westman
68881434bf composer: Use ReflowBox widget for toolbar
This new widget replaces the size-allocate hack introduced a few commits ago.
2020-01-21 19:43:37 -06:00
James Westman
d5a5afcc78 composer: More tweaks to match mockups
- Move the attachment button(s) out of the headerbar into the action bar
- Add a cancel button
- Adjust some margins
- Set popover positions to top
- Remove subject from headerbar title to save horizontal space
2020-01-21 19:43:37 -06:00
James Westman
0eed1bb21a composer: Add font buttons to toolbar
This replaces the menu options in the overflow menu with nicer looking, more
discoverable toolbar buttons. They work much the same way as before.
2020-01-21 19:43:37 -06:00