- 05 Jun, 2020 4 commits
-
-
Adrien Plazas authored
-
Adrien Plazas authored
-
Adrien Plazas authored
-
Adrien Plazas authored
The listed files shouldn't be published in tarballs.
-
- 04 Jun, 2020 5 commits
-
-
Felix Häcker authored
-
Adrien Plazas authored
We made HdyActionRow non-activatable by default, but forgot to make HdyPreferencesWindow's search rows activatable. This makes search work again. Fixes #283.
-
Adrien Plazas authored
This accesses a page's vertical adjustment rather than using the page as if it was a scrolled window, which is incorrect as we made HdyPreferencesPage inherit from GtkBin instead of GtkScrolledWindow. This fixes a crash when activating a row.
-
Adrien Plazas authored
This is needed to automatically scroll to a given preference since HdyPreferencesPage doesn't inherit from GtkScrolledWindow anymore but contain one instead.
-
This property doesn't really do anything considering the widget also has an embedded view switcher which is taller than title+subtitle combined.
-
- 02 Jun, 2020 15 commits
-
-
This is a regression from e60a39eb Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
The transition-duration property only matters for programmatic transitions. For the gesture, the duration is determined by HdySwipeTracker, or is 0 if animations are disabled system-wide, so skipping it in this case is wrong. Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
Currently we set it when starting a transition. This usually works, except when the transition is NONE or the duration is 0. To avoid it automatically cancelling any (even programmatic) transitions, reset the status at the end of the transition. Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
-
Alexander Mikhaylenko authored
Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
Adrien Plazas authored
Adwaita has .heading, elementary heas .h4, other themes are expected to implement .heading. If they don't it's not our issue, so just drop the fallback that was there until .heading was available.
-
Adrien Plazas authored
This style class has been added to Adwaita in GTK 3.24.14, and matches what we want to achieve here.
-
Adrien Plazas authored
It was forgotten earlier.
-
Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
Fixes #275 Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
Rename the sofile and the catalog xml to avoid duplicate filenames. Fixes #278 Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
- 28 May, 2020 1 commit
-
-
Like gtk4 and gtk3 we want libhandy-0 and libhandy-1 be different source packages so they can exist in parallel.
-
- 27 May, 2020 15 commits
-
-
Since these animations are time-based and the duration is known, it's enough to just have a tick callback triggering redraws for the indicator widget on each frame until the time runs out. Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
This is needed so that indicators can show an animation. Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
Expose the HdyCarouselBox one. Add a corresponding test. Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
When adding a child, set its size to 0 and animate to 1. Do the opposite when removing. The children that are being removed don't contain widgets anymore, so add checks in every place that accesses their widgets. Change get_n_pages() and get_nth_child() to ignore the removing children. Since snap points move during the animations, keep the destination child during position animations and adjust the end value as it changes. Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
This will be used to control the animation duration in the next commit. Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
A small cleanup. Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
This will allow child animations to use the same struct, and to make the code a bit more generic in future. Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
This will allow to have child animations in the same callback, so that everything animates in sync. Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
This is a prerequisite for animated addition and removal later. Since sizes can be different, using page index as its snap point, or scroll position as index, so make sure they are converted as needed. Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
It would be good to ensure we only ever animate to child positions in future, so only allow that. Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
Ensure the scrolling position doesn't jump after adding, removing or reordering children, even during an ongoing gesture. Use the closest snap point instead of just position when determining whether to do the shift. Add 'position-shifted' signal, connect to it from HdyCarousel and update the HdySwipeTracker position accordingly. Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
Move the implementation from HdyCarousel. This will allow to have more precise values later without exposing the internals to HdyCarousel. Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-
Instead of implementing insert() as add() and reorder(), implement add() as insert() at the end. Signed-off-by:
Alexander Mikhaylenko <alexm@gnome.org>
-