Matthias Clasen
ce7956cd50
Merge branch 'issue1214-tooltips-win32-gtk4' into 'master'
...
Gdk-Win32: Correct handling of transient state changes
See merge request GNOME/gtk!280
2018-07-31 11:37:28 +00:00
Luca Bacci
d29b378fa0
Gdk-Win32: Correct handling of transient state changes
...
See merge request !248
2018-07-31 11:11:26 +02:00
Benjamin Otte
1129febd7d
bindings: Remove GTK_TYPE_IDENTIFIER
...
bindings now treat identifiers and strings the same way.
The only difference was that one allowed lookup of enum/flags by name
while the other didn't and g_warning()ed. Now both work.
2018-07-31 06:46:36 +02:00
Matthias Clasen
47928b9e14
color picker: Better debug spew
...
This will help in debugging issues.
2018-07-30 18:12:14 -04:00
Marek Cernocky
01f17836ac
Updated Czech translation
2018-07-30 23:14:21 +02:00
Benjamin Otte
7e919aaaa5
gdk: Fix Windows and OS X backend for keyevent.string removal
2018-07-30 20:15:16 +02:00
Benjamin Otte
03a6420c37
treeview: Fix compiler warning
2018-07-30 19:58:38 +02:00
Benjamin Otte
375fbd4e47
gdk: Remove key_event->string and key_event->length
...
They're unused.
2018-07-30 19:32:38 +02:00
Benjamin Otte
813957a92f
gdk: Remove gdk_event_get_string()
...
You want to use an IM module to get strings out of keypresses, not some
crude hack that only works on X11 and Wayland anyway.
2018-07-30 19:32:38 +02:00
Piotr Drąg
36ed4c2a29
Update POTFILES.skip
2018-07-30 16:31:53 +02:00
Marek Cernocky
8e78b53378
Updated Czech translation
2018-07-30 15:11:26 +02:00
Mohammed Sadiq
76ed6cf9d8
colorpickerportal: Fix memory leak
2018-07-30 18:10:31 +05:30
Carlos Garnacho
a8c6f222ed
inspector: Remove unnecessary cast
...
Pointed out by Timm.
2018-07-30 14:21:22 +02:00
Matthias Clasen
c5afea0c6b
Merge branch 'gtk-4-add-spinner-to-sidebar-row' into 'master'
...
gtkplacessidebar: Show busy spinner in sidebar row during mount ops
See merge request GNOME/gtk!261
2018-07-30 12:04:05 +00:00
Carlos Garnacho
efa42a6932
Merge branch 'wip/carlosg/event-final-cleanup' into 'master'
...
Wip/carlosg/event final cleanup
See merge request GNOME/gtk!279
2018-07-30 11:25:24 +00:00
Carlos Garnacho
5d1b2f627c
tests: Port testwidgetfocus to using a motion controller
2018-07-30 13:14:12 +02:00
Carlos Garnacho
8f6f980e49
demos: Update changedisplay demo to using GtkGesture
2018-07-30 13:14:12 +02:00
Carlos Garnacho
25b3b90920
tests: Port motion-compression to using a motion controller
2018-07-30 13:14:12 +02:00
Carlos Garnacho
71762d3b28
gtkscrolledwindow: Use controller for motion capturing
...
Perform scrollbar visibility checks through a motion controller,
always based on GtkScrolledView-relative coordinates. The captured
event handler remains though, for a tiny bit of GDK_SCROLL event
handling.
2018-07-30 13:14:12 +02:00
Carlos Garnacho
f15224926a
gtkwindow: Replace captured event handler with motion controller
2018-07-30 13:14:12 +02:00
Carlos Garnacho
1570c41efa
testsuite: Update window test to use gestures when interactive
2018-07-30 13:14:12 +02:00
Carlos Garnacho
5e0f2d7d20
tests: Use gesture in testtreepos
2018-07-30 13:14:12 +02:00
Carlos Garnacho
88743ab975
tests: Use gesture to popup menu in testiconview
2018-07-30 13:14:12 +02:00
Carlos Garnacho
6f15447633
tests: Update testgrid to use gestures
2018-07-30 13:14:12 +02:00
Carlos Garnacho
85f6995511
demos: Update hypertext demo to use controllers
2018-07-30 13:14:12 +02:00
Carlos Garnacho
4d59a00074
demos: Update search_entry2 demo to use key capturing API
...
No more GdkEvent juggling.
2018-07-30 13:14:12 +02:00
Carlos Garnacho
2dbb1509d8
demos: drop "Event axes" demo
...
It's too lowlevel to be practical anymore with gtk4, and there's
the Paint and Gestures demos to demonstrate input capabilities
better than this.
2018-07-30 13:14:12 +02:00
Carlos Garnacho
101c927c40
gtk-demo: Add pad controller handling to "Paint" demo
...
So it's more lifelike.
2018-07-30 13:14:12 +02:00
Carlos Garnacho
6d3eb18578
gtktreeview: Use key controller on search entry handling
...
Use a distinct key controller so we correctly handle navigation
across matches and search cancellation. As the events are forwarded
to the search_window, those need to be pushed down the entry manually.
2018-07-30 13:14:12 +02:00
Carlos Garnacho
d301695ba1
gtktreeview: Replace event vmethod with key controller
2018-07-30 13:14:12 +02:00
Carlos Garnacho
ca8008e2c9
gtkcombobox: Use keycontroller on GtkCellEditable implementation
2018-07-30 13:14:12 +02:00
Carlos Garnacho
0d7b4ecb14
gtkentry: Use keycontroller on GtkCellEditable implementation
2018-07-30 13:14:12 +02:00
Carlos Garnacho
9a541d9b91
inspector: Use gestures/controllers for inspect button
2018-07-30 13:14:12 +02:00
Carlos Garnacho
cdfde6673d
gtkcombobox: Use controller to handle combobox keybindings in menus
...
Instead of an ::event callback.
2018-07-30 13:14:12 +02:00
Matthias Clasen
7ef95734af
Merge branch 'fix-gs-issue-404' into 'master'
...
window: Fallback to CSD titlebar in focus-chain
Closes gnome-software#404
See merge request GNOME/gtk!271
2018-07-30 10:53:22 +00:00
Matthias Clasen
de17e3b525
Merge branch 'devel-styling' into 'master'
...
Devel styling
See merge request GNOME/gtk!168
2018-07-30 10:49:56 +00:00
Jakub Steiner
f8a971a7df
Adwaita: devel style
...
- nightly/development versions of apps should get a styled
headerbar.
https://gitlab.gnome.org/GNOME/gtk/merge_requests/142
2018-07-30 12:09:41 +02:00
Andrea Azzarone
e1a7629a85
window: Fallback to CSD titlebar in focus-chain
...
CSD titlebar are included in the focus-chain. The logic used makes sure that the
initial focus avoids the titlebar, but tabbing around will eventually get there.
This logic fails in case the window has no other focusable widgets apart from
the ones in the header-bar. If this happens keynav focus will be lost. To handle
the above scenario, we need to fallback to focus the header-bar (if any).
Fixes: https://gitlab.gnome.org/GNOME/gnome-software/issues/404
2018-07-30 09:30:26 +02:00
Matthias Clasen
7d3b8b0d09
treeview: Get rid of child surfaces
...
Drop the drag-highlight and drag surfaces. The highlighting
is broken anyway, so just drop it for now. And for dragging
the header button, we can just position it properly, that
works just as well as this reparenting approach.
2018-07-29 15:23:41 -04:00
Piotr Drąg
fff2fabd7a
Update Polish translation
2018-07-29 20:33:24 +02:00
Matthias Clasen
73b45ec77e
Migration guide: mention size-allocate
...
Document the new argument here.
Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1245
2018-07-29 09:11:39 -04:00
Matthias Clasen
8f95a5980e
Remove an outdated comment
...
We no longer have semi-private headers.
2018-07-29 08:45:34 -04:00
Christian Hergert
87d33470ed
vulkan: fix warning from g_clear_pointer() changes
2018-07-28 10:54:14 -07:00
Christian Hergert
002e48c469
imwayland: fix potential leak of attr list
...
This fixes a potential leak of a PangoAttrList that is set when chaining
up to the parent get_preedit_string(). We check to see if the attr list
was created and reuse it instead of leaking the previous value.
2018-07-28 10:54:14 -07:00
Aurimas Černius
f33549da91
Updated Lithuanian translation
2018-07-28 20:35:20 +03:00
Matthias Clasen
f3f32b47cc
Merge branch 'wip/gtk-menu-popup-no-more' into 'master'
...
Remove legacy GtkMenu popup APIs
See merge request GNOME/gtk!270
2018-07-27 18:57:24 +00:00
Matthias Clasen
2c5f2a2bcb
Merge branch 'color-picker' into 'master'
...
Color picker
See merge request GNOME/gtk!273
2018-07-27 18:35:05 +00:00
Matthias Clasen
b6d990af25
tests: Update a11y tests
...
Some things changed.
2018-07-27 14:23:20 -04:00
Matthias Clasen
16171a232a
Add a color picker implementation for gnome-shell
...
This adds a GtkColorPicker implementation that talks
to gnome-shell to get a color.
2018-07-27 14:23:20 -04:00
Matthias Clasen
031b5cad46
Add a color picker implementation for portals
...
This adds a GtkColorPicker implementation that talks
to the screnshot portal to get a color.
2018-07-27 14:23:20 -04:00