Adam Williamson
e07f8ef506
focus: fall back to old behaviour if we didn't focus anything
...
8455b9ac74
seems to have introduced a problem where we can wind
up focusing no widget at all if the `while (parent)` loop doesn't
find a widget it can successfully move the focus to. This 'fixes'
that by falling back to doing the previous thing if we make it
all the way through that loop without moving the focus. Thanks to
@coreyberla for a hint to improve the implementation.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-02 09:32:32 -07:00
Sabri Ünal
a272887c34
Update Turkish translation
2022-11-02 06:06:38 +00:00
Nathan Follens
c4c9a44d7a
Update Dutch translation
...
(cherry picked from commit 381c056070
)
2022-11-01 23:10:53 +00:00
Matthias Clasen
9c5ba5544e
Post-release version bump
2022-10-31 22:22:06 -04:00
Matthias Clasen
0af8d7cf06
4.9.1
2022-10-31 22:07:15 -04:00
Matthias Clasen
fcf00391b4
Merge branch 'matthiasc/for-main' into 'main'
...
Revert "modules: Fix build on Visual Studio"
See merge request GNOME/gtk!5187
2022-11-01 01:09:51 +00:00
Matthias Clasen
16b95939f9
gdk: Bump the jpeg malloc limit
...
Bump the limit for memory use during jpeg loading
to 1GB, matching what gdk-pixbuf has for this.
2022-10-31 20:35:15 -04:00
Matthias Clasen
0a6f3944a0
Revert "modules: Fix build on Visual Studio"
...
This reverts commit acd9c12667
.
This commit breaks the build with GLib main on all platforms,
and defining _GLIB_EXTERN arguably invades the GLib namespace.
A different fix for msvc will have to be found.
2022-10-31 20:20:32 -04:00
Matthias Clasen
1a8ff606f2
Merge branch 'matthiasc/for-main' into 'main'
...
Be consistent in preconditions for async API
See merge request GNOME/gtk!5186
2022-10-31 21:15:10 +00:00
Matthias Clasen
030e8c0bf9
Be consistent in preconditions for async API
...
Do the same checks in all our finish functions.
2022-10-31 16:40:54 -04:00
Aleksandr Melman
4b29972d31
Update Russian translation
2022-10-31 12:30:25 +00:00
Matthias Clasen
d1bff928f6
Merge branch 'ebassi/since-for-main' into 'main'
...
Ebassi/since for main
See merge request GNOME/gtk!5185
2022-10-30 23:22:19 +00:00
Emmanuele Bassi
d665b0e042
docs: Add missing Deprecated annotations
2022-10-30 20:08:39 +00:00
Emmanuele Bassi
37fadb20a9
docs: Add missing Since annotations
2022-10-30 20:08:21 +00:00
Matthias Clasen
1c3f179a20
Merge branch 'matthiasc/for-main' into 'main'
...
alertdialog: Small refactoring
See merge request GNOME/gtk!5184
2022-10-30 13:29:35 +00:00
Matthias Clasen
5cb84afaa9
Add a test for POTFILES.in
...
Add a test that runs make-pot. This will only pass
if you've updated po/POTFILES.in and .skip after
moving source files around.
Unfortunately, it won't catch new source files that
are missing.
2022-10-30 08:52:02 -04:00
Matthias Clasen
a36bf22134
alertdialog: Small refactoring
...
Move the deprecated code out into its own function.
2022-10-30 08:52:02 -04:00
Piotr Drąg
8ef8514036
Update POTFILES.in
2022-10-30 12:34:21 +01:00
Matthias Clasen
c1b1e96a9a
Merge branch 'deprecate-gtkdialog2' into 'main'
...
Deprecate GtkDialog
See merge request GNOME/gtk!5182
2022-10-29 20:39:18 +00:00
Matthias Clasen
9948053cd7
Deprecate GtkDialog
...
GtkDialog is too flexible in terms of UI (headerbars vs action bar,
etc), and has archaic APIs. It is time to retire it.
2022-10-29 15:27:53 -04:00
Matthias Clasen
f1af8046d0
Merge branch 'matthiasc/for-main' into 'main'
...
Docs updates
See merge request GNOME/gtk!5180
2022-10-29 19:22:50 +00:00
Matthias Clasen
8324a93c73
Update docs
...
Mention new deprecations in the future migration guide.
2022-10-29 14:14:59 -04:00
Matthias Clasen
251dcc2f86
Merge branch 'async-dialog-api2' into 'main'
...
Add new async APIs to replace chooser dialogs
See merge request GNOME/gtk!5174
2022-10-29 17:52:13 +00:00
Matthias Clasen
2ca168d680
NEWS: Updates
2022-10-29 13:31:41 -04:00
Matthias Clasen
f54ab91ff3
Deprecate GtkFileChooser and implementations
...
These are being replaced by GtkFileDialog.
This commit only moves the headers for GtkFileChooserWidget and
GtkFileChooserDialog to deprecated/, and keeps the implementations
in gtk/, since they will eventually be salvaged into a private
GtkFileChooserWindow.
2022-10-29 13:31:41 -04:00
Matthias Clasen
66b062a976
Deprecate GtkMessageDialog
...
It is getting replaced by GtkAlertDialog
This commit only moves the header to deprecated/,
and keeps the implementation in gtk/, since it will
eventually be salvaged into a private, dialog-free
widget.
2022-10-29 13:31:41 -04:00
Matthias Clasen
15572b0183
Deprecate GtkFontChooser and implementations
...
These are being replaced by GtkFontDialog
and GtkFontDialogButton
This commit only moves the headers for GtkFontChooserWidget and
GtkFontChooserDialog to deprecated/, and keeps the implementations
in gtk/, since they will eventually be salvaged into a private
GtkFontChooserWindow.
2022-10-29 13:31:41 -04:00
Matthias Clasen
a51a6a3ee2
Deprecate GtkColorChooser and implementations
...
These are being replaced by GtkColorDialog
and GtkColorDialogButton.
This commit only moves the headers for GtkColorChooserWidget
and GtkColorChooserDialog to deprecated/, and keeps the
implementations in gtk/, since they will eventually be
salvaged into a private GtkColorChooserWindow.
2022-10-29 13:31:41 -04:00
Matthias Clasen
8bee62dd36
examples: Port to async dialog API
2022-10-29 13:31:41 -04:00
Matthias Clasen
4248380538
print-editor: Port to async dialog API
2022-10-29 13:31:41 -04:00
Matthias Clasen
e7de4c1f99
node-editor: Port to async dialog API
2022-10-29 13:31:41 -04:00
Matthias Clasen
d620197ae1
constraint-editor: Port to async dialog API
2022-10-29 13:31:41 -04:00
Matthias Clasen
ad2552ee43
widget-factory: Port to async dialog API
2022-10-29 13:31:41 -04:00
Matthias Clasen
756888a53d
gtk-demo: Port to async dialog API
2022-10-29 13:31:41 -04:00
Matthias Clasen
99e1643cdd
gtk-demo: Rewrite the pickers demo
...
This needs some more work. For now, just have
very simple test cases for some of the new async
APIs.
2022-10-29 13:31:41 -04:00
Matthias Clasen
9839aca0bd
inspector: Port to async dialog API
2022-10-29 13:31:41 -04:00
Matthias Clasen
9ab732ce2d
gtk: Port to async dialog API
2022-10-29 13:31:41 -04:00
Matthias Clasen
6ed2d2b232
Add GtkFileDialog
...
Add an async API for picking a file, together with
a builder object for it. This is meant to replace direct
use of GtkFileChooserDialog.
2022-10-29 13:31:41 -04:00
Matthias Clasen
cccc74786f
Add GtkAlertDialog
...
This is replacing GtkMessageDialog with an
async API for showing informational messages.
2022-10-29 13:31:41 -04:00
Matthias Clasen
aeacc8f3c5
Add GtkFontDialogButton
...
This is like GtkColorDialogButton, but for fonts.
2022-10-29 13:31:41 -04:00
Matthias Clasen
7d0ebe02db
Add GtkFontDialog
...
This is similar to GtkColorDialog, but for fonts.
2022-10-29 13:31:41 -04:00
Matthias Clasen
655675e6a1
Add GtkColorDialogButton
...
This is a new color button implementation
built around GtkColorDialog.
2022-10-29 13:02:15 -04:00
Matthias Clasen
f877f33c19
Add GtkColorDialog
...
Add an async API for picking a color, together with
a builder object for it. This is meant to replace direct
use of GtkColorChooserDialog.
2022-10-29 10:18:37 -04:00
Matthias Clasen
2fce117d15
Add GtkDialogError
...
This error domain will be used by async apis
in future commits.
2022-10-29 10:18:37 -04:00
Matthias Clasen
bd5dedce12
fontchooser: Add a way to set a GtkFilter
...
We keep this private, since the chooser apis
are going away. This will be used in GtkFontDialog.
2022-10-29 10:18:37 -04:00
Matthias Clasen
bdc91c2339
messagedialog: Cosmetics
2022-10-28 22:23:04 -04:00
Matthias Clasen
8be7515610
Merge branch 'matthiasc/for-main' into 'main'
...
ci: Try to fix the macos build
See merge request GNOME/gtk!5179
2022-10-29 02:08:19 +00:00
Matthias Clasen
2cef677aef
ci: Require macos to build again
2022-10-28 21:39:13 -04:00
Matthias Clasen
a2e2673809
ci: Try to fix the macos build
...
It seems that libjpeg-turbo first finds nasm,
and then doesn't find it. Turn off simd to keep
it from looking for it in the first place.
2022-10-28 21:07:58 -04:00
Matthias Clasen
2c844e961f
Merge branch 'matthiasc/for-main' into 'main'
...
printeroptionwidget: Drop unused include
See merge request GNOME/gtk!5178
2022-10-28 23:41:03 +00:00