Commit graph

162 commits

Author SHA1 Message Date
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
Michael James Gratton
6f988198f6 Update desktop resources to be spec compliant & consistent with the wiki. 2016-09-05 12:14:29 +10:00
Michael James Gratton
45773c8f88 Allow the Compose desktop action to be used on non-Unity desktops.
Patch courtesy Pacho Ramos.

Fixes Bug 751558.
2016-08-17 23:00:53 +10:00
Michael James Gratton
4a2ba1446d Fix cmake warning CMP0040 in cmake/FindDesktopFileValidate.cmake.
* desktop/CMakeLists.txt: Fix name of Elementary Contractor desktop file
  and disable Desktop file validation for it since it doesn't actually
  validate.

* cmake/FindDesktopFileValidate.cmake, cmake/FindIntltool.cmake: Don't
  assume XDG Desktop files are named ".desktop" - they aren't for
  Elementary's Contractor. Require callers to pass the full name in, fix
  call sites.
2016-08-11 18:45:24 +10:00
Leonardo Robol
cae4b443c6 Added support to change the spell-checking language.
Bug 720335

* src/client/composer/spell-check-popover.vala
  Implemented a GtkPopover allowing the user to select a
  subset of the currently installed dictionaries for the spell
  checking in the composer widget.

* src/client/util/util-international-vala
  Added detection of installed dictionaries and proper
  translation of the available languages. This requires
  Enchant as an additional dependency.

* src/client/application/geary-config.vala
  Added keys spell-check-visible-languages and
  spell-check-languages in GSettings.
2016-06-09 15:36:39 +10:00
Adam Dingle
654e513f9c Transfer Yorba copyrights to Software Freedom Conservancy 2016-05-06 08:33:37 -04:00
Richard Hughes
2255664a54 Update the AppData file to spec version 0.7+ 2016-01-22 19:49:16 +00:00
Robert Schroll
4139076509 Allow changing orientation of left paned
The orientation is set in the preferences dialog.  There are new
configuration keys to track the pane positions, and a bit of code that
will set them the first time based on the current settings.

https://bugzilla.gnome.org/show_bug.cgi?id=714793
2015-03-10 19:08:59 -04:00
Robert Schroll
526f6e7889 Paned composer for handling multi-replies
When the user replies with a quote to a second message, the composer
moves into a paned below the conversation viewer.  This makes it easy to
scroll through the conversation and select text for replies.

The Gtk.Paned acutally holds a Box, which in turn can hold many
ComposerBoxes.  Only one is shown at a time, but the model used
elsewhere is that each ComposerWidget has a ComposerContainer until it
is destroyed.  When a composer is closed, it hides while finishing up
asynchronous work.  This allows us to hold hidden paned composers as
they finish up their work.

The logic for focus handling at detachment is moved into the
ComposerWidget from ComposerEmbed, since it may also be detached from
the paned state.  ComposerContainers gain a remove_composer() method
that does the container's clean up, as well as returning the focused
widget.  The ComposerWindow's remove_composer() method should never be
called.

https://bugzilla.gnome.org/show_bug.cgi?id=738188
2015-01-14 15:16:08 -08:00
Jim Nelson
533ab75ee3 Improved search experience: Bug #720361
This introduces a new full-text search algorithm that attempts to
curb the effects of overstemming in the Porter Snowball stemmer.
The FTS table will be regenerated with this update.

The crux of this new algorithm is a configurable heuristic that
reduces stemmed matching.  The configuration is not available via the
UI (I suspect it will only confuse users) but can be changed by power
users via GSettings.  More information is available at:

https://wiki.gnome.org/Apps/Geary/FullTextSearchStrategy
2014-12-16 12:26:31 -08:00
Viko Adi Rahmawan
66dc465d89 Contractor support: Bug #734717 2014-10-10 14:51:05 -07:00
Jim Nelson
2f94199105 Prevent Geary from being listed twice in Default Applications
The autostart .desktop file shouldn't have a MIME type association,
otherwise it will make Geary appear twice in the drop-down list of
email applications.
2014-08-13 12:17:25 -07:00
Mohamed Ibrahim
6783c2ce63 Start notifying of new mail at session startup: Bug #714644
Geary can now be configured to notify of new mail at startup.  When
the user logs in, Geary will autostart with a hidden window and
notify of new mail as usual.  When Geary is formally executed by
the user the Geary window simply appears.

In this mode, if the user closes the window Geary will return to its
hidden state.  Quit must be used to close the process.
2014-06-26 13:31:43 -07:00
Jim Nelson
637d48f9e2 AppData file now validates 2014-05-23 15:19:24 -07:00
Jim Nelson
6254599696 Update AppData file 2014-05-23 14:52:50 -07:00
Jim Nelson
dc1445d6f0 Update copyrights to 2014: Closes bgo#722381 2014-02-04 19:01:09 -08:00
William Jon McCann
fc0b41d5f9 Fix application name in .desktop file: Closes bgno#720781
Also corrects alpha-order problems in THANKS file.
2013-12-20 12:46:53 -08:00
Jim Nelson
4139dab02f Added summary to appdata file 2013-10-01 17:02:01 -07:00
Jim Nelson
3df4f89f3c Add copyright to geary.appdata.xml 2013-10-01 12:40:51 -07:00
Jim Nelson
e53efde056 Install AppData file: Closes #7546 2013-09-27 16:16:46 -07:00
Jim Nelson
2fcde7ef13 Add AppData file to tarball: Closes #7420 2013-09-25 12:58:12 -07:00
Jim Nelson
e5f0d4867b Fix .desktop file warning on Raring: Closes #6884 2013-05-27 14:54:49 -07:00
Charles Lindsay
dd3fe43a16 Validate desktop file when building; fix #6571 2013-04-15 18:32:35 -07:00
Charles Lindsay
a1c1dbe1ea Remove more libindicate-specific cruft 2013-04-11 18:13:55 -07:00
Michael George
ca4d18f326 .desktop file is missing trailing semicolon: Closes #6553
This comes after string freeze, so all translations had to be
touched-up as well.
2013-03-19 13:09:44 -07:00
Eric Gregory
4caa77fb69 Closes #6458 Supress first-run console warnings 2013-03-19 11:08:25 -07:00