Matthias Clasen [Fri, 27 Dec 2019 13:46:56 +0000 (08:46 -0500)]
label: Remove menu support code
Matthias Clasen [Fri, 27 Dec 2019 04:16:53 +0000 (23:16 -0500)]
tests: Stop using menus
Matthias Clasen [Fri, 27 Dec 2019 13:48:55 +0000 (08:48 -0500)]
testsuite: Remove menu special-casing
Matthias Clasen [Fri, 27 Dec 2019 03:59:38 +0000 (22:59 -0500)]
testsuite: Remove menu tests
Menus are going away.
Matthias Clasen [Fri, 27 Dec 2019 03:59:05 +0000 (22:59 -0500)]
testsuite: Cosmetic change
Matthias Clasen [Fri, 27 Dec 2019 03:41:47 +0000 (22:41 -0500)]
menubutton: Stop supporting menus
Matthias Clasen [Fri, 27 Dec 2019 03:07:20 +0000 (22:07 -0500)]
headerbar: Stop using GtkMenuButton::use-popover
This property is going away.
Matthias Clasen [Fri, 27 Dec 2019 03:41:19 +0000 (22:41 -0500)]
menutoolbutton: Stop supporting menus
Matthias Clasen [Fri, 27 Dec 2019 06:46:04 +0000 (01:46 -0500)]
menutoolbutton: Fix sensitivity handling
We don't need to set the arrow button explicitly
to insensitive, GtkMenuButton handles that automatically.
Matthias Clasen [Fri, 27 Dec 2019 06:32:27 +0000 (01:32 -0500)]
toolbar: Simplify overflow implementation
Do away with the proxy menu items, and instead
just have toolitems provide a label for overflow
items. We create the overflow widgets ourselves
already, as model buttons.
Also replace the toggle button used for overflow
with a menubutton, simplifying things further.
Matthias Clasen [Sun, 29 Dec 2019 22:07:41 +0000 (17:07 -0500)]
testsuite: Update combobox tests
Some of the expected output needs to be updated.
Matthias Clasen [Thu, 26 Dec 2019 05:06:48 +0000 (00:06 -0500)]
combobox: Replace GtkTreeMenu with a popover
This does not currently try to reproduce the exact
placement, since GtkPopover doesn't have to have
the necessary placement hints.
Matthias Clasen [Sat, 28 Dec 2019 16:02:49 +0000 (11:02 -0500)]
gtk-demo: Remove the change display demo
The window picking code has been broken for a while.
Since this is not really functionality that we should
highlight to application developers, remove the demo
instead of patching it up.
Matthias Clasen [Sat, 28 Dec 2019 15:57:43 +0000 (10:57 -0500)]
gtk-demo: Convert the builder demo to a menu model
Matthias Clasen [Sat, 28 Dec 2019 15:12:51 +0000 (10:12 -0500)]
gtk-demo: Remove menus from listbox demo
Matthias Clasen [Sat, 28 Dec 2019 14:47:23 +0000 (09:47 -0500)]
gtk-demo: Cosmetics
Matthias Clasen [Fri, 27 Dec 2019 03:58:37 +0000 (22:58 -0500)]
gtk-demo: Remove the menus demo
Menus are going away.
Matthias Clasen [Fri, 27 Dec 2019 03:30:23 +0000 (22:30 -0500)]
gtk-demo: Convert the dnd demo to a popover
Matthias Clasen [Fri, 27 Dec 2019 03:04:23 +0000 (22:04 -0500)]
gtk-demo: Remove a somewhat silly bit of code
Putting a context menu on an overlay scrollbar
is too much of an easter egg to count as a useful
demo. Remove it, rather than changing it to a
popover.
Matthias Clasen [Fri, 27 Dec 2019 03:03:52 +0000 (22:03 -0500)]
gtk-demo: Use a popover in the clipboard demo
Matthias Clasen [Fri, 27 Dec 2019 02:06:56 +0000 (21:06 -0500)]
gtk-demo: Replace a menu with a popover
Matthias Clasen [Fri, 27 Dec 2019 03:08:05 +0000 (22:08 -0500)]
accellabel: Remove an example using menus
Matthias Clasen [Fri, 27 Dec 2019 03:06:20 +0000 (22:06 -0500)]
docs: Avoid using a menu for an example
Matthias Clasen [Sat, 28 Dec 2019 14:43:46 +0000 (09:43 -0500)]
docs: Remove menubars from the visual index
Matthias Clasen [Fri, 27 Dec 2019 04:49:50 +0000 (23:49 -0500)]
docs: Stop taking menubar screenshots
The widget is going away.
Matthias Clasen [Fri, 27 Dec 2019 13:45:47 +0000 (08:45 -0500)]
widget-factory: Remove the menubar
Matthias Clasen [Fri, 27 Dec 2019 13:45:21 +0000 (08:45 -0500)]
window: Move F10 handling to popover menubars
Matthias Clasen [Fri, 27 Dec 2019 04:49:26 +0000 (23:49 -0500)]
applicationwindow: Stop using a menu bar
We have a replacement with popovers now.
Matthias Clasen [Fri, 27 Dec 2019 13:47:12 +0000 (08:47 -0500)]
notebook: Remove menu remnants
Matthias Clasen [Thu, 26 Dec 2019 15:06:08 +0000 (10:06 -0500)]
appchooserwidget: Remove ::populate-popup
We are no longer doing menus this way; if a menu turns out to be
needed at all here, we can add a menu model later.
Matthias Clasen [Fri, 27 Dec 2019 01:10:34 +0000 (20:10 -0500)]
placesview: Use a popover
Replace the context menu with a popover.
Matthias Clasen [Thu, 26 Dec 2019 18:09:04 +0000 (13:09 -0500)]
mountoperation: Use a popover
Replace the context menu with a popover.
Matthias Clasen [Thu, 26 Dec 2019 14:29:36 +0000 (09:29 -0500)]
filechooserbutton: Be smarter about 'None'
Don't refilter the model while the combo box is popped up,
that wreaks havoc with layout and does not really work.
Instead, repurpose one of the separator rows for the 'none'
case. This works because the row separator function is not
consulted for the cellview in the button.
Matthias Clasen [Sat, 28 Dec 2019 05:08:29 +0000 (00:08 -0500)]
window: Complete the popover conversion
Matthias Clasen [Sat, 28 Dec 2019 14:42:43 +0000 (09:42 -0500)]
popovermenubar: Cosmetics
Matthias Clasen [Fri, 27 Dec 2019 06:31:25 +0000 (01:31 -0500)]
popovermenu: Use a weak ref for active item
Otherwise, we can end up with a dangling pointer,
leading to badness.
Matthias Clasen [Sun, 29 Dec 2019 18:31:36 +0000 (13:31 -0500)]
surface: Only unpause events if we paused them
When a new popup surface is created, it may end up
getting a resume-events signal from its frame clock
without having seen a flush-events first.
Don't unpause events in that case, since it messes
up the displays pause counter.
This was causing criticals with tooltips.
Matthias Clasen [Sun, 29 Dec 2019 17:49:17 +0000 (12:49 -0500)]
Revert unintended changes
I didn't mean to make this a complicated
portal test. Go back to being a simple test.
Matthias Clasen [Sun, 29 Dec 2019 02:52:34 +0000 (21:52 -0500)]
Remove more mir remnants
The mir backend was removed a while ago, so
GDK_WINDOWING_MIR is never defined.
Matthias Clasen [Sun, 29 Dec 2019 02:49:09 +0000 (21:49 -0500)]
tooltip: Remove some unneeded includes
Matthias Clasen [Sun, 29 Dec 2019 02:04:42 +0000 (21:04 -0500)]
popover: Remove some dead code
Aurimas Černius [Sat, 28 Dec 2019 16:18:53 +0000 (18:18 +0200)]
Updated Lithuanian translation
Matthias Clasen [Sat, 28 Dec 2019 03:52:08 +0000 (22:52 -0500)]
popovermenu: Fix keynav with submenus
When we right-arrow all the way into a submenu
and then cycle to the next menu in a menubar,
we need to reset all open submenus, so that
left-arrowing back to the menu puts the focus
on the first item again.
Matthias Clasen [Sat, 28 Dec 2019 02:58:54 +0000 (21:58 -0500)]
modelbutton: Be focusable
This got lost when modelbuttons stopped being
derived from buttons. It is necessary, since
the GTK focus machinery takes this flag seriously
nowadays, and won't let us grab focus to non-focusable
widgets.
Matthias Clasen [Fri, 27 Dec 2019 17:16:14 +0000 (12:16 -0500)]
inspector: Add a focus overlay
It helps to see what is going on.
Fran Dieguez [Fri, 27 Dec 2019 14:42:53 +0000 (14:42 +0000)]
Update Galician translation
Jordi Mas [Fri, 27 Dec 2019 13:06:32 +0000 (14:06 +0100)]
Fixes to Catalan translation
Piotr Drąg [Wed, 25 Dec 2019 15:36:41 +0000 (16:36 +0100)]
Update Polish translation
Matthias Clasen [Wed, 25 Dec 2019 05:40:32 +0000 (00:40 -0500)]
widget: Fix a memory leak
The transform passed to gtk_widget_allocate is
transfer full, so we must consume the reference
before returning.
Matthias Clasen [Wed, 25 Dec 2019 01:06:57 +0000 (20:06 -0500)]
widget: Avoid a crash in event handling
I was seeing crashes in gtk_widget_run_controllers.
We were accessing the controller after calling out
to application code that might remove it. Better
be safe and do the access before.
Matthias Clasen [Wed, 25 Dec 2019 00:42:14 +0000 (19:42 -0500)]
inspector: Fix a small memory leak
We were leaking overlays.
Matthias Clasen [Wed, 25 Dec 2019 00:40:50 +0000 (19:40 -0500)]
inspector: Fix a small memory leak
The property editor was leaking a few GValues.
Matthias Clasen [Wed, 25 Dec 2019 00:40:19 +0000 (19:40 -0500)]
inspector: Small cleanup
Matthias Clasen [Wed, 25 Dec 2019 00:39:37 +0000 (19:39 -0500)]
widget: Fix a small memory leak
Matthias Clasen [Wed, 25 Dec 2019 00:39:10 +0000 (19:39 -0500)]
eventcontroller: Fix name property
This never worked. Oops.
Matthias Clasen [Sun, 22 Dec 2019 01:57:28 +0000 (20:57 -0500)]
testfilechooser: Test the choice apis
Fran Dieguez [Wed, 25 Dec 2019 04:05:00 +0000 (04:05 +0000)]
Update Galician translation
Fran Dieguez [Wed, 25 Dec 2019 03:16:43 +0000 (03:16 +0000)]
Update Galician translation
Matthias Clasen [Tue, 24 Dec 2019 17:41:38 +0000 (17:41 +0000)]
Merge branch 'print-dialog-fixes' into 'master'
Print dialog fixes
See merge request GNOME/gtk!1268
Matthias Clasen [Tue, 24 Dec 2019 17:29:38 +0000 (12:29 -0500)]
Adwaita: update the README
Matthias Clasen [Tue, 24 Dec 2019 17:29:16 +0000 (12:29 -0500)]
HighContrast: print dialog fixes
Fix up the paper drawing.
Matthias Clasen [Tue, 24 Dec 2019 17:28:45 +0000 (12:28 -0500)]
Adwaita: print dialog tweaks
Fix up the paper drawing.
Matthias Clasen [Tue, 24 Dec 2019 17:28:00 +0000 (12:28 -0500)]
print dialog: Fix up page drawing
This fixes up page drawing enough to appear properly
with the builtin themes.
Matthias Clasen [Tue, 24 Dec 2019 15:08:15 +0000 (15:08 +0000)]
Merge branch 'widget-factory-fixes' into 'master'
Widget factory fixes
See merge request GNOME/gtk!1267
Matthias Clasen [Tue, 24 Dec 2019 14:59:23 +0000 (09:59 -0500)]
widgetfactory: Undo more builder-tool damage
The two volume buttons are supposed to be
vertically arranged.
Matthias Clasen [Tue, 24 Dec 2019 14:58:56 +0000 (09:58 -0500)]
Fix the build
Matthias Clasen [Tue, 24 Dec 2019 08:47:28 +0000 (08:47 +0000)]
Merge branch 'gtk-demo-fixes' into 'master'
Gtk demo fixes
See merge request GNOME/gtk!1266
Matthias Clasen [Tue, 24 Dec 2019 08:39:02 +0000 (03:39 -0500)]
treeview: Fix embedding cell renderers
We need to manually set up the css node,
since the treeview has children whose css
node is not a direct child of the treeview
css node (header buttons).
Matthias Clasen [Tue, 24 Dec 2019 08:33:02 +0000 (03:33 -0500)]
cell renderer spin: Bring this back
GtkSpinButton lost its cell editable implementation
when it stopped being a GtkEntry subclass. Add it
back, and make it work.
Matthias Clasen [Tue, 24 Dec 2019 08:13:58 +0000 (03:13 -0500)]
cell renderer text: Fix this to work again
We were showing the entry, and removing it right
away when the focus moved to the text child.
Avoid that.
Matthias Clasen [Tue, 24 Dec 2019 08:12:30 +0000 (03:12 -0500)]
paper dialog: Make this look less horrible
Matthias Clasen [Tue, 24 Dec 2019 04:17:29 +0000 (23:17 -0500)]
accelgroup: Fix a buffer overrun
gtk_accelerator_parse_with_keycode can
overrun its buffer for certain inputs.
Fixes: https://gitlab.gnome.org/GNOME/gtk/issues/2325
Matthias Clasen [Tue, 24 Dec 2019 03:49:48 +0000 (03:49 +0000)]
Merge branch 'drop-GtkTreeViewPrivate' into 'master'
tree-view: Drop GtkTreeViewPrivate
See merge request GNOME/gtk!1240
Matthias Clasen [Tue, 24 Dec 2019 03:48:18 +0000 (03:48 +0000)]
Merge branch 'drop-gtk-tree-selection-private' into 'master'
tree-selection: Drop GtkTreeSelectionPrivate
See merge request GNOME/gtk!1256
Matthias Clasen [Tue, 24 Dec 2019 03:47:15 +0000 (03:47 +0000)]
Merge branch 'wip/oholy/placesview-default-location' into 'master'
placesview: Always open default location after mounting
See merge request GNOME/gtk!1263
Matthias Clasen [Tue, 24 Dec 2019 03:35:44 +0000 (22:35 -0500)]
gtk-demo: Fix font explore initial state
Matthias Clasen [Tue, 24 Dec 2019 03:33:02 +0000 (22:33 -0500)]
gtk-demo: Fix a crash in the font explorer demo
gtk_widget_add_controller is transfer-full.
Matthias Clasen [Tue, 24 Dec 2019 03:14:52 +0000 (22:14 -0500)]
gtk-demo: Cosmetic fixes to the dnd demo
Matthias Clasen [Tue, 24 Dec 2019 02:58:45 +0000 (21:58 -0500)]
gtk-demo: Cosmetic fixes to the assistant demo
Matthias Clasen [Tue, 24 Dec 2019 02:44:56 +0000 (21:44 -0500)]
gtk-demo: Fix the application demo
This was broken in
d223752c55be49, when the
support for internal children was removed
from GtkInfoBar.
Matthias Clasen [Mon, 23 Dec 2019 23:40:43 +0000 (23:40 +0000)]
Merge branch 'validate-templates' into 'master'
builder-tool: Validate templates again
See merge request GNOME/gtk!1265
Matthias Clasen [Mon, 23 Dec 2019 22:59:15 +0000 (17:59 -0500)]
builder-tool: Validate templates again
This wasn't working because it was expecting
some no-longer-existing error message.
Matthias Clasen [Mon, 23 Dec 2019 18:36:32 +0000 (13:36 -0500)]
colorchooser: Document actions
This is mainly a trial balloon for gtk-doc
support for this syntax.
See https://gitlab.gnome.org/GNOME/gtk-doc/merge_requests/30
Matthias Clasen [Sun, 22 Dec 2019 19:02:37 +0000 (19:02 +0000)]
Merge branch 'inspector-advice' into 'master'
inspector: Give better advice
See merge request GNOME/gtk!1264
Matthias Clasen [Sat, 21 Dec 2019 18:25:57 +0000 (13:25 -0500)]
inspector: Give better advice
Provide the meson syntax for building a debug-enabled GLib.
Christoph Reiter [Thu, 19 Dec 2019 17:59:40 +0000 (17:59 +0000)]
Merge branch 'ci-msys2-newer-pango' into 'master'
CI: Install a newer MSYS2 pango package; Don't allow failures again
Closes #2243
See merge request GNOME/gtk!1258
Ondrej Holy [Thu, 19 Dec 2019 15:49:07 +0000 (16:49 +0100)]
placesview: Always open default location after mounting
The default location (obtained over g_mount_get_default_location) is
opened after mounting volume, or when opening mounts from sidebar, but
not after mounting over "Connect to Server". Let's unify the behavior
and always open the default location.
https://gitlab.gnome.org/GNOME/nautilus/issues/1319
Matthias Clasen [Thu, 19 Dec 2019 03:42:31 +0000 (03:42 +0000)]
Merge branch 'fix-gtkgesturerotate-potential-leak' into 'master'
gtkgesturerotate: Fix a memory leak
See merge request GNOME/gtk!1260
Yariv Barkan [Wed, 18 Dec 2019 21:03:19 +0000 (23:03 +0200)]
gtkgesturerotate: Fix a memory leak
On touchpads gtk_gesture_get_sequences() was called without a
corresponding g_list_free(). The same was true for touchscreens
if due to some reason only a single sequence was found.
Christoph Reiter [Tue, 17 Dec 2019 19:23:28 +0000 (20:23 +0100)]
CI: Install a newer MSYS2 pango package; Don't allow failures again
gtk master requires a newer pango than msys2 has, so install our own copy on top.
See #2243
Christoph Reiter [Tue, 17 Dec 2019 19:46:36 +0000 (20:46 +0100)]
Fix various new mingw compiler warnings
These are the result of us missing CI for some time now and
MSYS2 having a newer GCC now I guess.
Peter Bloomfield [Tue, 17 Dec 2019 01:54:23 +0000 (20:54 -0500)]
tree-selection: Drop GtkTreeSelectionPrivate
GtkTreeSelection is now private (since commit
79940b32),
so it doesn't need an instance-private structure.
Emmanuele Bassi [Mon, 16 Dec 2019 19:26:37 +0000 (19:26 +0000)]
Merge branch 'ci-update-at-spi' into 'master'
Update CI image
Closes #2313
See merge request GNOME/gtk!1254
Emmanuele Bassi [Mon, 16 Dec 2019 19:01:03 +0000 (19:01 +0000)]
ci: Use latest CI image
Emmanuele Bassi [Mon, 16 Dec 2019 19:00:02 +0000 (19:00 +0000)]
ci: Add libXtst-devel to the Docker image
New requirement from at-spi2-core.
Fixes: #2313
Matthias Clasen [Mon, 16 Dec 2019 17:38:56 +0000 (17:38 +0000)]
Merge branch 'fix.nonunix.builds' into 'master'
Fix non-portal (UNIX) builds
See merge request GNOME/gtk!1252
Chun-wei Fan [Mon, 16 Dec 2019 10:03:24 +0000 (18:03 +0800)]
tests/: Revert
bbb56d8 for non-UNIX
The portal bits are only supported on *nix, so use the old code on
non-*nix.
Chun-wei Fan [Sat, 14 Dec 2019 03:13:21 +0000 (11:13 +0800)]
gdk: Build portal bits on *nix only
The newly-added portal items are supported on *nix only, so only build
them on *nix.
Matthias Clasen [Mon, 16 Dec 2019 16:48:01 +0000 (16:48 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
file transfer: Fix build on non-Linux
See merge request GNOME/gtk!1253
Matthias Clasen [Mon, 16 Dec 2019 16:28:21 +0000 (11:28 -0500)]
file transfer: Fix build on non-Linux
O_PATH and O_CLOEXEC are not universally available.