Georges Basile Stavracas Neto
efa29b19d5
calendars-page: Use switch to toggle visibility
2019-06-24 21:32:59 -03:00
Georges Basile Stavracas Neto
c092445363
calendar-management: Shuffle code around and cleanup
2019-06-24 21:32:59 -03:00
Georges Basile Stavracas Neto
f7df717e1b
edit-calendar-page: Add back button
...
And remove the remaining code (and a few extras) from the
calendar management dialog.
2019-06-24 21:32:59 -03:00
Georges Basile Stavracas Neto
5e9f7bf01e
new-calendar-page: Add "Cancel" and "Add" header buttons
2019-06-24 21:32:58 -03:00
Georges Basile Stavracas Neto
804479ebcc
calendar-management-page: Add helper to retrieve titlebar
2019-06-24 21:32:58 -03:00
Georges Basile Stavracas Neto
e49ed1ed67
calendar-management: Move code to GcalNewCalendarPage
2019-06-24 21:32:58 -03:00
Georges Basile Stavracas Neto
9cc07c5786
calendar-management: Introduce GcalEditCalendarPage
...
This is the second of the three original pages we used to have.
This one edits calendars.
2019-06-24 21:32:58 -03:00
Georges Basile Stavracas Neto
db4613ae71
new-calendar-page: Add stub page
2019-06-24 21:32:58 -03:00
Georges Basile Stavracas Neto
375b9fc53c
calendar-management-dialog: Response to page switch
2019-06-24 21:32:57 -03:00
Georges Basile Stavracas Neto
ad017d1709
calendars-page: Introduce GcalCalendarsPage
...
A page dedicated to show a list of calendars and add
new ones. Other pages will come in soon.
2019-06-24 21:32:57 -03:00
Georges Basile Stavracas Neto
831bbbdba8
calendar-management-page: Introduce new interface
...
This will be used by the pages of the calendar management dialog
to let it know they are actual pages, to offer an activation
mechanism, and to communicate with the dialog when they want to
switch to another page.
2019-06-24 21:32:57 -03:00
Georges Basile Stavracas Neto
4088b8b6bb
source-dialog: Rename to GcalCalendarManagementDialog
2019-06-24 21:32:44 -03:00
Georges Basile Stavracas Neto
c0720d0031
build: Move GcalSourceDialog to gui/calendar-management
...
Soon we will start populating this subfolder with many other
calendar management files, and to avoid making the gui/ folder
a mess, move source dialog to it.
2019-06-24 21:32:44 -03:00
Georges Basile Stavracas Neto
7217f9fa53
window: Add "Online Accounts..." button
2019-06-24 21:32:44 -03:00
Georges Basile Stavracas Neto
8743121f4d
source-dialog: Move Online Accounts panel spawn to utils
...
So that it can be reused by other files.
2019-06-24 21:32:44 -03:00
Georges Basile Stavracas Neto
7ee0acdcbf
source-dialog: Remove online accounts
...
Showing these online accounts in the dialog only added
an additional step. We'll be adding a link to online
accounts in the next commit, so for now, remove the
widgets from the source dialog.
2019-06-24 21:32:44 -03:00
Milan Crha
a0cae4356a
Port to libecal-2.0
...
Fixes https://gitlab.gnome.org/GNOME/gnome-calendar/merge_requests/70
2019-05-17 21:58:55 +02:00
Georges Basile Stavracas Neto
dcdd3f6ee8
Remove stray g_message()s
...
Leftovers from previous commits.
2019-05-11 13:41:50 -03:00
Georges Basile Stavracas Neto
ea043ab48b
calendar-popover: Show success after synchronizing
...
https://gitlab.gnome.org/GNOME/gnome-calendar/issues/395
2019-05-10 13:45:00 -03:00
Georges Basile Stavracas Neto
405787307c
window: Move synchronize button to the calendar popover
2019-05-10 13:10:50 -03:00
Georges Basile Stavracas Neto
0639b4e7ae
window: Show a spinner while synchronizing
2019-05-10 13:04:33 -03:00
Georges Basile Stavracas Neto
1c0131a55f
edit-dialog: Restore time removal of all-day events
...
All day events have no time period. This was a fallout from
the previous commit.
2019-05-10 11:53:24 -03:00
Florian Latifi
6e5372189d
edit-dialog: Don't convert date to timezone if all-day
...
When the all-day checkbox is ticked, transforming to the
UTC timezone may change the dates of the event. On positive
timezone offsets, this happens frequently.
Fix that by only transforming to a timezone when the event
is not marked as all-day.
Fixes https://gitlab.gnome.org/GNOME/gnome-calendar/issues/338
2019-05-10 11:49:14 -03:00
Georges Basile Stavracas Neto
79eea9376b
window: Add new event button
...
As per the latest mockups [1]
[1] https://teams.pages.gitlab.gnome.org/Design/web-experiments/calendar/headerbar
2019-05-09 17:42:59 -03:00
Georges Basile Stavracas Neto
771c5c30f0
window: Reorganize a few functions
2019-05-09 17:42:59 -03:00
Georges Basile Stavracas Neto
0baeaa160a
window: Delegate changing dates to GcalView
...
The view knows its time range, and knows what the
next or previous dates should be. So instead of
calculating the next date manually, ask the views
for that.
2019-05-09 17:42:59 -03:00
Georges Basile Stavracas Neto
da31180cba
view: Let views handle subscription range
...
Instead of GcalWindow handling the ranges themselves,
delegate this responsibility to the views.
2019-05-09 17:42:58 -03:00
Georges Basile Stavracas Neto
a2609d6853
project: Reorganize much
2019-05-04 19:48:40 -03:00
Georges Basile Stavracas Neto
f55b4531ef
project: Move ui-related classes to gui/
2019-05-04 12:14:05 -03:00