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
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
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
b2d2767131
calendar-row: Tweak margins
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
7217f9fa53
window: Add "Online Accounts..." button
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
Georges Basile Stavracas Neto
73ddbbdc60
window: Remove non-existing signal handler
2019-05-24 21:26: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
117d56a1c9
calendar-popover: Relabel as "Synchronize Calendars"
...
https://gitlab.gnome.org/GNOME/gnome-calendar/issues/396
2019-05-10 13:30:29 -03:00
Georges Basile Stavracas Neto
647c9ee2c7
calendar-popover: Adjust UI
...
Add a separator and remove spacing.
2019-05-10 13:15:50 -03:00
Georges Basile Stavracas Neto
c5ec57f78e
calendar-popover: Improve calendar settings button
...
Change the label to "Manage Calendars…" and make it a model
button.
2019-05-10 13:14:23 -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
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
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
fd3d2ea3f6
window: Move calendar popover to GcalCalendarPopover
...
This helps reducing the LOC number of GcalWindow, and
allows us to also implement the popover in a better way.
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto
b967f047bf
window: Remove search popover
...
Won't be missed.
2019-04-29 17:08:52 -03:00
Georges Basile Stavracas Neto
36f4809c1c
window: Turn search button into a DzlSuggestionButton
...
Gives us a nice, smooth and sweet animation.
2019-04-29 17:08:51 -03:00
Christopher Davis
ec9ffcde3b
window.ui: remove Calendars from Primary Menu
...
The Calendars menu entry does not need to be in the new
primary menu. Thus, it can safely be removed.
2018-11-06 13:29:17 +00:00
Christopher Davis
5cffec4456
Retire app-menu
...
For https://gitlab.gnome.org/GNOME/Initiatives/issues/4 ,
the application menu is being retired, with it's contents
being moved into the in-window primary window.
When removing a menu, the shortcuts for it's actions (if defined
in the menu) are also removed. The "Quit" shortcut is now
defined in src/gcal-window.c.
Related to https://gitlab.gnome.org/GNOME/gnome-calendar/issues/319
2018-11-06 13:29:17 +00:00
Georges Basile Stavracas Neto
13a375f483
edit-dialog: fix code style
2018-09-14 20:16:54 -03:00
Georges Basile Stavracas Neto
7d99af9c36
window: Simplify window menu
...
We could have relied on the popover menu automatic
menu handling capabilities from the very beginning.
2018-07-29 00:54:02 -03:00
Georges Basile Stavracas Neto
89e80e688b
appmenu: Remove "New Event" entry
...
The "New Event" menu item is confusing and misleading, since
it is contextless item that has a context-aware action. The
result varies depending on which view you are, but this is in
no way communicated.
So just remove that, and all the GcalWindow API that is not
used anymore altogether.
2018-07-29 00:54:02 -03:00
Abdullahi Usman
c7f522eadd
event-widget : hide hour label on full day event
...
All events in month-popover displays hour-label indicating their start time,
but all-day events should not display their start time.
This is caused by gtk_widget_show_all recursively setting the events list-box
and all its childrens visible.
We replace gtk_widget_show_all with gtk_widget_show to show the events list-box
and its childrens.
https://gitlab.gnome.org/GNOME/gnome-calendar/issues/250
2018-05-01 23:48:25 +00:00
Georges Basile Stavracas Neto
1da2151bb9
month-popover: popdown when adding new event
2018-05-01 20:29:36 -03:00
Georges Basile Stavracas Neto
601076f6a4
event-widget: force squared color boxes
...
On HiDPI displays, the color boxes of timed events
appear distorted and not squared.
Fix that by setting a fixed size, and changing the
box alignment to always shrink to a squared state.
2018-05-01 10:24:48 -03:00
Georges Basile Stavracas Neto
74f353eb33
window: Make menu completely non-homogeneous
2018-01-27 23:54:04 -02:00
Georges Basile Stavracas Neto
c4ca9cac3c
project: Rename GcalSearchView to GcalSearchPopover
...
This was never a view, but a popover.
2018-01-27 23:02:36 -02:00
Georges Basile Stavracas Neto
499db7bfd4
weather: Rework weather management
...
This commit brings a few changes that I was too lazy to
split in different commits:
* Remove a few useless arguments in the GcalWeatherService API
* Move the weather management code from GcalWindow to GcalWeatherSettings
* A few style changes
2018-01-27 20:36:29 -02:00
Piotr Drąg
d491e83d27
ui: Unmark placeholder strings from translation
2017-12-20 20:10:13 +01:00
Georges Basile Stavracas Neto
b8f51e1d3d
window: a load more weather changes
2017-12-17 11:35:19 -02:00
Florian Brosch
d13473d3bc
year-view: Show weather reports.
...
This view is not ref-counted correctly. I use the same
workaround to avoid runtime errors as for month views.
2017-12-11 22:06:54 -02:00
Florian Brosch
67f3a2057e
month-cell: Display temperatures
2017-12-11 22:06:52 -02:00
Florian Brosch
e9e403ce7a
month-view: Show weather reports.
...
This commit triggers two existing issues:
1. window size calculation
(this breaks month-cells)
2. wrong reference counts in views
(I use :destroy to avoid dangling pointers)
2017-12-11 21:54:55 -02:00
Florian Brosch
12da918357
window: Improve weather setting sensitivity
2017-12-11 21:32:01 -02:00
Florian Brosch
1f3173823b
weather: Integrate weather into our main windows.
2017-12-11 21:29:31 -02:00
alex285
868e0de889
window: add org-gnome-Calendar style class
...
Currently there is no way for a theme to add some specific styles (eg colors) on Calendar widgets, without upstreaming their CSS.
This commit adds the org-gnome-Calendar CSS class on the main window, as a helper selector. (See bug #227 )
2017-12-07 14:34:58 +02:00
Mohammed Sadiq
f1a8aaed5f
window: Simplify navigation code
...
Using <accelerator> in GtkBuilder can simplify lots of C code.
2017-12-06 21:40:15 +05:30
Georges Basile Stavracas Neto
e8468ec0df
event-widget: use a 16px rounded rectangle for event colors
...
This looks better than the thin borders, helps a lot colorblind
people and makes the overall layout just as good.
Ship it!
[#211 ]
2017-11-30 14:45:47 -02:00
Georges Basile Stavracas Neto
ea8b9e76e7
event-widget: use a stack to handle orientation
...
Instead of setting the position of the labels in a grid,
use two different grids and switch between them using a
stack.
2017-11-25 11:43:52 -02:00
Georges Basile Stavracas Neto
eff50668d4
month-view: introduce new overflow popover window
...
This ~almost~ implements a perfectly semantic transition (which
is kinda impossible now).
2017-11-15 02:03:26 -02:00
Georges Basile Stavracas Neto
2a11959bdd
month-cell: show +X in overflow label
...
Instead of "Other X Events".
2017-11-11 18:15:18 -02:00
Georges Basile Stavracas Neto
b5ad149261
month-cell: improve calculation of header box height
...
Should also consider the top and bottom margins.
2017-11-11 18:15:02 -02:00
Georges Basile Stavracas Neto
432e7ab7ea
month-cell: move day label to the start of the cell
2017-11-11 18:08:22 -02:00