Commit Graph
4637 Commits
Author SHA1 Message Date
Aefgh Threenine 6433242d63 Update Thai translation 2024-02-09 16:07:57 +00:00
zayar lwin 8b66080518 Add Burmese translation 2024-02-02 14:39:30 +00:00
Hari Rana 5a2747098b style: Define all month cells
This fixes an issue on the dark style preference where selecting cells would cause the month separators to lose their color. The dark style would override the month cells, which would higher its specificity, and thus would prioritize it over the selectors. This commit places everything in order, so we can freely define colors without playing with specificity.
2024-01-27 14:14:32 -05:00
Georges Basile Stavracas Neto 1114e566d9 style: Update month border colors
Use a defined color for that, and make them more in line with the
Adwaita style.
2024-01-27 13:36:28 -03:00
Hari Rana a3ac698e60 month-cell: Add month separators 2024-01-27 16:14:17 +00:00
Markus Göllnitz 74b1296d07 month-cell: hold weather service while this widget exists
Signed-off-by: Markus Göllnitz <camelcasenick@bewares.it>
2024-01-27 16:09:02 +00:00
Markus Göllnitz cf40734243 weather-service: add hold/release style use counter to pause weather service
Holding and releasing the weather service makes sure it
is stopped whenever no UI depends on it.

Signed-off-by: Markus Göllnitz <camelcasenick@bewares.it>
2024-01-27 16:09:02 +00:00
Markus Göllnitz 9c879c999c weather-service: split activate/deactivate from start/stop
Splitting an activation flag from starting and stopping
the service makes it possible to flag the service as
wanted from the settings and still due use counting in a
subsequent commit.

Signed-off-by: Markus Göllnitz <camelcasenick@bewares.it>
2024-01-27 16:09:02 +00:00
Markus Göllnitz faa6e91d8b weather-service: add location property and split from gc_w_s_run
This helps in preparation of splitting out a dedicated
activation flag from the actually starting and stopping
the service.

Signed-off-by: Markus Göllnitz <camelcasenick@bewares.it>
2024-01-27 16:09:02 +00:00
Markus Göllnitz 47db4a1de3 weather-service: free location service properly for destruction
This is needed as the location service is not properly
stopped from the portal backend if running in a sandbox
otherwise.

Signed-off-by: Markus Göllnitz <camelcasenick@bewares.it>
2024-01-27 16:09:02 +00:00
Markus Göllnitz 02465d1bed gcal-manager: fix typo debug message
Signed-off-by: Markus Göllnitz <camelcasenick@bewares.it>
2024-01-27 16:09:02 +00:00
Georges Basile Stavracas Neto 350cc6479f window: Use adw_dialog_present() everywhere 2024-01-27 12:53:22 -03:00
Georges Basile Stavracas Neto 26c71e18f6 event-editor: Use adw_dialog_close() to hide 2024-01-27 12:53:10 -03:00
Georges Basile Stavracas Neto df8526f471 event-editor: Cleanup some code
Remove the constructed() override, we can do that in init().
2024-01-27 12:40:23 -03:00
Georges Basile Stavracas Neto b52b27eace event-editor: Turn into an AdwDialog 2024-01-27 12:38:35 -03:00
Georges Basile Stavracas Neto 72d3caaf94 calendar-management: Make it an AdwDialog
So it can behave like a bottom sheet when collapsed.
2024-01-27 12:32:12 -03:00
Georges Basile Stavracas Neto b42f3d46d4 build: Depend on libadwaita 1.5.alpha 2024-01-27 12:32:12 -03:00
Sabri Ünal 709f47cd16 Update Turkish translation 2024-01-25 14:42:10 +00:00
Yosef Or Boczko aae315f37f Update Hebrew translation 2024-01-25 09:30:37 +00:00
Fran Dieguez 657f3bb1a5 Update Galician translation 2024-01-23 07:16:41 +00:00
Daniel Rusek 32f45a0c0f Update Czech translation 2024-01-22 16:14:32 +00:00
Danial Behzadi c663ecc593 Update Persian translation 2024-01-17 22:59:34 +00:00
Rami Alkawadri c06e45f595 month-view: Make the selection range type date only 2024-01-15 19:31:56 +00:00
Rami Alkawadri a383ac38e0 quick-add-popover: Refactor 2024-01-15 19:31:56 +00:00
Rami Alkawadri 487e72ee07 gcal-range: Implement gcal_range_get_range_type 2024-01-15 19:31:56 +00:00
Rami Alkawadri ff3a08ba95 window: Use GcalRange in NewEventData 2024-01-15 19:31:56 +00:00
Rami Alkawadri b4000be398 quick-add-popover: Move to GcalRange and fix title for all day event 2024-01-15 19:31:56 +00:00
Danial Behzadi 933cd131fe Update Persian translation 2024-01-13 01:12:53 +00:00
Artur S0 2b6d9070b6 Update Russian translation 2024-01-07 07:55:01 +00:00
Sabri Ünal 4a6579af9b appdata: Remove none OARS tags
"The old generator also included all the none-value entries—it
no longer does this, you can safely remove them.

If it only consists of none values, it’s safe to shorten it to just:
`<content_rating type="oars-1.1" />`"

More information: https://docs.flathub.org/docs/for-app-authors/appdata-guidelines/#oars-information
2023-12-28 16:56:45 +03:00
Sabri Ünal 3c53afc043 appdata: Improve appdata for AppStream 1.0
- Implement appstreamcli validation.
- Correct required and recommended tags.
- Resolve required length errors.
- Include missing `<developer><name>` tag.
- Add the deprecated `developer_name` tag.
- Standardize the translation link with the link in the appdata file.
2023-12-27 18:28:31 +03:00
Aefgh Threenine 5304e47700 Update Thai translation 2023-12-20 15:06:45 +00:00
Hari Rana 315d47350f summary-section: Use AdwEntryRow class 2023-12-17 22:33:34 +00:00
Georges Basile Stavracas Neto 1fbd5e0621 event-widget: Use GtkInscription for summary text
It's slightly more performant than a GtkLabel, which is demonstrably
the widget dominating the perf profile of the app.

Related: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1125
2023-12-17 22:32:18 +00:00
Sabri Ünal 41251bac1e appdata: Update appdata
- Mark one of the screenshots type default to validate appdata.
- Add missing the launchable tag
2023-12-17 22:29:17 +00:00
Hari RanaandGotam Gorabh 303c5fd0fe calendar-row: Add read-only icon for read-only calendars
Co-authored-by: Gotam Gorabh <gautamy672@gmail.com>
2023-12-14 02:46:56 +00:00
Jean-François Fortin Tam c0e258b6e4 style: Harmonize the mini calendar's week numbers with GNOME Shell
Make the week numbers a bit clearer to look at in the mini calendar,
differentiating them from day numbers so it's easier to tell them apart.

The style is loosely inspired from GNOME Shell's calendar widget,
but retains GNOME Calendar's more compact layout.

Closes: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/378
Related: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/934
2023-12-13 20:33:58 -05:00
Hari Rana b270176d02 calendars-page: Add AdwClamp to contrain the size 2023-12-14 00:28:21 +00:00
Hari Rana 5a1fce406b calendar-management: Set width request
The minimum width of the dialog was really low, which would make it unreadable, so a width request is being set to set a reasonable minimum width.
2023-12-14 00:20:08 +00:00
Hari Rana 57cb3a7650 alarm-row: Remove GtkBox
Uses valign in all buttons, instead of using GtkBox
2023-12-14 00:11:56 +00:00
Felipe Kinoshita de0ad92bc7 about_window: Format debug information with markdown
This helps in the quick copy/paste aspect, removing the need to further
edit the debug info once copied into Gitlab's description.
2023-12-13 23:54:39 +00:00
Georges Basile Stavracas Neto 1043917ecf event-editor/time-selector: Don't change dropdown on callback
The 'update_time' function shouldn't try to update the dropdown,
as it is actually invoked by the dropdown itself. This causes a
cyclic loop with signal emission.

Closes: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1133
2023-12-13 19:41:41 -03:00
Georges Basile Stavracas Neto 3b9bf55dd5 event-editor/time-selector: Properly diff times
Helps: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1133
2023-12-13 19:41:41 -03:00
Hari Rana 033fca7900 calendar-row: Mark string as translatable 2023-12-07 15:03:14 +00:00
Piotr Drąg 4a7c1d8653 Update POTFILES.in 2023-12-07 15:01:45 +01:00
Felipe Kinoshita be73ecf175 gcal-week-header: Stop using gtk_widget_get_allocation
gtk_widget_get_allocation is deprecated, let's use
gtk_widget_get_width/gtk_widget_get_height instead.
2023-12-05 21:09:23 +00:00
Hari Rana e7a61de5fc calendars-page: Add shortcuts for Add Calendar
The "Add Calendar" button lacked a mnemonic, which made it difficult for keyboard users to activate it. It also adds a Ctrl+N shortcut.
2023-12-04 19:46:10 -05:00
Hari Rana 8c53034864 a11y: Add labels for calendar pages 2023-12-04 18:40:57 +00:00
Hari Rana 2b9be229ea a11y: Add labels for search 2023-11-30 22:08:23 -05:00
Guntupalli Karunakar 951e19604a Update Hindi translation 2023-11-30 17:56:12 +00:00