Commit Graph
2521 Commits
Author SHA1 Message Date
Piotr Drąg 10f85faa57 Update Polish translation 2017-08-23 01:39:14 +02:00
Marek Cernocky c16407c9d6 Updated Czech translation 2017-08-21 11:57:08 +02:00
Abdullahi Usman df08daad68 month-view: improve dates calculation for RTL languages.
Month view used to calculate the event's start date and end date from
the physical layout of the month and compare it with the event's
original start date and end date to see if there is a change and then
update as necessary by either slanted start or end, when either is/are
not equal to the one in the original start and end dates.

However, the way in which the start date and end date in RTL language are
calculated must be different since the layering of the days in the weeks
are opposite.  Month view uses precalculated days number to mirror the
last week, which already chop off the days_delay number from cell_idx value.
In RTL, this cause issues such that the days are calculated wrongly and a
slanted start or end is visible.  Because the date is not the same as the
original events date, month view thinks that the view needs an update and
so tries to update the view wrongly.

We can fix this by using the cell_idx value to calculate the days and then
substracting the days_delay value after that.

https://bugzilla.gnome.org/show_bug.cgi?id=777426
2017-08-18 23:53:04 -03:00
Iñigo Martínez 1b04e6f4f5 project: Minor meson improvements.
This patch makes some minor improvements to the meson build system.
The changes are as follows:

* Avoid conditional statements when setting config.h values.
* Ordered calendar dependencies.
* Reused variables derived from options.
* Removed unnecessary new line in the output at the configuration's
  end.
* Use set10 function avoiding the trinary operator.
* Removed dependencies on the libgcal dependency, as they are not
  needed.

https://bugzilla.gnome.org/show_bug.cgi?id=786481
2017-08-18 23:06:29 -03:00
Yash Singh 29092fcfe6 edit-dialog: correctly assign repeat widgets' sensitivity
Earlier repeat widgets were sensitive even when
the event selected was read-only. This patch corrects
this behavior and makes the repeat widgets insensitive
when the event is read-only.

https://bugzilla.gnome.org/show_bug.cgi?id=782755
2017-08-18 22:56:44 -03:00
Yash Singh bb58a3a82a edit-dialog: improve vertical spacing between widgets
Earlier the edit-dialog had a grid row-spacing of 18.
This patch changed that row-spacing to 6 and adds
top-margin of 6 px above every widget group. This
ensures that the related widgets are grouped together.

https://bugzilla.gnome.org/show_bug.cgi?id=782755
2017-08-18 22:56:44 -03:00
Милош Поповић 35c415c81d Update Serbian Latin translation 2017-08-17 20:21:49 +00:00
Борисав Живановић ee9683b1c7 Update Serbian translation 2017-08-17 20:20:46 +00:00
Georges Basile Stavracas Neto 282fb5fc33 month-view: don't draw dnd highlight on empty cells
https://bugzilla.gnome.org/show_bug.cgi?id=786102
2017-08-14 23:42:49 -03:00
Georges Basile Stavracas Neto 2a67a3d935 project: update .gitignore 2017-08-14 23:32:48 -03:00
Georges Basile Stavracas Neto 247e786ff0 project: update HACKING and TODO 2017-08-14 23:32:15 -03:00
Muhammet Kara 08c40778bd Update Turkish translation 2017-08-13 12:03:44 +00:00
Georges Basile Stavracas Neto dab25a0465 Bump 3.25.90 release 2017-08-11 14:11:55 -03:00
Georges Basile Stavracas Neto f9cb8823a9 build: generate 'dist' and 'distcheck' targets 2017-08-11 14:09:25 -03:00
Sebastien Bacher 8575e5dd94 In french the day is displayed before the month 2017-08-11 09:49:25 +02:00
Iñigo Martínez 4cb0b14343 project: Renamed the names of the icons' files
The names of icons' files, besides containing the final names, they
also contained the path in which they were going to be installed.
This implies that they have to be renamed on the installation
process.

This patch creates the proper directory tree needed on the
installation process and renames all files' names to their final
names.

https://bugzilla.gnome.org/show_bug.cgi?id=782843
2017-08-10 07:49:16 -03:00
Iñigo Martínez a1d25d2d7e project: Remove autotools
https://bugzilla.gnome.org/show_bug.cgi?id=782843
2017-08-10 07:49:16 -03:00
Iñigo Martínez 4c115249a7 project: Port to meson build system
https://bugzilla.gnome.org/show_bug.cgi?id=782843
2017-08-10 07:19:28 -03:00
Alex Benishek 311195857f Move from GPL 2 to GPL 3
Right now the project contains a mix of GPL 2 and GPL 3 code.
This commit moves all of the perviously GPL 2 code to GPL 3

https://bugzilla.gnome.org/show_bug.cgi?id=752649
2017-08-10 07:16:36 -03:00
Philip Withnall 30fc0b5bc5 src: Drop unused variables
Fixes a compiler warning.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://bugzilla.gnome.org/show_bug.cgi?id=785670
2017-08-10 07:14:39 -03:00
Yash Singh 1ad72b61a3 edit-dialog: make number of occurrences accept only numeric input
Set the numeric property of number of occurrences spin button
to TRUE so that it only accepts numeric input.

https://bugzilla.gnome.org/show_bug.cgi?id=782755
2017-08-10 07:12:10 -03:00
Yash Singh b7de0f3e1f edit-dialog: set proper limits for number of occurrences
Set the lower value as 1 and upper value as G_MAXDOUBLE
to make sure that any negative number, or a number greater
than G_MAXDOUBLE is not accepted.

https://bugzilla.gnome.org/show_bug.cgi?id=782755
2017-08-10 07:12:10 -03:00
Fran Dieguez 843a30beba Update Galician translation 2017-08-08 22:00:21 +00:00
Marek Cernocky 09229f7561 Updated Czech translation 2017-08-03 10:52:59 +02:00
Balázs Meskó f2f39f6d11 Update Hungarian translation 2017-08-01 13:30:17 +00:00
Kjartan Maraas a9264cd572 Updated Norwegian bokmål translation 2017-07-31 10:39:46 +02:00
Georges Basile Stavracas Neto d11ed85a7f month-view: grey out invalid days
It should be very clear that days outside the current
month are actually not valid. The current drawing
algorithm does not differentiate that, thought, and
draws everything at the same color.

Fix that by greying out the days outside the current
month.

https://bugzilla.gnome.org/show_bug.cgi?id=763771
2017-07-30 16:03:39 +01:00
Matej Urbančič 24919cb81a Updated Slovenian translation 2017-07-28 13:59:57 +02:00
Emin Tufan Çetin a4812d66a0 Update Turkish translation 2017-07-28 10:00:37 +00:00
Baurzhan Muftakhidinov 34e5aa69f8 Update Kazakh translation 2017-07-27 05:54:25 +00:00
Pawan Chitrakar fb5bc31fa1 Add Nepali translation 2017-07-26 05:58:42 +00:00
Daniel Mustieles 82169faf52 Updated Spanish translation 2017-07-25 20:12:22 +02:00
gogo bfb107cba4 Update Croatian translation 2017-07-25 17:06:39 +00:00
Aurimas Černius c771dfb3d9 Updated Lithuanian translation 2017-07-24 22:57:45 +03:00
Yash Singh 9a4b7087d7 edit-dialog: hide/show repeat_limits_box
Instead of hiding the individual children of the
repeat_limits_box, hiding the repeat_limits_box
solves alignment issues, where an undesired gap
was visible below the repeat_combo upon opening
the edit-dialog for the first time.

https://bugzilla.gnome.org/show_bug.cgi?id=782755
2017-07-24 11:44:37 -03:00
Yash Singh 81ce012ed7 edit-dialog: remove unused spin_button_set_value
The number_of_occurrences was forcefully set to 0,
due to spin_button_set_value being placed incorrectly.
When a recurring event with limit_type as
GCAL_RECURRENCE_COUNT, having some 'x' number of
recurrences was opened in the edit-dialog, it showed
'0' as number_of_occurrences in place of 'x', which
is incorrect.

This patch removes this unnecessary line of code
and leads to correct assignment of number_of_occurrences.

https://bugzilla.gnome.org/show_bug.cgi?id=782755
2017-07-24 11:44:37 -03:00
Yash Singh a22bec6de3 edit-dialog: set correct value for repeat_combo
repeat_combo was assigned a value after repeat_duration
combo was assigned a value, which changed the value of the
repeat_duration combo due to the repeat_option_changed
function.

This patch fixes this issue by assigning the value to
repeat_combo prior to repeat_duration_combo.

https://bugzilla.gnome.org/show_bug.cgi?id=782755
2017-07-24 11:44:37 -03:00
Yash Singh 22fca75548 edit-dialog: show/hide Repeat widgets correctly
Currently, the repeat widgets - repeat_duration stack
and combobox are visible even when 'No Repeat' is
selected in repeat combobox.

This patch ensures that the repeat widgets are hidden
when 'No Repeat' is selected. When not selected,
repeat_duration_combo becomes visible which itself takes
care of the visibilty of the stack.

https://bugzilla.gnome.org/show_bug.cgi?id=782755
2017-07-24 11:44:37 -03:00
Yash Singh 6db25eacd6 edit-dialog: remove unnecessary condition check
An unnecessary condition check for assigning recurrence-changed
property of edit-dialog was causing a segmentation fault.

This patch removes this condition check and assigns the
recurrence-changed property correctly.

https://bugzilla.gnome.org/show_bug.cgi?id=782755
2017-07-24 11:44:10 -03:00
Jordi Mas e1429fa6b7 Update Catalan translation 2017-07-23 14:50:31 +02:00
Fabio Tomat 72bdee2199 Update Friulian translation 2017-07-20 15:51:00 +00:00
Daniel Mustieles d0fda154a8 Update Spanish translation 2017-07-20 08:09:55 +00:00
Fabio Tomat d0787df330 Update Friulian translation 2017-07-17 10:06:53 +00:00
Christian Kirbach c7f3ecc225 Update German translation 2017-07-16 16:30:11 +00:00
Dušan Kazik c92e3f7933 Update Slovak translation 2017-07-14 19:46:09 +00:00
Kukuh Syafaat c80c712ca4 Update Indonesian translation 2017-07-14 11:36:25 +00:00
Piotr Drąg e9fc3aa2f8 edit-dialog: replace hyphen with an en dash in ranges
See https://developer.gnome.org/hig/stable/typography.html

https://bugzilla.gnome.org/show_bug.cgi?id=772263
2017-07-13 19:24:26 +02:00
Yash Singh 16bce2425e window: pop up recurrence-dialog only when required
Earlier, the recurrence-dialog would pop up even when user only
wanted to change the recurrence-property of an already recurring
event. This is incorrect behavior.

This patch fixes this issue by making sure that recurrence-dialog
doesn't pop up when the new recurrence-property chosen by the
user is different from what the event already has. In this case,
the user only wants to change the recurence-property of the event
and there's no use of the recurrence-dialog.

https://bugzilla.gnome.org/show_bug.cgi?id=782755
2017-07-13 13:32:55 -03:00
Yash Singh 067e8ae765 edit-dialog: add 'Repeat' options for simple recurrences
Currently, creating recurring events is not supported
in gnome-calendar.

This patch adds a Repeat combobox with a list of
simple recurrences such as:

 * Monday - Friday events
 * Daily events
 * Weekly events
 * Monthly events
 * Yearly events

and also a list of recurrence-duration-types such as:

 * If an event should repeat forever
 * A date until which the event should repeat
 * Number of times an event should repeat

It enables the user to create simple recurring events and
even modify the recurrence-property of an already
recurring event.

https://bugzilla.gnome.org/show_bug.cgi?id=782755
2017-07-13 13:32:53 -03:00
Yash Singh 2c75e72582 event: add recurrence property
Earlier, an event had no recurrence property. Hence, the event's
recurrence pattern etc. could not be analysed, and as a result
could not be changed by the user. gnome-calendar just displayed
all the recurrences of a recurring event but had no 'readable'
knowledge regarding the characteristics of those recurrences.

This patch adds the recurrence property, which is basically
a GcalRecurrence structure linked to the event.

https://bugzilla.gnome.org/show_bug.cgi?id=782755
2017-07-13 13:32:52 -03:00