gtk4.git
3 years agolabel: Stop using gtk_snapshot_render api
Matthias Clasen [Sat, 8 Oct 2022 19:30:29 +0000 (15:30 -0400)]
label: Stop using gtk_snapshot_render api

The gtk_snapshot_render api is deprecated, so avoid using it.

3 years agoUse the new caret rendering api
Matthias Clasen [Sat, 8 Oct 2022 20:36:20 +0000 (16:36 -0400)]
Use the new caret rendering api

Implement the deprecated gtk_snapshot_render api
for carets with the new one.

3 years agoAdd gtk_css_style_snapshot_caret
Matthias Clasen [Sat, 8 Oct 2022 20:32:13 +0000 (16:32 -0400)]
Add gtk_css_style_snapshot_caret

3 years agoglarea: Stop using gtk_snapshot_render api
Matthias Clasen [Sat, 8 Oct 2022 18:28:41 +0000 (14:28 -0400)]
glarea: Stop using gtk_snapshot_render api

The gtk_snapshot_render api is deprecated, stop using it.

3 years agoinscription: Stop using gtk_snapshot_render api
Matthias Clasen [Sat, 8 Oct 2022 18:10:34 +0000 (14:10 -0400)]
inscription: Stop using gtk_snapshot_render api

The gtk_snapshot_render api is deprecated, so avoid using it.

3 years agorender: Use the new layout render api
Matthias Clasen [Sat, 8 Oct 2022 19:17:27 +0000 (15:17 -0400)]
render: Use the new layout render api

3 years agoAdd gtk_css_style_snapshot_layout
Matthias Clasen [Sat, 8 Oct 2022 19:02:33 +0000 (15:02 -0400)]
Add gtk_css_style_snapshot_layout

This function renders a PangoLayout at a given
position, using text shadows and color from css.

3 years agoscrolledwindow: Port to the gtk_css_style_snapshot api
Matthias Clasen [Sat, 8 Oct 2022 17:59:37 +0000 (13:59 -0400)]
scrolledwindow: Port to the gtk_css_style_snapshot api

The gtk_snapshot_render api is deprecated, so avoid using it.

3 years agoprintunixdialog: Port to the gtk_css_style_snapshot api
Matthias Clasen [Sat, 8 Oct 2022 17:48:19 +0000 (13:48 -0400)]
printunixdialog: Port to the gtk_css_style_snapshot api

The gtk_snapshot_render api is deprecated, so avoid using it.

3 years agopopover: Port to the gtk_css_style_snapshot api
Matthias Clasen [Sat, 8 Oct 2022 17:45:25 +0000 (13:45 -0400)]
popover: Port to the gtk_css_style_snapshot api

The gtk_snapshot_render api is deprecated, so avoid using it.

3 years agoiconview: Port to the gtk_css_style_snapshot api
Matthias Clasen [Sat, 8 Oct 2022 17:40:41 +0000 (13:40 -0400)]
iconview: Port to the gtk_css_style_snapshot api

The gtk_snapshot_render api is deprecated, so avoid using it.

3 years agoflowbox: Port to the gtk_css_style_snapshot api
Matthias Clasen [Sat, 8 Oct 2022 17:32:38 +0000 (13:32 -0400)]
flowbox: Port to the gtk_css_style_snapshot api

The gtk_snapshot_render api is deprecated, so avoid using it.

3 years agoDeprecate gtk_snapshot_render apis
Matthias Clasen [Sat, 8 Oct 2022 13:22:26 +0000 (09:22 -0400)]
Deprecate gtk_snapshot_render apis

Move the implementations from gtksnapshot.c to
gtk/deprecated/gtkrender.c and deprecated these
functions. We want to get rid of them.

These functions are still used in some of our widgetry,
so use G_GNUC_BEGIN/END_IGNORE_DEPRECATIONS around
them.

3 years agoDeprecate gtk_render apis
Matthias Clasen [Sat, 8 Oct 2022 03:35:07 +0000 (23:35 -0400)]
Deprecate gtk_render apis

These take a GtkStyleContext as argument, and we
want to get rid of GtkStyleContext eventually.
The proper drawing api these days is gtk_snapshot.

3 years agoprintunixdialog: Stop using gtk_render_ apis
Matthias Clasen [Sat, 8 Oct 2022 12:56:15 +0000 (08:56 -0400)]
printunixdialog: Stop using gtk_render_ apis

These are getting deprecated.

3 years agopopover: Stop using gtk_render_background
Matthias Clasen [Sat, 8 Oct 2022 12:38:10 +0000 (08:38 -0400)]
popover: Stop using gtk_render_background

The gtk_render_ apis are getting deprecated.

3 years agoflowbox: Stop using gtk_render_background
Matthias Clasen [Sat, 8 Oct 2022 12:28:46 +0000 (08:28 -0400)]
flowbox: Stop using gtk_render_background

The gtk_render_ apis are getting deprecated.

3 years agoMerge branch 'deprecate-all-the-cells' into 'main'
Matthias Clasen [Wed, 12 Oct 2022 19:28:04 +0000 (19:28 +0000)]
Merge branch 'deprecate-all-the-cells' into 'main'

Deprecate treeviews and cell renderers

See merge request GNOME/gtk!5098

3 years agoMerge branch 'for-master' into 'main'
Luca Bacci [Wed, 12 Oct 2022 13:56:51 +0000 (13:56 +0000)]
Merge branch 'for-master' into 'main'

For master

See merge request GNOME/gtk!5095

3 years agoMerge branch 'inspector_a11y' into 'main'
Matthias Clasen [Wed, 12 Oct 2022 11:06:35 +0000 (11:06 +0000)]
Merge branch 'inspector_a11y' into 'main'

GtkInspector: make the inspector at least a little bit more accessible

See merge request GNOME/gtk!5109

3 years agotests: Ignore deprecations
Matthias Clasen [Sat, 8 Oct 2022 00:59:10 +0000 (20:59 -0400)]
tests: Ignore deprecations

Eventually, most of these tests should be dropped.

3 years agotestsuite: Ignore deprecations
Matthias Clasen [Sat, 8 Oct 2022 01:15:03 +0000 (21:15 -0400)]
testsuite: Ignore deprecations

For now, just ignore deprecations. Eventually,
we will have to go through, drop demos that are
for wholly deprecated widgets, and update others.

3 years agotools: Ignore deprecations
Matthias Clasen [Sat, 8 Oct 2022 01:36:13 +0000 (21:36 -0400)]
tools: Ignore deprecations

For now, just ignore deprecations. Eventually,
we will have to go through and drop code that is
dealing with widgets that are going away.

3 years agodemos and examples: Ignore deprecations
Matthias Clasen [Sat, 8 Oct 2022 01:12:37 +0000 (21:12 -0400)]
demos and examples: Ignore deprecations

For now, just ignore deprecations. Eventually,
we will have to go through, drop demos that are
for wholly deprecated widgets, and update others.

3 years agoDeprecate treeviews and cell renderers
Matthias Clasen [Fri, 7 Oct 2022 21:47:28 +0000 (17:47 -0400)]
Deprecate treeviews and cell renderers

This includes

GtkCellArea
GtkCellAreaBox
GtkCellAreaContext
GtkCellEditable
GtkCellRenderer
GtkCellRendererAccel
GtkCellRendererCombo
GtkCellRendererPixbuf
GtkCellRendererProgress
GtkCellRendererSpin
GtkCellRendererSpinner
GtkCellRendererText
GtkCellRendererToggle
GtkCellView
GtkComboBox
GtkComboBoxText
GtkIconView
GtkListStore
GtkTreeModel
GtkTreeModelFilter
GtkTreeModelSort
GtkTreeStore
GtkTreeView
GtkTreeViewColumn
GtkTreeSelection

3 years agoinspector: Drop an unused file
Matthias Clasen [Sat, 8 Oct 2022 00:48:02 +0000 (20:48 -0400)]
inspector: Drop an unused file

3 years agoflowbox: Stop using gtk_render_background
Matthias Clasen [Sat, 8 Oct 2022 12:28:46 +0000 (08:28 -0400)]
flowbox: Stop using gtk_render_background

The gtk_render_ apis are getting deprecated.

3 years agoMerge branch 'filename-sorter' into 'main'
Matthias Clasen [Tue, 11 Oct 2022 20:59:08 +0000 (20:59 +0000)]
Merge branch 'filename-sorter' into 'main'

stringsorter: Add a collate-mode property

See merge request GNOME/gtk!5111

3 years agostringsorter: Fix up a doc typo
Matthias Clasen [Tue, 11 Oct 2022 19:32:05 +0000 (15:32 -0400)]
stringsorter: Fix up a doc typo

gi-docgen links can be tricky to get right.

3 years agostringsorter: Add more detail to the docs
Matthias Clasen [Tue, 11 Oct 2022 18:03:57 +0000 (14:03 -0400)]
stringsorter: Add more detail to the docs

Mention when a collation value of NONE might
be useful.

3 years agoApply 2 suggestion(s) to 2 file(s)
Matthias Clasen [Tue, 11 Oct 2022 17:53:26 +0000 (17:53 +0000)]
Apply 2 suggestion(s) to 2 file(s)

3 years agoci: Allow macos builds to fail
Matthias Clasen [Tue, 11 Oct 2022 17:43:36 +0000 (13:43 -0400)]
ci: Allow macos builds to fail

The runner seems busted, so allow builds to fail
for now.

3 years agostringsorter: Add a collation property
Matthias Clasen [Tue, 11 Oct 2022 16:57:09 +0000 (12:57 -0400)]
stringsorter: Add a collation property

The new property lets us choose between
Unicode collation, filename collation, and
plain strcmp.

This will be used in the filechooser.

3 years agoGtkInspector: make the inspector at least a little bit more accessible
Lukáš Tyrychtr [Tue, 11 Oct 2022 11:34:21 +0000 (13:34 +0200)]
GtkInspector: make the inspector at least a little bit more accessible

Namely, it adds accessible name to the property value editors and to a few labels in the a11y panel.

3 years agoMerge branch 'wip/corey/file-clipboard' into 'main'
Matthias Clasen [Mon, 10 Oct 2022 21:13:28 +0000 (21:13 +0000)]
Merge branch 'wip/corey/file-clipboard' into 'main'

gdkcontentserializer: Use newlines for file separators

Closes #5240

See merge request GNOME/gtk!5107

3 years agogdkcontentserializer: Use newlines for file separators
Corey Berla [Mon, 10 Oct 2022 16:35:00 +0000 (09:35 -0700)]
gdkcontentserializer: Use newlines for file separators

Use newlines rather than spaces to separate file paths (or uri's)
when serializing text/plain files.  There isn't a matching
deserializer, so we can do this in isolation.  Newlines
seem to make more sense when pasting into a text editor etc.

Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/5240
3 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Mon, 10 Oct 2022 03:29:41 +0000 (03:29 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

Matthiasc/for main

See merge request GNOME/gtk!5106

3 years agoemojicompletion: Drop an unused include
Matthias Clasen [Mon, 10 Oct 2022 03:08:55 +0000 (23:08 -0400)]
emojicompletion: Drop an unused include

3 years agoemojichooser: Drop an unused include
Matthias Clasen [Mon, 10 Oct 2022 02:25:36 +0000 (22:25 -0400)]
emojichooser: Drop an unused include

3 years agosearchentry: Drop an unused include
Matthias Clasen [Mon, 10 Oct 2022 02:23:09 +0000 (22:23 -0400)]
searchentry: Drop an unused include

3 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Sun, 9 Oct 2022 14:26:58 +0000 (14:26 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

gtk-demo: Modernize accordion demo

See merge request GNOME/gtk!5105

3 years agotestgtk: Use global css provider
Benjamin Otte [Sat, 8 Feb 2020 02:59:55 +0000 (03:59 +0100)]
testgtk: Use global css provider

3 years agotests: Use per-screen CSS providers
Benjamin Otte [Sat, 8 Feb 2020 02:32:21 +0000 (03:32 +0100)]
tests: Use per-screen CSS providers

3 years agogtk-demo: Modernize accordion demo
Benjamin Otte [Sun, 9 Oct 2022 14:09:59 +0000 (10:09 -0400)]
gtk-demo: Modernize accordion demo

3 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Sun, 9 Oct 2022 13:53:54 +0000 (13:53 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

inspector: Fix some criticals

See merge request GNOME/gtk!5104

3 years agofontbutton: Use attributes for custom font
Benjamin Otte [Sun, 9 Oct 2022 13:08:55 +0000 (09:08 -0400)]
fontbutton: Use attributes for custom font

Don't try to use CSS.

3 years agoinspector: Fix some criticals
Matthias Clasen [Sun, 9 Oct 2022 13:08:24 +0000 (09:08 -0400)]
inspector: Fix some criticals

This is fallout from the recent porting to GtkColumnView.

3 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Sun, 9 Oct 2022 13:10:24 +0000 (13:10 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

widget: Changing the scale does no longer require a redraw

See merge request GNOME/gtk!5103

3 years agowidget: Changing the scale does no longer require a redraw
Benjamin Otte [Fri, 7 Feb 2020 22:22:05 +0000 (23:22 +0100)]
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.

3 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Sun, 9 Oct 2022 12:49:42 +0000 (12:49 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

glarea: Drop an unused include

See merge request GNOME/gtk!5102

3 years agoMerge branch 'main' into 'main'
Matthias Clasen [Sun, 9 Oct 2022 12:22:08 +0000 (12:22 +0000)]
Merge branch 'main' into 'main'

GtkPaned: Fix symbol names in code example

See merge request GNOME/gtk!5101

3 years agoglarea: Drop an unused include
Matthias Clasen [Sat, 8 Oct 2022 12:32:55 +0000 (08:32 -0400)]
glarea: Drop an unused include

We are not using gtk_render apis here.

3 years agoGtkPaned: Fix symbol names in code example
Tilo Villwock [Sat, 8 Oct 2022 11:49:10 +0000 (13:49 +0200)]
GtkPaned: Fix symbol names in code example

3 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Sat, 8 Oct 2022 03:01:24 +0000 (03:01 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

paperdialog: Drop an unused function

See merge request GNOME/gtk!5099

3 years agoplacesview: Stop using GtkEntryCompletion
Matthias Clasen [Sat, 8 Oct 2022 02:22:36 +0000 (22:22 -0400)]
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.

3 years agopaperdialog: Drop an unused function
Matthias Clasen [Sat, 8 Oct 2022 02:00:23 +0000 (22:00 -0400)]
paperdialog: Drop an unused function

This gets rid of a GtkListStore use.

3 years agoMerge branch 'inspector-trees' into 'main'
Matthias Clasen [Fri, 7 Oct 2022 21:55:10 +0000 (21:55 +0000)]
Merge branch 'inspector-trees' into 'main'

inspector: Stop using GtkTreeView for css nodes

See merge request GNOME/gtk!5097

3 years agocssnode: Drop the node-added/-removed signals
Matthias Clasen [Fri, 7 Oct 2022 21:21:04 +0000 (17:21 -0400)]
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.

3 years agoinspector: Drop the css node tree model
Matthias Clasen [Fri, 7 Oct 2022 21:17:41 +0000 (17:17 -0400)]
inspector: Drop the css node tree model

This is not used anymore.

3 years agoinspector: Stop using GtkTreeView for css nodes
Matthias Clasen [Fri, 7 Oct 2022 19:50:48 +0000 (15:50 -0400)]
inspector: Stop using GtkTreeView for css nodes

Replace the css node tree with a GtkColumnView, using
the new gtk_css_node_observe_children api.

3 years agoAdd gtk_css_node_observe_children
Matthias Clasen [Fri, 7 Oct 2022 19:51:02 +0000 (15:51 -0400)]
Add gtk_css_node_observe_children

3 years agoGtkFileChooserNativeWin32: Add some option flags
Luca Bacci [Fri, 7 Oct 2022 17:06:09 +0000 (19:06 +0200)]
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

3 years agoGdkWin32: Return TRUE when processing WM_XBUTTONDOWN/UP messages
Luca Bacci [Thu, 6 Oct 2022 09:26:50 +0000 (11:26 +0200)]
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.

3 years agoGdkWin32: Use gdk_pixbuf_read_pixels () where applicable
Luca Bacci [Thu, 6 Oct 2022 08:57:12 +0000 (10:57 +0200)]
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.

3 years agoMerge branch 'wroy-main-patch-03767' into 'main'
Matthias Clasen [Fri, 7 Oct 2022 16:00:36 +0000 (16:00 +0000)]
Merge branch 'wroy-main-patch-03767' into 'main'

Add subproject/libjpeg-turbo.wrap

Closes #5237

See merge request GNOME/gtk!5094

3 years agoAdd subproject/libjpeg-turbo.wrap
William Roy [Fri, 7 Oct 2022 14:48:49 +0000 (14:48 +0000)]
Add subproject/libjpeg-turbo.wrap

3 years agoMerge branch 'inspector-trees' into 'main'
Matthias Clasen [Fri, 7 Oct 2022 05:57:02 +0000 (05:57 +0000)]
Merge branch 'inspector-trees' into 'main'

inspector: Stop using GtkTreeView for statistics

See merge request GNOME/gtk!5093

3 years agoinspector: Stop using GtkTreeView for statistics
Matthias Clasen [Fri, 7 Oct 2022 03:03:15 +0000 (23:03 -0400)]
inspector: Stop using GtkTreeView for statistics

GtkTreeView is heading towards deprecation; use
a GtkColumnView instead.

3 years agoinspector: Fixup
Matthias Clasen [Fri, 7 Oct 2022 04:04:28 +0000 (00:04 -0400)]
inspector: Fixup

We were overlooking a transfer full here.

3 years agoUpdate German translation
Jürgen Benvenuti [Thu, 6 Oct 2022 20:48:31 +0000 (20:48 +0000)]
Update German translation

(cherry picked from commit 52dd917c6a97738afa8ac90100e5ebec6f1a3537)

3 years agoMerge branch 'main' into 'main'
Matthias Clasen [Thu, 6 Oct 2022 10:41:56 +0000 (10:41 +0000)]
Merge branch 'main' into 'main'

Treat XKB_MOD_NAME_LOGO as super key

Closes #4913

See merge request GNOME/gtk!5088

3 years agoTreat XKB_MOD_NAME_LOGO as super key
Po Lu [Mon, 19 Sep 2022 07:57:58 +0000 (15:57 +0800)]
Treat XKB_MOD_NAME_LOGO as super key

3 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Thu, 6 Oct 2022 03:48:36 +0000 (03:48 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

gdk: Cosmetics

See merge request GNOME/gtk!5087

3 years agogtk: Rename some private headers
Matthias Clasen [Thu, 6 Oct 2022 02:59:51 +0000 (22:59 -0400)]
gtk: Rename some private headers

Improve the consistency of our private header
naming, by add 'private' to a bunch of them.

3 years agogdk: Cosmetics
Matthias Clasen [Thu, 6 Oct 2022 02:37:19 +0000 (22:37 -0400)]
gdk: Cosmetics

Add a define for each renderer.

3 years agoMerge branch 'inspector-trees' into 'main'
Matthias Clasen [Thu, 6 Oct 2022 02:52:12 +0000 (02:52 +0000)]
Merge branch 'inspector-trees' into 'main'

inspector: Stop using a treeview for css properties

See merge request GNOME/gtk!5086

3 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Thu, 6 Oct 2022 02:15:16 +0000 (02:15 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

mountoperation: Add a mnemonic to a button

See merge request GNOME/gtk!5085

3 years agoinspector: Stop using a treeview for css properties
Matthias Clasen [Thu, 6 Oct 2022 00:58:49 +0000 (20:58 -0400)]
inspector: Stop using a treeview for css properties

Treeviews are heading towards deprecation.

3 years agoinspector: Cosmetics
Matthias Clasen [Thu, 6 Oct 2022 00:59:06 +0000 (20:59 -0400)]
inspector: Cosmetics

3 years agomountoperation: Add a mnemonic to a button
Matthias Clasen [Thu, 6 Oct 2022 00:14:09 +0000 (20:14 -0400)]
mountoperation: Add a mnemonic to a button

This is a good practice, even if this is a rarely
used dialog.

3 years agoMerge branch 'accessible_range_interface' into 'main'
Matthias Clasen [Wed, 5 Oct 2022 11:33:56 +0000 (11:33 +0000)]
Merge branch 'accessible_range_interface' into 'main'

Introduce GtkAccessibleRange

See merge request GNOME/gtk!5066

3 years agoReview fixes
Matthias Clasen [Wed, 5 Oct 2022 11:13:21 +0000 (11:13 +0000)]
Review fixes

3 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Wed, 5 Oct 2022 10:14:04 +0000 (10:14 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

inspector: Use more compact list styles

See merge request GNOME/gtk!5083

3 years agoinspector: Use more compact list styles
Matthias Clasen [Wed, 5 Oct 2022 03:23:54 +0000 (23:23 -0400)]
inspector: Use more compact list styles

Use the same style classes throughout for
data lists that benefit from smaller fonts.

3 years agoMerge branch 'inspector-menus' into 'main'
Matthias Clasen [Wed, 5 Oct 2022 03:11:41 +0000 (03:11 +0000)]
Merge branch 'inspector-menus' into 'main'

Drop unused includes

See merge request GNOME/gtk!5082

3 years agoinspector: Stop using a treeview for menus
Matthias Clasen [Wed, 5 Oct 2022 02:46:53 +0000 (22:46 -0400)]
inspector: Stop using a treeview for menus

Replace this with a GtkColumnView.

3 years agoDrop unused includes
Matthias Clasen [Wed, 5 Oct 2022 01:36:21 +0000 (21:36 -0400)]
Drop unused includes

This gets rid of treeview includes in a number of places.

3 years agoMerge branch 'mountoperation-trees' into 'main'
Matthias Clasen [Wed, 5 Oct 2022 02:48:39 +0000 (02:48 +0000)]
Merge branch 'mountoperation-trees' into 'main'

mountoperation: Survive on Wayland

See merge request GNOME/gtk!5081

3 years agomountoperation: Don't use a treeview
Matthias Clasen [Wed, 5 Oct 2022 01:24:16 +0000 (21:24 -0400)]
mountoperation: Don't use a treeview

Port the process list from GtkTreeView
to GtkListView, and fix a number of broken
things along the way.

3 years agotestmountoperation: Test process dialog
Matthias Clasen [Wed, 5 Oct 2022 01:25:26 +0000 (21:25 -0400)]
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.

3 years agomountoperation: Survive on Wayland
Matthias Clasen [Wed, 5 Oct 2022 00:15:43 +0000 (20:15 -0400)]
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.

3 years agoMerge branch 'inspector-trees' into 'main'
Matthias Clasen [Tue, 4 Oct 2022 20:54:10 +0000 (20:54 +0000)]
Merge branch 'inspector-trees' into 'main'

inspector: Don't use treeviews in the recorder

See merge request GNOME/gtk!5080

3 years agoinspector: Don't use treeviews in the recorder
Matthias Clasen [Tue, 4 Oct 2022 19:57:34 +0000 (15:57 -0400)]
inspector: Don't use treeviews in the recorder

Replace the event and render node details views with
columnviews.

3 years agoUpdate Bulgarian translation
Alexander Shopov [Tue, 4 Oct 2022 18:07:20 +0000 (18:07 +0000)]
Update Bulgarian translation

(cherry picked from commit 2ca2a156376344105a0a6a55bf7d54682017367b)

3 years agoMerge branch 'inspector-fixes' into 'main'
Matthias Clasen [Tue, 4 Oct 2022 15:34:53 +0000 (15:34 +0000)]
Merge branch 'inspector-fixes' into 'main'

inspector: Fix some lifecycle issues

See merge request GNOME/gtk!5079

3 years agoUpdate POTFILES.in
Piotr Drąg [Tue, 4 Oct 2022 13:20:57 +0000 (15:20 +0200)]
Update POTFILES.in

3 years agoinspector: Fix some lifecycle issues
Matthias Clasen [Tue, 4 Oct 2022 11:08:25 +0000 (07:08 -0400)]
inspector: Fix some lifecycle issues

The template use in the inspector was not properly
disposing all widgets. gtk_widget_dispose_template
will only unparent widgets that have been named
as template children, so we need to make the toplevel
elements in the ui file named children, or manually
dispose them. This commit does the former.

3 years agoMerge branch 'deprecate-entry-completion' into 'main'
Matthias Clasen [Tue, 4 Oct 2022 03:35:26 +0000 (03:35 +0000)]
Merge branch 'deprecate-entry-completion' into 'main'

Deprecate GtkEntryCompletion

See merge request GNOME/gtk!5078

3 years agoMerge branch 'deprecate-app-choosers' into 'main'
Matthias Clasen [Tue, 4 Oct 2022 03:28:09 +0000 (03:28 +0000)]
Merge branch 'deprecate-app-choosers' into 'main'

Deprecate app choosers

See merge request GNOME/gtk!5077

3 years agoDeprecate GtkEntryCompletion
Matthias Clasen [Tue, 4 Oct 2022 02:45:52 +0000 (22:45 -0400)]
Deprecate GtkEntryCompletion

We want to drop cell renderers and tree models
in GTK 5. The functionality of GtkEntryCompletion
may be replaced by a new widget in GTK 5.