Matthias Clasen
e502155dfa
Merge branch 'gbsneto/cleanup-gsettings' into 'main'
...
gtk: Remove last-folder-uri from schema
See merge request GNOME/gtk!4998
2022-08-30 19:14:44 +00:00
Georges Basile Stavracas Neto
9261b0079d
gtk: Remove last-folder-uri from schema
...
It's unused since 2013, apparently.
2022-08-30 15:58:47 -03:00
Goran Vidović
4638f942b8
Update Croatian translation
2022-08-30 11:56:21 +00:00
Yuri Chornoivan
46483bebcd
Update Ukrainian translation
2022-08-29 19:21:22 +00:00
Matthias Clasen
e077a6bffe
Merge branch 'wip/jimmac/HC-italic-hints' into 'main'
...
HC: entry - make hints italic
Closes #5143
See merge request GNOME/gtk!4994
2022-08-29 18:55:34 +00:00
Matthias Clasen
66dc193aeb
Merge branch 'font-feature-work' into 'main'
...
fontchooser: Rename default feature value
See merge request GNOME/gtk!4995
2022-08-29 18:48:00 +00:00
Matthias Clasen
39439aa838
fontchooser: Rename default feature value
...
"Default" is a better fit than "None" here.
2022-08-29 14:14:07 -04:00
Matthias Clasen
018bd0a927
fontchooser: Add a tooltip to the tweak button
...
Icon-only buttons are always better with a tooltip.
2022-08-29 12:13:32 -04:00
Matthias Clasen
975ab6e7cf
fontchooser: Remove placeholder from preview entry
...
The way we explicitly set the font on the entry
conflicts with the placeholder text styling. But the
entry isn't normally empty, so placeholder text is
not that important here. Remove it and use a tooltip
instead.
2022-08-29 10:21:37 -04:00
Jordi Mas
53c8975739
Update Catalan translation
2022-08-29 12:28:26 +02:00
Jakub Steiner
09176fc1b3
HC: entry - make hints italic
...
- to keep contrast but indicated difference between a value and a hint
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5143
2022-08-29 11:58:29 +02:00
Matthias Clasen
0f2582ff02
Merge branch 'font-feature-work' into 'main'
...
fontchooser: Improve handling of features
See merge request GNOME/gtk!4992
2022-08-29 01:26:12 +00:00
Matthias Clasen
a217be14f9
Merge branch 'gtknotebook-arrow-press' into 'main'
...
gtknotebook: Claim event sequence after pressing notebook arrow buttons
See merge request GNOME/gtk!4990
2022-08-28 23:30:00 +00:00
Matthias Clasen
e7b332c532
Merge branch 'gtknotebook-arrow-state' into 'main'
...
gtknotebook: update arrow button state when reordering tabs
See merge request GNOME/gtk!4991
2022-08-28 23:29:25 +00:00
Piotr Drąg
13382937d1
Update Polish translation
2022-08-28 23:34:58 +02:00
Matthias Clasen
c364f1ee12
fontchooser: Improve handling of features
...
salt and swsh need to be treated like cvXX, with
a dropdown. Also add examples to the default cases
of radio groups.
2022-08-28 17:02:56 -04:00
Mat
dd8c899737
gtknotebook: update arrow button state when reordering tabs
...
When reordering notebook tabs, updating the sensitivity state of the
arrow buttons is necessary if the tab is moved to the beginning or
end of the tab list.
2022-08-29 00:00:10 +03:00
Mat
d69fdaa04d
gtknotebook: Claim event sequence after pressing notebook arrow buttons
...
When notebook tabs are reorderable, pressing the notebook arrow buttons to
change the active tab results in tabs reordering unexpectedly.
Claim the event sequence after pressing an arrow button to avoid conflicts
with the motion/drag gesture used for reordering.
2022-08-28 23:42:59 +03:00
Aleksandr Melman
16eced7bf1
Update Russian translation
2022-08-28 18:51:12 +00:00
Matthias Clasen
1276e8868d
Merge branch 'notebook-tab-accessibility' into 'main'
...
gtkatspiselection: Retrieve the correct GtkNotebook tab widget
See merge request GNOME/gtk!4989
2022-08-28 14:53:03 +00:00
Goran Vidović
7539fb4ced
Update Croatian translation
2022-08-28 14:41:32 +00:00
Matthias Clasen
f24efd175e
Merge branch 'strdup-avoidance' into 'main'
...
notebook: Use canonical signal names
See merge request GNOME/gtk!4988
2022-08-28 14:05:02 +00:00
Mat
df40efd50d
gtkatspiselection: Retrieve the correct GtkNotebook tab widget
...
A typo resulted in the tab container widget being retrieved instead of
the tab widget. If an adjacent action widget was present, an infinite
loop occurred when switching tabs while a screen reader was enabled.
2022-08-28 17:02:01 +03:00
Hugo Carvalho
db5868d89b
Update Portuguese translation
2022-08-28 13:14:19 +00:00
Matthias Clasen
32796cad10
Use gtk_event_controller_set_static_name
...
This avoids strdups.
2022-08-27 22:35:13 -04:00
Matthias Clasen
b6a965a67c
eventcontroller: Allow static names
...
These names are a debug-only feature, and we
use string literals everywhere, so avoid the
overhead of copying them.
2022-08-27 22:35:13 -04:00
Matthias Clasen
6136f3ab95
shortcutaction: Intern signal names
...
Signal names are already interned anyway,
so we can avoid strdups here, and just use
the interned names.
2022-08-27 22:35:13 -04:00
Matthias Clasen
d3e79633e1
notebook: Use canonical signal names
...
No excuse for not doing that.
2022-08-27 22:34:31 -04:00
Goran Vidović
b362098f63
Update Croatian translation
2022-08-27 20:18:12 +00:00
Luca Bacci
35583c8d36
Merge branch 'gl-renderer-make-context-current-in-remove-program' into 'main'
...
GL Renderer: Make GdkGLContext current in gsk_gl_driver_shader_weak_cb
Closes #5140
See merge request GNOME/gtk!4985
2022-08-27 17:53:39 +00:00
Piotr Drąg
581bfd20e4
Update Polish translation
2022-08-27 16:16:35 +02:00
Piotr Drąg
c5bbdfb7b1
Update POTFILES.in and POTFILES.skip
2022-08-27 15:54:10 +02:00
Luca Bacci
bcccb46b7c
GL Renderer: Ensure that GdkGLContext is current in gsk_gl_driver_shader_weak_cb
...
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5140
2022-08-27 13:58:17 +02:00
Yuri Chornoivan
916328da2b
Update Ukrainian translation
2022-08-27 09:56:43 +00:00
Danial Behzadi
6ca0d616d4
Update Persian translation
2022-08-27 05:32:31 +00:00
Matthias Clasen
137af44f81
Merge branch 'font-chooser-feature-work' into 'main'
...
fontchooser: Handle font features better
See merge request GNOME/gtk!4984
2022-08-26 22:10:52 +00:00
Matthias Clasen
0441fd3678
fontchooser: Handle font features better
...
Properly show multiple-choice cvXX features as dropdowns,
include afrc, and fix bugs in feature enumeration that
made some features not show up.
2022-08-26 17:53:55 -04:00
Luca Bacci
3abc3425cb
Merge branch 'win32-gir' into 'main'
...
gdk/win32: do not expose gdk_win32_*_libgtk_only in public headers
See merge request GNOME/gtk!4980
2022-08-26 13:14:30 +00:00
Matthias Clasen
2017f3debe
Some strdup avoidance
2022-08-25 14:33:30 -04:00
Marc-André Lureau
4b08570727
gdk/win32: add missing Since tag for gdk_win32_display_get_egl_display
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2022-08-25 17:33:25 +04:00
Nart Tlisha
1042ca7e52
Update Abkhazian translation
2022-08-25 10:29:34 +00:00
Marc-André Lureau
52e3ed13e2
gdk/win32: deprecate gdk_win32_handle_table_lookup
...
This function is probably not generally useful for a Gtk+/win32 user,
and it's only used internally by gdk-win32. It's time to deprecate it, I
believe.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2022-08-24 21:02:57 +04:00
Benjamin Otte
fb7257a1f5
Merge branch 'treelistmodel-collapse-test' into 'main'
...
treelistmodel: Fix handling of collapsed nodes
Closes #4595
See merge request GNOME/gtk!4981
2022-08-24 13:42:51 +00:00
Matthias Clasen
83bf193218
Add a test for treelistmodel row collapse
...
Test that we can expand and collapse a row, and then
add another child below it, without crashing.
Adapted from the testcase in #4595 .
This tests the fix in the previous commit.
2022-08-24 08:23:22 -04:00
Matthias Clasen
f1c1c979c2
treelistmodel: Fix handling of collapsed nodes
...
When we collapse a node, we clear out the children,
but we were not disconnecting the signal handler on
the child listmodel, leading to bad outcomes when
that model is persistent and changing.
Fixes : #4595
2022-08-24 08:23:20 -04:00
Marc-André Lureau
6cfb6e0c9c
gdk/win32: do not expose gdk_win32_*_libgtk_only in public headers
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2022-08-24 15:44:32 +04:00
Luca Bacci
ef831235fe
Merge branch 'win32-gir' into 'main'
...
win32: various GI annotations and fixes
See merge request GNOME/gtk!4977
2022-08-24 09:41:11 +00:00
Luca Bacci
5286e9405d
Merge branch 'gdk-win32-scale-text-with-dpi-as-gtk3' into 'main'
...
GdkWin32: Scale text like in GTK3 with SYSTEM_DPI_AWARENESS
Closes #4187
See merge request GNOME/gtk!4979
2022-08-24 09:35:30 +00:00
Luca Bacci
c11ea42644
GdkWin32: Scale text with DPI like in GTK3 with SYSTEM_DPI_AWARENESS
...
Right now we only support system DPI awareness in GTK4. In that case
it makes sense to scale text with the DPI of the primary monitor, like
done in GTK3.
We plan to land support for proper fractional scaling in Gdk/Win32, so
in the future the "gtk-xft-dpi" setting will be gathered as intended,
i.e. for text magnification, as an a11y feature.
2022-08-23 19:53:44 +02:00
Luca Bacci
d7c04145ee
Merge branch 'gdk-win32-fix-monitor-for-popup' into 'main'
...
GdkWin32: Use primary monitor as fallback if popup layout does not intersect any
See merge request GNOME/gtk!4978
2022-08-23 17:20:02 +00:00