Matthias Clasen
f432c937cc
dnd: Drop gdk_drag_abort
...
This function is never called, so drop it, its vfunc,
and all the backend implementations.
2018-07-12 13:57:45 +02:00
Matthias Clasen
1dd15b5237
dnd: Some documentation updates
...
Don't mention dnd protocols, and do mention the new,
split objects.
2018-07-12 13:57:45 +02:00
Matthias Clasen
5cdbbc6e61
win32: Build fixes
2018-07-12 13:02:42 +02:00
Matthias Clasen
0e2ac0ebf2
wayland: Rename a source file
...
Rename gdkdnd-wayland.c to gdkdrag-wayland.c to go along
with gdkdrop-wayland.c.
2018-07-12 13:02:42 +02:00
Matthias Clasen
c73cb2c154
wayland: Drop an unused field
...
Nothing was using the foreign_dnd_surface anymore, so no
need to create it in the first place.
2018-07-12 13:02:42 +02:00
Matthias Clasen
a756caa106
dnd: Drop suggested_action
...
The only user of this field was the x11 backend, and it
turns out that it does not need to store the value at all.
2018-07-12 13:02:42 +02:00
Matthias Clasen
da22ba3b86
drag: Split a setter
...
In preparation for moving the suggested action
to the x11 backend, split the setter off.
2018-07-12 13:02:42 +02:00
Matthias Clasen
7a0a92f2b6
win32: Stop using gdk_drag_get_suggested_action
...
The suggested action is not set or used in the win32
information, so don't put it in logs either.
2018-07-12 13:02:42 +02:00
Matthias Clasen
d927c3bee0
GdkDrop: drop the priv struct
...
Its not needed.
2018-07-12 13:02:42 +02:00
Matthias Clasen
59c2efbcd6
Add a GdkDrag::actions property
...
To go along the GdkDrop::actions property.
2018-07-12 13:02:42 +02:00
Matthias Clasen
94af080fb6
Rename a property
...
Change GdkDrag::action to GdkDrag::selected-action, which is
more clearly different from actions, and follows the existing
name of the struct field and getter.
2018-07-12 13:02:42 +02:00
Matthias Clasen
40841ec3be
GdkDrag: Drop the priv struct
...
We don't need it.
2018-07-12 13:02:42 +02:00
Matthias Clasen
f69bb2fb2b
wayland: set a cursor when starting a drag
...
Otherwise, we wont have one.
2018-07-12 13:02:42 +02:00
Matthias Clasen
db0b9f61ae
dnd: Add a GdkDrag::action property
...
This lets us drop the ::action-changed signal for the
property change notification. But, can just as well move
the signal class handers which just update the cursor
to the ::action setter. No need to do this in the backends.
2018-07-12 13:02:42 +02:00
Matthias Clasen
63ab523146
wayland: Remove an unused field
...
GdkDragWayland.suggested_action was entirely unused, so drop it.
2018-07-12 13:02:42 +02:00
Matthias Clasen
b94c3166bf
dnd: Rename gtk_drag_begin_with_coordinates
...
Now that the coordiate-less variant is gone,
rename this back to the shorter gtk_drag_begin.
2018-07-12 13:02:42 +02:00
Daniel Boles
7030e08f9c
Merge branch 'master' into 'master'
...
HighContrast: Restore expander size
Closes #1046
See merge request GNOME/gtk!167
2018-07-09 17:28:49 +00:00
Timm Bäder
2cc6a3ee5c
widget factory: Use GtkPicture for background selection
...
Showing those background images as 16×16 icons doesn't look very nice.
2018-07-08 21:50:59 +02:00
Timm Bäder
3dd188fe7e
gl renderer: Cache blurred outset shadow nodes
...
Since these are particularly expensive to render and we have a pretty
big one used in every client-side decorated window.
2018-07-08 21:50:59 +02:00
Timm Bäder
d41603d82a
aboutdialog: Remove priv pointer
2018-07-08 21:50:59 +02:00
Timm Bäder
f7aff03c72
layout: Remove priv pointer
2018-07-08 21:50:59 +02:00
Timm Bäder
a0b8e32462
rendernodes: Fix unconditionally impossible diffs
...
Some of the _diff implementations did a whole bunch of work just to
throw it away afterwards and invalidate the entire union of the two
render nodes, most notably the two clip nodes. Fix this to only call
gsk_render_node_diff_impossible if the previous if-condition is FALSE
and not always.
2018-07-08 21:50:59 +02:00
Timm Bäder
50f76eb8cc
GskRenderer: Add missing nullable annotation
2018-07-08 21:50:59 +02:00
Timm Bäder
9959ea98cd
Revert "snapshot: merge container nodes"
...
This reverts commit 622a150bb4
.
2018-07-08 21:50:59 +02:00
Balázs Meskó
27ba2411f0
Update Hungarian translation
2018-07-08 14:04:15 +00:00
Timm Bäder
a6920855ea
Implement GtkInspectorLayoutOverlay
...
To properly replace the old "show layout borders" option.
2018-07-08 11:26:12 +02:00
Timm Bäder
c85e2401fa
treeview: Fix column visibility check
...
This is still fallout from the bin_window removal. We aren't moving the
GdkWindow/GdkSurface anymore so we have to account for the scrolling
ourselves.
2018-07-08 10:32:12 +02:00
Timm Bäder
6fdcafc94a
treeview: Move column header widgets when scrolling
...
Since those are widgets and widgets need to be size-allocate'd properly,
we need to queue an allocate, as well as actually add the hadjustment's
value to the column x position.
Fixes #1202
2018-07-08 10:04:27 +02:00
Timm Bäder
9bab218314
aspectframe: Remove priv pointer
2018-07-08 10:02:43 +02:00
Timm Bäder
2854635850
scalebutton: Remove priv pointer
2018-07-08 09:41:15 +02:00
Timm Bäder
a976aa9740
searchbar: Ignore key presses when unmapped
...
The purpose of a searchbar is to start a search on visible widgets when
a key is pressed. Starting a search on e.g. a stack page that is not
visible at all is not very useful.
2018-07-08 09:41:15 +02:00
Timm Bäder
074eb2a19d
accellabel: Add newline between consecutive if statements
2018-07-08 09:41:15 +02:00
Timm Bäder
96812450fa
listbox demo: Hide extra_buttons_box by default
...
It should only show up when hovering the row.
2018-07-08 09:41:15 +02:00
Timm Bäder
93c688cd93
range: Remove has_origin flag
...
It's equivalent to the highlight_widget being !NULL.
2018-07-08 09:41:15 +02:00
Timm Bäder
53afc4a9d9
dialog: Remove priv pointer
2018-07-08 09:41:15 +02:00
Timm Bäder
c96077590b
dialog: Remove some GtkVBox references
2018-07-08 09:41:15 +02:00
Timm Bäder
6e47d0bf4a
GtkSeparatorToolItem: Remove draw flag
...
We can as well query the current value of the flag using
gtk_style_context_has_class.
2018-07-08 09:41:15 +02:00
Timm Bäder
50b79ae0ab
GtkSeparatorToolItem: Remove priv pointer
2018-07-08 09:41:15 +02:00
Timm Bäder
6b4709ea3c
GtkApplication: Remove priv pointer
2018-07-08 09:41:15 +02:00
Timm Bäder
f3a83abb54
colorswatch: Remove priv pointer
2018-07-08 09:41:15 +02:00
Timm Bäder
33166b7357
render: Remove gtk_render_slider
...
The only thing it was doing is render background and frame, which you
get from using a widget for your slider anyway.
2018-07-08 09:41:15 +02:00
Timm Bäder
bb31ce1168
renderborder: Remove some unused API
2018-07-08 09:41:15 +02:00
Timm Bäder
dbf32933bf
main: Don't look at first GTK_DISPLAY_DEBUG_CHECK parameter...
...
... if none of the debug displays have any debug flags set. This way, we
can ignore the first parameter to e.g. GTK_DISPLAY_NOTE, which is
usually a call to gtk_widget_get_display.
Before this patch, gtk_widget_get_display was the slowest part of
gtk_widget_query_size_for_orientation.
2018-07-08 09:41:15 +02:00
Timm Bäder
af8fe182c8
Fix a few documentation warnings
2018-07-08 09:41:15 +02:00
Timm Bäder
731f0d4d01
Merge branch 'gtk-picture-docs' into 'master'
...
docs: Add GtkPicture to types list
See merge request GNOME/gtk!233
2018-07-07 06:30:37 +00:00
Thomas Bechtold
e42373df89
docs: Add GtkPicture to types list
...
We want signals, arguments/parameters and position in the hierarchy to
be shown in the documentation for GtkPicture. So fix the types list.
See
https://developer.gnome.org/gtk-doc-manual/unstable/metafiles_types.html.en
2018-07-06 22:14:26 +02:00
Timm Bäder
da8050979e
fixed: Remove child list
...
Use the child widget list from GtkWidget and attach x/y positions via a
qdata.
2018-07-05 19:08:19 +02:00
Timm Bäder
4dd1ff6dd2
GtkLayout: Remove freeze_count member
...
Unused.
2018-07-05 19:08:19 +02:00
Timm Bäder
8c403c43f0
spinbutton: Keep GParamSpecs around
...
notify_by_pspec is more efficient and this way the source file is more
in line with the others.
2018-07-05 19:08:19 +02:00
Emmanuele Bassi
2feb5c93ca
ci: Update the image for the Flatpak jobs
...
The gnome-nightly-oci registry was moved to gitlab.gnome.org, so we
need to change the image we use when building Flatpak bundles in our
CI pipeline.
2018-07-04 18:32:59 +01:00