Commit Graph
1757 Commits
Author SHA1 Message Date
Monique Faria e48c585c94 event: fix crash when no end date is given
In this commit, we fixed a crash report that occurred when an event had no end date.

Events with no end dates are all-day, 1-day length events. But, when an event with no end date set was synchronized with calendar (happened mostly with birthdays), it caused crashes, because the function responsible for getting the end date received NULL.

To correct this, we considered that end = start + 1day when no end date is set. With this, the mistake was corrected. Another thing that was correct along with this were two memory leaks, caused by the allocation of both end and start date that were not been freed.

https://bugzilla.gnome.org/show_bug.cgi?id=762985
2016-03-08 00:48:16 -03:00
Марко М. Костић 948b11fb1c Updated Serbian translation 2016-03-07 10:39:48 +01:00
pandusonu2 69e1fdd5f3 window: add can_focus property to GcalMonthView
In the commit, we made the initial value of can_focus for month-view to be set true, which was by default taken to be false.

The problem is that when we open the month-view in gnome calendar, the input focus is not set to the month view which resulted in the failue of navigation keys initially.

To fix this, the default value of the focus is set to true in the window.ui file.

https://bugzilla.gnome.org/show_bug.cgi?id=763160
2016-03-06 20:15:20 -03:00
fosero 2244503a52 edit-dialog: don't try to update locked events
https://bugzilla.gnome.org/show_bug.cgi?id=763187
2016-03-06 19:27:32 -03:00
fosero e464eb6415 event: handle different tzid formats
tzid can have different formats depending on where it originates from:
regular or prefixed by a libical specific identifier. Use the
right icaltimezone_get_builtin_timezone* for each case.

https://bugzilla.gnome.org/show_bug.cgi?id=763180
2016-03-06 17:03:00 -03:00
Daniel Mustieles 681ec191f0 Updated Spanish translation 2016-03-06 20:02:16 +01:00
Bernd Homuth b24743cf3b Updated German translation 2016-03-06 18:33:14 +00:00
Seong-ho Cho 9d1c1e9c51 Updated Korean translation 2016-03-06 14:42:08 +00:00
Dušan Kazik fcdea4bbe2 Updated Slovak translation 2016-03-06 08:14:49 +00:00
Matej Urbančič 7858d1ae4d Updated Slovenian translation 2016-03-05 22:32:27 +01:00
Aurimas Černius c85652811d Updated Lithuanian translation 2016-03-05 21:17:57 +02:00
Efstathios Iosifidis e2cdde34bc Updated Greek translation 2016-03-05 13:59:46 +00:00
Rūdolfs Mazurs 0c274b05aa Update Latvian translation 2016-03-05 15:45:01 +02:00
Anders Jonsson 45f7ffd632 Updated Swedish translation 2016-03-04 19:09:09 +00:00
Balázs Úr ffdd484a3c Updated Hungarian translation 2016-03-04 18:23:18 +00:00
Dušan Kazik e4de4e8f13 Updated Slovak translation 2016-03-03 18:09:40 +00:00
Piotr Drąg a34f9cc2a5 Updated Polish translation 2016-03-03 17:00:26 +01:00
Seong-ho Cho 19279f24db Updated Korean translation 2016-03-03 07:18:47 +00:00
Baurzhan Muftakhidinov 4b7c185b3a Updated Kazakh translation 2016-03-03 05:58:38 +00:00
Enrico Nicoletto 382c0ccd96 Updated Brazilian Portuguese translation 2016-03-03 01:35:45 +00:00
Georges Basile Stavracas Neto 09b79e1cc8 Bump 3.19.91 release 2016-03-02 22:28:53 -03:00
Jiri Grönroos b895f0e656 Updated Finnish translation 2016-03-02 20:41:37 +00:00
Yosef Or Boczko 2a5123d206 Updated Hebrew translation 2016-03-02 12:57:35 +02:00
hanniedu beb00450fe Updated Dutch translation Master 3.20 2016-03-02 10:20:55 +01:00
Isaque Galdino 03b2ac9845 year-view: today button not working
Today button in the headerbar was not working when pressed in the
current year.

Button logic to update side panel was only triggered if there was a
change in the chosen year.

Fixed to update side panel whenever date is changed.

https://bugzilla.gnome.org/show_bug.cgi?id=762463
2016-03-02 01:06:52 -03:00
Rūdolfs Mazurs 10ef10b59a Update Latvian translation 2016-03-01 21:31:22 +02:00
Georges Basile Stavracas Neto 64747e4f80 event: load tzid with icaltimezone_get_builtin_timezone 2016-03-01 15:27:07 -03:00
Georges Basile Stavracas Neto 67e370034a style: fix white on white current day on year view 2016-03-01 01:19:41 -03:00
Georges Basile Stavracas Neto 7be1dd95fa event-widget: draw icons at the end of the widget
Instead of breaking the vertical alignment of events by
drawing icons both at the start and end of the widget,
only draw them by the end.

This commit also improves drawing for RTL locales.
2016-03-01 00:16:49 -03:00
Georges Basile Stavracas Neto 5227f3fcdc event-widget: show start time when event is timed
We differentiate all day events from timed events by their
ordering, but we don't give any visual clues of this
differentiation.

Fix that by adding the start time of the event when it's a
timed event.

https://bugzilla.gnome.org/show_bug.cgi?id=753131
2016-02-29 23:24:14 -03:00
Georges Basile Stavracas Neto d84be66d70 event-widget: bring back alarm icon 2016-02-29 22:20:52 -03:00
Georges Basile Stavracas Neto ab902030e7 edit-dialog: don't destroy the dialog on delete 2016-02-29 18:09:59 -03:00
Jordi Mas 68c56a4cd3 Fixes to Catalan translation 2016-02-29 20:33:26 +01:00
Georges Basile Stavracas Neto a56e6c00c3 event: both start & end dates must be midnight to be all day
https://bugzilla.gnome.org/show_bug.cgi?id=762570
2016-02-29 16:14:22 -03:00
Georges Basile Stavracas Neto 4d170155de event: remove spurious debug message 2016-02-29 16:09:55 -03:00
Georges Basile Stavracas Neto 9a3baf726c edit-dialog: correctly transform the edited datetime 2016-02-29 15:49:36 -03:00
Georges Basile Stavracas Neto ce2c955269 event: correctly store timezones 2016-02-29 15:49:22 -03:00
Georges Basile Stavracas Neto d70613929b utils: fix timezones on event component creation 2016-02-28 14:13:19 -03:00
Georges Basile Stavracas Neto 1cdd73a69a event: format tzid with builtin GDateTime facilities 2016-02-28 14:13:19 -03:00
Georges Basile Stavracas Neto af6f2141ab window: use g_clear_pointer instead of g_date_time_unref
This would handle the case where the datetime is NULL for us.
2016-02-28 14:13:19 -03:00
Kjartan Maraas 9549b20578 Updated Norwegian bokmål translation. 2016-02-28 16:54:41 +01:00
Marek Černocký 2d084670a5 Updated Czech translation 2016-02-28 10:55:14 +01:00
Jordi Mas 6098994624 Update Catalan translation 2016-02-27 16:59:26 +01:00
Georges Basile Stavracas Neto 85f4854a73 quick-add-popover: only multiday events are all day
Everything else is considered a 1h event starting now on
local timezone.
2016-02-26 21:14:30 +01:00
Georges Basile Stavracas Neto e85e55a350 month-view: only send end_date if event is multiday 2016-02-26 21:14:23 +01:00
Georges Basile Stavracas Neto 87620ebbbd event: properly set the timezone 2016-02-26 21:14:23 +01:00
Cédric Valmary 1babb3de8f Updated Occitan translation 2016-02-24 17:13:21 +00:00
fosero 83cf97ecb3 utils: let format_utc_offset handle microseconds
format_utc_offset can be called with the return value of
g_date_time_get_utc_offset returning microseconds in a gint64. It is
also still called with the return value of icaltimezone_get_utc_offset
in seconds. Deal with both.

https://bugzilla.gnome.org/show_bug.cgi?id=762438
2016-02-23 22:05:24 -03:00
Fran Dieguez 83c9d27d90 Updated Galician translations 2016-02-23 20:25:51 +01:00
Daniel Korostil 5a79181e18 Updated Ukrainian translation 2016-02-23 14:40:10 +02:00