| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
currently when mouse clicking on a column header
to sort it it is grabbing keyboard focus, this
should not happen, keyboard focus should remain
where it was before. This can be seen on the
GtkFileChooser widget, when having the keyboard
focus on the file list items and clicking on a
column header to sort it the keyboard focus is
now on the header.
|
|\
| |
| |
| |
| | |
keymap: Cache key info
See merge request GNOME/gtk!1800
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We currently calling gdk_display_map_keyval up to
once per key event per shortcut trigger, and that function
does an expensive loop over the entire keymap and
allocates an array. Avoid this by caching the entries
in a single array, and have a lookup table for finding
the entries for a keyval.
To do this, change the GdkKeymap.get_entries_for_keyval
signature, and change the ::keys-changed signal to be
RUN_FIRST, since we want to clear the cache in the class
handler before running signal handlers. These changes are
possible now, since keymaps are no longer public API.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Adwaita: Use a mixin for visible focus rings
Closes #2653
See merge request GNOME/gtk!1802
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The focus-ring() mixin allows we to flexibly style the focus ring for
each widget. By using this, we can get rid of the "Outlines" section,
which is out of place in the _common.scss file.
This commit also has the following changes:
- Transition the focus rings on most widgets.
- Add a missing focus ring to iconview.
- Move the expander-widget focus ring to its title.
- Move the notebook focus ring to its checked tab.
Closes https://gitlab.gnome.org/GNOME/gtk/-/issues/2653
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
docs: Move menu model docs
See merge request GNOME/gtk!1799
|
|/
|
|
|
|
| |
It makes more sense to document the menu model XML
format in the GtkPopoverMenu docs than in
GtkApplicationWindow.
|
|\
| |
| |
| |
| | |
CI: Switch to new Windows runners
See merge request GNOME/gtk!1797
|
| |
| |
| |
| |
| |
| |
| | |
They use powershell instead of cmd.exe, use the tag win32-ps instead of win32,
and run Windows 2016 instead of 2012r2.
The old runners will be switched off in the comming weeks.
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
Add a quick sound test
See merge request GNOME/gtk!1796
|
|/
|
|
|
| |
Just to show that our media infrastructure is up
to playing little beeps and bings.
|
|\
| |
| |
| |
| | |
Ebassi/for master
See merge request GNOME/gtk!1795
|
| | |
|
| |
| |
| |
| | |
Hopefully people will read it.
|
|/
|
|
|
|
| |
The README file still links to the old web page about mailing lists; the
link is now a 404 after the website redesign, and we don't use mailing
lists any more, in favour of Discourse.
|
|\
| |
| |
| |
| | |
build: clean up .pc generation
See merge request GNOME/gtk!1793
|
|/
|
|
|
|
|
| |
Path concatenation is much nicer than the unwieldy format method.
Since paths returned by get_option are relative to prefix, they will be joined as before.
As a bonus, this fixes weird platforms like NixOS that actually pass absolute includedir under a different prefix.
|
|\
| |
| |
| |
| | |
popover: Fix repositioning logic
See merge request GNOME/gtk!1792
|
|/
|
|
|
|
| |
When the arrow changes position, we need to queue
an allocation to ensure that gtk_widget_allocate
actually calls our ->size_allocate vfunc.
|
|\
| |
| |
| |
| | |
Reshuffle action muxer initialization
See merge request GNOME/gtk!1789
|
| |
| |
| |
| |
| |
| |
| |
| | |
No need to construct a detailed signal name for
every action when we can just look up the signal ID
once and use the quark that the GParamSpec already
has. Also, we don't need to loop over the actions
every time we get a notification.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We were having a problem where property actions were
not getting state updates because prop_actions_connect
was triggered from some instance_init function while
the widget class is not in place yet.
Delay that call until the widget is fully constructed,
so we can guarantee that we are dealing with the
correct class private struct, and see all class actions.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Drop stack homogeneous
Closes #2673
See merge request GNOME/gtk!1791
|
| | |
| | |
| | |
| | |
| | |
| | | |
Replace this property by h/vhomogeneous.
Add a test.
|
|/ /
| |
| |
| |
| |
| |
| | |
We have hhomogeneous and vhomogeneous properties
that can be set individually.
Fixes: #2673
|
|\ \
| | |
| | |
| | |
| | | |
video: Don't hide the controls while the popup is shown
See merge request GNOME/gtk!1787
|
| |/
| |
| |
| |
| |
| |
| | |
We don't get motion events from the popup (due to grabs),
so just don't hide as long as we're grab shadowed. This
makes the controls stay up until the volume popup is
dismissed.
|
|\ \
| | |
| | |
| | |
| | | |
Widget factory larger logo
See merge request GNOME/gtk!1786
|
| |/
| |
| |
| |
| | |
This is large enough to not make the media controls
slider shrink to nothing.
|
|/ |
|
|\
| |
| |
| |
| | |
Drop parent->realized => child->realized invariant
See merge request GNOME/gtk!1783
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We already dropped this invariant in gtk_widget_verify_invariants()
because it was not true in all cases. Also, it is not really useful
these days as we extended what it means to be a "child" to also
include widgets in different toplevels.
For example, a popup in a popup button need not be realized just
because the button is in a realized window. The main invariants
we want are:
* Parent is realized before child
* Widget is realized before it is mapped
This sounds like its not a huge deal, but in fact it is a massive win
for things like menus, because when we go between menus in a menubar
each switch between two open menus involves a lot of intermingled
crossing events to different surfaces and for each of these the
tooltip window of the toplevel gets assigned to the new surface. This
shouldn't be a huge deal, as the tooltip window is not even visible,
but due to the realized invariant it get re-realized each time it gets
re-assigned.
|
|\ \
| |/
|/|
| |
| | |
Ebassi/for master
See merge request GNOME/gtk!1782
|
| |
| |
| |
| |
| | |
Now that we can have an element-type annotation, we should use it where
needed.
|
|/
|
|
|
|
|
|
|
| |
The `element-type` annotation is for GList and GSList only, and turns
out adding support for GListModel in gobject-introspection breaks Vala
and the GIR for GIO.
Instead of using `element-type`, we can use the `attributes` annotation,
which is ignored by code generators based on the GIR data.
|
|\
| |
| |
| |
| | |
Inspector media
See merge request GNOME/gtk!1781
|
| | |
|
|/
|
|
| |
We want to show this information in the inspector.
|
|\
| |
| |
| |
| |
| |
| | |
popover: Allocate after setting final_position
Closes #2671
See merge request GNOME/gtk!1780
|
| |
| |
| |
| |
| |
| |
| |
| | |
When we find out that we've been flipped, set
final_position and final_rect before allocating
the popover. This prevents 'smashed-in beak' disease.
Fixes: #2671
|
|\ \
| |/
|/|
| |
| |
| |
| | |
popovermenu: Don't put a separator before the first section
Closes #2672
See merge request GNOME/gtk!1779
|
|/
|
|
|
|
|
|
| |
When we have section titles, we were not hiding the
separator before the first section as we should;
fix this.
Fixes: #2672
|
|\
| |
| |
| |
| | |
widget-factory: Enable page transitions by default
See merge request GNOME/gtk!1777
|
|/
|
|
| |
No need to make this an easter egg.
|
| |
|
|\
| |
| |
| |
| | |
GtkFilechooserWidget: prevent oblivious selection of file
See merge request GNOME/gtk!1688
|