Commit graph

87 commits

Author SHA1 Message Date
Michael Gratton
18039ed7ad Remove avatar URL setting and config now it is unused 2019-03-09 20:17:01 +11:00
Michael Gratton
2fc3db4ccf Update appdata with some forthcoming releases for 3.32
This will let translation teams translate release notes on Flathub
2019-03-07 14:55:11 +11:00
Bilal Elmoussaoui
8dd98630e2 Appdata: update the appdata per the latest specs
Freedesktop specs: https://freedesktop.org/software/appstream/docs/chap-Quickstart.html
GNOME Software Kudos specs: https://gitlab.gnome.org/GNOME/gnome-software/blob/master/doc/kudos.md
2019-02-27 02:05:53 +00:00
Michael Gratton
b605ddc409 Validate both appdata and desktop files
Use same approach as
https://gitlab.gnome.org/GNOME/nautilus/blob/master/data/meson.build#L112-138
2019-02-24 22:09:05 +11:00
Michael Gratton
dbde4ec2d5 Update AppStream, NEWS and debian/changelog for 0.13 2019-02-18 01:51:34 +11:00
Greg V
b8ae8865ea Fix meson targets for contractor contract 2019-01-09 12:50:13 +03:00
Michael Gratton
664950ba0a Cleanup attachment save handling
Follow GTK+ reccomendation for (not) setting folder paths in save file
choosers, ensure UTF-8 display names and file system encodings are used
as appropriate, and report errors to the user when they occur.
2018-10-24 21:36:15 +11:00
Michael Gratton
47debb6730 Merge branch 'wip/piotrdrag/fix-contract-description' into 'master'
Fix extracting Description key from contractor file for translation

See merge request GNOME/geary!50
2018-10-09 10:30:13 +00:00
Michael Gratton
d3cbeda0c6 Add a comment about why we're calling msgfmt manually 2018-10-09 09:59:48 +00:00
Piotr Drąg
ea9aebdb9c Fix extracting Description key from contractor file for translation 2018-10-07 16:41:51 +02:00
Michael Gratton
46ffd42ce4 Make avatar loading URL configurable via a GSetting
This lets users switch to using Libravatar, or disable remote avatar
loading completely if desired.
2018-10-07 15:29:08 +11:00
Michael James Gratton
98e2d319eb Remove CMake build.
Closes Bug 777044.
2018-06-13 22:30:10 +10:00
nick richards
f512ebc199 Add OARS metadata 2018-06-05 13:53:39 +00:00
Michael James Gratton
5d58f165e6 Update Appsteam metainfo to point to new help page. 2018-04-27 12:13:14 +10:00
Michael James Gratton
ed95edf520 Fix appstream-util validate-strict with metainfo file. 2018-02-13 12:21:38 +11:00
Michael James Gratton
2eada0af79 Fix typo in release notes. 2018-02-13 12:21:35 +11:00
Michael James Gratton
66648a6a94 Ensure gnome-control-centre knows in advance Geary uses notifications.
* desktop/org.gnome.Geary.desktop.in: Add X-GNOME-UsesNotifications=true
  to desktop file per:
  https://wiki.gnome.org/Initiatives/GnomeGoals/NotificationSource
2018-01-11 03:22:55 +11:00
Michael James Gratton
1675f2dc25 Fix copy pasta error in schema description. Bug 792356. 2018-01-09 20:25:37 +11:00
Michael James Gratton
763ccd2f7c Fix compiling and using GSettings schema when built by Meson.
* desktop/meson.build: Make sure the schema is re-compiled with the
  source XML changes.

* meson.build: Make compiling the schema mandatory, since both running
  the client locally and unit tests require it. Fix path to compiled
  schema so the client can find it.
2017-12-12 15:56:31 +11:00
Niels De Graef
01c13f726f Port build system to Meson. Bug 777044.
Some remarks:

* Note that Meson adds a hard dependency on Python 3.

* All dependencies and defines are now listed together.

* Some build files were put in their respective subdirectories, e.g. the Geary
  engine library will be built from the Meson file in `src/engine`.

* `--fatal-warnings` is no longer an explicit flag, as Meson provides
  `-Dwerror=true` for this.

* An explicit resource file needs to be used. The issue to support this from
  Meson itself can be found at https://github.com/mesonbuild/meson/issues/706 .

* The `gnome.yelp()` function parses a LINGUAS file so we no longer need to keep
  track of all languages in our build system.

* There are no Debian scripts defined in the meson.build files to keep them
  clean, but they can be kept as separate scripts in `build-aux`.

* Left out the `dist` target as there is now `ninja dist`

* `geary-docs` is disabled by default, as valadoc-0.38.3 returns errors.

https://bugzilla.gnome.org/show_bug.cgi?id=777044
2017-12-12 00:27:46 +01:00
Michael James Gratton
412549a3f7 Don't try to install the contractor file if disabled. Bug 790382.
Patch courtesy Jiri Cerny.
2017-11-19 21:55:03 +11:00
Michael James Gratton
da15ebe3c0 Fix gnome-shell notifications missing an icon under flatpak. Bug 790103.
* icons: Rename application icons to match fully-qualified app name. Update
  references to the olde name with the fully-qualified app name.
2017-11-14 14:38:57 +11:00
Piotr Drąg
c6481c6f6d Translate GSchema
https://bugzilla.gnome.org/show_bug.cgi?id=771643
2017-11-03 13:05:47 +11:00
Piotr Drąg
42294ba38b Add XML declaration to the GSchema file 2017-11-02 18:57:21 +01:00
Piotr Drąg
9c1078ad16 Remove intltool markers from <caption> tags in AppData 2017-11-02 17:36:24 +01:00
Piotr Drąg
bfef27ed88 Add translator comments to .desktop files 2017-11-02 17:20:01 +01:00
Michael James Gratton
e05de4ccec Workaround xgettext not recognising Elementary Contractor files.
We can't just simply run xgettext twice (once as normal, once with just
the contractor file and passing "--desktop" as an arg, since
l10n.gnome.org won't pick up the second pass and the contract will remain
untranslated.

So work around by renaming the contractor file such that it is
recognised, then rename it back to normal when translating it.

* desktop/geary-attach.contract.in: Renamed to
  desktop/geary-attach.contract.desktop.in.

* desktop/CMakeLists.txt: Undo the rename when translating.

* po/CMakeLists.txt, po/Makevars: Add a xgettext keyword for the
  contractor Description field.

* po/POTFILES.in: Chase the file rename.
2017-11-02 19:10:29 +11:00
Michael James Gratton
643c65a954 Remove obsolete X-GNOME-FullName key from desktop files. 2017-11-02 19:10:29 +11:00
Niels De Graef
39ef8e3e2d Replace intltool with gettext. Bug 771643.
Signed-off-by: Niels De Graef <nielsdegraef@gmail.com>
2017-11-02 19:10:29 +11:00
Jiri Cerny
c1de366210 Remember size of dettached composer window 2017-10-24 20:38:30 +11:00
Michael James Gratton
e3787cd068 Add release notes for 0.12 to appdata, NEWS and debian/changelog 2017-10-02 20:53:11 +11:00
Piotr Drąg
339e4b691d gschema: Fix gettext-domain 2017-10-01 18:31:05 +02:00
Michael James Gratton
e17994f822 Revert appdata id change to fix flatpak build. 2017-09-29 00:35:13 +10:00
Michael James Gratton
e977c9864c Fix flatpak build error maybe.
* desktop/org.gnome.Geary.appdata.xml.in: Set component type to
  desktop-application to work with non-desktop-based id value.
2017-09-29 00:35:13 +10:00
Michael James Gratton
244f8165d2 Banish last traces of "email client" from app. 2017-09-29 00:35:13 +10:00
Michael James Gratton
25e23b05fb Add new translatable developer name and translation comments to appdata. 2017-09-26 22:55:57 +10:00
Michael James Gratton
b30b74edf9 Further updates for the appdata file.
- Correct the value of the id
 - Reorganise a bit and add some whitespace to make it more readable
 - Add help URL, point bugtracker URL to the wiki instead of b.g.o
 - Add categories, launchable and provides
2017-09-26 22:51:29 +10:00
Michael James Gratton
551a0e249f Update misc appstream URLs.
- Add a translate link
 - Point bugtracker link to the b.g.o product page, not enter_bug.cgi
 - Update donate link to use HTTPS

https://bugzilla.gnome.org/show_bug.cgi?id=770860
2017-09-26 01:11:09 +10:00
Michael James Gratton
8a20a4592c Update appstream to point to new screenshots on wiki.gnome.org.
https://bugzilla.gnome.org/show_bug.cgi?id=770860
2017-09-25 20:24:46 +10:00
Michael James Gratton
527399be76 Remember attachments dir and reuse adding/saving attachments and images.
* src/client/application/geary-controller.vala (GearyController): Replace
  use of last_save_directory with new attachments_dir property on the
  configuration object.

* src/client/dialogs/attachment-dialog.vala (AttachmentDialog): Replace
  current_folder with use of last_save_directory with new attachments_dir
  property on the configuration object. Add config object as ctor param
  and object field, update call sites.
2017-02-24 12:06:42 +11:00
Michael James Gratton
7787af3aac Remember print dir and reuse when printing again. Bug 713573.
* src/client/conversation-viewer/conversation-email.vala
  (ConversationEmail): Save config object as a class field, use that to
  get and set the print directory when printing. Also set the default
  print filename based on the email's subject.
2017-02-24 11:49:05 +11:00
Michael James Gratton
f69c461955 Re-enable spell checking in composer.
* src/client/application/geary-config.vala (Configuration): Remove
  spell-check setting, we can just get it from the list of visible
  languages instead. Update the schema.

* src/client/components/client-web-view.vala (WebView::init_web_context):
  Pass in a config object, use that to init WebKit's spell checking on
  the WebContext now that is a global configuration, update it when the
  config changes, update call sites.

* src/client/composer/composer-widget.vala (ComposerWidget): Remove
  WK1-syle spell checking settings prefs.

* src/client/composer/spell-check-popover.vala (SpellCheckPopover): Pass
  a config object in so we don't have to use the global app singleton
  instance.

* src/client/dialogs/preferences-dialog.vala (PreferencesDialog):
  Modernise by converting into a widget template.

* test/client/components/client-web-view-test-case.vala (TestCase):
  Construct a config object as a fixture, use it to init the WebContext
  and make it avalaible to subclasses & update subclasses.

* ui/preferences-dialog.ui: Moved from preferences.dialog, remove spell
  check preference.
2017-02-01 00:41:44 +11:00
Piotr Drąg
bfea6be048 Use Unicode in translatable strings
See https://developer.gnome.org/hig/stable/typography.html

https://bugzilla.gnome.org/show_bug.cgi?id=776142
2016-12-16 02:14:14 +01:00
Niels De Graef
2481989d5e Don't set DBusActivatable since we don't have a service file. 2016-12-10 00:33:01 +01:00
Niels De Graef
ec9acc8989 Perform migration for GSettings. Bug 766196. 2016-12-08 12:53:56 +01:00
Niels De Graef
4b5b2ee6e1 Use "org.gnome.Geary" for the app ID. Bug 766196. 2016-12-08 12:53:52 +01:00
Michael James Gratton
c55285f7f6 Remove now-unused composer-pane-position pref. 2016-10-04 10:58:17 +11:00
Gautier Pelloux-Prayer
4cf4ef8fcf Persist Conversation Viewer zoom level. Bug 714933 2016-09-19 11:32:40 +10:00
Piotr Drąg
6de907b9e6 Put translator comment in the desktop file in one line
Tools pick up only one line above the string.

Also fixes a typo in "Tranlators".
2016-09-05 16:32:08 +02:00
Michael James Gratton
96ea69df19 Make appdata file translatable. Bug 713937.
* desktop/CMakeLists.txt: Translate the appdata file rather than just
  installing it directly.

* desktop/geary.appdata.xml.in: Rename from 'geary.appdata.xml', make
  name, summary and description translatable.

* cmake/FindIntltool.cmake: Add a CMake command for the appdata file.

* po/POTFILES.in: Include geary.appdata.xml.in.
2016-09-05 12:14:34 +10:00