Commit Graph
341 Commits
Author SHA1 Message Date
pandusonu2 028eb7b994 window: initialize and include week-view in the main window
We add the week-view to the views_stack.
Initialize the GtkWidget week_view in the gcal-window.c
2016-12-01 23:48:52 -02:00
Piotr Drąg 4cc24c8c4c Use Unicode in translatable strings
See https://developer.gnome.org/hig/stable/typography.html

https://bugzilla.gnome.org/show_bug.cgi?id=772263
2016-11-11 17:21:19 +01:00
Georges Basile Stavracas Neto 591d8af5e4 theme: add a nice transition on the month chooser widget 2016-10-03 19:56:42 -03:00
Georges Basile Stavracas Neto 65c619b433 edit-dialog: also set top and bottom margins
It looks like the cursor at the "Notes" section of the
edit dialog has no vertical space to breath, and it's
a little bit annoying as it runs away from the expected
position.

Fix that by adding a small margin at the top and the bottom
of the text view at the "Notes" section.
2016-10-03 19:37:08 -03:00
Isaque Galdino 775cbb8b74 edit-dialog: Change headerbar tooltip
Edit dialog headerbar tooltip was reading: "Click to select event's
agenda" and a user asked to change it to: "Click to select the
calendar", so it would be more natural and familiar for non-native
English users.

https://bugzilla.gnome.org/show_bug.cgi?id=772103
2016-10-03 19:00:10 -03:00
Georges Basile Stavracas Neto 62aa66b8da year-view: implement scrolling to change year
Following the previous work on month view, this commit
implements scrolling capabilities to Year view. We do
this not only with the :scroll-event, but also using the
:edge-overshot signal of GtkScrolledWindow.
2016-10-01 19:16:18 -03:00
Georges Basile Stavracas Neto 4582ade21d edit-dialog: sync time and date widgets' sizing
So the time widgets don't grow over the date widgets and break
the vertical layout of the edit dialog.

https://bugzilla.gnome.org/show_bug.cgi?id=771440
2016-09-27 22:48:27 -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
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
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
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 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
nj4710 27ca660e77 month-view: highlight the whole cell of current day
In this commit, we changed the background area of current day.

Presently, the current day is highlighted by the number. This makes difficult for the user to identify it when there are lot of events.

To fix this, we changed the color of background and made background area equal to the cell's area.

https://bugzilla.gnome.org/show_bug.cgi?id=755946
2016-08-17 03:13:53 -03:00
Yosef Or Boczko 7af215aef2 Mark a string as translatable 2016-08-09 17:56:10 +03:00
Lapo Calamandrei e3d29c989e date-selector: change style class on other month days
use .other-month in place of .dim-label since the .dim-label style
was not fitting, so better to use a specific class then a generic
one.
2016-07-26 18:58:52 +02:00
Lapo Calamandrei 095a209615 css: restyle date chooser...
...making it more consistent with shell calendar and gtkcalendar.
2016-07-24 18:55:21 +02:00
Georges Basile Stavracas Neto faf85a7fb0 date-chooser: support hovering days
Another fixup in order to make the current date chooser
more streamlined with GNOME Shell's calendar.
2016-07-23 17:47:12 -03:00
Georges Basile Stavracas Neto 459756b2a2 edit-dialog: adapt to better display the date selectors
This commit is purely aesthetical, and is here in order to
make the edit dialog look more like the proposed mockups.
2016-07-23 17:47:11 -03:00
Georges Basile Stavracas Neto bdac4e4c79 date-selector: turn into a entry
After making the date selector use the brand
new date chooser widget, it is now time to make
it an entry.

This commit, then turns GcalDateSelector into a
GtkEntry subclass, and add all the plumbing that
is necessary to make it work as such.

As a side effect, this commit adds rudimentary
natural language support for parsing dates.
2016-07-23 17:47:11 -03:00
Georges Basile Stavracas Neto 4ef9f75dfb date-selector: move to use the new date chooser
After adding the new GcalDateChooser widget, change the
current date selector to use it as the internal widget
of the popover.

The next logical step is turning GcalDateSelector into
an entry.
2016-07-23 17:47:11 -03:00
Georges Basile Stavracas Neto c2dca8a3dc date-chooser: add date chooser widget
This is mainly a copy-paste from an old branch authored
by Matthias Clasen. The code style was updated to match
Calendar's one, and the theming was improved a little bit.
2016-07-23 17:47:11 -03:00
Lapo Calamandrei ed4782116e css: remove broken linked entry style
inherit linked entries styling from the theme.
2016-07-09 18:27:51 +02:00
Lapo Calamandrei 8be2ece30e css: remove some ugly selectors
since Georges added all the styleclasses in the needed places.
2016-07-08 21:54:05 +02:00
Georges Basile Stavracas Neto f8876022e1 edit-dialog: correctly center header button widgets 2016-07-08 16:39:01 -03:00
Lapo Calamandrei fba57ee1af Revert "edit-dialog: add calendars-list styleclass to sources_popover."
This reverts commit 126d6145f2, since
a proper hacker (Georges) added the class where it makes more
sense.
2016-07-08 21:31:42 +02:00
Lapo Calamandrei 863915feb1 css: style the calendar color dot
remove the unneded and ugly hover effect on buttons and add a
subtle shadow.
2016-07-08 20:44:58 +02:00
Lapo Calamandrei 126d6145f2 edit-dialog: add calendars-list styleclass to sources_popover. 2016-07-08 20:37:20 +02:00
Lapo Calamandrei eb5e22f6f6 source-dialog: add calendars-list styleclass. 2016-07-08 20:08:47 +02:00
Lapo Calamandrei 9e7abab8b2 quick-add-popover: add calendars-list styleclass
add `calendars-lists` to `calendars_listbox`.
2016-07-08 20:05:42 +02:00
Lapo Calamandrei e90c68e6c5 calendar-row: add calendar-color-image styleclass. 2016-07-08 19:21:14 +02:00
Lapo Calamandrei 456c7a0f69 edit-dialog: add calendar-color-image styleclass to source_image. 2016-07-08 19:12:53 +02:00
Lapo Calamandrei 2234ef0854 quick-add-popover: add a styleclass to color_image
add the `calendar-color-image` styleclass to the color_image image
to be able to style it generally.
2016-07-08 19:08:29 +02:00
Lapo Calamandrei 318c200d6f css: -gtk-icon-shadow in place of icon-shadow
muscle memory fail.
2016-07-08 01:59:28 +02:00
Lapo Calamandrei 7f8cb1a25d css: simpler edit-dialog headerbar button
make it full height and visually cleaner.
2016-07-08 01:56:06 +02:00
Lapo Calamandrei 7160da43a7 css: fix a bogus selector from the previous commit. 2016-07-08 01:28:16 +02:00
Lapo Calamandrei a6bc9da636 css: year-view sidebar
add some padding and move no events label down a bit to better line
up with events in the list.
2016-07-08 01:23:22 +02:00
Lapo Calamandrei e54b023f06 css: remove year-view button superfluous side border. 2016-07-08 01:09:17 +02:00
Lapo Calamandrei 53d28d73b8 year-view: remove a superfluous border
simplify the related css and add correct backdrop colors in the
process.
2016-07-08 01:01:41 +02:00
Georges Basile Stavracas Neto c548d580ea edit-dialog: make alarms' widgets insensitive on read-only 2016-07-06 18:54:59 -03:00
Georges Basile Stavracas Neto 37061a38f4 edit-dialog: improve sizing 2016-07-06 18:54:59 -03:00
Georges Basile Stavracas Neto 5cb2e86fa6 edit-dialog: improve titlebar button
Make it insensitive when the event is read-only, and add
a tooltip for users to learn what does the button do.
2016-07-06 18:54:59 -03:00
Georges Basile Stavracas Neto a2b6b478bb edit-dialog: fix spurious properties 2016-07-06 18:54:59 -03:00
Georges Basile Stavracas Neto a5634dc5fb edit-dialog: put the time selectors in a revealer 2016-07-06 18:54:59 -03:00
Georges Basile Stavracas Neto 5dd456c81d edit-dialog: move All Day check below time row 2016-07-06 18:54:59 -03:00
Georges Basile Stavracas Neto b6c19e8399 edit-dialog: group dates and times
Instead of start and end, group the selectors by
dates and times.
2016-07-06 18:54:59 -03:00
Georges Basile Stavracas Neto 4d30db74f5 edit-dialog: increase summary label width
Since we moved the Agenda button to the headerbar,
fill the now free space with the summary label.
2016-07-06 18:54:59 -03:00