Commit Graph
2287 Commits
Author SHA1 Message Date
Georges Basile Stavracas Neto 8102912541 window: set the correct date range for week view
Previous commits broke the week view's date range (more
than it was already broken). This patch fixes that by
using the correct method to get the week start.

https://bugzilla.gnome.org/show_bug.cgi?id=779967
2017-03-15 00:02:17 +05:30
Yuri Myasoedov f3a2790ab9 Updated Russian translation 2017-03-13 21:16:29 +04:00
Yash Singh 6f87ada70d window: set edit dialog's event to NULL after saving
Earlier the app used to crash when a new event was added using the
'Edit Details' buttion/dialog. This was happening because edit dialog's
event was set to NULL before the event was being stored in the calendar
through the 'edit_dialog' and hence the app was crashing.

This patch fixes the above-mentioned issue by saving the event before
setting the edit dialog's event to NULL.

https://bugzilla.gnome.org/show_bug.cgi?id=779733
2017-03-12 12:42:02 -03:00
Fran Dieguez a2d10a287f Update Galician translation 2017-03-11 02:09:01 +00:00
Georges Basile Stavracas Neto 97698ad1c9 week-header: use a proper function to queue redraw
We were using gtk_widget_queue_draw() as a callback to
a GTimeoutSource, which expects a boolean return type.
This is clearly wrong, and has the chance to cause
a segmentation fault.

Fix that by passing a function with the apropriate signature.

https://bugzilla.gnome.org/show_bug.cgi?id=779823
2017-03-10 08:00:39 -03:00
Milo Casagrande 99b7e0eb48 Update Italian translation 2017-03-09 22:24:39 +00:00
Dušan Kazik 8ba8ba87be Update Slovak translation 2017-03-08 19:47:44 +00:00
Marek Cernocky 92fedc784d Updated Czech translation 2017-03-08 17:11:24 +01:00
Cédric Valmary 2243302731 Update Occitan translation 2017-03-07 16:56:32 +00:00
Georges Basile Stavracas Neto 36cabc0aff Revert "edit-dialog: fix date span backward"
This reverts commit 1228f05a90.
2017-03-06 22:19:34 -03:00
Andrei Ceapa 1228f05a90 edit-dialog: fix date span backward
The problem is that the end date might change to one before the
start date when modifying the start time.

Treat some cases taking into consideration the start date and start
time related to the fact that an event is spanning all day or not.
Separate the handling of the start date and start time.

https://bugzilla.gnome.org/show_bug.cgi?id=772100
2017-03-06 21:56:11 -03:00
Georges Basile Stavracas Neto e406f93239 event-widget: escape event summary
Now that we may set event markups, we have
to be careful to escape the event summary
and make sure that we always pass a valid
markup.
2017-03-06 21:56:11 -03:00
Alan Mortensen ec9ab38e6e Updated Danish translation 2017-03-06 12:46:25 +01:00
Valentin Negoescu 7aa4cefa8e source-dialog: update calendar image color
After editing the color of a calendar its image is not
updated as well. Fix this by updating the image when the
edit is finished.

https://bugzilla.gnome.org/show_bug.cgi?id=773869
2017-03-05 20:51:26 -03:00
Georges Basile Stavracas Neto eb10c84811 window: fix warning 2017-03-05 20:36:41 -03:00
Georges Basile Stavracas Neto 31aa709487 week-header: fix placement of events
When the first weekday wasn't monday, we were
miscalculating the initial and final positions
of the widgets.

Fix that by properly calculating the initial and
final positions.
2017-03-05 20:32:33 -03:00
Georges Basile Stavracas Neto 0d27d36218 window: correctly subscribe the week view
The week view was being subscribed to the wrong dates,
because the window was miscalculating the start of week
on sundays.

Fix that by properly calculating the start of week offset.
2017-03-05 20:31:34 -03:00
Georges Basile Stavracas Neto 1d8993d450 window: use gcal_clear_datetime
We have our own macro to make the code a little bit
more pleasant to read, let's just use it.
2017-03-05 20:30:08 -03:00
Мирослав Николић 7c7e7d4f1e Updated Serbian translation 2017-03-05 22:05:16 +01:00
Seong-ho Cho c4303685c0 Update Korean translation 2017-03-05 17:04:15 +00:00
Paul Seyfert 1f8d7d9107 Update German translation 2017-03-05 12:29:46 +00:00
Kukuh Syafaat b751a2fa8a Update Indonesian translation 2017-03-05 10:38:18 +00:00
Jordi Mas 7ede240866 Update Catalan translation 2017-03-04 20:06:31 +01:00
Jordi Mas 267647f7d7 Update Catalan translation 2017-03-04 20:06:03 +01:00
Aurimas Černius 25c344bf41 Updated Lithuanian translation 2017-03-04 17:31:23 +02:00
George Willian Condomitti 1ee760ac5c search-view: start searching after 3 characters and 500ms
Add timeout and minimum string length (3 characters) before triggering
searching routine.

App freezes and lags for a few seconds once one starts typing due to
the huge amount of matched events.

Search will be triggered only if passed time since last inserted
charactere is at least 500ms and three characteres have been entered.
If length is already >= 3 but user keeps typing in a quick fashion
(i.e. faster than 500ms per charactere) pre-scheduled search routine
(timeout from the last inserted char) is cancelled and a new one
is created.

https://bugzilla.gnome.org/show_bug.cgi?id=775549
2017-03-03 21:14:52 -03:00
Inaki Larranaga Murgoitio 4d7501f9dc Update Basque language 2017-03-02 19:40:33 +01:00
Joyjit Choudhury 06cdeb61ed week-view: set the first weekday for week-header & week-grid
In this commit, the first weekday is set for week-header & week-grid.

The issue is, the first weekday is being set only for week-view,
resulting in incorrect display of weekdays in the week-header.

To fix this, the first weekday for week-header & week-grid is set
along with that of week-view.

https://bugzilla.gnome.org/show_bug.cgi?id=779346
2017-03-02 07:20:31 -03:00
Piotr Drąg d4c070217f Update Polish translation 2017-03-02 01:49:04 +01:00
Chao-Hsiung Liao f338b6a336 Update Chinese (Taiwan) translation 2017-03-02 00:15:15 +00:00
Rafael Fontenelle 8b2971bcaa Update Brazilian Portuguese translation 2017-02-28 21:11:10 +00:00
Jiri Grönroos 472178058c Update Finnish translation 2017-02-28 18:41:00 +00:00
Georges Basile Stavracas Neto 5b48fd528d Bump 3.23.91.1 release 2017-02-28 12:21:36 -03:00
Georges Basile Stavracas Neto 816f6410c3 project: add Isaque as a maintainer 2017-02-28 12:19:22 -03:00
Georges Basile Stavracas Neto a1e7ab7324 Bump 3.23.91 release 2017-02-28 08:43:51 -03:00
Georges Basile Stavracas Neto 4a65483164 project: update NEWS from other branches 2017-02-28 08:34:22 -03:00
Georges Basile Stavracas Neto ef46755f3c project: update TODO 2017-02-27 19:52:14 -03:00
Anders Jonsson ebb5086b25 Update Swedish translation 2017-02-27 18:01:23 +00:00
Balázs Meskó 3d3e63414d Update Hungarian translation 2017-02-27 14:18:23 +00:00
Baurzhan Muftakhidinov e1b2085e7d Update Kazakh translation 2017-02-27 12:44:41 +00:00
Isaque Galdino 0bf0c9e7cf multi-choice: Fix endless timeout
There are two mapped events for each back/forward buttons in this
widget: button-press and button-release.

When you reach the limits like January and December, button-release is
lost, and you don't get it anymore. That caused button_timeout function
to not be disable anymore, so it's kept in loop forever.

This code fix checks in button_timeout function if any of the back/
forward buttons are still mapped. If not, it prevents from calling
button_timout, stopping the loop.

https://bugzilla.gnome.org/show_bug.cgi?id=776459
2017-02-27 08:46:52 -03:00
Georges Basile Stavracas Neto e69c9aa09c week-header: fix untranslated strings 2017-02-27 08:46:52 -03:00
Fran Dieguez 34f541640c Update Galician translation 2017-02-26 21:46:55 +00:00
Fran Dieguez a14d871174 Updated Galician translations 2017-02-26 22:34:50 +01:00
Balázs Meskó 76c8880cd4 Update Hungarian translation 2017-02-26 12:04:15 +00:00
Мирослав Николић 62514e7e64 Updated Serbian translation 2017-02-26 08:22:43 +01:00
Fabio Tomat b5cdfdcce6 Update Friulian translation 2017-02-24 22:47:47 +00:00
Chao-Hsiung Liao e162e128d2 Update Chinese (Taiwan) translation 2017-02-23 23:57:16 +00:00
Rafael Fontenelle 9012b64db1 Update Brazilian Portuguese translation 2017-02-21 19:46:29 +00:00
Milo Casagrande a13eab68bc Update Italian translation 2017-02-21 17:05:24 +00:00