Timm Bäder
9959ea98cd
Revert "snapshot: merge container nodes"
...
This reverts commit 622a150bb4
.
2018-07-08 21:50:59 +02:00
Emmanuel Gil Peyrot
8ca3ac1970
GtkIMContextSimple: Fix Wayland build when X11 support is disabled.
2018-07-08 20:11:01 +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
Emmanuele Bassi
9924a92e70
Merge branch '1140-gtk_printer_get_hard_margins_for_paper_size-is-not-external' into 'master'
...
Resolve "gtk_printer_get_hard_margins_for_paper_size() is not external"
Closes #1140
See merge request GNOME/gtk!229
2018-07-04 16:55:34 +00:00
Kjell Ahlstedt
6c8988e445
gtkprinter: Make gtk_printer_get_hard_margins_for_paper_size() public
...
The declaration in gtkprinter.h shall be preceded by GDK_AVAILABLE_IN_ALL,
or else the function can't be used in application programs.
Closes #1140
2018-07-04 18:40:33 +02:00
Benjamin Otte
9fb3b84253
rendernode: Make offset nodes use floats
...
It's OpenGL stuff, use floats.
2018-07-04 15:05:37 +02:00
Benjamin Otte
3439862634
gtkmediafile: Don't leak all the images
...
We were leaking the GBytes for the image memory, which is a
noticeable memleak to anyone who's casually running a memory monitor.
Go KDE users!
Closes #1200
2018-07-04 15:05:02 +02:00
Benjamin Otte
93c5455796
iconhelper: Plug memleak
2018-07-04 15:04:04 +02:00
Benjamin Otte
e665667bff
mediafile: Check if media files are open when trying to play
...
If no file is open, refuse to play.
2018-07-04 06:15:33 +02:00
Benjamin Otte
3ca59b8701
css: Don't do indirections
...
We don't need to look up the property by name to query its ID when we
know the ID already because it's inside an enum.
2018-07-04 06:15:33 +02:00
Benjamin Otte
fba0b359d4
css: Report sizes as absolute
...
All PangoFontDescriptions that GTK creates now use
pango_font_description_set_absolute_size().
2018-07-04 06:15:33 +02:00
Benjamin Otte
e1b6496af7
image: size request is always CONSTANT_SIZE
...
It's always -gtk-icon-size in both directions, even for paintables.
There's no width-for-height happening.
2018-07-04 06:15:33 +02:00
Daniel Boles
14620423e8
themes: Restore default progressbar min sizes
...
The min size on the oriented axis used to come from style props with
default values in the source file, used if the theme did not provide a
min size in CSS. When the style props were removed, so was any notion of
a minimal size for proressbars' main axis, meaning that now progressbars
without expand or any other source of min size were just tiny specks.
The right place to do that was always the theme, so in our themes now,
fix that by copying the old default values for the style properties; see:
https://gitlab.gnome.org/GNOME/gtk/issues/1191#note_259393
https://gitlab.gnome.org/GNOME/gtk/blob/gtk-3-24/gtk/gtkprogressbar.c#L92
The result should be the same in that (A) the min size is now what it is
in GTK+ 3 & (B) an app/user can override the theme exactly the same way.
Close https://gitlab.gnome.org/GNOME/gtk/issues/1192
2018-07-03 18:55:31 +01:00
Daniel Boles
55a1f8ccfd
HC: merge dupe selectors; linebreaks for legibility
2018-07-03 18:55:17 +01:00
Timm Bäder
19afe454df
Merge branch 'gdk4-dnd-docs' into 'master'
...
docs: Add new DnD types
See merge request GNOME/gtk!227
2018-07-03 17:28:44 +00:00
Piotr Drąg
7d842cb7fc
Update POTFILES.in
2018-07-03 17:11:00 +02:00
Ernestas Kulik
3137d326c5
docs: Add new DnD types
...
7733f646d6
renamed GdkDragContext to
GdkDrag, which broke the docs, as a reference to
gdk_drag_context_get_type() still exists. This commit renames the type
accordingly and adds GdkDrop.
2018-07-03 12:32:41 +03:00
Matthias Clasen
12464731f1
Merge branch 'dnd-cleanups' into 'master'
...
Dnd cleanups
See merge request GNOME/gtk!226
2018-07-02 21:19:45 +00:00
Daniel Boles
269a9d8528
Adwaita: Drop some unneeded overrides
...
The pseudoclasses work fine on the subnodes without having to also apply
`parent:class subnode`.
2018-07-02 22:04:35 +01:00
Daniel Boles
c892d2767a
Adwaita: Regenerate CSS for text handle overhaul
...
Commit b3e91b7111
forgot this.
2018-07-02 22:04:35 +01:00
Matthias Clasen
c8e082f296
win32: Adapt to dnd api changes
...
Follow the GdkDragContext -> GdkDrag change.
2018-07-02 22:52:59 +02:00
Daniel Boles
51981d562b
ScrolledWindow: a couple of spelling/grammar fixes
...
(A) Put a space in "scrolled window" like the other doc comments
(B) Say "i.e." rather than "ie."
(C) Fix grammar from "makes [...] exactly reaches" to "exactly reach"
2018-07-02 20:14:41 +01:00
Daniel Boles
51b77a425a
ScrolledWindow: Fix/improve doc of key bindings
...
Saying 'key + modifiers' is really weird, so reverse that, and explain
why there are 2 cited and what the difference between them is.
2018-07-02 20:14:41 +01:00
Daniel Boles
ae3163b5e0
ScrolledWindow: Add missing apostrophes
2018-07-02 20:14:41 +01:00
Matthias Clasen
af93646b3e
Merge branch 'event-controller-key-docs' into 'master'
...
eventcontrollerkey: Document key-pressed and key-released
See merge request GNOME/gtk!225
2018-07-02 17:16:04 +00:00