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
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
Christopher Davis
55666e1624
appdata: Update screenshots for GNOME 43
...
Remove the old screenshots, and replace them with updated
screenshots hosted on static.gnome.org.
Part of https://gitlab.gnome.org/GNOME/Initiatives/-/issues/34
2022-08-20 20:56:52 +00:00
Christopher Davis
a53787457e
window: Use two today buttons instead of moving
...
This fixes an issue that caused flickering as the window
approached a size where it could fold.
2022-08-12 03:00:08 +00:00
Christopher Davis
04ead5fe85
window: Update today action enabeld state instead of button sensitivity
...
Button sensitivity is automatically updated with action state.
By taking advantage of this we can use the `win.today` action
on multiple buttons without needing to update every button.
2022-08-12 03:00:08 +00:00
Christopher Davis
9444d998ff
general: Use GcalToolbarEnd for toolbars
...
For the sake of smooth adaptivity, we need the toolbar buttons
to be constant in both modes instead of moving places from one
mode to another. Instead of duplicating these groups of
buttons, we can refactor them into an object for toolbars
and use them in multiple places.
This commit takes the widgets from the end of the header bar and
creates `GcalToolbarEnd`, which is used in the header bar and the
mobile action bar.
2022-08-12 03:00:08 +00:00
Christopher Davis
78d9dd1e8e
window: Move action widgets at small widths
...
Moves the action widgets (Today, New Event, Search) to an
action bar when the window shrinks.
2022-08-12 03:00:08 +00:00
Christopher Davis
4cc727f48d
window: Use AdwLeaflet for foldable window
...
Allows the window to shrink to a smaller width via AdwLeaflet.
2022-08-12 03:00:08 +00:00
Christopher Davis
117611ac1d
application: Port to AdwAboutWindow
2022-07-15 00:51:20 +00:00
Christopher Davis
905128cc69
event-editor: Use AdwEntryRow
2022-07-07 12:53:22 -04:00
Christopher Davis
1be5fe53b5
flatpak: Remove enable_glade_catalog from libweather options
...
libgweather no longer has any GTK widgets, nor a glade
catalog.
2022-07-06 14:19:16 -04:00
Christopher Davis
844fa595fd
window: Use AdwButtonContent for Today button
...
Text buttons in headerbars should come with an icon,
or an arrow if they're a dropdown. For this, we
have AdwButtonContent.
This commit makes use of AdwButtonContent for
the Today button, adding an icon and allowing
for the button to be flat in the headerbar.
2022-02-21 16:03:17 +00:00
Christopher Davis
83719270a4
window: Change button order, remove linked
...
* We shouldn't use `.linked` for header/toolbar buttons,
per https://blogs.gnome.org/alexm/2021/09/10/cleaning-up-header-bars/
* In other apps, back/forward buttons are at the very
beginning of the headerbar.
2022-02-21 16:03:17 +00:00
Christopher Davis
c974500186
week-header: Don't dim selected labels
...
The contrast of .dim-label and .accent isn't optimal.
To preserve proper contrast of selected weeks,
remove .dim-label while .accent is applied.
2022-02-15 17:12:21 -08:00
Christopher Davis
9dbe64a925
css: Use @accent_* colors instead of @theme_selected*
...
The `@theme_selected_*` colors are now aliases
to the libadwaita accent colors variables. This commit
replaces all uses with the corresponding color,
except for the text colors.
`@theme_selected_bg_color` is not the appropriate color
to use for colored text. Instead, you should use
`@accent_color` which has been tested for proper contrast.
2022-02-15 17:10:57 -08:00
Christopher Davis
709cfb75fa
gui: Use HdyViewSwitcher
...
For GNOME 40 apps should migrate to use HdyViewSwitcher.
For now, this does not mean full adaptivity.
2021-02-14 16:34:13 +00:00
Christopher Davis
18814e014d
CI: Use development profile for CI builds
...
Adds the -Dprofile=development argument to meson args for
CI builds. Syncs CI with flatpak manifest.
2019-09-30 12:04:08 -03:00
Christopher Davis
0aa9e42016
flatpak: Add development styling to window
...
Adds .devel style class to the main window for development
builds of Calendar.
Related to https://gitlab.gnome.org/GNOME/gnome-calendar/issues/285
2019-09-30 12:04:08 -03:00
Christopher Davis
0d6b2327e0
flatpak: Allow dual installation of app bundles
...
Part of https://gitlab.gnome.org/GNOME/Initiatives/issues/1 .
Allows for the installation of development bundles alongside
stable versions.
Related to https://gitlab.gnome.org/GNOME/gnome-calendar/issues/285
2019-09-30 12:04:08 -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