Kukuh Syafaat
d104357d40
Update Indonesian translation
2022-07-13 12:58:18 +00:00
Matthias Clasen
775435c025
Merge branch 'check-button-s-ancestry' into 'main'
...
print: Check button is not descendant of toggle button
See merge request GNOME/gtk!4864
2022-07-13 11:20:57 +00:00
Matthias Clasen
24f31b6797
Merge branch 'empty_list_adjustment' into 'main'
...
listviews: Reset scrollbar adjustment when list is empty
Closes #4370
See merge request GNOME/gtk!4865
2022-07-13 11:17:07 +00:00
Matthias Clasen
45f69d2fbe
Merge branch 'main' into 'main'
...
textview: Include gutter while computing child allocations
Closes #5016
See merge request GNOME/gtk!4849
2022-07-13 11:02:02 +00:00
JCWasmx86
af5f75aa77
textview: Include gutter while computing child allocations
...
The width of the left gutter and the height of the top gutter
are now used while computing the child allocations for e.g.
anchors, otherwise - if such a gutter is present - the
widget would be at the wrong position.
Closes #5016
2022-07-13 07:02:55 +02:00
Matthias Clasen
74494b0b3a
4.7.1
2022-07-12 22:55:33 -04:00
Corey Berla
94673707e6
listviews: Reset scrollbar adjustment when list is empty
...
In a list with a visible scrollbar, the scrollbar usually becomes
invisible when the numbers of items is less than the required amount
to scroll. If, however, the list is emptied all at once,
the scrollbar remains. This happens because when there's an empty
list gtk_list_view_size_allocate() returns early before the scrollbar
adjustment is updated.
Given that the list is empty, simply reset the adjustment values
to zero.
Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/4370
2022-07-12 12:54:35 -07:00
Marek Kasik
e204910730
print: Check button is not descendant of toggle button
...
GtkCheckButton is not derived from GtkToggleButton anymore.
This caused some issues in GtkPrinterOptionWidget which
did not port handling of the button.
2022-07-12 16:22:59 +02:00
Matthias Clasen
afe476c2e3
Merge branch 'matthiasc/for-main' into 'main'
...
search-entry: Add getter/setter annotation
See merge request GNOME/gtk!4862
2022-07-11 19:32:55 +00:00
Matthias Clasen
dfe8eb37ce
search-entry: Add getter/setter annotation
...
This was suggested in !4823 .
2022-07-11 15:08:39 -04:00
Matthias Clasen
88e8837587
Merge branch 'wip/otte/for-main' into 'main'
...
frameclock: Run paint idle from flush idle
Closes #4941
See merge request GNOME/gtk!4858
2022-07-11 18:44:01 +00:00
Matthias Clasen
f218a4e2d2
Merge branch 'free-print-backends' into 'main'
...
print: Free print backends after use
Closes #5019
See merge request GNOME/gtk!4860
2022-07-11 18:04:46 +00:00
Matthias Clasen
685961a8c6
Merge branch 'ebassi/finish-template' into 'main'
...
Add gtk_widget_clear_template()
See merge request GNOME/gtk!4735
2022-07-11 18:02:28 +00:00
Matthias Clasen
dced70a8d0
Merge branch 'fix_flatpak' into 'main'
...
Fix flatpak
See merge request GNOME/gtk!4861
2022-07-11 17:35:45 +00:00
Emmanuele Bassi
f4f683a469
Rename clear_template to dispose_template
...
Make it more clear that the function is supposed to be called during the
dispose sequence of a widget.
2022-07-11 18:24:37 +01:00
Emmanuele Bassi
63fe3345a7
fontchooserdialog: Use gtk_widget_clear_template()
2022-07-11 18:24:37 +01:00
Emmanuele Bassi
01e99fad1e
statusbar: Use gtk_widget_clear_template()
2022-07-11 18:24:37 +01:00
Emmanuele Bassi
0074ee3149
filechooserwidget: Use gtk_widget_clear_template()
2022-07-11 18:24:37 +01:00
Emmanuele Bassi
ad361abc4c
filechooserdialog: Use gtk_widget_clear_template()
2022-07-11 18:24:37 +01:00
Emmanuele Bassi
103f52bb8a
Port the inspector to gtk_widget_clear_template()
...
Use clear_template() instead of unparenting widgets manually.
2022-07-11 18:24:37 +01:00
Emmanuele Bassi
c2ec244b84
docs: Include clear_template() in the templates overview
...
Make sure that it's clear how to use it in idiomatic code, by tying it
to gtk_widget_init_template().
2022-07-11 18:24:37 +01:00
Emmanuele Bassi
e71f9bb79f
Port gtk-demo widgets to gtk_widget_clear_template()
2022-07-11 18:24:37 +01:00
Emmanuele Bassi
bf75a21deb
Port node editor to gtk_widget_clear_template()
2022-07-11 18:24:37 +01:00
Emmanuele Bassi
1bba874895
Port icon browser to gtk_widget_clear_template()
2022-07-11 18:24:37 +01:00
Emmanuele Bassi
01f5142b00
Port constraint editor to gtk_widget_clear_template()
2022-07-11 18:24:37 +01:00
Emmanuele Bassi
620d48ca0c
docs: Clarify scope of gtk_widget_clear_template()
...
The clear_template() method only clears the template children.
2022-07-11 18:24:37 +01:00
Emmanuele Bassi
e8c5c2f648
emojichooser: Use gtk_widget_clear_template()
2022-07-11 18:24:37 +01:00
Emmanuele Bassi
71eb19bf51
mediacontrols: Use gtk_widget_clear_template()
2022-07-11 18:24:37 +01:00
Emmanuele Bassi
7857c1a66b
Add gtk_widget_clear_template()
...
The dual of gtk_widget_init_template(), which should be used to clear
the template data associated with a specific GtkWidget type.
2022-07-11 18:24:37 +01:00
Corey Berla
1e3ae95b7e
flatpak: Bump boost to 1.79
2022-07-11 09:11:59 -07:00
Corey Berla
1ff38cdf6a
flatpak: Remove benchmarks build option for graphene
...
benchmarks was removed in
419edb99f0
2022-07-11 09:11:24 -07:00
Corey Berla
4147dd218d
flatpak: Change option enable_vulkan=no to vulkan=disabled
...
Syntax was modified in c4d350c260
2022-07-11 09:08:47 -07:00
Marek Kasik
e68a3a6123
print: Free print backends after use
...
Print backends loaded in GtkPrintUnixDialog's load_print_backends()
are not freed later as done in e.g. GtkPageSetupUnixDialog.
This commit destroys and unref those print backends.
Closes #5019
2022-07-11 16:54:36 +02:00
Matthias Clasen
6368278005
NEWS: Updates
2022-07-10 18:52:01 -04:00
Matthias Clasen
edb61cc434
Merge branch 'matthiasc/for-main' into 'main'
...
inspector: Hide measure graphs by default
See merge request GNOME/gtk!4859
2022-07-10 20:38:29 +00:00
Matthias Clasen
743406998c
inspector: Hide measure graphs by default
...
It is much more valuable to have a responsive inspector,
than to have these graphs.
2022-07-10 16:25:55 -04:00
Matthias Clasen
f56c0bc034
Merge branch 'fix-fractional-letterspacing' into 'main'
...
css: Allow fractional letterspacing
Closes #5034
See merge request GNOME/gtk!4857
2022-07-10 19:42:25 +00:00
Benjamin Otte
988e20cd53
frameclock: Run paint idle from flush idle
...
Don't return to the main loop, instead force a run of the paint idle.
The paint idle will know to skip all the phases that aren't requested.
This is critically important becuase gdksurface.c assumes the
FLUSH_EVENTS and RESUME_EVENTS phases are matched, and we cannot
guarantee that if we return to the main loop and let various reentrant
code change the frame clock state.
This would lead to bugs with events being paused and never unpaused
again or even crashes.
Fixes #4941
2022-07-10 21:33:32 +02:00
Matthias Clasen
726c9e83d2
css: Allow fractional letterspacing
...
Something like letter-spacing: -0.5px make a lot of
sense. But we were handling the number as integer
somewhere, loosing the fractional part.
Fixes : #5034
2022-07-10 15:22:18 -04:00
Matthias Clasen
e7af42c758
Merge branch 'matthiasc/for-main' into 'main'
...
widget-factory: Fix a missing export
See merge request GNOME/gtk!4855
2022-07-08 02:00:11 +00:00
Matthias Clasen
7c5d71ebf6
widget-factory: Fix a missing export
...
This broke when we started using a scope.
2022-07-07 21:44:57 -04:00
Matthias Clasen
d659bc8762
Merge branch 'wip/cdavis/use-password-input-purpose' into 'main'
...
passwordentry: Use password input purpose
See merge request GNOME/gtk!4854
2022-07-06 19:48:57 +00:00
Christopher Davis
9f2a621328
passwordentry: Use password input purpose
...
Per discussion in #gtk on Matrix
2022-07-06 13:48:25 -04:00
Matthias Clasen
fae2dd9885
Merge branch 'matthiasc/for-main' into 'main'
...
fontchooser work
See merge request GNOME/gtk!4850
2022-07-05 15:13:20 +00:00
Benjamin Otte
c673d7cd9b
Merge branch 'fix-ffmpeg-decoding' into 'main'
...
ffmpeg: Fix crash on some media files
See merge request GNOME/gtk!4851
2022-07-04 21:27:11 +00:00
Stephan Vedder
1c8bddf3ca
ffmpeg: Fix crash on some media files
...
Return code EAGAIN expects the user to feed more packets into the decoder
2022-07-04 13:29:09 +02:00
Matthias Clasen
ab1cf67432
fontchooser: Make size level effective
...
We were not hiding the size controls on the tweaks
page, which is arguably what should happen when
the size level is disabled.
2022-07-03 12:50:40 -04:00
Matthias Clasen
1097003f6f
Beef up testfontchooserdialog
...
Allow testing levels.
2022-07-03 12:50:30 -04:00
Matthias Clasen
d0894b2786
fontchooser: Some OpenType improvements
...
Work harder to find examples for char variation
features, and pull the feature labels out of
the font if possible. This lets us show
meaningful names like "Localised @ and & symbols"
instead of "Stylistic Set 7" or even "ss07".
2022-07-03 07:38:24 -04:00
Matthias Clasen
5ba8fc8f10
Font features demo improvements
...
Use font-provided names for ssNN and cvNN features.
But good luck finding a font that has these!
2022-07-03 01:19:19 -04:00