Commit Graph
1728 Commits
Author SHA1 Message Date
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
Chao-Hsiung Liao a52bea67dd Updated Chinese (Taiwan) translation 2016-02-23 02:38:00 +00:00
Daniel Mustieles 75ce693548 Updated Spanish translation 2016-02-22 21:24:37 +01:00
Isaque Galdino 1e2a0d1a3d year-view: Change week numbers style
Week numbers in year view was using a small and very light style and
that was making difficult for users to be able to read it.

After a few conversation with gnome-design team, they proposed the best
approach it would be to use the same style as gnome-shell panel does.

The week numbers style was changed to be as close as possible to the
gnome-shell panel.

https://bugzilla.gnome.org/show_bug.cgi?id=759354
2016-02-22 00:04:08 -03:00
Georges Basile Stavracas Neto e067e8cf73 event-widget: disconnect from event's signals on finalize
When we finalize, we remove the event. Normally this means
that the event also gets finalized, as the widget almost
always holds the only reference to the event.

However, there are some rare cases where we finalize the widget
but not the event. If the event the updates the color or the
summary, we try to redraw the finalized widget and crash.

Fix that by disconnecting the signals when finalizing the widget.
2016-02-22 00:02:59 -03:00
Georges Basile Stavracas Neto e4bfdb7ed2 event: plug a memory leak 2016-02-22 00:02:59 -03:00
Anders Jonsson b20baac1e5 Updated Swedish translation 2016-02-21 21:18:08 +00:00
Tom Tryfonidis 107ba7f9b4 Updated Greek translation 2016-02-20 09:56:47 +00:00
Мирослав Николић d16770a809 Updated Serbian translation 2016-02-18 18:59:06 +01:00
Georges Basile Stavracas Neto 079750561a window: remove queued event on finalize
When the user removes an event, we first hide it and,
after a timeout, we remove it. The problem is that if
the user closes the window before the timeout is fired,
the event never gets deleted.

Fix that by deleting the event on finalize if there's
any event queued.

https://bugzilla.gnome.org/show_bug.cgi?id=762284
2016-02-18 15:36:56 -02:00
Georges Basile Stavracas Neto d5cd6c7fc9 window: don't block mainloop when showing dialogs
By using gtk_dialog_run(), we enter in a recursive mainloop
which blocks the parent's one. Because of that, we see weird
things like the quick add popover not still floating around.
2016-02-18 15:28:17 -02:00
Dušan Kazik 8e35063b7c Updated Slovak translation 2016-02-18 15:30:50 +00:00
Georges Basile Stavracas Neto 9df6a37fd9 edit-dialog: fix more timezone issues 2016-02-18 10:27:53 +01:00
Mario Blättermann 078f39a85e Updated German translation 2016-02-18 09:03:44 +01:00
Georges Basile Stavracas Neto fd6d6e97c9 quick-add-popover: fix event creation again 2016-02-18 04:02:46 -02:00
Georges Basile Stavracas Neto 21aa8ecde4 event-widget: simplify rendering code 2016-02-18 04:02:46 -02:00
Fábio Nogueira 2ed3bf4316 Updated Brazilian Portuguese translation 2016-02-18 05:57:41 +00:00
Georges Basile Stavracas Neto 1a77668b40 style: improve style 2016-02-18 02:11:08 -02:00
Georges Basile Stavracas Neto 83d49be004 style: match single and multi day event themes
We were using different border radius values, and this
commit unifies them.
2016-02-18 02:09:54 -02:00
Georges Basile Stavracas Neto 47bf180809 month-view: fix bottom event overflow calc
We draw a sector of height = bottom_padding * 2 + font_height,
but we calculate it wrongly. Fix that by correctly multiplying
by 2.
2016-02-18 02:08:16 -02:00
Georges Basile Stavracas Neto 6775ffd7b3 edit-dialog: edit datetimes in the system timezone
The dates are adjusted to the system timezone when an
event is set, and we adjust it back to the event's zone
when we save and close the dialog.
2016-02-18 01:28:42 -02:00
Georges Basile Stavracas Neto beac852401 year-view: adjust hours to local timezone
The same principle of month view's overflow popover.
2016-02-18 04:13:34 +01:00
Georges Basile Stavracas Neto 86c6e5da87 quick-add-popover: set local timezone when editing the event
If we add directly from the quick add popover, the event is
all day by default. If we're editing the event, it may or
may not be an all day event. In that case, if the user decides
to give it a time, we want it to be in the local timezone.
2016-02-18 04:03:09 +01:00
Georges Basile Stavracas Neto e5cd5ba7f5 edit-dialog: set UTC timezone when event is all day
This is part of the definition of an all day event.
2016-02-18 04:02:37 +01:00
Georges Basile Stavracas Neto 1af016e2d5 month-view: use adjust hours on popover headers
If an event is from a different timezone, the headers of
the overflown popover should be translated to the current
timezone.

For example, if an event happens at 17h -0300, the translated
hour is 22h +0200. The current code already handles these
differnces, but the listbox row wasn't updated.
2016-02-18 03:42:41 +01:00
Georges Basile Stavracas Neto 2bb5f42b66 edit-dialog: forbid editing times when source is readonly 2016-02-18 03:34:48 +01:00
Georges Basile Stavracas Neto b1184978b1 window: use GDateTimes to pass the range
Another case where we can improve the code by porting
to GLib's api.
2016-02-18 03:31:35 +01:00
Georges Basile Stavracas Neto 5a75abb52e data-model: fix boudaries' checks
The end date is non-incluse, as defined by the iCalendar
protocol.
2016-02-18 03:31:35 +01:00
Balázs Meskó 19a3650d21 Updated Hungarian translation 2016-02-17 23:19:56 +00:00
Piotr Drąg 4e9aadfdd8 Updated Polish translation 2016-02-17 22:22:34 +01:00