Timm Bäder
ce1ae60da2
popover: Propagate drawing
2016-09-01 15:20:12 +02:00
Timm Bäder
2c04941c5c
popover: Fix hfw/wfh size request
...
Since we're using _get_rect_coords in size-allocate when allocating the
size of the child widget, use the newly introduced _get_rect_for_size to
calculate the difference between the passed size_for and the one we're
supposed to pass on to the child widget.
2016-09-01 15:16:58 +02:00
Timm Bäder
7f1ab32e60
popover: Introduce _get_rect helper for a size
...
When calculating the requested size of a popover, we need to do the
exact same same thing _get_rect_coords did, but not for the
current popopver allocation. Add _get_rect_for_size that can be used for
this purpose
2016-09-01 15:15:18 +02:00
Timm Bäder
4f7ec1f1c0
gtk{info,search}bar.ui: Remove some leftover attributes
2016-09-01 12:32:51 +02:00
Arnaud Bonatti
533de822ba
Use 'focused' everywhere.
...
https://bugzilla.gnome.org/show_bug.cgi?id=770624
2016-09-01 07:14:30 +02:00
Arnaud Bonatti
3c3a11591b
Fix typos.
...
https://bugzilla.gnome.org/show_bug.cgi?id=770624
2016-09-01 07:14:30 +02:00
Piotr Drąg
a89b3c1b9e
Updated Polish translation
2016-09-01 02:59:03 +02:00
Matthias Clasen
4a035403d3
Fix the scrolledwindow test
...
These tests were written for the propagate-nat-size semantics,
so opt in to it.
2016-08-31 15:04:57 -04:00
Tristan Van Berkom
0984d1622d
GtkScrolledWindow: Bug 766569 - Make propagation of natural child sizes optional
...
Making propagation of child natural sizes mandatory (or default, even) was
evidently a mistake as this causes dynamic content in a scrolled window
to resize it's parent when the scrolled window is competing for space
with an adjacent widget.
This patch instead adds API to control whether natural width and
height of the child should be propagated through the scrolled windows
size requests.
2016-08-31 14:44:50 -04:00
Matthias Clasen
738b1e3eec
Require wayland-protocols 1.7
...
Needed for xdg-shell v6.
2016-08-31 07:07:54 -04:00
Christian Kirbach
b9757b87a1
Updated German translation
2016-08-31 07:10:52 +00:00
Gábor Kelemen
92520a38d5
Updated Hungarian translation
2016-08-30 07:39:03 +00:00
Matthias Clasen
852bdae85f
3.21.5
2016-08-29 15:51:06 -04:00
Matthias Clasen
c9749ad7dc
x11: Fix a trap mixup
...
There was a return between a push/pop of an error trap, and
this managed to trigger the 'unpopped trap' warning in the
displayclose test now. Fix this.
2016-08-29 15:51:05 -04:00
Lionel Landwerlin
ea1295c9ab
gtk: window: don't forget to realize popovers of subwindows
...
https://bugzilla.gnome.org/show_bug.cgi?id=770307
2016-08-29 14:01:10 -04:00
Matthias Clasen
bdbe2de57d
Document handle-related Wayland api
...
In particular, note that this API depends on an unstable
Wayland protocol and thus may have to change.
2016-08-29 13:20:44 -04:00
Jonas Ådahl
340b5964dd
wayland: Add API for setting an exported as a parent
...
Add an API that enables an application to, given an exported window
handle, set its own window as a transient of the window associated with
the exported window handle.
https://bugzilla.gnome.org/show_bug.cgi?id=769788
2016-08-29 13:20:44 -04:00
Jonas Ådahl
f98c9fec6c
window: Add Wayland implementation of gtk_window_export_handle
...
https://bugzilla.gnome.org/show_bug.cgi?id=769788
2016-08-29 13:20:44 -04:00
Jonas Ådahl
127d2ac956
wayland: Add API for creating exported window handles
...
Using the xdg_foreign protocol, expose a way to get handles to windows
that may be shared between processes.
https://bugzilla.gnome.org/show_bug.cgi?id=769788
2016-08-29 13:20:44 -04:00
Benjamin Otte
e1a03ead7a
Use NULL for generic marshallers in g_signal_new()
...
glib will use the correct marshaller automatically. And as a side
effect, we also get all glib optimizations, like a va marshaller.
2016-08-29 16:20:54 +02:00
Matthias Clasen
6af5033386
about dialog: Set a max-content-height on credits
...
This keeps the credits section from making the dialog grow
when there are lots of credits.
https://bugzilla.gnome.org/show_bug.cgi?id=770458
2016-08-29 10:01:20 -04:00
Carlos Soriano
cfe4c9e0f4
gtkplacessidebar: fix signal marshal
...
We were using __VOID for the SHOW_OTHER_LOCATION signal that
uses flags named SHOR_OTHER_LOCATION_WITH_FLAGS.
However, if a signal uses flags the marshal needs to use __FLAGS.
This patch addresses this using VOID__FLAGS as the marshaler parameter.
Thanks to Jan Steffens for pointing this out.
https://bugzilla.gnome.org/show_bug.cgi?id=770550
2016-08-29 15:01:12 +02:00
Мирослав Николић
a0ff0de6a5
Updated Serbian translation
2016-08-28 21:55:26 +02:00
Мирослав Николић
349170c011
Updated Serbian translation
2016-08-28 21:54:20 +02:00
Руслан Ижбулатов
b05ed13710
GDK W32: Remove obsolete assertions
2016-08-26 20:46:27 +00:00
Piotr Drąg
f6935de517
Updated Polish translation
2016-08-26 13:46:38 +02:00
Matthias Clasen
fcfbffc145
Updates
2016-08-26 01:09:40 -04:00
Benjamin Otte
35c96c2c1f
Add braces to appease gcc
...
-ftrack-macro-expansion=0 doesn't like if statements without braces when
evaluating indentation levels.
2016-08-25 23:02:27 +02:00
Benjamin Otte
c8b301f1ea
uimanager: Correctly indent code
2016-08-25 23:02:27 +02:00
Benjamin Otte
da8cef16dc
a11y: Correctly indent code
2016-08-25 23:02:27 +02:00
Matej Urbančič
12e590e99a
Updated Slovenian translation
2016-08-25 22:16:17 +02:00
Matej Urbančič
9dfff0d21d
Updated Slovenian translation
2016-08-25 22:09:16 +02:00
Matthias Clasen
f53706b003
cell renderer text: Allow entries to shrink
...
Set a small max-width on entries used for editing cells, so they
adapt to small columns and don't overlap the next column.
https://bugzilla.gnome.org/show_bug.cgi?id=770374
2016-08-25 07:53:32 -04:00
Olivier Fourdan
9f57fe9960
wayland: add min/max size from xdg-shell v6
...
Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=764413
2016-08-25 11:04:16 +02:00
Jonas Ådahl
b7964cf5a7
wayland: Implement move_to_rect
...
Translate move_to_rect parameter into xdg_positioner requests, and use
the generated xdg_positioner to create the popup.
https://bugzilla.gnome.org/show_bug.cgi?id=769937
2016-08-25 12:31:40 +08:00
Jonas Ådahl
ceada4adc2
wayland: Port to xdg_shell unstable v6
...
https://bugzilla.gnome.org/show_bug.cgi?id=769937
2016-08-25 12:31:40 +08:00
Jonas Ådahl
643f033923
wayland: Move window geometry calculation to helper
...
We'll use it from more places later.
https://bugzilla.gnome.org/show_bug.cgi?id=769937
2016-08-25 12:31:40 +08:00
Jonas Ådahl
d2a80cd235
wayland: Only update the window title if it actually updated
...
This makes the protocol log less spammy.
https://bugzilla.gnome.org/show_bug.cgi?id=769937
2016-08-25 12:31:40 +08:00
Jonas Ådahl
8270699119
wayland: Only sync surface regions once per commit
...
Only set input, opaque and window geometry regions once per commit.
They are double buffered anyway, so the last one would only take effect
either way; this way reading protocol logs are much more pleasent.
https://bugzilla.gnome.org/show_bug.cgi?id=769937
2016-08-25 12:31:40 +08:00
Jonas Ådahl
d2385bec09
wayland: Remove gdk_wayland_display_get_xdg_shell()
...
Don't expose the xdg_shell struct as it is not yet a stable type that
will stay the same.
https://bugzilla.gnome.org/show_bug.cgi?id=769937
2016-08-25 12:31:40 +08:00
Jonas Ådahl
e53d381430
wayland: Get tiled state from gtk_shell instead of xdg_shell
...
Use our the 'tiled' entry from our new 'state' enum sent via
xdg_surface.configure.
https://bugzilla.gnome.org/show_bug.cgi?id=769937
2016-08-25 12:31:40 +08:00
Jonas Ådahl
80dd7566d5
wayland: Fix indentation
...
https://bugzilla.gnome.org/show_bug.cgi?id=769937
2016-08-25 12:31:40 +08:00
Matthias Clasen
b8f464e102
wayland: Add some more debug spew
2016-08-25 00:13:13 -04:00
Matthias Clasen
ae720784d9
wayland: Replace g_debug by GDK_NOTE
...
We have this framework, lets use it.
2016-08-25 00:05:49 -04:00
Matthias Clasen
f66a76d998
Document window-icon related api as 'may not work'
...
Some platforms simply don't have window icons (such as Wayland).
2016-08-24 14:43:58 -04:00
Matthias Clasen
ae636ba0c2
notebook: Update arrow state when switching pages
...
Otherwise, we may end up showing clickable arrows that don't
do anything.
https://bugzilla.gnome.org/show_bug.cgi?id=770332
2016-08-24 14:10:35 -04:00
Matthias Clasen
07e9b399d5
scale: Document interaction between rounding and autoscrolling
...
This is a bit of a gotcha, so better document it.
2016-08-24 12:58:54 -04:00
Matthias Clasen
f7c87fb3b7
widget-factory: Fix smooth autoscrolling of scales
...
There is annoying interference between formatting the value
(for which we set the number of digits to show) and the small
frame-to-frame value changes that we do for autoscrolling.
To work around this, turn off the digits-based rounding entirely
and format the value ourselves with ::format-value.
2016-08-24 12:53:28 -04:00
Matthias Clasen
ceb18a989e
gtk-demo: Make the scale demo fully functional
...
The adjustments need to have step-increment and page-increment
set up, or keynav and autoscrolling will not work.
2016-08-24 11:11:57 -04:00
Matthias Clasen
6163b3b2b5
Allow activating the desktop portal for inhibit
...
We allow it everywhere else, and there is nothing wrong with it.
2016-08-24 10:55:44 -04:00