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
Benjamin Otte
3fca865625
slicelistmodel: Add ::item-type and ::n-items
...
With tests!
2022-06-11 08:25:16 +02:00
Benjamin Otte
bf8b26aa27
sortlistmodel: Add ::item-type and ::n-items
...
With tests!
2022-06-11 08:25:15 +02:00
Benjamin Otte
cbc3d3f3ec
stack: Add ::item-type and ::n-items to the pages list
2022-06-11 08:25:15 +02:00
Benjamin Otte
fd4562aac9
treelistmodel: Add ::item-type and ::n-items
...
With tests!
2022-06-11 08:25:14 +02:00
Benjamin Otte
c26962c4b1
multifilter: Actually emit ::items-changed when items change
2022-06-11 08:25:14 +02:00
Benjamin Otte
46ce19d22a
multisorter: Actually emit ::items-changed when items change
2022-06-11 08:25:14 +02:00
Benjamin Otte
303bc3bb1b
inspector: Use inscriptions for the rendernodes list
2022-06-11 02:15:08 +02:00
Benjamin Otte
bf5edc6b7c
reftests: Add test for the overflow methods
...
Reference is using labels again
2022-06-11 02:15:08 +02:00
Benjamin Otte
7c034cc283
inscription: Set css name
...
We use "label" just like GtkLabel as the two widgets differ in the way
they are measured, but they should be styled the same.
If it turns out we change our opinion on this for specific cases, we
can add style classes later.
2022-06-11 02:15:08 +02:00
Benjamin Otte
e437a9c348
inscription: Add a11y support for text interface
...
This is entirely untested.
2022-06-11 02:15:08 +02:00
Benjamin Otte
1517c1813c
inscription: Add ::text-overflow
...
Can't name it ::overflow, because that's taken by GtkWidget already
2022-06-11 02:15:08 +02:00
Benjamin Otte
9973a7173f
reftests: Add test for inscription markup parsing
...
Compare with label markup parsing as the reference.
2022-06-11 02:15:08 +02:00
Benjamin Otte
01fcfc5c2a
inscription: Add ::markup
...
Utility property that sets both the ::text and ::attributes properties,
mainly intended for use in ui files to ease translation support and bindings.
2022-06-11 02:15:08 +02:00
Benjamin Otte
3f4c88aad1
inscription: Add ::attributes property
2022-06-11 02:15:08 +02:00
Emin Tufan Çetin
8a0d6da187
Update Turkish translation
2022-06-10 06:06:14 +00:00
Benjamin Otte
b8199bcc1f
gtkpango: Add G_GNUC_WARN_UNUSED_RESULT
...
Guess who just spent 10 minutes in gdb and doesn't want to do that
again.
2022-06-10 04:34:23 +02:00
Benjamin Otte
abdbef1b5e
inspector: Add inscription support
...
Allow searching for inscription text and show it in the label column.
2022-06-10 04:34:23 +02:00
Benjamin Otte
6ac7f0562b
inspector: Use inscriptions in the object tree
2022-06-10 04:34:23 +02:00
Benjamin Otte
c796b30136
testcolumnview: Use GtkInscription
...
This test is suddenly MASSIVELY faster.
I wonder why.
Could it be because inscription does exactly what it was made for?
2022-06-10 04:34:23 +02:00
Benjamin Otte
61bc38cd61
gtk-demo: Use GtkInscription in the wordlist demo
2022-06-10 04:34:23 +02:00
Benjamin Otte
b56b5ed81b
gtk-demo: Use GtkInscription in the main list
2022-06-10 04:34:23 +02:00
Benjamin Otte
b6a8080b2f
Add GtkInscription
...
A label alternative that renders itself into a given rectangle.
The main use case is cells in column view.
Related: #3334
2022-06-09 05:58:27 +02:00
Matthias Clasen
0400607102
Merge branch 'symbolic-hc' into 'main'
...
Wayland/display: Don't force HighContrast icon theme
See merge request GNOME/gtk!4802
2022-06-08 10:36:46 +00:00
Matthias Clasen
5089fa3ecc
Merge branch 'node-editor-scale' into 'main'
...
node-editor: Add a zoom button
See merge request GNOME/gtk!4804
2022-06-07 18:57:53 +00:00
Benjamin Otte
dec6a93510
Merge branch 'wip/otte/for-main' into 'main'
...
inspector: Allow searching for editable text
See merge request GNOME/gtk!4801
2022-06-07 18:20:43 +00:00
Matthias Clasen
27db4b5c2f
node-editor: Add a zoom button
...
This is a bit more convenient than manually
adding a transform node in the text editor.
2022-06-07 13:39:22 -04:00
Florian Müllner
c3706ea9ec
wayland/display: Don't force HighContrast icon theme
...
The theme is considered deprecated in favor of symbolic icons from
the regular theme.
2022-06-07 19:34:50 +02:00
Benjamin Otte
e4869938b7
listview: Fix clipping for horizontal listviews
...
Fixes a bug introduced with
commit 39645d3258
2022-06-07 19:21:46 +02:00
Benjamin Otte
fa1dca29b6
inspector: Allow searching for editable text
...
... and display it in the label column.
2022-06-07 17:33:04 +02:00
Hugo Carvalho
5abaee4f02
Update Portuguese translation
2022-06-07 13:54:09 +00:00
Yuri Chornoivan
d2b6fef1f8
Update Ukrainian translation
2022-06-07 06:15:52 +00:00
Benjamin Otte
9de027df65
video: Fix typo in docs
2022-06-07 05:56:15 +02:00