Commit Graph
4361 Commits
Author SHA1 Message Date
Georges Basile Stavracas Neto cfad123629 calendar-management: Cleanup some more 2023-06-22 00:20:21 +00:00
Georges Basile Stavracas Neto 400eb12572 calendar-management/dialog: Update default sizes 2023-06-22 00:20:21 +00:00
Georges Basile Stavracas Neto 106655def2 calendar-management/calendars: Switch to toasts
It's time to move on from the old in-app notification style.

Switch to toasts.
2023-06-22 00:20:21 +00:00
Georges Basile Stavracas Neto 5e5eb75be0 calendar-management/new-calendar: Move add button to dialog
Move the add button from the headerbar into the dialog, make it
a pill button, and update the button label with the number of
calendars that will be added.
2023-06-22 00:20:21 +00:00
Georges Basile Stavracas Neto a13b4ae4f6 calendar-management/pages: Subclass AdwBin
It's simpler.
2023-06-22 00:20:21 +00:00
Georges Basile Stavracas Neto bdda09abb8 calendar-management: Port to AdwNavigationView
The interfacing that GcalCalendarManagementDialog had is somewhat
similar to AdwNavigationView, with pages and signaling basically
matching the same semantics.

We can save some code by switching to AdwNavigationView then, as
the heavy-lifting of page management is done there now.

The headerbar of the dialog is no more; instead, each page has its
own headerbar that automatically gets a back button.

Page activation and deactivation works essentially the same, but
uses AdwNavigationView signals to manage that.
2023-06-22 00:20:21 +00:00
Automeris naranja fd5aeac057 general: Tweak tooltips
- Add header capitalization
- Shorten tooltip texts, following the tooltip examples provided by HIG

Tooltip examples can be seen at:
https://developer.gnome.org/hig/patterns/feedback/tooltips.html
2023-06-19 22:48:02 +00:00
Automeris naranja 8aa62b0a17 general: Add placeholder text to search entries
Acc. HIG, "text fields should have placeholder text or a label".

https://developer.gnome.org/hig/patterns/controls/text-fields.html
2023-06-19 22:48:02 +00:00
Hari Rana 10be0ac7ef edit-calendar: Limit Calendar URL row to 1 line; use basename 2023-06-19 11:08:35 -04:00
Christopher Davis 5f82b1054e calendar-management: Port credentials dialog to AdwToolbarView and AdwWindow 2023-06-19 01:17:28 -04:00
Christopher Davis 8e989294f7 importer: Port dialog to AdwWindow and AdwToolbarView 2023-06-19 01:09:55 -04:00
Christopher Davis 93da9cee7d calendar-management: Use AdwToolbarView for main page 2023-06-18 22:58:55 -04:00
Christopher Davis ec54dc0ba7 event-editor-dialog: Port to AdwToolbarView
All windows in an app should be using AdwToolbarView.
2023-06-18 22:44:40 -04:00
Christopher Davis 0c2b8261c2 event-editor-dialog: Use AdwWindow instead of GtkDialog
GtkDialog is being deprecated. Instead of using it,
we want to subclass AdwWindow. As part of this change
the content and headerbar are put together in one box.
2023-06-18 22:44:40 -04:00
Christopher Davis a295f6830d flatpak: Update ical dependency
We need to use a newer version of ical to successfully
build now.
2023-06-18 14:39:04 -04:00
Sveinn í Felli 026bcdc184 Update Icelandic translation
(cherry picked from commit c06a8fa65094889560c7b5b937a64b33ee2d8e8a)
2023-06-18 09:34:09 +00:00
Hari RanaandJamie Murphy 7b1752bc19 edit-calendar: Port to libadwaita
Co-authored-by: Jamie Murphy <hello@itsjamie.dev>
2023-06-17 22:13:41 +00:00
Christopher Davis 9a9cfb5468 gcal-utils: Use AdwMessageDialog
Use the new adaptive AdwMessageDialog widget
where we previously used GtkMessageDialog.
2023-06-17 18:49:19 -03:00
Christopher Davis 3ee8a3ae82 week-header: Ellipsize month 2023-06-17 20:18:07 +00:00
Christopher Davis 3f366ad19c week-header: Ellipsize "Other %d events" label
This label can be too wide for our view.
2023-06-17 20:18:07 +00:00
Christopher Davis 832b9132a2 window, calendar-button: Make text buttons shrinkable
Lets buttons shrink to fit the size they're given. This
is important for text buttons so they don't cause our
content to overflow our window.
2023-06-17 20:18:07 +00:00
Christopher Davis 11abf3460b style: Use darker color for .current-week 2023-06-17 20:18:07 +00:00
Christopher Davis 34bf2f8e50 window: Use AdwNavigationSplitView and AdwBreakpoint
Replaces our leaflet with the new AdwNavigationSplitView
widget and AdwBreakpoint.
2023-06-17 20:18:07 +00:00
Christopher Davis 5b528032db window, toolbar-end: ToolbarEnd Fixes
* Use the sidebar's search entry for search shortcut when folded
* Set context on the sidebar's search entry
* Drop context GtkExpression from gcal-toolbar-end.ui
2023-06-17 20:18:07 +00:00
Hari Rana ef88f27b4e calendars-page: Restrain borders of listbox
This restrains borders of the "Add Calendar…" row to its hitbox, making
it draw the borders accurately when increasing the size of the window.
2023-06-17 09:21:18 -04:00
Jakub Steiner 59a4f4c6b5 data: update app icon
- use purple to distinguish from TextEdit
- provide a 'source' file

Fixes https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1020
2023-06-14 15:45:13 +02:00
Dušan Kazik be83859f0e Update Slovak translation
(cherry picked from commit bc715f3d273606df3259601445b7645864f581e3)
2023-06-12 13:17:35 +00:00
Hari Rana 0a061fe6d1 new-calendar: Port to AdwEntryRow 2023-06-10 12:49:40 -04:00
Titouan Real 2cb0414bb8 build: Update deprecated meson functions 2023-06-07 15:51:37 +02:00
Titouan Real e70735d206 build: Add explicit kwarg to run_command call 2023-06-07 15:51:30 +02:00
Titouan Real 64f9aaca4b build: Replace join_paths by / operator 2023-06-07 15:51:03 +02:00
Titouan Real cf1d70e6c7 Add condition to reset 2023-05-31 12:25:36 +00:00
Felipe Kinoshita 72eb199f84 general: Stop using get_allocated_width/height
gtk_widget_get_allocated_width and gtk_widget_get_allocated_height are
deprecated, let's use the recommended functions.
2023-05-30 05:13:34 -03:00
Sabri Ünal 407ec79a02 Update Turkish translation 2023-05-26 23:06:30 +00:00
Leônidas Araújo 44a42cf798 Update Brazilian Portuguese translation
(cherry picked from commit 7408b6829581bb0d415856b8296f80e044fe4ed5)
2023-05-26 20:26:35 +00:00
Georges Basile Stavracas Neto bd042ba4e8 calendar-button: Workaround listbox style
Use the 'modelbutton' CSS name to mimic the style of model buttons.

Closes https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/849
2023-05-23 19:14:42 -03:00
Georges Basile Stavracas Neto 3c672e0784 Move sync indicator into a separate widget
And move the new widget into the headerbar itself, instead of
the calendars button.
2023-05-23 19:01:19 -03:00
Shubh-1-am f6b5586191 gcal-event-popover: Fix for wrapping title text in event popover summary
Previously, the event title header text in the details popover was being ellipsized(truncated) instead of wrapping, making it difficult to read longer titles.
This commit updates the gcal-event-popover.ui file to set the "wrap" and "wrap-mode" properties to "true" and "word-char", respectively, for the summary label object.
This ensures that the event title header text is wrapped and more readable in the summary popover.

Fixes #1016.
2023-05-23 21:26:41 +00:00
Georges Basile Stavracas Neto b5c9d5b73f window: Use AdwToolbarView to look prettier
We're fashion now.
2023-05-23 17:01:54 -03:00
Georges Basile Stavracas Neto e08e2609ff build: Depend on libadwaita 1.14.alpha 2023-05-23 15:57:32 -03:00
Asier Sarasua Garmendia 6f219883fd Update Basque translation
(cherry picked from commit 1748966d82e9868a44fe8f9baab9637317fba060)
2023-05-18 16:28:37 +00:00
Georges Basile Stavracas Neto db38ae0012 event-popover: Remove leftover debug code 2023-05-11 17:25:20 -03:00
Gianvito Cavasoli 21fe0f76d7 Update Italian translation
(cherry picked from commit c71d7a5a4fd2d06e2797a55750d5ce06caca1d25)
2023-05-09 12:12:18 +00:00
Titouan Real 412f8bc4b4 Add Gnome contribute link 2023-04-25 22:16:58 +02:00
Titouan Real d7556af3f7 Add control requirements 2023-04-25 21:48:59 +02:00
Titouan Real cec66c7860 Update display length requirements 2023-04-25 21:47:34 +02:00
Titouan Real 23dba88a5d Add display length requirements 2023-04-25 19:23:44 +02:00
Titouan Real 507c6ca98d Add missing newlines 2023-04-25 18:28:41 +02:00
Titouan Real 689a65333d Add release types to gnome3 releases 2023-04-25 16:08:55 +00:00
Titouan Real 9df9ee0ed2 Add release types to gnome40+ releases 2023-04-25 16:08:55 +00:00