Commit Graph
3982 Commits
Author SHA1 Message Date
Adrien Plazas 54e0a5784c date-chooser-day: Add .non-workday class to the current day
This will help making the non worked days let prominent.
2022-06-16 08:15:51 -03:00
Adrien Plazas 21895416f3 date-chooser-day: Add the .today style class to the current day
This will help making the current day pop out a bit.
2022-06-16 08:14:54 -03:00
Adrien Plazas d76617f809 date-chooser-day: Automatically free the string 2022-06-16 09:29:16 +02:00
Adrien Plazas 7198ce41f9 date-chooser-day: Add the has-dot and dot-visible properties
This allows the days to display events.
2022-06-16 09:29:16 +02:00
Adrien Plazas 0ff62c4314 date-chooser-day: Always have the size of two characters
This ensures the size will be consistent for all days.
2022-06-16 09:29:16 +02:00
Adrien Plazas b5841e1100 date-chooser-day: Use the numeric style class
This ensures the digits are well aligned.
2022-06-16 09:29:16 +02:00
Adrien Plazas a58fa3deb8 date-chooser-day: Use a template
This makes the widget easier to maintain.
2022-06-16 09:29:16 +02:00
Adrien Plazas f9c4501d6c date-chooser-day: Make it a button
This stops reimplementing a flat button and use GtkButton directly
instead.
2022-06-16 09:29:16 +02:00
Adrien Plazas 9c641fa597 week-grid: Allocate event widgets a valid size
This ensures event widgets are allocated at least their size request,
fixing critical errors and visual glitches.
2022-06-15 11:34:03 -03:00
Adrien Plazas e370aebac4 event-widget: Fix the indentation 2022-06-15 11:34:03 -03:00
Adrien Plazas 2baa96d29f event-widget: Properly overflow
This explicitely allows the hour widget and the content as a whole to
overflow horizontally, and hides what overflows, keeping the data within
the boundaries of the widget while still allowing it to reach very
narrow sizes without error messages.

This purposefully leaves the indentation broken to help reviewing the
actual changes.
2022-06-15 11:34:03 -03:00
Adrien Plazas ca0a5de0f9 Add GcalOverflowBin and GcalOverflowBinLayout
This is a bin that purposefully can let its child overflow the
allocation, based on the size request mode. This will be used
to allow the event widget to reach smaller widths.
2022-06-15 11:33:49 -03:00
Adrien Plazas 7839041453 event-widget: Stop ellipsizing and wrap on chars
This maximizes the readability as much more characters are visible when
very narrow, as when ellipsizing only a single line was visible.
2022-06-15 11:25:19 -03:00
Adrien Plazas 6b649b8ef7 event-widget: Use a vertical AdwSqueezer
This replaces the GtkStack and some custom code by a AdwSqueezer and way
less custom code to achieve the same result, making the code simpler.
2022-06-15 11:25:19 -03:00
Reynir Björnsson 19b520fa2d source-discoverer: Fail if SoupUri creation fails 2022-06-15 14:10:02 +00:00
Adrien Plazas 24713fbb65 date-chooser: Drop the unused month-changed signal
It's never emitted or connected to.
2022-06-15 01:36:49 +00:00
Adrien Plazas 4f15556d31 date-chooser: Drop the unused no-month-change property
It's never set.
2022-06-14 22:20:57 -03:00
Adrien Plazas 13b648082f date-chooser: Drop the unused GcalDateChooserDayOptions 2022-06-15 01:05:41 +00:00
Adrien Plazas 5de0694479 date-chooser-day: Drop the unused options setter
The options are never set, so let's just drop the methods setting them.
2022-06-15 01:05:41 +00:00
Adrien Plazas 91afd1b06d date-chooser: Drop the unused day options callback
The day options callback is never set, so let's just drop it and all its
methods.
2022-06-15 01:05:41 +00:00
Piotr Drąg 02613d80a2 Update Polish translation 2022-05-25 23:50:45 +02:00
Abdullahi Usman 659fdca460 event-detail: Grey out already added reminder in drop-down list 2022-05-25 13:35:08 +00:00
Adrien Plazas 0a455d6fdf Drop the year view shortcut
It was accidentally left over when dropping the year view.
2022-05-16 10:25:33 +02:00
Adrien Plazas aecfebcc9d Use gtk_widget_add/remove_css_class() where possible
This makes the code simpler and more idiomatic to GTK 4.
2022-05-10 13:01:25 +02:00
Adrien Plazas 2fd20f72a8 Drop the now unused year view
We don't need this anymore.
2022-05-06 20:30:05 +02:00
Adrien Plazas 7764cb7278 window: Drop the year view
We don't need it anymore since we have the date chooser, and it's absent
from the new design.
2022-05-06 20:28:48 +02:00
Yosef Or Boczko 301beb2534 time-selector: Put the spinbuttons in a box and force it to be LTR
#558

Signed-off-by: Yosef Or Boczko <yoseforb@gmail.com>
2022-05-06 14:09:45 +00:00
Adrien Plazas 6b389005e0 event-editor-dialog: Drop the useless transient_size_allocate_cb()
This drops the transient_size_allocate_cb() callback function that in
practice does nothing at all. This also fixes an error message as the
size-allocate signal doesn't exist anymore in GTK 4.
2022-05-06 08:40:26 +02:00
Adrien Plazas 595523f688 year-view: Fix a signal connection
Parameters were swapped in the connection but not in the callback.
2022-04-27 12:41:51 +02:00
Georges Basile Stavracas Neto 258e73af2c Post-branching version bump 2022-04-26 21:00:56 -03:00
Georges Basile Stavracas Neto 45da797c16 Post-release version bump 2022-04-26 21:00:11 -03:00
Georges Basile Stavracas Neto 4220b381f9 42.1 2022-04-26 20:53:13 -03:00
Asier Sarasua Garmendia 3bf11abda9 Update Basque translation 2022-04-21 17:20:13 +00:00
Aleksandr Melman fff3ca045a Update Russian translation 2022-04-09 15:33:43 +00:00
Charles Monzat 9c1a2a8dfb Update French translation 2022-04-08 09:25:29 +00:00
nahuelwexd 7c8d495a47 flatpak: use new GNOME Settings app id 2022-04-07 19:42:50 -03:00
nahuelwexd 1de480f102 util: use new GNOME Settings app id 2022-04-07 19:42:50 -03:00
Adrien Plazas 6899c6eb00 gcal-enums: Drop documentation of non-existent values
There is no point keeping them around.
2022-04-07 11:46:56 +00:00
Adrien Plazas fd036d24d3 date-chooser: Don't show the already visible label
This is likely a GTK 3 to 4 leftover.
2022-04-07 09:33:03 +02:00
Adrien Plazas 65569e199e date-chooser: Don't show the already visible days
This is likely a GTK 3 to 4 leftover.
2022-04-07 09:33:03 +02:00
Adrien Plazas 4186624278 date-chooser: Don't force showing the week numbers
This avoids breaking the state correctly set by the the binding on the
previous instruction.
2022-04-07 09:33:03 +02:00
Sveinn í Felli 5ab7205030 Update Icelandic translation 2022-04-06 10:30:01 +00:00
Jan Alexander Steffens (heftig) 0838616102 weather service: Reduce location accuracy
This avoids activating the compass.
2022-04-02 21:41:47 +00:00
Nathan Follens 875412ec4b Update Dutch translation 2022-03-25 09:47:55 +00:00
Rūdolfs Mazurs 94763a1268 Update Latvian translation 2022-03-24 20:27:51 +00:00
Georges Basile Stavracas Neto 748e3e3d81 Post-release version bump 2022-03-18 18:26:17 -03:00
Georges Basile Stavracas Neto f49bec413e 42.0 2022-03-18 18:21:15 -03:00
Milo Casagrande 103d380325 Update Italian translation 2022-03-17 08:23:24 +00:00
Kjartan Maraas d844ea204e Update Norwegian Bokmål translation 2022-03-15 12:37:03 +00:00
Kjartan Maraas 17ad8a3e47 Update Norwegian Bokmål translation 2022-03-15 12:25:32 +00:00