Commit Graph
1769 Commits
Author SHA1 Message Date
Georges Basile Stavracas Neto 1f021f8da2 month-view: fix one more child context issue
The code for multiday events was broken as well.
2016-03-09 17:42:21 -03:00
Georges Basile Stavracas Neto 34a6ac389a view: update interface code
This commit updates GcalView interface to use
modern GLib API and, consequently, removes tons
of obsolete code.
2016-03-09 14:19:04 -03:00
Georges Basile Stavracas Neto 042a9b34ab month-view: emit dates in local timezone 2016-03-09 12:22:06 -03:00
Georges Basile Stavracas Neto 7d3e125012 event-widget: remove obsolete comment 2016-03-09 12:07:05 -03:00
Georges Basile Stavracas Neto 1c52e36c71 month-view: match style context state from child
We were mistakenly using the style context of the view
to retrieve the child's margin.

Fix that by retrieving the child margin from the child's
style context.
2016-03-09 12:04:28 -03:00
Isaque Galdino d7daa8fe29 year-view: Week numbers overlapping view edge
In some conditions when window is narrower than taller, week numbers
overlaps the view edge. That problem started after we added a
background to week numbers and moved it a little farther from the days.
The whole drawing function didn't take in account the space used by the
week numbers.

To fix that we had to move the whole drawing area and start to count the
space for the week numbers. We also had to change the logic to find the
day and month based on x,y coordinates.

https://bugzilla.gnome.org/show_bug.cgi?id=763251
2016-03-09 11:19:52 -03:00
Georges Basile Stavracas Neto fef23f1243 search-view: don't load events with no dtstart 2016-03-09 11:19:52 -03:00
Duarte Loreto a0fdcf5d2c Updated Portuguese translation 2016-03-09 01:52:15 +00:00
Marek Černocký 2e0e418c49 Updated Czech translation 2016-03-08 18:07:29 +01:00
Iain Lane ace87328a9 event: If no end date is given, make the event be all_day explicitly
Previously we were synthesising an end date of "start + 1 day", but this
isn't necessary. RFC 2445 tells us that no end date already means an all
day event.

Check this case directly.

https://bugzilla.gnome.org/show_bug.cgi?id=762985
2016-03-08 16:36:41 +00:00
fosero ba78e54916 month-view: initial selection on current day
Create the month view with the initial selection on the current day.

https://bugzilla.gnome.org/show_bug.cgi?id=763149
2016-03-08 12:59:48 -03:00
Marcos Lans b123ceabe8 Updated Galician translation 2016-03-08 09:40:32 +00:00
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