| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
- without sacrificing the fg/bg contrast too much, increase
selected item visibility
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3390
|
|
|
|
| |
So the sidebar can get the proper background and border colors.
|
|
|
|
| |
So the sidebar can get the proper background and border colors.
|
|
|
|
|
|
|
| |
The sidebar item style is already unified. The sidebar background-color
should be unified as well.
See https://gitlab.gnome.org/GNOME/gtk/-/issues/3382
|
|
|
|
|
|
| |
- Reorder declaration blocks for code legibility.
- Don't lighten text color on :hover and :selected for better contrast.
- Add missing :focus-visible:focus-within styling to non-:selected row.
|
|
|
|
|
|
|
|
|
| |
- Don't set the sidebar padding twice.
- Add padding to the assistant sidebar directly, as it doesn't have
.navigation-sidebar internally.
- Set missing margin to the sidebar separator.
See https://gitlab.gnome.org/GNOME/gtk/-/issues/3382
|
|
|
|
| |
The common .navigation-sidebar styling should be more generic.
|
|
|
|
|
|
| |
The widget can be used outside .navigation-sidebar.
This also fixes the label misalignment in the widget.
|
|
|
|
|
|
| |
Also don't set :show-separators, which is not applied in other sidebars.
See https://gitlab.gnome.org/GNOME/gtk/-/issues/3382
|
|\
| |
| |
| |
| |
| |
| | |
properly set ScaleButton's parent_class
Closes #3381
See merge request GNOME/gtk!2877
|
|/
|
|
|
| |
GtkScaleButton doesn't subclass GtkButton anymore
Fixes #3381
|
|\
| |
| |
| |
| | |
Fix some nullable return annotations
See merge request GNOME/gtk!2873
|
|/ |
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
Adwaita: avoid clipping menu shadows
Closes #1987
See merge request GNOME/gtk!2872
|
| |
| |
| |
| | |
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/1987
|
| |
| |
| |
| |
| |
| |
| | |
Doing the same mistake twice :( Even margin is eating from the container,
not expanding outside of it.
This reverts commit 6be575992f8e5b30dc8b8f2794e6a02941dc0031.
|
|\ \
| |/
|/|
| |
| |
| |
| | |
Adwaita: don't backdrop labels
Closes #3377
See merge request GNOME/gtk!2868
|
| |
| |
| |
| |
| |
| |
| | |
- instead of overriding :backdrop for sidebars, continue pursuing
not to backdrop anything but headerbar items and buttons.
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3377
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Adwaita: unified sidebar styles
Closes #3382
See merge request GNOME/gtk!2871
|
|/ /
| |
| |
| |
| |
| |
| | |
- stacksidebar focus, separation and color as everything else
- eliminate placessidebar double padding
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3382
|
|\ \
| | |
| | |
| | |
| | | |
Matthiasc/for master
See merge request GNOME/gtk!2870
|
| | |
| | |
| | |
| | |
| | |
| | | |
Show various ways to influence spacing. This is more or
less modeled on the way Androids constraint layout lets
you set up 'chains'.
|
| | |
| | |
| | |
| | |
| | | |
This is just to make it easier for myself to
find the right sources.
|
| | |
| | |
| | |
| | |
| | | |
Don't talk about steppers here, since we are only using
this type for combobox buttons nowadays.
|
| | |
| | |
| | |
| | |
| | | |
There steppers were lost on the way from GtkRange
to GtkScrollbar, so don't talk about them in the docs.
|
| | |
| | |
| | |
| | |
| | | |
Add GtkShortcutController as a keyword to some demos that
show its use.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
gtk/main: Do not unset active state on button release w/o implicit grab
See merge request GNOME/gtk!2869
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If an active grab gets undone on button press (e.g. closing a menu), we
will receive a button release on the new target even though it didn't handle
the button press, and disable ::active state.
This causes warnings when handling the button release, as it tries to undo
::active state that is not really there.
In order to fix this, check that the pointer focus actually had an implicit
grab at the time of receiving the button release, before trying to unset
the ::active state.
|
|\ \ \
| |_|/
|/| |
| | |
| | | |
Ebassi/for master
See merge request GNOME/gtk!2867
|
| | |
| | |
| | |
| | |
| | | |
The fishbowl widget is purely presentational, and its children should
not be visible in the accessibility tree.
|
| | |
| | |
| | |
| | | |
It has no accessible content, even if it displays widgets.
|
| | |
| | |
| | |
| | |
| | |
| | | |
If the accessible object is hidden, we can skip the emission of the
AddAccessible and RemoveAccessible signals on the cache, as those
objects won't be visible in the accessibility tree.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Simplify getting the accessible role when checking if an accessible
implementation should present itself; this avoids going through
GtkAccessible twice to get the same data.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The GtkAtSpiContext is responsible for removing itself from the root,
which will remove itself from the cache. Any code path that leads to the
GtkAtSpiContext instance being collected passes through the
unrealization phase, which will also unregister the context from the
accessibility bus and from the cache.
|
| | |
| | |
| | |
| | |
| | | |
In case g_get_prgname() returns NULL, which seems to be the case for the
GTK tests.
|
| | |
| | |
| | |
| | | |
We already have the name available.
|
| | |
| | |
| | |
| | |
| | | |
We need to wrap the argument for AddAccessible and RemoveAccessible into
a tuple, as that's what GDBus expects.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
GTK4: various fixes
See merge request GNOME/gtk!2864
|
| | | | |
|
| | | | |
|
| | | | |
|
| |/ /
| | |
| | |
| | |
| | | |
When mapping a texture to the framebuffer, we can use the 2D
form instead of the cube mapping form.
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | | |
Adwaita: revert edge-to-edge menuitems
Closes #3366
See merge request GNOME/gtk!2866
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
- use the old Industrial style menuitems to make the design feel purposeful
- adjust corners to have compatible border-radii of child elements
- include sidebars and navigation sidebars to look consistent
(plus the assistant sidebar)
Implements https://gitlab.gnome.org/GNOME/gtk/-/issues/3366
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
wayland: Implement minimization
Closes #2688
See merge request GNOME/gtk!2861
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Use the set_minimized method of the xdg_toplevel
interface to implement minimization as well as possible.
It is not possible, since there is no corresponding
state that we could use to update our surface state,
but in practice, it works well enough.
Fixes: #2688
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Constraint editor work
See merge request GNOME/gtk!2863
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We were not making the button sensitive in the case
of a constant constraint, and we were not properly
creating constant constraints either.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
g_file_replace_contents take a gsize, so passing -1
for string length does not work here.
|