Matthias Clasen
40e09cf2bb
Merge branch 'wip/xdg-toplevel-bounds' into 'main'
...
wayland: Add supports for xdg_toplevel.bounds
See merge request GNOME/gtk!4261
2022-06-22 14:24:41 +00:00
Matthias Clasen
5a3ca064ea
Merge branch 'gtk-window-export-handle-win32' into 'main'
...
Implement gtk_window_export_handle for other backends
See merge request GNOME/gtk!4824
2022-06-22 14:20:11 +00:00
Daniel Mustieles
edc991dafd
Updated Spanish translation
2022-06-22 10:45:59 +02:00
Luca Bacci
a1d03e69a4
Add stub gtk_window_export_handle implementation for some backends
2022-06-21 22:56:33 +02:00
Aurimas Černius
ce88d19015
Updated Lithuanian translation
2022-06-20 22:18:16 +03:00
Matthias Clasen
381c34783d
Merge branch 'alatiera/inscription-since' into 'main'
...
inscription: Add missing Since annotations
See merge request GNOME/gtk!4815
2022-06-17 22:38:16 +00:00
Luca Bacci
3ea8dc02a3
Merge branch 'gdk-win32-gtk-overlay-scrolling' into 'main'
...
GdkWin32: Add code for gtk-overlay-scrolling setting
Closes #4899
See merge request GNOME/gtk!4816
2022-06-17 09:37:14 +00:00
Luca Bacci
83c780cfad
GdkWin32: Add code for gtk-overlay-scrolling setting
...
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/4899
2022-06-17 11:06:43 +02:00
Jordan Petridis
4b5d218067
inscription: Add missing Since annotations
2022-06-17 00:15:46 +03:00
Matthias Clasen
8944493eca
Merge branch 'wip/jimmac/hc-sidebar-borders' into 'main'
...
HC: make selected items better visible
Closes #4984
See merge request GNOME/gtk!4813
2022-06-15 13:40:17 +00:00
Jakub Steiner
dd9f26c492
HC: make selected items better visible
...
- follow libadwaita's example and outline selected items for better visibility
in high contrast variant
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/4984
2022-06-15 14:47:47 +02:00
Jordi Mas
3c038dc239
Update Catalan translation
2022-06-14 19:41:12 +02:00
Matthias Clasen
9ee555719e
Merge branch 'matthiasc/for-main' into 'main'
...
gtk-demo: Add some keywords
See merge request GNOME/gtk!4812
2022-06-14 12:25:02 +00:00
Benjamin Otte
7953092059
Merge branch 'wip/antoniof/dont-rubberband-on-drag-end' into 'main'
...
listbase: Don't start rubberband on ::drag-end
See merge request GNOME/gtk!4793
2022-06-14 03:45:55 +00:00
Jonas Ådahl
de1a8c8d89
wayland: Add support for xdg_toplevel.bounds
...
The GdkToplevelSize struct already has the concept of "bounds", which
means the largest size a window should reasonably have. It's practically
the equivalent of the monitor the window is intended to be mapped on,
with the "struts" (e.g. panels) cut out. It's used by GTK to use this
information to calculate a default window size that is "lagom" (swedish;
not too large, not too small).
2022-06-13 22:12:55 +02:00
Jordi Mas
98e000beb7
Update Catalan translation
2022-06-13 20:01:17 +02:00
Matthias Clasen
8b3a38779b
gtk-demo: Add some keywords
...
Make it so that the right demos show up when
you search for GtkInscription.
2022-06-13 11:16:51 -04:00
Aleksandr Melman
8d72c8ee5f
Update Russian translation
2022-06-13 13:26:30 +00:00
Benjamin Otte
f9b0866415
Merge branch 'wip/otte/inscription' into 'main'
...
Inscription: Derive row alignment from xalign
See merge request GNOME/gtk!4811
2022-06-13 12:08:16 +00:00
Danial Behzadi
dbe06357ec
Update Persian translation
2022-06-13 06:44:53 +00:00
Danial Behzadi
9e03c3f6cd
Update Persian translation
2022-06-13 05:48:56 +00:00
Benjamin Otte
2d14372142
reftests: Add an inscription xalign RTL test
...
This checks mainly that we do the right thing wrt PangoAlignment
weirdness.
0.25 and 0.75 are set to 0.0 and 1.0 currently because of Pango
limitations (and no desire to manually move lines).
But if that were to be fixed, both the ref and the test should update in
the same way and things should just keep working.
2022-06-13 06:49:22 +02:00
Benjamin Otte
0a4c08a7be
inscription: Multiparagraph text is always multiline
...
Wrap this text and clip towards the bottom, no matter how high the
inscription is.
2022-06-13 06:49:12 +02:00
Benjamin Otte
883011f252
inscription: Do not try to align layouts that have a proper width set
...
Pango knows where to put the text.
2022-06-13 06:49:12 +02:00
Benjamin Otte
4927b6e625
reftests: Add inscription reftest for xalign
...
Compare with labels again.
2022-06-13 06:49:11 +02:00
Georges Basile Stavracas Neto
c93a01d627
Inscription: Derive row alignment from xalign
...
Texts usually want the alignment of each row to match the xalign of
the text itself.
Derive the alignment of the PangoLayout from the xalign property of
the inscription. Because Pango doesn't provide float row alignment,
map left, center and right from the xalign in 1 / 3 steps.
2022-06-13 05:35:47 +02:00
Piotr Drąg
221a18704b
Update POTFILES.skip
2022-06-12 14:52:37 +02:00
Matthias Clasen
62984d091a
Merge branch 'wip/otte/inscription' into 'main'
...
More inscription work
See merge request GNOME/gtk!4808
2022-06-12 01:38:40 +00:00
Benjamin Otte
6d15549f51
inscription: Add ::wrap-mode
...
We use a different wrap-mode than GtkLabel, because we cannot just
resize the widget to make long words fit, we have to fit the size we are
given.
2022-06-12 03:10:50 +02:00
Benjamin Otte
4c1fc4f5d7
reftests: Test inscription multiline overflow
2022-06-12 02:42:00 +02:00
Benjamin Otte
98e0ca7477
gtk-demo: Add a "Read More" label demo.
2022-06-11 22:19:17 +02:00
Benjamin Otte
4809efd630
reftests: Test overflowing inscription yalign
...
Overflowing inscriptions should always align to the top, even when half
an extra line is available.
2022-06-11 22:19:17 +02:00
Matthias Clasen
d88e935398
Merge branch 'wip/otte/listmodels' into 'main'
...
19 listmodels: Add ::item-type and ::n-items
See merge request GNOME/gtk!4807
2022-06-11 15:15:53 +00:00
Benjamin Otte
393ef4d0a2
inscription: Fixate layout at top when it doesn't fit
...
Ellipsized and clipped layouts shouldn't reposition themselves according
to yalign when they don't fully fit.
2022-06-11 16:28:27 +02:00
Benjamin Otte
efd9aac3fa
assistant: Add ::item-type and ::n-items to the pages list
2022-06-11 16:08:37 +02:00
Matthias Clasen
c7c8b37e4c
Merge branch 'wip/otte/inscription' into 'main'
...
Add GtkInscription
See merge request GNOME/gtk!4800
2022-06-11 13:47:20 +00:00
Benjamin Otte
11aef91fa5
bookmarklist: Add ::item-type and ::n-items
2022-06-11 08:25:23 +02:00
Benjamin Otte
f48c9b8388
directorylist: Add ::item-type and ::n-items
2022-06-11 08:25:22 +02:00
Benjamin Otte
62096ebd16
filterlistmodel: Add ::item-type and ::n-items
...
With tests!
2022-06-11 08:25:22 +02:00
Benjamin Otte
f7b8184b00
fattenlistmodel: Add ::item-type and ::n-items
...
With tests!
2022-06-11 08:25:21 +02:00
Benjamin Otte
b91f60b4f9
listlistmodel: Add ::item-type and ::n-items
2022-06-11 08:25:21 +02:00
Benjamin Otte
b6ba8ecbd0
maplistmodel: Add ::item-type and ::n-items
...
With tests!
2022-06-11 08:25:20 +02:00
Benjamin Otte
02ee10639d
multifilter: Add ::item-type and ::n-items
2022-06-11 08:25:20 +02:00
Benjamin Otte
0e42fa95b1
multiselection: Add ::item-type and ::n-items
...
With tests!
2022-06-11 08:25:19 +02:00
Benjamin Otte
7a36632afc
multisorter: Add ::item-type and ::n-items
2022-06-11 08:25:19 +02:00
Benjamin Otte
301f1a577d
noselection: Add ::item-type and ::n-items
2022-06-11 08:25:18 +02:00
Benjamin Otte
67e336992f
propertylookuplistmodel: Add ::item-type and ::n-items
...
With tests!
2022-06-11 08:25:18 +02:00
Benjamin Otte
e1845f5e90
selectionfiltermodel: Add ::item-type and ::n-items
2022-06-11 08:25:17 +02:00
Benjamin Otte
d7dae84af2
shortcutcontroller: Add ::item-type and ::n-items
2022-06-11 08:25:17 +02:00
Benjamin Otte
0f829c4599
singleselection: Add ::item-type and ::n-items
...
With tests!
2022-06-11 08:25:16 +02:00