Commit graph

439 commits

Author SHA1 Message Date
Dušan Kazik
9014e46e42 Update Slovak translation 2017-02-12 14:07:55 +00:00
Marek Černocký
8044129731 Updated Czech translation 2017-02-11 11:07:42 +01:00
Michael James Gratton
31fbfd4047 Add IdleManager class for sane main loop idle scheduling. 2017-02-09 10:54:45 +11:00
Rafael Fontenelle
cc965b88cb Update Brazilian Portuguese translation 2017-02-06 10:23:27 +00:00
Piotr Drąg
514d7840a4 Update Polish translation 2017-02-05 16:29:37 +01:00
Mario Blättermann
1a3876d83f Update German translation 2017-02-04 18:41:24 +00:00
Michael James Gratton
0541436a77 Add some missing files and fix some ordering issues in po/POTFILES.in. 2017-02-01 00:41:44 +11:00
Michael James Gratton
c476fdc6d1 Replace composer link dialog with a popover.
* src/client/composer/composer-link-popover.vala: New GtkPopover subclass
  for creating/editing links.

* src/client/composer/composer-web-view.vala (EditContext): Add is_link
  and link_uri properties, decode them from the message string, add
  decoding tests.
  (ComposerWebView): Add some as-yet un-implemented methods for
  inserting/deleting links.

* src/client/composer/composer-widget.vala (ComposerWidget): Add
  cursor_url for storing current text cursor link, update it from the
  cursor_context_changed signal param, rename hover_url to pointer_url to
  match. Add link_activated signal to let user's open links they are
  adding, hook that up in the controller. Rename
  ::update_selection_actions to ::update_cursor_actions, since that's a
  little more apt now, also enable insert link action if there is a
  cursor_url set as well as a selection. Remove ::link_dialog, replace
  with ::new_link_popover, hook up the new popover's signals there as
  appropriate.
  (ComposerWidget::on_insert_link): Create and show a lin popover instead
  of a dialog.

* ui/composer-web-view.js: Take note of whther the context node is a link
  and if so, also it's href. Include both when serialsing for the
  cursorContextChanged message. Add serialisation tests.

* ui/composer-link-popover.ui: New UI for link popover.
2017-02-01 00:41:44 +11:00
Michael James Gratton
d2fac49e18 Remove now-empty util-random.vala file. 2017-02-01 00:41:43 +11:00
Michael James Gratton
d542dda48e Begin the WebKit2 port in earnest.
Replace StylishWebView with ClientWebView, to act as a common base class
for the composer, conversation and other uses of web views.

Introduce a ComposerWebView that replaces WebviewEditFixer and extends
ClientWebView, and adds (dummy for now) methods for ComposerWidget to
call. Simiarly, make ConversationWebView extend ClientWebView, add dummy
calls to support the conversation viewer classes. Move common code from
both into ClientWebView.

Add a web-process library, unused other than for compile-time checking,
and move all client functions and methods involving DOM objects into util
classes there.

Bug 728002
2017-02-01 00:41:43 +11:00
Alan Mortensen
aa2ef1a28a Updated Danish translation 2017-01-09 16:03:12 +01:00
Josef Andersson
c68810a6b6 Update Swedish translation 2017-01-04 22:57:07 +00:00
Mario Blättermann
11ab1e099a Update German translation 2016-12-29 11:13:44 +00:00
Rafael Fontenelle
118fcbe583 Update Brazilian Portuguese translation 2016-12-27 09:08:39 +00:00
Daniel Mustieles
77346fb5f2 Update Spanish translation 2016-12-21 16:25:13 +00:00
Marek Cernocky
d6faffb72e Updated Czech translation 2016-12-20 09:23:11 +01:00
Ronan Arraes Jardim Chagas
f9a09dafad Update Brazilian Portuguese translation 2016-12-18 15:10:10 -02:00
Dušan Kazik
df1cdf1456 Update Slovak translation 2016-12-16 15:41:24 +00:00
Piotr Drąg
94f33b4c44 Update Polish translation 2016-12-16 02:24:34 +01:00
Niels De Graef
4b5b2ee6e1 Use "org.gnome.Geary" for the app ID. Bug 766196. 2016-12-08 12:53:52 +01:00
Muhammet Kara
b582b40f59 Update Turkish translation 2016-11-30 21:22:40 +00:00
Niels De Graef
776eebd48e Clean up MainWindow. Bug 775006.
* Use GtkTemplate to simplify layout.
* Prefix instance variables with this.
* Extract helper methods for clarity.

Signed-off-by: Niels De Graef <nielsdegraef@gmail.com>
2016-11-30 18:46:18 +11:00
Piotr Drąg
7663ccd8a4 Update Polish translation 2016-11-27 17:34:08 +01:00
Dušan Kazik
a470412d67 Update Slovak translation 2016-11-24 20:04:36 +00:00
Alan Mortensen
5f92d6fd7d Updated Danish translation 2016-11-24 16:46:03 +01:00
hanniedu
e1bbba13fd Updated Dutch translation Master 3.24 2016-11-15 16:34:41 +01:00
Niels De Graef
4f404b15d4 Use GtkTemplate for the MainToolbar
Bug 773728.

Signed-off-by: Niels De Graef <nielsdegraef@gmail.com>
2016-11-15 16:05:04 +11:00
Niels De Graef
8189e4cadd Removed the PillBar classes (i.e. PillBar, PillHeaderbar and PillToolbar). Bug 773728.
Signed-off-by: Niels De Graef <nielsdegraef@gmail.com>
2016-11-15 16:05:04 +11:00
Mario Blättermann
11005a19de Update German translation 2016-11-11 21:15:33 +00:00
Ask Hjorth Larsen
077e9911d1 Updated Danish translation 2016-11-09 21:42:34 +01:00
Benedikt M. Thoma
f5a3e9860c Update German translation 2016-10-30 20:14:31 +00:00
E T
1b80419dc7 Update Turkish translation 2016-10-24 07:29:34 +00:00
Balázs Meskó
0c8f2a8984 Update Hungarian translation 2016-10-18 07:23:28 +00:00
Dušan Kazik
579b63eb64 Update Slovak translation 2016-10-17 15:50:01 +00:00
Marek Černocký
46f2a78c21 Updated Czech translation 2016-10-17 08:53:29 +02:00
Marek Černocký
b8c68d86b4 Updated Czech translation 2016-10-16 22:50:56 +02:00
Piotr Drąg
da894136fa Update Polish translation 2016-10-16 19:31:59 +02:00
Dušan Kazik
dad21d9ef4 Update Slovak translation 2016-10-12 19:19:11 +00:00
Piotr Drąg
a88151afdd Update Polish translation 2016-10-09 09:23:49 +02:00
Michael James Gratton
5939509437 Remove non-existent source file from POTFILES.in. Bug 765516. 2016-10-08 03:32:29 +11:00
Michael James Gratton
898fa3303d Convert the conversation viewer to use GTK widgets. Fixes Bug 765516.
Merge branch 'wip/765516-gtk-widget-conversation-viewer'
2016-10-07 23:14:16 +11:00
Marek Černocký
6c763cec65 Updated Czech translation 2016-10-06 10:35:07 +02:00
Marek Černocký
2522e27b24 Updated Czech translation 2016-10-04 14:34:23 +02:00
Gábor Kelemen
c10ac8117b Updated Hungarian translation 2016-10-04 11:48:07 +00:00
Michael James Gratton
86c67e0beb Rename source file for ConversationListBox to match convention. 2016-10-04 10:58:17 +11:00
Michael James Gratton
fa84010133 Remove obsolete ConversationFindBar class and related code. 2016-10-04 10:58:17 +11:00
Michael James Gratton
9c813eaacb Replace Gtk.IconView with FlowBox for displaying email attachments. 2016-10-04 10:58:17 +11:00
Michael James Gratton
d467647153 Break out ListBox used to display conversations into standalone widget.
The conversation viewer's ListBox is sufficiently complex to warrant its
own widget. Use empty placeholders for the list per the HIG, and
correctly fix mamagement of empty folder vs no conversations selected
this time.

* src/client/application/geary-controller.vala (GearyController):
  Directly manage secondary parts of the conversation viewer, since the
  controller since it has a better and more timely idea of when a
  conversation change is due to folder loading status or from the user
  selecting conversations, and so the viwer doesn't need to hook back
  into the controller. Remove the now-unused conversations_selected
  signal and its callers.

* src/client/conversation-viewer/conversation-listbox.vala: New widget
  for displaying the list of emails for a conversation. Moved relevant
  code from ConversationViewer here. Made adding emails async to get
  better UI responsiveness. Don't implement anything to handle
  conversation changes or emptying the list.

* src/client/conversation-viewer/conversation-viewer.vala: Replace user
  messages - empty folder/search & no/multiple messages selected with new
  EmptyPlaceholder. Remove a lot of the state manage code needed when
  managing the email listbox. Add a new ConversationListBox for every new
  conversation and just throw away.

* src/client/conversation-list/conversation-list-view.vala
  (ConversationListView): Clean up firing the conversations_selected
  signal - don't actually emit it when the model is clearing, and don't
  bother delaying the check either.

* src/client/components/empty-placeholder.vala: New widget for displaying
  empty list and grid placeholders per the HIG.

* src/client/conversation-viewer/conversation-email.vala
  (ConversationEmail): Make manually read a property, since it
  effectively is one.

* src/CMakeLists.txt: Include new source files.

* po/POTFILES.in: Include new source and UI files, and some missing ones.

* ui/CMakeLists.txt: Include new UI files.

* ui/conversation-viewer.ui: Replace user message and splash page with
  placeholders for the new empty placeholders(!).

* ui/empty-placeholder.ui: UI def for new widget class.

* ui/geary.css: Chase widget name/class changes, style new
  empty placeholder UI.
2016-10-04 10:58:17 +11:00
Michael James Gratton
50dab794f3 Add missing file to POTFILES.in. 2016-10-04 10:58:17 +11:00
Michael James Gratton
82530d12a7 Re-enable the message context menu.
* src/client/conversation-viewer/conversation-message.vala
  (ConversationMessage): Add a simple action group namespaced as "msg"
  for actions under the message's scope, add actions to it for the
  context menu. Track the currently selected DOM element under the
  context menu so we can update action enabled state, etc., based on
  it. Construct the context menu as needed, update signal & event
  handlers as needed.

* src/client/conversation-viewer/conversation-email.vala
  (ConversationEmail): Add new save-image signal, chain emission from
  added ConversationMessage instance's save-image signal to this.

* src/client/application/geary-controller.vala (GearyController): Chase
  on_save_buffer_to_file signal moving to ConversationEmail and being
  renamed to save_image.

* src/client/conversation-viewer/conversation-viewer.vala: Remove uneeded
  signal.

* ui/conversation-message-menus.ui: New UI file for ConversationMessage
  context menu.

* ui/CMakeLists.txt: Incude ConversationMessage UI in the resources.

* po/POTFILES.in: Add new UI file.
2016-10-04 10:58:17 +11:00