Commit Graph
419 Commits
Author SHA1 Message Date
Piotr Drąg 5410ae5ac6 Mark missing strings for translation
Unfortunately, Glade suffers from
https://bugzilla.gnome.org/show_bug.cgi?id=782753
2017-09-28 13:18:07 +02:00
Georges Basile Stavracas Neto 349839ee49 event-widget: make font relative to initial font size 2017-09-14 13:50:43 -03:00
Georges Basile Stavracas Neto 925e17e16c event-widget: fix dragging events 2017-09-14 13:26:28 -03:00
Georges Basile Stavracas Neto d099f0f243 event-widget: use semibold for hour label
We want to emphasize the hour, but not so much.
2017-09-14 13:26:28 -03:00
Georges Basile Stavracas Neto af52f8bac4 event-widget: adjust spacing between labels 2017-09-14 13:26:28 -03:00
Georges Basile Stavracas Neto 766de8c025 event-widget: remove alarm icon
This tiny icon wasn't really adding any value, but was
cluttering an already information-intensive view.
2017-09-14 13:26:28 -03:00
Georges Basile Stavracas Neto 2a923939d9 event-widget: draw horizontal timed events differently
This makes more clear which events are timed, and which events
are all day. They are also super cute!
2017-09-14 13:26:28 -03:00
Georges Basile Stavracas Neto a853376629 event-widget: turn into a GtkBin subclass
The current GcalEventWidget implementation is a direct
GtkWidget subclass, which means we have to take care of
all the implementation details such as raising GdkWindows
and managing the drawing all by ourselves.

The event widget, however, can be easily described through
a GtkBuilder file. This would simplify the implementation
and makes us maintain less code.

Fix that by making GcalEventWidget a GtkBin subclass.
2017-09-14 13:26:28 -03:00
Georges Basile Stavracas Neto 8927e10ae0 edit-dialog: wrap in a scrolled window
As we're adding more and more widgets in the Edit dialog,
it is now growing too tall to fit normal screens. Thus, wrap
it in a scrolled window, and let the content height cover
75% of the main window at most.
2017-09-07 14:58:14 -03:00
Georges Basile Stavracas Neto a0e64ca3c8 edit-dialog: cleanup ui file 2017-09-07 14:38:46 -03:00
Georges Basile Stavracas Neto 6004123ba2 edit-dialog: fix time widgets sensitive when all day 2017-08-24 07:16:15 +09:00
Georges Basile Stavracas Neto 3eec69c559 edit-dialog: update style
Calendar matured its code style over time and
edit dialog kept the old style.
2017-08-24 07:07:36 +09:00
Carlo Lobrano 66fa49b166 year-view: Mark working days according to locale
Currently, on the year view, Saturday and Sunday are marked
as non working days by default, despite the Locale settings and the
fact that in some Countries Sunday and/or Saturday are workdays.

This patch introduces a new function "is_workday" to check
whether a day is a working day according to the territory part of
Locale.

https://bugzilla.gnome.org/show_bug.cgi?id=746927
2017-08-22 21:10:07 -03:00
Abdullahi Usman e56bbc78a8 edit-dialog : correct time row visibility
The revealer widget in edit dialog's event time interval row uses to hide the
time selector widgets when the event is checked as all-day and also reveal the
widgets when not checked as all-day.

Sometimes edit dialog may turn on the visibility of the time selector
widgets when the revealer's animation already starts, causing a flickering of the widgets.

We remove the revealer widget and leave edit dialog to toggle the
visibility of time selector widgets when needed.

https://bugzilla.gnome.org/show_bug.cgi?id=771572
2017-08-22 21:01:20 -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
Georges Basile Stavracas Neto dab25a0465 Bump 3.25.90 release 2017-08-11 14:11:55 -03: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
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
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 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
Georges Basile Stavracas Neto 60067433c3 Bump 3.25.3 release 2017-06-19 17:11:30 -03:00
Piotr Drąg 76574ca63b appdata: fix dates and versions
https://bugzilla.gnome.org/show_bug.cgi?id=782846
2017-06-01 11:35:37 -03:00
Piotr Drąg 1457accb3a Add translator comments to the .desktop file
So hopefully we get fewer invalid translations that possibly break build.
2017-04-29 16:08:10 +02:00
Georges Basile Stavracas Neto 45f11ed5c0 project: drop intltool usage 2017-04-29 10:47:25 -03:00
Georges Basile Stavracas Neto 0aaa58de0f Bump 3.25.1 release 2017-04-24 10:55:08 -03:00
Georges Basile Stavracas Neto b9c1a36256 project: update NEWS and appdata from gnome-3-24 2017-04-24 10:50:09 -03:00
Georges Basile Stavracas Neto 78eb9a7435 window: add more shortcuts
Add the following new shortcuts:

 - Home: moves to today
 - PageUp: previous week/month/year
 - PageDn: next week/month/year

https://bugzilla.gnome.org/show_bug.cgi?id=740844
2017-04-13 07:32:21 -03:00
Georges Basile Stavracas Neto aa5b963412 view: rework active-date
The current implementation is deficient in many ways, the
worst one being the it relying on GObject semi-synchronous
property emission.

This issue was exposed by the Week view code, where the active
date was updated, but delayed to reach the Week header and some
events were being added ~before~ the active date changed.

With this work, I was also able to figure out a bunch of code
that relied on this (i.e. luck) to work.
2017-04-12 20:51:23 -03:00
Jeremy Bicha bc141b3713 app-menu: Drop Search… item
https://bugzilla.gnome.org/show_bug.cgi?id=781165
2017-04-11 09:58:41 -03:00
Piotr Drąg cf13c0cbb1 window: add context to a tooltip string
To disambiguate it from the exact same string in AppData.
Some languages need to translate them differently.
2017-03-27 20:22:17 +02:00
Jeremy Bicha 3078f1c6c1 app-menu: Drop ellipsis from Calendars
https://developer.gnome.org/hig/stable/writing-style.html#ellipses

https://bugzilla.gnome.org/show_bug.cgi?id=780176
2017-03-22 22:21:37 -03:00
Georges Basile Stavracas Neto 2544773645 manager: use EDS selectable property to track disabled agendas
This way, we can keep GNOME Calendar and Evolution synchronized.
And we can save some code too.
2017-03-17 21:25:23 -03:00
Georges Basile Stavracas Neto 0b19d2b990 project: update release info 2017-03-16 21:39:09 -03:00
Kevin Lopez c3bffd5eeb search-view: no show search view if field is empty
When the search field is empty is not needed show the result drop down.

https://bugzilla.gnome.org/show_bug.cgi?id=747962
2017-03-16 21:32:04 -03:00
Georges Basile Stavracas Neto 5b48fd528d Bump 3.23.91.1 release 2017-02-28 12:21:36 -03:00
Georges Basile Stavracas Neto a1e7ab7324 Bump 3.23.91 release 2017-02-28 08:43:51 -03:00
Georges Basile Stavracas Neto 4a65483164 project: update NEWS from other branches 2017-02-28 08:34:22 -03:00
Georges Basile Stavracas Neto 21dab73283 Bump 3.23.90 release 2017-02-14 18:25:22 -02:00
Georges Basile Stavracas Neto 8f34049793 views: sync header labels' style
The Week view exposed a bug where we had different
CSS selectors for the exact same label. This made
them look inconsistent, with different colors and
paddings.

Fix that by ensuring they all use the same style
class. The Year view drawing code needed to be
reworked a little.

https://bugzilla.gnome.org/show_bug.cgi?id=778391
2017-02-09 10:28:28 -02:00
Georges Basile Stavracas Neto d63e007a7a week-grid, week-view: improve hour sidebar rendering
The hour strings are too soft and can barely be read. Fix
that by setting a stronger color.

https://bugzilla.gnome.org/show_bug.cgi?id=777420
2017-02-09 09:21:28 -02:00
Andrei Ceapa 4ab02f487c edit-dialog: allign circle with subtitle
Move the circle in the headerbar on the same line with the
subtitle, so that it will not move when the length of the event
title increases.

https://bugzilla.gnome.org/show_bug.cgi?id=772098
2017-02-01 15:14:13 -02:00
Georges Basile Stavracas Neto ba871e4004 theme: reduce vertical padding
This reduces each hour cell's height, and makes more of the
week grid visible at a glance.

https://bugzilla.gnome.org/show_bug.cgi?id=777767
2017-02-01 15:07:46 -02:00
Abishek 78a463ab53 week-header: align month_label, week_label and year_label
There was a small alignment issue with week_label, month_label and
year_label in week-view.

Change the y-align property of month_label,week_label and year_label
in week-header.ui to 0, so that they are aligned properly.

https://bugzilla.gnome.org/show_bug.cgi?id=777417
2017-01-30 14:44:26 -02:00
Georges Basile Stavracas Neto f013d7442e week-header: fix event margins 2016-12-15 17:09:45 -02:00
Georges Basile Stavracas Neto 1cab5278f1 style: smoother selection background 2016-12-14 17:11:11 -02:00
Georges Basile Stavracas Neto ffaf7153d7 week-header: implement event creation 2016-12-14 17:00:11 -02:00
Georges Basile Stavracas Neto 343283e37a week-grid: implement event creation 2016-12-13 16:29:07 -02:00