Timm Bäder
251913c80e
gl renderer: Use offsets for more node types
2018-05-27 16:20:55 +02:00
Piotr Drąg
d8aa8fc6ce
Update Polish translation
2018-05-27 07:58:25 +02:00
Matthias Clasen
d561e52cde
a11y: Stop using ::event
...
We can just as well use notify::has-focus for the purpose of
focus tracking, and we can at the same time avoid emitting the
deprecated AtkObject::focus-event signal.
2018-05-26 08:46:06 -04:00
Christoph Reiter
e610c02a9e
ci/msys2: force disable vulkan
...
A recent dependency change in MSYS2 made it pull in vulkan, which made
meson think it's available but it somehow links against the system vulkan dll
instead.
Disable vulkan for now.
2018-05-26 14:23:58 +02:00
Daniel Boles
e7809f43ec
SpinButton: Fix an obviously wrong arg description
...
:climb-rate is not about what you get when you single-click on a button,
as this implied: it's what happens if you hold down a button or a key.
Fix the description of @climb_rate to new(), and while here, mention the
key in the blurb of :climb-rate itself.
2018-05-26 01:06:00 +01:00
Matthias Clasen
4bb3ac3e81
Merge branch 'kill-key-events' into 'master'
...
Kill key events
See merge request GNOME/gtk!160
2018-05-23 01:55:05 +00:00
Carlos Garnacho
d94ac2ed61
Merge branch 'issue792' into 'master'
...
wayland: check native surface for crossing events
Closes #792
See merge request GNOME/gtk!148
2018-05-22 11:10:26 +00:00
Matthias Clasen
8746322d53
Drop the ::key-press/release-event signals
...
These are the last event-type specific signals,
we are just relying on the generic ::event signal now.
2018-05-21 20:20:55 -04:00
Matthias Clasen
85922f6090
treeview: Stop using ::key-press-event
...
Use a generic ::event handler instead.
2018-05-21 20:20:49 -04:00
Matthias Clasen
ec2d0edd79
spin button: Stop using ::key-release-event
...
Just use the generic ::event signal.
2018-05-21 20:20:43 -04:00
Matthias Clasen
b63def0865
font chooser dialog: Stop using ::key-press-event
...
Use the generic ::event instead.
2018-05-21 20:20:33 -04:00
Matthias Clasen
6084a7ea89
button: Stop using ::key-release-event
...
Use the generic ::event signal instead.
2018-05-21 20:20:24 -04:00
Matthias Clasen
c78166e190
file chooser widget: Stop using ::key-press-event
...
Use a generic ::event handler instead.
2018-05-21 20:20:18 -04:00
Matthias Clasen
576dcf65b3
file chooser entry: Stop using key-press-event
...
Just use the generic ::event signal for now.
2018-05-21 20:20:12 -04:00
Matthias Clasen
7644a9cd72
entry: Stop using ::key-press-event
...
Use a generic ::event handler instead.
2018-05-21 20:20:06 -04:00
Daniel Boles
acd05d09aa
StyleContext: Don't advise using invalidate()
...
It doesn't exist anymore! Also, set_display() is not needed/used in the
demo cited, and we were still referring to gtk3-demo, not gtk4-demo.
2018-05-21 23:39:47 +01:00
Daniel Boles
19ed1b92b0
Range: Up should only mean ++ if we are a GtkScale
...
The last round of patches to get the desired direction of value move in
response to scrolls/keypresses on scales had the inadvertent side effect
of giving the opposite direction on scrollbars. Seeing as gtkrange.c is
already a collection of hacks, add another so that fix only holds if the
instance is a GtkScale, since that is what those patches were aimed at.
Close https://gitlab.gnome.org/GNOME/gtk/issues/1065
2018-05-21 20:21:25 +01:00
Matthias Clasen
33b8f087a3
emoji completion: Stop using key-press-event
...
The generic ::event signal will do.
2018-05-19 23:36:10 -04:00
Matthias Clasen
287c900bdb
Remove key-press-event from more docs
...
This signal will be going away, so stop mentioning it so much.
2018-05-19 23:36:01 -04:00
Matthias Clasen
46da8a031b
gtk-demo: Avoid key-press-event
2018-05-19 23:28:44 -04:00
Matthias Clasen
824bbf3117
popover: Drop key_press_event handler
...
We can do the same in the generic ::event handler.
2018-05-19 23:20:53 -04:00
Matthias Clasen
7928532bc5
emoji: Hide recent section when empty
...
This is part of https://gitlab.gnome.org/GNOME/gtk/merge_requests/143
by Julian Sperber.
2018-05-19 22:53:24 -04:00
Timm Bäder
3edd24fb01
widget: Properly remove event controllers in finalize
...
We were mutating the list while iterating over it. This was not a
problem before since remove_controller just set the controller pointer
to NULL instead of actually removing it from the list of controllers.
2018-05-19 23:03:32 +02:00
Timm Bäder
3a8607190f
Add GtkEventControllerKey to the docs
2018-05-19 12:38:44 +02:00
Timm Bäder
0aad5da1b3
widget: Remove controller sequence-state-changed signal connection
...
We can avoid a signal connection per event controller (and the
EventControllerData struct) since every event controller knows the
widget it's attached to.
2018-05-19 10:18:50 +02:00
Timm Bäder
5c339f2844
Add basic searchbar set_key_capture_widget tests
...
Make sure we're correctly resetting the internal key capture widget
pointer when the widget goes away.
2018-05-19 10:18:50 +02:00
Timm Bäder
8f289227aa
searchbar: Add missing GDK_AVAILABLE_IN_ALL marker
2018-05-19 10:18:50 +02:00
Timm Bäder
662e2b1641
snapshot: Remove superfluous typedef
...
We're already doing this in gtktypes.h
Fixes #214
2018-05-19 10:18:50 +02:00
Timm Bäder
5ff4ef14e6
widget: Directly notify gestures of grab
...
Since each widget has a list of event controllers now, we don't need to
connect to ::grab-notify of the widget for every controller.
2018-05-19 10:18:50 +02:00
Timm Bäder
f13cccd042
widget: Fix measure docs
...
Fix a typo and don't ever pass NULL to a ::measure() implementation.
2018-05-19 10:18:50 +02:00
Timm Bäder
c8aa5b8b4e
gl renderer: Add helper for printing a render node tree
2018-05-19 10:18:50 +02:00
Timm Bäder
f71b2ee79f
gestures demo: widget property is not writable
...
Use gtk_widget_add_controller instead.
2018-05-19 10:18:50 +02:00
Timm Bäder
a0d0b52034
scrollbar: Remove get_wheel_delta
...
Unused and undocumented.
2018-05-19 10:18:50 +02:00
Timm Bäder
caaa3f8200
cssvalue: Remove typechecks
...
This path is more than hot and those type checks ruin any kind of real
life profiling.
2018-05-19 10:18:50 +02:00
Fabio Tomat
90ac5f3755
Update Friulian translation
2018-05-18 16:19:35 +00:00
Matthias Clasen
84364a7ef4
emoji: Improve section scrolling
...
Leave some space above the section heading when scrolling.
This is a part of https://gitlab.gnome.org/GNOME/gtk/merge_requests/143
by Julian Sperber.
2018-05-17 16:42:00 +01:00
Matthias Clasen
daca4b9a39
Merge branch 'wip/restart-cursor-animation' into 'master'
...
wayland: Fix restarting cursor animation
See merge request GNOME/gtk!149
2018-05-17 09:59:45 +00:00
Matthias Clasen
1d368b0cd8
Merge branch 'paste-scrolling' into 'master'
...
textview: Don't scroll for pastes in another view
See merge request GNOME/gtk!152
2018-05-17 09:48:36 +00:00
Emmanuele Bassi
6656130f9c
Merge branch 'pages-docs' into 'master'
...
Publish master docs with gitlab pages.
See merge request GNOME/gtk!135
2018-05-15 08:51:37 +00:00
Chun-wei Fan
9332237bd4
gtkemojicompletion.c: Don't use g_autoptr()
...
This code is also built with non-GCC/non-CLang compilers, so don't use a
GCCism here.
2018-05-15 13:49:45 +08:00
Chun-wei Fan
04b4c077f6
gdkcairocontext*.h: Include cairo.h consistently
...
The other sources include cairo.h by just using #include <cairo.h>, so
do likewise here.
2018-05-15 13:49:45 +08:00
Matthias Clasen
71718b9cd1
textview: Don't scroll for pastes in another view
...
GtkTextView scrolls to the insertion point when the text
buffer signals a paste is done. This is wrong when there
are multiple views on the same buffer, and the paste
happened in another view.
To fix this, flip the handling of the scroll_after_paste
boolean to only be TRUE if we know that we want to scroll.
2018-05-14 13:03:34 +01:00
Fabio Tomat
d7aa13a8e6
Update Friulian translation
2018-05-14 11:12:37 +00:00
Fabio Tomat
e46d286882
Update Friulian translation
2018-05-14 05:21:23 +00:00
Mohammed Sadiq
9a79b090df
appchooserdialog: Fix memory leak
2018-05-13 14:57:04 +05:30
Mohammed Sadiq
b59a8c2911
appchooserdialog: Don't fire notify::heading twice
...
The gtk_app_chooser_dialog_set_heading() function do emit
notify::heading. Since the setter simply calls the function,
the setter itself shouldn't emit a notify signal by itself.
2018-05-13 14:56:49 +05:30
Mohammed Sadiq
0cd9ef8bcf
aboutdialog: Fix memory leak
2018-05-13 14:56:34 +05:30
Mohammed Sadiq
1f82697e99
video: Fix memory leak
2018-05-13 14:56:22 +05:30
Mohammed Sadiq
7ddad8aa62
examples: Remove unused variables
2018-05-12 17:32:16 +05:30
Mohammed Sadiq
14e5218753
snapshot: Fix typo in documentation comment
2018-05-12 09:31:32 +05:30