Commit Graph
2181 Commits
Author SHA1 Message Date
Georges Basile Stavracas Neto 81873994da views: protect against invalid drop
If the user tries to drop a e.g. file, GNOME Calendar crashes
immediately.

While the desired behavior would be checking if that's an ics file,
lets just not crash for now.

https://bugzilla.gnome.org/show_bug.cgi?id=771680
2016-09-27 22:41:17 -03:00
Georges Basile Stavracas Neto 10391ae6a9 manager: setup default calendar on event creation
When an event is successfully created, make that the default source.

https://bugzilla.gnome.org/show_bug.cgi?id=771570
2016-09-27 22:35:48 -03:00
Georges Basile Stavracas Neto df13ac2a59 quick-add-popover: track default calendar
Update the selected calendar when the default one changes.

https://bugzilla.gnome.org/show_bug.cgi?id=771570
2016-09-27 22:30:11 -03:00
Georges Basile Stavracas Neto dfdcb7c29c manager: add ::default-calendar property
This property acts as a proxy to ESourceRegistry::default-calendar
and will be used by future patches to track when the default calendar
changes.

https://bugzilla.gnome.org/show_bug.cgi?id=771570
2016-09-27 22:28:59 -03:00
Georges Basile Stavracas Neto 97f8979c53 month-view: hide overflow popover on drag and drop
When the user starts a drag operation from the overflow popover,
it should hide itself, otherwise it can block dropping the event
below it. Currently, this is not what happens.

Fix that by making the overflow popover a drag and drop target,
and hide it when it detects drag movement.

https://bugzilla.gnome.org/show_bug.cgi?id=771663
2016-09-27 21:48:07 -03:00
Georges Basile Stavracas Neto a76d40d290 quick-add-popover: only show writable calendars
There is no reason to display read-only calendars, since the
user can't add any events on it.

Fix that by only showing writable calendars.

https://bugzilla.gnome.org/show_bug.cgi?id=768324
2016-09-27 21:30:43 -03:00
Georges Basile Stavracas Neto 9da6896105 manager: remove unused ::source-activated signal
We're not using it anymore, no need to keep it here.

https://bugzilla.gnome.org/show_bug.cgi?id=768324
2016-09-27 21:29:49 -03:00
Georges Basile Stavracas Neto 3ef45ccf9f quick-add-popover: focus the summary entry when shown
So the user can start typing right away.
2016-09-27 21:20:45 -03:00
Georges Basile Stavracas Neto 96626352d3 month-view: calculate popover events on a per-event basis
Since we need to special-case the datetimes to deal with UTC
all day events, using a general local GTimeZone would cause
the cloned all-day events to show wrongly inside the popover.

Fix that by calculating each event's start and end dates according
to the all day events.

https://bugzilla.gnome.org/show_bug.cgi?id=771655
2016-09-27 21:08:09 -03:00
fosero 090d7d9c42 edit-dialog.ui: Allow notes scroll while non-editable
Allow scrolling of the GtkTextview in non-editable state. Also show the
cursor when editable.

https://bugzilla.gnome.org/show_bug.cgi?id=771485
2016-09-27 21:05:56 -03:00
gogo 8d4d7f40ac Added Croatian translation 2016-09-22 21:01:51 +00:00
Khaled Hosny 0d4f50cb3d Update Arabic translation 2016-09-21 08:47:52 +02:00
Georges Basile Stavracas Neto 54470d21e9 Bump 3.22.0 release 2016-09-19 16:28:45 -03:00
Daniel Korostil a555c2dcc8 Updated Ukrainian translation 2016-09-17 19:50:27 +03:00
Stas Solovey 0d7f862f02 Updated Russian translation 2016-09-16 12:49:51 +00:00
Tom Tryfonidis 862330e72e Updated Greek translation 2016-09-16 11:10:30 +00:00
Inaki Larranaga Murgoitio 0aea87e52d Update Basque language 2016-09-16 09:11:37 +02:00
Alan Mortensen 6d43ae1b66 Updated Danish translation 2016-09-15 14:36:01 +02:00
Georges Basile Stavracas Neto 84bcfdc4bf Bump 3.21.92 release 2016-09-14 16:44:14 -03:00
Georges Basile Stavracas Neto e9a5a12d5e date-selector: remove hack
Seems like Gtk+ fixed the positioning code, and we don't
need this hack anymore.
2016-09-14 16:11:33 -03:00
Georges Basile Stavracas Neto 18c5607d87 edit-dialog: fix typo 2016-09-14 16:11:22 -03:00
Georges Basile Stavracas Neto 4e7706847e project: bump gtk+ min version
We use features of the latest release 3.21.6, so make it a
requirement.
2016-09-14 14:16:37 -03:00
Georges Basile Stavracas Neto 08fcf33a28 event-widget: don't DnD read-only events
Read-only events can't be moved, so don't allow it.

https://bugzilla.gnome.org/show_bug.cgi?id=771116
2016-09-14 14:10:13 -03:00
Georges Basile Stavracas Neto 7104c95ffb month-view: fix DnD highlight
https://bugzilla.gnome.org/show_bug.cgi?id=771115
2016-09-14 14:01:37 -03:00
Georges Basile Stavracas Neto f25c3675cd quick-add-popover: let calendar list be the same height 2016-09-14 13:47:37 -03:00
Georges Basile Stavracas Neto 50aa895347 edit-dialog: limit and ellipsize title
So it doesn't grow endlessly.

https://bugzilla.gnome.org/show_bug.cgi?id=771400
2016-09-14 13:18:37 -03:00
Ernestas Kulik fd4ba42b2b window: propagate calendar list children height
Without propagating the children height in the calendar popover scrolled
window, the list does not grow vertically.

https://bugzilla.gnome.org/show_bug.cgi?id=771399
2016-09-14 13:13:36 -03:00
Ernestas Kulik f11edee48f quick-add-popover.ui: propagate children height in calendar list
Due to changes in GTK+, scrolled windows do not propagate the natural
sizes of their children by default, which results in a tiny calendar
list.

https://bugzilla.gnome.org/show_bug.cgi?id=771401
2016-09-14 12:30:52 -03:00
Fran Dieguez 30cb2304fe Updated Galician translations 2016-09-10 01:02:32 +02:00
Arash Mousavi a8ce6b397e [l10n] update Persian translations 2016-09-09 18:16:05 +04:30
Fran Dieguez ba3d44c9ad Updated Galician translations 2016-09-08 23:41:16 +02:00
Anders Jonsson 2206abc2f0 Updated Swedish translation 2016-09-08 07:58:34 +00:00
Hannie Dumoleyn d31b7025fb Updated Dutch translation Master 2016-09-07 13:11:54 +02:00
Tiago Santos 30e65a3a45 Updated Portuguese translation 2016-09-07 05:22:47 +00:00
GNOME Translation Robot e07eb3916e Updated Scottish Gaelic translation 2016-09-05 12:49:00 +00:00
David King 5676c9aff0 Update British English translation 2016-09-04 15:49:22 +02:00
David King b37f7e4ce8 Update to British English translation 2016-09-04 12:02:35 +02:00
Aurimas Černius 56a4aebf4c Updated Lithuanian translation 2016-09-04 12:34:10 +03:00
Charles Monzat f682ddc8fc Updated French translation 2016-09-03 17:27:02 +00:00
Seong-ho Cho 91b0d0cc01 Updated Korean translation 2016-09-03 09:25:24 +00:00
Rūdolfs Mazurs c1eee97805 Update Latvian translation 2016-09-01 22:15:13 +03:00
Dominique Leuenberger 1b90c8b413 month-view: initialize variable
Some compilers seem to be over-pessimistic and abort the build with:

 gcal-month-view.c: In function 'gcal_month_view_drag_drop':
 gcal-month-view.c:908:32: error: 'timespan' may be used uninitialized in this function [-Werror=maybe-uninitialized]
            GDateTime *new_end = g_date_time_add (new_start, timespan);

Even though the usage of the variable is guarded by an equal if as the assignment

https://bugzilla.gnome.org/show_bug.cgi?id=770667
2016-08-31 17:16:40 -03:00
Georges Basile Stavracas Neto faf61122fd Bump 3.21.91 release 2016-08-30 01:14:42 -03:00
Georges Basile Stavracas Neto 56ae69d6c4 edit-dialog: keep start and end dates synchronized
Never let them enter in an invalid state, where the end
date is ahead of the start date.

https://bugzilla.gnome.org/show_bug.cgi?id=770263
2016-08-30 00:30:58 -03:00
Georges Basile Stavracas Neto 3560a9de43 edit-dialog: fix insensitive time choosers
They are hidden now, no need to handle the sensitive
state of them as well.
2016-08-30 00:30:58 -03:00
Georges Basile Stavracas Neto a483af3741 edit-dialog: simplify sensitive state handling
Instead of manually handling every single widget, simply
sync the GtkWidget:sensitive property of the topmost box.
2016-08-30 00:30:58 -03:00
Georges Basile Stavracas Neto cd50bec506 project: fix build warnings
https://bugzilla.gnome.org/show_bug.cgi?id=770466
2016-08-29 23:08:39 -03:00
Ernestas Kulik 1cb71ea4a9 Don’t use GNOME_COMPILE_WARNINGS
GNOME_COMPILE_WARNINGS is still being used, despite its deprecated
status. This commit also tweaks configure.ac a little, removing
redundant macro calls and definitions and quoting all macro arguments.

https://bugzilla.gnome.org/show_bug.cgi?id=770466
2016-08-29 21:43:08 -03:00
Baurzhan Muftakhidinov b06474e065 Updated Kazakh translation 2016-08-28 10:15:40 +00:00
Мирослав Николић b6c7ae5cdf Updated Serbian translation 2016-08-28 08:53:27 +02:00