Commit Graph
469 Commits
Author SHA1 Message Date
nick richards 2a75fec1ad Add OARS tweak SPDX licences 2018-06-05 13:08:05 +01:00
Harald H 11fdd100d8 Grammar. Fixes #249 2018-05-02 01:47:49 +00: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 4fb135f7dc theme: improve spacing in month view 2018-04-30 22:03:52 -03:00
Georges Basile Stavracas Neto 8cfb66aaed GNOME Calendar 3.27.92 2018-03-05 16:07:12 -03:00
Georges Basile Stavracas Neto 9984a3a1e7 Bump 3.27.90 release 2018-02-12 00:07:51 +00:00
Iñigo Martínez 11fb4717a2 tests: Fix GCalManager test
The unit test that checks GCalManager test fails due to missing
schemas.

This patch allows schemas to be compiled in the build tree and also
sets the environment variables so tests can found them and run
properly.

Additional code and testing from Mohammed Sadiq <sadiq@sadiqpk.org>
2018-02-11 23:17:12 +00:00
Iñigo Martínez edbb4e5b86 project: Add configurable gettext domain
The gettext domain is hardcoded in the gschema file. It has been
changed so its now configurable and its possible to change it
via build files.
2018-02-11 23:16:50 +00:00
Georges Basile Stavracas Neto cc45db2354 appdata: Update bugtracker URL 2018-01-30 02:01:33 -02:00
Georges Basile Stavracas Neto 05f8446aa9 style: Remove tabs 2018-01-30 01:59:20 -02:00
Georges Basile Stavracas Neto 832e0e3599 style: Fix CSS for selected month cells 2018-01-30 01:58:39 -02:00
Georges Basile Stavracas Neto 79987734cd enums: Generate enums with standard GLib syntax 2018-01-28 02:30:07 -02: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
Georges Basile Stavracas Neto 333fa79437 resources: Don't strip XML blanks
It only makes it harder to debug, and we gain effectively
nothing from that.
2018-01-27 14:27:16 -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 a188c68653 week-header: Style temperatures 2017-12-11 21:29:33 -02:00
Florian Brosch 1f3173823b weather: Integrate weather into our main windows. 2017-12-11 21:29:31 -02:00
Florian Brosch 83bec27ad5 Initial weather service.
This commit introduces two new classes:

 1. GCalWeatherService
 2. GCalWeatherInfo

GcalWeatherservice picks-up the current location and periodically
fetches weather reports represented by GcalWeatherInfo.

The weather part is not complete yet.
2017-12-11 21:23:19 -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
Mohammed Sadiq 75ad9228f6 window: Simplify saving/loading window states
Follow https://wiki.gnome.org/HowDoI/SaveWindowState

* Use tuples in gsetting schema to save size and position
* Save changes to variable instead of saving to gsettings after every timemout
* Save the changes back to gsettings when the window is finalized.
2017-12-06 19:16:40 +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 7e2601e1a2 project: add the right file to the resources 2017-11-19 13:52:39 -02:00
Georges Basile Stavracas Neto a3d1bfcfc5 application: load custom css files
So that theme maintainers can drop their CSS here,
and make Calendar look beautiful everywhere.
2017-11-19 13:42:11 -02:00
Georges Basile Stavracas Neto 41fb5c83d6 theme: fine tune line color 2017-11-19 13:34:23 -02:00
Georges Basile Stavracas Neto 7af8dd3c40 Bump 3.27.2 release 2017-11-15 21:31:35 -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
Georges Basile Stavracas Neto 4dd4c2410f month-cell: Move day label to top, split from overflow 2017-11-11 17:48:59 -02:00
Florian Brosch 07fd080deb Do not show "Insert Emoji" for fixed form entries. 2017-11-08 23:51:32 -02:00
Florian Brosch 1e1216d3f7 sourc-edialog: rename owncloud to nextcloud 2017-11-08 23:43:48 -02:00
Georges Basile Stavracas Neto e04b7f0fd3 event-widget: lazily relayout main grid 2017-10-29 19:05:34 -02:00
Georges Basile Stavracas Neto 2357f5d766 month-cell: draw out-of-month cell day labels differently 2017-10-07 11:41:00 -03:00
Georges Basile Stavracas Neto a5e733f705 month-cell: don't enbold overflow label
Only the day label should be made bold.
2017-10-07 11:27:56 -03:00
Georges Basile Stavracas Neto df40a4d8bf month-view: don't hide month view when dragging from popover 2017-10-07 11:01:32 -03:00
Georges Basile Stavracas Neto e59910f0e9 month-view: rewrite was a template widget 2017-10-06 20:32:00 -03:00
Mathieu Bridon a45f0f9a75 Use the correct name for the appdata file
As it is, Flatpak doesn't find the file and the appstream stuff doesn't
get built.

https://bugzilla.gnome.org/show_bug.cgi?id=788540
2017-10-04 20:50:12 -03:00
Mathieu Bridon 18af568400 Fix the appdata screenshot size
https://bugzilla.gnome.org/show_bug.cgi?id=788469
2017-10-04 16:09:05 -03:00