Daniel Boles
9e5cac07b8
testframe: Set value before connecting callbacks
...
The value comes from the widget, and we were setting this after
connecting the callback, which applies the value to the widget…
2017-03-07 00:16:37 +00:00
Daniel Boles
ec5ebf82b6
testframe: Use a generic widget pointer
2017-03-07 00:16:37 +00:00
Daniel Boles
3290065079
testheightforwidth: Add missing unref
2017-03-06 20:58:13 +00:00
Daniel Boles
bf0ea7b7bc
Fix the completely broken tests/testheightforwidth
...
This was ruined, with only 1 of the 8 subwindows rendering any content.
This commit fixes the responsible errors in the embedded GtkBuilder UIs:
• Fix broken replace by commit fb3d9022ad
of HBox with a Box having a broken orientation <property>
• Replace VBox and [HV]Paned with GtkOrientable successors (properly!)
• Remove use of Button:use_action_appearance, as this no longer exists
This commit also adds error reporting, in case other errors creep into
the GtkBuilder UI definitions, plus cleanup for the Builders and Windows
2017-03-06 20:37:38 +00:00
Jakub Steiner
ee3994f715
Adwaita: border for selmode checkboxes
...
- there was an extra border for selection mode
2017-03-06 17:02:01 +00:00
William Hua
dbb3f84796
mir: don't create GDK_INPUT_ONLY windows
2017-03-06 10:36:45 -05:00
Daniel Boles
24b966f6e7
Frame: minor update to intro docs
...
This incorporates a couple of recent tweaks from gtk-3-22.
2017-03-06 07:25:08 +00:00
Matthias Clasen
8531ee4c88
Quartz: Implement gdk_window_set_functions
...
This is useful, and easy to implement.
2017-03-05 22:52:03 -05:00
Anders Jonsson
482d0def4e
Update Swedish translation
2017-03-05 21:21:56 +00:00
Timm Bäder
73f8636687
widget: Remove direction-dependent margin code
...
Since margin-left and margin-right are gone, we don't have to care
about the difference between them and start/end anymore and we can just
save start as left and end as right.
2017-03-05 16:24:20 +01:00
Timm Bäder
f860ff8647
widget: Remove get_valign_with_baseline
...
This only existed for backwards compat reasons which aren't interesting
for gtk4.
2017-03-05 15:18:32 +01:00
Timm Bäder
f1f39e8924
sizerequest: Fix min_size > nat_size error message
...
Instead of mentioning the old _get_preferred_xxx functions, mention
measure() and print the for_size value as well. The orientation is given
by printing either "width" for GTK_ORIENTATION_HORIZONTAL or "height"
for GTK_ORIENTATION_VERTICAL.
2017-03-05 15:01:57 +01:00
Timm Bäder
b6790b112f
tests/revealer-size: Use gtk_widget_measure
2017-03-05 09:24:41 +01:00
Timm Bäder
7f79c36cb7
testsuite: Remove :sorted usage
...
Not valid CSS anymore.
2017-03-05 09:24:41 +01:00
Timm Bäder
bd86af4e15
treeviewcolumn: Use gtk_widget_measure to measure widget sizes
2017-03-05 09:24:41 +01:00
Timm Bäder
a8ac6fe8de
pathbar: Use gtk_widget_measure to measure widget sizes
2017-03-05 09:24:41 +01:00
Inaki Larranaga Murgoitio
02fbf764ea
Update Basque language
2017-03-04 17:44:35 +01:00
Aurimas Černius
5795d5fb36
Updated Lithuanian translation
2017-03-04 17:42:55 +02:00
Timm Bäder
a29343d4cf
widget: Reword size request documentation
2017-03-04 08:57:50 +01:00
Timm Bäder
75a3d0fab6
treeview: Use gtk_widget_measure to measure widget sizes
2017-03-04 08:44:49 +01:00
Timm Bäder
846e6dc0b1
menus: Use gtk_widget_measure to measure widget sizes
2017-03-04 08:44:49 +01:00
Timm Bäder
b16a322c4c
applicationwindow: Use gtk_widget_measure to measure widget sizes
2017-03-04 08:44:49 +01:00
Jordi Mas
2df8a5c7f4
Update Catalan translation
2017-03-04 08:41:08 +01:00
Changwoo Ryu
9b8461a028
Update Korean translation
2017-03-03 15:40:34 +00:00
Changwoo Ryu
1a83a6588a
Update Korean translation
2017-03-03 15:39:56 +00:00
Inaki Larranaga Murgoitio
783790b4ea
Update Basque language
2017-03-03 12:53:51 +01:00
Inaki Larranaga Murgoitio
faf0992ca0
Update Basque language
2017-03-03 12:52:13 +01:00
Daniel Boles
0a0f9718ef
HighContrast/parse-sass.sh: Use a reliable shebang
...
/usr/bin/sh does not exist on e.g. Debian sid.
Use the same shebang as Adwaita/parse-sass.sh
2017-03-03 08:46:32 +00:00
Jakub Steiner
870447446d
Adwaita: style selectionmode checks for flowbox tiles
...
- continue being asset based rather than drawn by CSS
- using node 'check' rather than style '.check'
https://bugzilla.gnome.org/show_bug.cgi?id=779074
2017-03-02 19:42:50 +00:00
Jakub Steiner
6fe1d30e62
Adwaita: style flowbox tiles
...
+ fixups by Daniel Boles from gtk-3-22
https://bugzilla.gnome.org/show_bug.cgi?id=779073
2017-03-02 19:42:47 +00:00
Carlos Garnacho
8c707e29ff
gtk-demo: Add 3fg touchpad swipe handling to gestures demo
...
We can handle those on wayland, so we should show it's possible.
2017-03-02 18:25:04 +01:00
Carlos Garnacho
ed34be8bb3
gtkgesturesingle: Fallback to GtkGesture handling on GDK_TOUCHPAD_SWIPE
...
There are GtkGestureSingle subclasses that can be made to handle multiple
fingers (GtkGestureSingle is a subclass of GtkGesture, and not the
opposite, after all). And GtkGestureSwipe already tries to handle
GDK_TOUCHPAD_SWIPE events, except this event handler silently ignores
those.
Falling back to the GtkGesture generic handler which already
handles touchpad gesture events fixes this.
2017-03-02 18:25:04 +01:00
Timm Bäder
dc511a38d0
placesview: Simplify button construction
2017-03-02 15:16:08 +01:00
Timm Bäder
0d2debad48
placessidebar: Fix css node name typo
2017-03-02 15:16:08 +01:00
Timm Bäder
dc8904d9c7
widgetnode: Remove unused define
2017-03-02 15:16:08 +01:00
Timm Bäder
4c39204ddd
cssnodestylecache: Use const pointer in lookup
2017-03-02 15:16:08 +01:00
Timm Bäder
e1592c599e
gdkwindow: Plug memory leak
...
gdk_drawing_context_get_clip returns a newly allocated cairo_region_t,
so we have to destroy it.
2017-03-02 15:16:08 +01:00
Timm Bäder
7d85ffce33
switch: remove unnecessary gtk_widget_show calls
2017-03-02 15:16:08 +01:00
Timm Bäder
b52966a318
cssselector: Stop parsing deprecated selectors
2017-03-02 15:16:08 +01:00
Timm Bäder
8eb7575c7f
csswidgetnode: Remove unused include
2017-03-02 15:16:08 +01:00
Matthias Clasen
015ff46633
Convince OS X to fully fullscreen windows
...
We typically want to have the full screen given to
the content, not the aspect-ratio preserving behavior
that newer OS X has.
https://bugzilla.gnome.org/show_bug.cgi?id=779383
2017-03-02 08:10:39 -05:00
Sveinn í Felli
35830fd88d
Update Icelandic translation
...
(cherry picked from commit 36e1761c84
)
2017-03-02 13:02:33 +00:00
Ask Hjorth Larsen
4508e2fc3e
Updated Danish translation
2017-03-02 13:24:10 +01:00
Ask Hjorth Larsen
d639e0696d
Updated Danish translation
2017-03-02 13:15:47 +01:00
Sveinn í Felli
5ff1b4662c
Update Icelandic translation
...
(cherry picked from commit fb53855fc8
)
2017-03-02 11:55:20 +00:00
Matthias Clasen
6278d003b4
Implement backdrop for Quartz
...
We need to send window state change events to make GTK+
pick up on focus changed for backdrop.
https://bugzilla.gnome.org/show_bug.cgi?id=779392
2017-03-01 11:47:18 -05:00
Matthias Clasen
169e2d8d92
quartz: Let CSD windows be fullscreen
...
I've found that I need this patch to make it possible for
windows with headerbar to be made fullscreen on OS X.
https://bugzilla.gnome.org/show_bug.cgi?id=779383
2017-03-01 11:46:31 -05:00
Olivier Fourdan
bbf7c6a715
wayland: make sure to clear up the number of keys
...
Make sure to clear up the number of keys being pressed on enter/leave so
that we don't end up with leftovers if a new window is mapped by a
keyboard shortcut.
https://bugzilla.gnome.org/show_bug.cgi?id=779374
2017-03-01 16:10:44 +01:00
cedlemo
4bef292253
Fix bad check of GtkActionPadType in gtk_pad_controller_set_action
...
https://bugzilla.gnome.org/show_bug.cgi?id=779317
2017-03-01 12:55:29 +01:00
William Hua
54791b65bd
mir: deprecate gdk_mir_window_get_mir_surface ()
2017-03-01 02:15:56 -05:00