Benjamin Otte
32ef462f1d
fontbutton: Use attributes for custom font
...
Don't try to use CSS.
2022-10-09 09:10:39 -04:00
Matthias Clasen
b895360f49
inspector: Fix some criticals
...
This is fallout from the recent porting to GtkColumnView.
2022-10-09 09:10:39 -04:00
Matthias Clasen
c2c094e8a1
Merge branch 'matthiasc/for-main' into 'main'
...
widget: Changing the scale does no longer require a redraw
See merge request GNOME/gtk!5103
2022-10-09 13:10:24 +00:00
Benjamin Otte
d4d0192405
widget: Changing the scale does no longer require a redraw
...
It doesn't require one generally anyway, because only the root can
change scale and when that happens the root will queue a redraw.
But even if the root doesn't queue a redraw, render nodes (the only
thing discarded by queue_draw()) are scale-independant.
2022-10-09 08:50:32 -04:00
Matthias Clasen
15ea36e7fd
Merge branch 'matthiasc/for-main' into 'main'
...
glarea: Drop an unused include
See merge request GNOME/gtk!5102
2022-10-09 12:49:42 +00:00
Matthias Clasen
692279586a
Merge branch 'main' into 'main'
...
GtkPaned: Fix symbol names in code example
See merge request GNOME/gtk!5101
2022-10-09 12:22:08 +00:00
Matthias Clasen
9eec475dcc
glarea: Drop an unused include
...
We are not using gtk_render apis here.
2022-10-09 08:10:12 -04:00
Tilo Villwock
661130d429
GtkPaned: Fix symbol names in code example
2022-10-08 13:49:10 +02:00
Matthias Clasen
68b73ebf91
Merge branch 'matthiasc/for-main' into 'main'
...
paperdialog: Drop an unused function
See merge request GNOME/gtk!5099
2022-10-08 03:01:24 +00:00
Matthias Clasen
08c0020ac3
placesview: Stop using GtkEntryCompletion
...
We want to get rid of tree models and cell renderers,
and that includes GtkEntryCompletion. The functionality
here is really not that essential.
2022-10-07 22:22:36 -04:00
Matthias Clasen
ac87c72797
paperdialog: Drop an unused function
...
This gets rid of a GtkListStore use.
2022-10-07 22:03:15 -04:00
Matthias Clasen
5be8710774
Merge branch 'inspector-trees' into 'main'
...
inspector: Stop using GtkTreeView for css nodes
See merge request GNOME/gtk!5097
2022-10-07 21:55:10 +00:00
Matthias Clasen
5fa027ab8a
cssnode: Drop the node-added/-removed signals
...
These are no longer used, and the children-observer
listmodel is a better approach for monitoring the
children.
2022-10-07 17:21:04 -04:00
Matthias Clasen
dbe04adb1a
inspector: Drop the css node tree model
...
This is not used anymore.
2022-10-07 17:17:41 -04:00
Matthias Clasen
6815f3af6d
inspector: Stop using GtkTreeView for css nodes
...
Replace the css node tree with a GtkColumnView, using
the new gtk_css_node_observe_children api.
2022-10-07 15:54:02 -04:00
Matthias Clasen
f8357512d0
Add gtk_css_node_observe_children
2022-10-07 15:54:01 -04:00
Luca Bacci
8bfc19e7f7
GtkFileChooserNativeWin32: Add some option flags
...
Avoid changing the current directory.
Also avoid creating a sample file to test if the target file
can be created.
References:
* "Why does the common file dialog change the current directory?"
-> https://devblogs.microsoft.com/oldnewthing/20101112-00/?p=12293
* "Why does the common file save dialog create a temporary file and then delete it?"
-> https://devblogs.microsoft.com/oldnewthing/20140429-00/?p=1123
2022-10-07 19:06:09 +02:00
Luca Bacci
d6f7449636
GdkWin32: Return TRUE when processing WM_XBUTTONDOWN/UP messages
...
As documented on MSDN:
> Unlike the WM_LBUTTONUP, WM_MBUTTONUP, and WM_RBUTTONUP messages, an
> application should return TRUE from this message if it processes it.
2022-10-07 19:05:29 +02:00
Luca Bacci
f4286e8f1a
GdkWin32: Use gdk_pixbuf_read_pixels () where applicable
...
This is an optimization in case of reading unmodifiable GdkPixbufs.
Also replace uses of GLib integral types with <stdlib.h> integral
types.
2022-10-07 19:05:29 +02:00
Matthias Clasen
14e6fd1f12
Merge branch 'wroy-main-patch-03767' into 'main'
...
Add subproject/libjpeg-turbo.wrap
Closes #5237
See merge request GNOME/gtk!5094
2022-10-07 16:00:36 +00:00
William Roy
2e57621fc5
Add subproject/libjpeg-turbo.wrap
2022-10-07 14:48:49 +00:00
Matthias Clasen
4a8ae3a20c
Merge branch 'inspector-trees' into 'main'
...
inspector: Stop using GtkTreeView for statistics
See merge request GNOME/gtk!5093
2022-10-07 05:57:02 +00:00
Matthias Clasen
61393fdcce
inspector: Stop using GtkTreeView for statistics
...
GtkTreeView is heading towards deprecation; use
a GtkColumnView instead.
2022-10-07 01:40:51 -04:00
Matthias Clasen
6ed6cebcf4
inspector: Fixup
...
We were overlooking a transfer full here.
2022-10-07 00:12:47 -04:00
Jürgen Benvenuti
2f764f6c18
Update German translation
...
(cherry picked from commit 52dd917c6a
)
2022-10-06 20:48:36 +00:00
Matthias Clasen
a646e50019
Merge branch 'main' into 'main'
...
Treat XKB_MOD_NAME_LOGO as super key
Closes #4913
See merge request GNOME/gtk!5088
2022-10-06 10:41:56 +00:00
Po Lu
e967dfed2d
Treat XKB_MOD_NAME_LOGO as super key
2022-10-06 11:19:31 +04:00
Matthias Clasen
2dc33a9de1
Merge branch 'matthiasc/for-main' into 'main'
...
gdk: Cosmetics
See merge request GNOME/gtk!5087
2022-10-06 03:48:36 +00:00
Matthias Clasen
7c5e1c6195
gtk: Rename some private headers
...
Improve the consistency of our private header
naming, by add 'private' to a bunch of them.
2022-10-05 23:01:28 -04:00
Matthias Clasen
8607312fef
gdk: Cosmetics
...
Add a define for each renderer.
2022-10-05 23:01:28 -04:00
Matthias Clasen
abac891bd2
Merge branch 'inspector-trees' into 'main'
...
inspector: Stop using a treeview for css properties
See merge request GNOME/gtk!5086
2022-10-06 02:52:12 +00:00
Matthias Clasen
2e25a13fc0
Merge branch 'matthiasc/for-main' into 'main'
...
mountoperation: Add a mnemonic to a button
See merge request GNOME/gtk!5085
2022-10-06 02:15:16 +00:00
Matthias Clasen
7a2c4e8a38
inspector: Stop using a treeview for css properties
...
Treeviews are heading towards deprecation.
2022-10-05 22:12:57 -04:00
Matthias Clasen
90e0ace325
inspector: Cosmetics
2022-10-05 21:20:04 -04:00
Matthias Clasen
9a2a5d9c8b
mountoperation: Add a mnemonic to a button
...
This is a good practice, even if this is a rarely
used dialog.
2022-10-05 20:14:09 -04:00
Matthias Clasen
d4dd0dcd79
Merge branch 'accessible_range_interface' into 'main'
...
Introduce GtkAccessibleRange
See merge request GNOME/gtk!5066
2022-10-05 11:33:56 +00:00
Matthias Clasen
d454586927
Review fixes
2022-10-05 11:13:21 +00:00
Matthias Clasen
1917b6a0a3
Merge branch 'matthiasc/for-main' into 'main'
...
inspector: Use more compact list styles
See merge request GNOME/gtk!5083
2022-10-05 10:14:04 +00:00
Matthias Clasen
a924b820c2
inspector: Use more compact list styles
...
Use the same style classes throughout for
data lists that benefit from smaller fonts.
2022-10-04 23:25:12 -04:00
Matthias Clasen
9e82d2b843
Merge branch 'inspector-menus' into 'main'
...
Drop unused includes
See merge request GNOME/gtk!5082
2022-10-05 03:11:41 +00:00
Matthias Clasen
ab7a04d89f
inspector: Stop using a treeview for menus
...
Replace this with a GtkColumnView.
2022-10-04 22:49:05 -04:00
Matthias Clasen
a377f95aac
Drop unused includes
...
This gets rid of treeview includes in a number of places.
2022-10-04 22:49:05 -04:00
Matthias Clasen
4356e0c3ce
Merge branch 'mountoperation-trees' into 'main'
...
mountoperation: Survive on Wayland
See merge request GNOME/gtk!5081
2022-10-05 02:48:39 +00:00
Matthias Clasen
5d5de9f759
mountoperation: Don't use a treeview
...
Port the process list from GtkTreeView
to GtkListView, and fix a number of broken
things along the way.
2022-10-04 21:26:07 -04:00
Matthias Clasen
e1f69ea278
testmountoperation: Test process dialog
...
Without this, it is hard to trigger the
dialog. Event with this, we have to force
GtkMountOperation to use its own dialog.
2022-10-04 21:26:07 -04:00
Matthias Clasen
6a76fe41c6
mountoperation: Survive on Wayland
...
The code was assuming it is dealing with an
X11 display, and trigger assertions. Fix that
to make it work at least as well as it does
on Windows.
2022-10-04 21:26:07 -04:00
Matthias Clasen
aae82d7992
Merge branch 'inspector-trees' into 'main'
...
inspector: Don't use treeviews in the recorder
See merge request GNOME/gtk!5080
2022-10-04 20:54:10 +00:00
Matthias Clasen
ca576e877f
inspector: Don't use treeviews in the recorder
...
Replace the event and render node details views with
columnviews.
2022-10-04 16:26:28 -04:00
Alexander Shopov
bc23038848
Update Bulgarian translation
...
(cherry picked from commit 2ca2a15637
)
2022-10-04 18:07:24 +00:00
Matthias Clasen
43e8730acd
Merge branch 'inspector-fixes' into 'main'
...
inspector: Fix some lifecycle issues
See merge request GNOME/gtk!5079
2022-10-04 15:34:53 +00:00