Commit graph

2309 commits

Author SHA1 Message Date
Piotr Drąg
669cc8d4b9 Add Polish help translation
Just Shortcuts and Search sections for now.
2016-06-04 14:06:17 +02:00
Piotr Drąg
a2c2f4127c Updated Polish translation 2016-06-04 13:18:02 +02:00
Dušan Kazik
c66956dfa7 Updated Slovak translation 2016-06-04 07:53:06 +00:00
Michael James Gratton
dd7372d033 Add a localisation context to search op strings. Bug 766837.
Adding the context will also render the strings fuzzy, so translation
teams know they need to be checked.
2016-06-04 15:27:10 +10:00
Daniel Korostil
9a38a18edd Updated Ukrainian translation 2016-06-01 23:45:00 +03:00
Michael James Gratton
a0ede63b3a Further clarify translator comments for search operators. Bug 766837. 2016-06-01 16:41:39 +10:00
Michael James Gratton
a8a9955b83 Further search localisation cleanup and fixes. Bug 766837
* src/engine/imap-db/imap-db-account.vala (Geary.ImapDB.Account): Move
  search term operator transation to a static initialiser so it isn't
  have to be reconstrcuted for every term. Ensure english operator names
  and values are also accepted as well as translations so if the User
  Guide has not also been translated, the user can still use what the
  docs say. Fix some bugs causing to:*, from:* and *:me to stop working.
2016-06-01 15:56:10 +10:00
Michael James Gratton
95e1cd5e46 Add a bunch of debug statements for search term handling. Bug 766837. 2016-05-31 17:49:43 +10:00
Michael James Gratton
0b1f8cde62 Minor search doc updates. 2016-05-31 17:48:06 +10:00
Michael James Gratton
86ffc4c3b5 Don't bother stemming and generating SQL for valid is:foo search terms.
Further cleanup from Bug 766837.

* src/engine/imap-db/imap-db-account.vala
  (Geary.ImapDB.Account::prepare_search_query): Only stem and generate
  SQL terms that aren't is:foo operators.
2016-05-31 17:45:18 +10:00
Michael James Gratton
a2d32b802e Fix crash when value of is:foo search op has not been translated.
Bug 766837

* src/engine/imap-db/imap-db-account.vala (Geary.ImapDB.Account): Use
  constants for internal, i.e. non-translatable, search op names and
  values so it's clear what they are.
  (::extract_field_from_token): Handle all translation of search op names
  and values here up front. Ensure that the value for the "is:" operator
  is valid, treat the whole thing like a plain string if not. Add some
  translation comments for those values so translators know what's up.
  (::get_removal_conditions): Assume that if we have a "is:" field that
  the values have already been translated to their internal form.
2016-05-31 17:39:50 +10:00
Michael James Gratton
10362b5a64 Tidy up main window accelerator setup.
* src/client/application/geary-controller.vala
  (GearyController::create_actions): Remove uneeded calls to
  add_accelerator - just remove them for dups ot move them to the action
  definition. Ensure they are defined in accelerators.ui so they are
  bound to their accelerators regarcdless of having a visible proxy.
2016-05-30 09:37:12 +10:00
Michael James Gratton
af94c20f9b Sort main window accelerators definition. 2016-05-30 00:40:36 +10:00
Michael James Gratton
c86af16ecf Remove some more artifacts from the old gear menu. Bug 759980. 2016-05-30 00:18:24 +10:00
Michael James Gratton
66928f73f6 Enable L/M keyboard shortcut for label/moving messages. Fixes Bug 731737.
* help/C/shortcuts.page: Document new shortcuts.

* src/client/application/geary-controller.vala: Add shortcuts for copy
  and move actions.

* src/client/components/pill-toolbar.vala (PillBar::create_menu_button):
  Hook up the button's related action to invoke the button's popup menu,
  taking care not to cause an infinte loop.
  (PillBar::setup_button): Connect to the related_action's tooltip notify
  signal via a local variable rather than via the button, so it does not
  get lost when it changes for Gtk.MenuButton actions.
2016-05-29 23:25:49 +10:00
Michael James Gratton
54ba285ab8 Clean up shortcuts and shortcut docs. Closes Bug 766987.
* src/client/application/geary-controller.vala: Remove prefs and accounts
  shortcuts.

* ui/app_menu.interface: Remove prefs and accounts shortcuts

* help/C/shortcuts.page: Capitalise J/K, remove prefs and accounts
  shortcuts.
2016-05-29 22:24:19 +10:00
Michael James Gratton
244c6ed486 Swap positions of composer save/send buttons. Closes Bug 766742. 2016-05-29 21:45:51 +10:00
Mario Blättermann
1f1be5e831 Updated German translation
(cherry picked from commit d09d6752ef442089f35166630aec6727b0469416)
2016-05-28 19:23:04 +00:00
Michael James Gratton
3baa8731ac Chase toolbar widget CSS class name change.
Addendum to 8491cd5.
2016-05-21 15:06:23 +10:00
Michael James Gratton
1886e17f38 Remove use of Gtk.Misc ::xpad and ::ypad. Bug 713991. 2016-05-21 12:45:13 +10:00
Michael James Gratton
7b37e264c9 Remove Unity-specific workarounds. Bug 738899. 2016-05-21 11:18:39 +10:00
Michael James Gratton
19dde8912b Remove only remaining use of emblem-system-symbolic icon name.
Bug 765837.
2016-05-21 11:18:31 +10:00
Yosef Or Boczko
0da3cb9d26 Use margin-{start,end} instead of margin-{left,right}: Close bgo #730611 2016-05-20 16:42:45 +10:00
Michael James Gratton
8491cd50bc Remove GTK+ 3.14 check when setting widget CSS, modernise it a bit.
Bug 764812

* src/client/components/main-window.vala (MainWindow::set_styling): Merge
  CSS blocks. Fix Gtk.Frame styling rules for Gtk3.20, making them also
  apply to the frame's border node instead of the frame node. Remove
  redundant rules. Add a prefix for CSS class names so to avoid name
  collisions.

* src/client/composer/composer-box.vala (ComposerBox::ComposerBox): Add a
  CSS class to the composer box, add prefix to the full-pane class.

* ui/composer.glade: Add a class to the composer's frame so that can be
  styled.
2016-05-20 16:29:35 +10:00
Michael James Gratton
13657a2237 Bump minimum WebKitGTK version to 2.4, remove bindings for older versions.
This is both the latest getting security updates, and the version in
Debian Jessie.
2016-05-20 16:29:28 +10:00
Michael James Gratton
b7cf0ec663 Remove conditional compilation for GTK+ 3.12. 2016-05-20 16:29:15 +10:00
Michael James Gratton
b3946f2133 Bump minimum GTK+ (3.14), GLib (2.42) and Vala (2.26) version.
New version requirements are those currently in Debian Jessie.
2016-05-20 16:29:11 +10:00
Michael James Gratton
1456b0516f Require GMime 2.6.17 so we can remove the workaround for Bug 713161. 2016-05-20 16:26:02 +10:00
Niels De Graef
591dd2620c Moved DOM function into Util.DOM namespace
Signed-off-by: Niels De Graef <nielsdegraef@gmail.com>

Bug 766100
2016-05-20 16:23:54 +10:00
Michael James Gratton
18755f6d7a Fix app & desktop becoming unresponsive when clicking the gear menu.
When the shell is not showing the app menu, we are adding a gear menu and
using that for the app menu to work around an issue in Mint Cinnamon
always showing a menu bar when an app menu was present. However under
gnome-shell, this causes both Geary and gnome-shell to both start fully
consuming the CPU when the gear menu was activated.

Perhaps GtkApplication{Window} was notifying or querying shell about the
state of the actions since they are in the in the "app" namespace, but
shell not knowing or caring about them was returning an error, causing
Geary to retry?

Removing the gear menu and letting GTK+ add its own app menu to the
header when shell is not showing it fixes the issue.

We could load the app_menu actions into the "win" namespace, but that
would require adding yet more workarounds (at least a duplicate
app_menu.ui file or something else similary sucky) for someone else's bug
and for users that will never see or need the fix.

Bug 759980.

* src/client/application/geary-controller.vala: Always set the
  application's app_menu.

* src/client/components/main-toolbar.vala,
  src/client/composer/composer-headerbar.vala: Remove gear menu.

* src/client/components/main-window.vala: Set show-menubar to false
  so we either get the shell managed app-menu or GTK managed one
  in the header bar.
2016-05-18 19:49:24 +10:00
Michael James Gratton
f9cd259f55 Allow secure Gravatar requests by default.
Bug 766595

* src/client/conversation-viewer/conversation-web-view.vala
  (ConversationWebView::always_loaded_prefixes): Update to use new secure
  Gravatar URL.
2016-05-18 19:46:23 +10:00
Ville Korhonen
41b9fb6618 Use HTTPS for accessing Gravatar.com
Prevents leaking MD5 hashes of e-mails user is receiving mail from,
which could potentially leak information leading to

a) identifying the user
b) identifying people user communicates with

See <https://en.gravatar.com/site/implement/images/#secure-images> for
upstream documentation of HTTPS implementation.

Bug 766595
2016-05-18 19:38:50 +10:00
Baurzhan Muftakhidinov
edb1ecad63 Updated Kazakh translation 2016-05-17 10:35:32 +00:00
Ralph Plawetzki
9b8fc0bf34 Fix incorrect date in NEWS 2016-05-17 12:33:01 +10:00
Stas Solovey
6547445ef4 Updated Russian translation
(cherry picked from commit 663271d6c8711424613f7cdd9201cf21e2541d06)
2016-05-16 18:43:12 +00:00
Daniel Mustieles
1138b6f48a Updated Spanish translation 2016-05-16 17:11:56 +02:00
Daniel Mustieles
e33ff173d2 Updated Spanish translation 2016-05-16 17:11:47 +02:00
Federico Bruni
84174f48d8 Updated Italian translation 2016-05-15 16:07:49 +00:00
Federico Bruni
ea02333072 Updated Italian translation 2016-05-15 11:16:49 +00:00
Dušan Kazik
8a2c14e231 Updated Slovak translation 2016-05-15 10:58:01 +00:00
Michael James Gratton
7ad8c2ccf7 Update to 0.11.0 2016-05-15 19:39:26 +10:00
Michael James Gratton
2ba37391df Add note to INSTALL about required SQLite 3.11 compilation flags. 2016-05-15 19:34:50 +10:00
Daniel Șerbănescu
3359f64bc0 Updated Romanian translation 2016-05-14 19:36:11 +00:00
Alexandre Franke
92aabd563b Updated French translation 2016-05-14 13:32:29 +00:00
Michael James Gratton
72f93d9cb3 Add some git and deb build artefacts to .gitignore 2016-05-13 11:52:24 +10:00
Michael James Gratton
9126e561f4 Add maintainer userid for access to master.gnome.org. 2016-05-12 10:57:30 +10:00
Милош Поповић
393a6093d1 Updated Serbian Latin translation 2016-05-11 08:13:23 +00:00
Милош Поповић
bdf78cc6ec Updated Serbian translation 2016-05-11 08:12:20 +00:00
Anders Jonsson
703c7c54ba Updated Swedish translation 2016-05-10 15:33:07 +00:00
Jiri Grönroos
44ff755180 Updated Finnish translation 2016-05-09 14:57:51 +00:00