Matthias Clasen
0a78a592ff
togglebutton: Fix actionable state tracking
...
If we have a GAction as model, we just have to let
the action helper handle the state updates. GtkButton
already calls gtk_action_helper_activate() for us.
2021-06-10 08:36:08 -04:00
Matthias Clasen
208c527fb3
button: Add a private getter for the action helper
...
GtkToggleButton needs to know if it needs to actively
maintain its state, or defer to the action helper.
2021-06-10 08:36:01 -04:00
Matthias Clasen
28990285e2
testgaction: Add more widgetry
...
Add some toggle and check buttons to test that they
work as expected as GtkActionables.
2021-06-10 08:10:25 -04:00
Matthias Clasen
c7ad8d29e9
Fix the GAction test
...
We weren't setting the state of the stateful actions.
2021-06-10 08:10:08 -04:00
Matthias Clasen
dba8d1ff77
tests: Fix check vs toggle button confusion
...
Check buttons aren't toggle buttons anymore.
2021-06-10 07:49:08 -04:00
Matthias Clasen
143770f16d
4.3.1
2021-06-09 18:23:47 -04:00
Matthias Clasen
8a890238f5
Merge branch 'ebassi/docs-for-master' into 'master'
...
docs: Mention Window::close-request in the migration guide
See merge request GNOME/gtk!3655
2021-06-09 17:30:02 +00:00
Emmanuele Bassi
71be3a8de1
docs: Mention the ::damage-event signal in the migration guide
...
There is no replacement for damage event tracking.
2021-06-09 18:11:10 +01:00
Emmanuele Bassi
17373c3e77
docs: Mention GdkSurface:mapped
...
It replaces the ::map-event and ::unmap-event signals on GtkWidget.
2021-06-09 18:08:31 +01:00
Emmanuele Bassi
078ada75d4
docs: Mention Window::close-request in the migration guide
...
The Widget::delete-event signal was moved to Window::close-request.
2021-06-09 18:03:12 +01:00
Matthias Clasen
51a60b88b7
Merge branch 'ci-install-build' into 'master'
...
Make a standalone hello world
See merge request GNOME/gtk!3652
2021-06-09 12:59:46 +00:00
Matthias Clasen
193903ce4a
ci: Update the image
...
v32 of the image includes wayland-protocols 1.21, and
other updates from Fedora 34.
While we are at it, drop gtk-doc from the image, and drop
the separate DOCS_IMAGE - no longer used.
2021-06-09 08:42:37 -04:00
Matthias Clasen
386002597b
ci: Collect hello build logs
2021-06-09 08:42:30 -04:00
Matthias Clasen
e5a6d4a1c8
ci: Test building against installed GTK
...
This is meant to ensure that we e.g. install the
right header files, and so on.
2021-06-09 08:42:30 -04:00
Matthias Clasen
06caa57f9a
Make a standalone hello world
...
We want to test building against the installed GTK
in ci, so lets add a standalone project.
2021-06-08 17:41:11 -04:00
Matthias Clasen
5ef6944a41
Merge branch 'row-activated-annotation' into 'master'
...
treeview: Add a few missing annotations
Closes #3828
See merge request GNOME/gtk!3647
2021-06-08 17:17:45 +00:00
Matthias Clasen
2e415e266f
Merge branch 'wip/carlosg/spin-button-swipe-gesture' into 'master'
...
spinbutton: Connect swipe gesture to the text entry
Closes #4008
See merge request GNOME/gtk!3649
2021-06-08 14:54:26 +00:00
Zhi
970bb804de
fix: replace deprecated metods.
...
Use NSInputContext to replace NSInputManager, which has been deprecated
since 10.6.
Sync from 0e30a96
in gtk3.
2021-06-08 22:47:53 +08:00
Carlos Garnacho
915388cfdb
spinbutton: Mind the step in the swipe gesture
...
The swipe gesture forces values in the spin button that are
"impossible" according to the adjustment. This can break things
in creative ways.
Ensure the steps provided are always multiples of the adjustment
step value, and keep the remainder for further interaction.
2021-06-08 15:18:14 +02:00
Carlos Garnacho
1bf7f5eacb
spinbutton: Connect swipe gesture to the text entry
...
In the GTK3 days, the spin button was an entry, with buttons on
top, and the swipe gesture affected the input on the entry bits.
Now the spin button is a container, so this gesture in the capture
phase applies to all contained children (incl. buttons).
Attach this gesture to the entry itself, so the buttons are left
outside this business. The gesture is still in the capture phase
in order to prevent text selection/edition/etc to happen.
Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/4008
2021-06-08 15:17:56 +02:00
Matthias Clasen
6a86acb9ce
Apply 1 suggestion(s) to 1 file(s)
2021-06-08 12:59:57 +00:00
Matthias Clasen
e35e7bcd4a
Apply 1 suggestion(s) to 1 file(s)
2021-06-08 12:59:38 +00:00
Mohammed Sadiq
517b5173f9
video: Reveal controls on tap
...
So that the controls shall be shown on touch
2021-06-08 18:06:51 +05:30
Matthias Clasen
37acfcfcd5
Merge branch 'password-entry-buffer' into 'master'
...
Install gtkpasswordentrybuffer.h
See merge request GNOME/gtk!3646
2021-06-08 12:09:01 +00:00
Matthias Clasen
c2f2a45227
treeview: Documentation tweaks
2021-06-08 07:59:47 -04:00
Matthias Clasen
621e0a13e9
Install gtkpasswordentrybuffer.h
2021-06-08 07:49:42 -04:00
Matthias Clasen
92fcd37a19
Merge branch 'password-entry-buffer' into 'master'
...
Make GtkPasswordEntryBuffer public
See merge request GNOME/gtk!3645
2021-06-08 11:25:12 +00:00
Matthias Clasen
d8bde48b87
Make GtkPasswordEntryBuffer public
2021-06-08 11:25:11 +00:00
Matthias Clasen
825ffb9422
Merge branch 'ebassi/issue-3892' into 'master'
...
a11y: Update the level property for tree expanders
Closes #3892
See merge request GNOME/gtk!3470
2021-06-07 18:10:12 +00:00
Emmanuele Bassi
046ef010b3
Merge branch 'glib-main' into 'master'
...
subprojects: Use GLib main branch
See merge request GNOME/gtk!3642
2021-06-07 14:53:04 +00:00
Philip Withnall
b71ec6cb59
subprojects: Use GLib main branch
...
GLib upstream has renamed its `master` branch to `main`.
See https://gitlab.gnome.org/GNOME/glib/-/issues/2348 .
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2021-06-07 14:56:49 +01:00
Matthias Clasen
b1beb3650b
treeview: Add a few missing annotations
...
gtk_tree_view_row_activated and the ::row-activated signal
can (and do) receive NULL for the column occasionally.
This is an introspection api change.
Fixes : #3828
2021-06-06 08:24:52 -04:00
Matthias Clasen
fca19e72ad
Merge branch 'matthiasc/for-master' into 'master'
...
Docs: Tweaks
Closes #3638
See merge request GNOME/gtk!3639
2021-06-05 22:13:21 +00:00
Matthias Clasen
98d2320c93
gtk-builder-tool: Replace can-focus with focusable
...
The focusable property has the meaning that can-focus had
in GTK 3.
Update tests, and mention this in the migration guide.
Fixes : #3638
2021-06-05 17:56:35 -04:00
Matthias Clasen
effc7a619d
Docs: Tweaks
...
Remove some more redundant "or NULL" blurbs.
2021-06-05 17:38:23 -04:00
Matthias Clasen
0ec017fcc0
Merge branch 'matthiasc/for-master' into 'master'
...
popovermenu: doc tweaks
See merge request GNOME/gtk!3638
2021-06-05 21:36:06 +00:00
Matthias Clasen
94ad177176
popovermenu: doc tweaks
2021-06-05 17:19:39 -04:00
Matthias Clasen
4616104742
Merge branch 'submenu-action-fixes' into 'master'
...
Submenu action fixes
Closes #3721
See merge request GNOME/gtk!3272
2021-06-05 13:36:10 +00:00
Matthias Clasen
a3a24b81c8
Merge branch 'msvc-aarch64' into 'master'
...
gtkpopcountprivate.h: Fix build on ARM/aarch64 Visual Studio
See merge request GNOME/gtk!3637
2021-06-05 13:05:15 +00:00
Matthias Clasen
debcc62775
menusectionbox: Fix submenu-action for nested menus
...
We were not updating the state of submenu-actions
for nested submenus.
Fixes : #3721
2021-06-05 08:49:18 -04:00
Matthias Clasen
b11f31afea
popovermenubar: Make submenu-actions work
...
We were not updating submenu-action state
for items in menubars.
2021-06-05 08:49:17 -04:00
Matthias Clasen
db2e5648c9
menutrackeritem: Make submenu-actions work again
...
This broke when GtkActionMuxer stopped being a
GActionGroup.
2021-06-05 08:49:17 -04:00
Matthias Clasen
46d1f04a7c
bloatpad: Bring back the menubar
...
This was lost at some point.
2021-06-05 08:49:17 -04:00
Matthias Clasen
fe774c1ad8
Merge branch 'powimod_icon' into 'master'
...
Load icon from executable on Windows
Closes #3713
See merge request GNOME/gtk!3326
2021-06-05 12:47:08 +00:00
Chun-wei Fan
08ee36e7c4
gtkpopcountprivate.h: Fix build on ARM/aarch64 Visual Studio
...
__popcnt() is not supported for ARM nor ARM64 Visual Studio builds, so we must
use the fallback implementation as intrinsics are not supported for this
purpose on ARM/ARM64 Visual Studio builds.
2021-06-05 15:41:14 +08:00
Matthias Clasen
1605ec0a44
Merge branch 'ci-file-filters' into 'master'
...
GtkFileFilter: Allow case-insensitive patterns
Closes #3705
See merge request GNOME/gtk!359
2021-06-05 01:47:24 +00:00
Matthias Clasen
4b46e11b22
Merge branch 'imcontext-ignore-more-keysyms' into 'master'
...
imcontext: Ignore more keysyms
See merge request GNOME/gtk!3634
2021-06-05 01:19:39 +00:00
Matthias Clasen
9993e91add
Add GtkFileFilter tests
2021-06-04 21:10:01 -04:00
Matthias Clasen
9ac22c1088
GtkFileFilter: Add suffix matches
...
This is less flexible than a glob pattern, but it is
explicitly case-insensitive, to match the behavior
on Windows.
Fixes : #3705
2021-06-04 21:10:01 -04:00
Matthias Clasen
47400e4bd8
Add a helper to make case-insensitive globs
...
This will be used in GtkFileFilter in the future.
Tests included.
2021-06-04 21:10:01 -04:00