Commit Graph

31176 Commits

Author SHA1 Message Date
Matthias Clasen
19e448146b colorchooser: Drop the ::response handler altogether
This makes it safe for users to destroy the dialog in response
to ::response.
2012-03-07 22:06:22 -05:00
Matthias Clasen
ad8bf6491c colorchooser: Do less in ::response
Some people destroy their widgets in ::response, so trying
to access dialog internals from the class handler that is
running afterwards has the potential to cause problems.
Instead, we can reset the ::show-editor property every
time we map the dialog.
2012-03-07 21:42:28 -05:00
Matthias Clasen
33004cb5e6 colorchooser: Fix default palette orientation
The switch from boolean to orientation failed to account
for the default palette.
2012-03-07 21:12:32 -05:00
Benjamin Otte
858a654676 x11: Avoid spurious focus events on grabs
We want to avoid handling focus events for the private focus window,
otherwise the keyboard grab taken by for example buttons will cause a
spurious FOCUS_OUT/FOCUS_IN on the toplevel.

The code that did this seems to have been lost in the XI2 transition for
GTK3.

This patch reapplies db4a6040af which was
backed out in 18406b7b04 to give
developers a chance to get their X servers fixed. As we want to get this
bugfix in for 3.4, we need to commit it now.

https://bugzilla.gnome.org/show_bug.cgi?id=657578
2012-03-07 15:35:21 +01:00
Fran Diéguez
f9b23d70ef Updated Galician translations 2012-03-07 13:09:53 +01:00
Alexander Shopov
420568285f Updated Bulgarian translation 2012-03-07 06:38:38 +02:00
Benjamin Otte
e93a3e7d6d reftests: Fix css-match-regions tests
Make it conform to the current behavior - that is, we allow selectors
for regions multiple times in a row.
2012-03-07 04:50:33 +01:00
Benjamin Otte
bea4ee0a2c css: Fix * selector to also match regions
Fixes css-match-region-matches-star.ui reftest.
2012-03-07 03:47:19 +01:00
Benjamin Otte
c6e25c6326 Grr, complete the test removal removals 2012-03-07 03:30:12 +01:00
Benjamin Otte
e4a5df592b Revert "Remove broken css-match-region-matches-star reftest"
This reverts commit 14d7072224.
2012-03-07 03:21:37 +01:00
Benjamin Otte
47348237c8 Revert "Remove broken css-match-regions reftest"
This reverts commit 7b962c8521.
2012-03-07 03:17:02 +01:00
Benjamin Otte
4d6a6be897 API: colorchooser: Use GtkOrientation for orientation
Unfortunately, this swaps the values from the previous state.
But it's definitely a nicer API.
2012-03-07 03:11:05 +01:00
Benjamin Otte
b83dcc26ad tests: Fix gcc warning 2012-03-07 02:59:30 +01:00
Baptiste Mille-Mathias
9f8087b762 Uodate documentation references screenshots (second part) 2012-03-06 22:37:24 +01:00
Baptiste Mille-Mathias
7d16605667 Update documentation reference screenshots 2012-03-06 22:34:52 +01:00
Rob Bradford
c6b0e91e87 wayland: Add some useful comments explaining the cairo surface behaviour 2012-03-06 21:24:41 +00:00
Rob Bradford
ff2acecac6 wayland: Add NULL warning check to _gdk_wayland_window_set_device_grabbed 2012-03-06 21:24:41 +00:00
Rob Bradford
99e0f4b62c wayland: Don't try and reset the pointer window grab if there wasn't one 2012-03-06 21:24:41 +00:00
Daniel Stone
134ef22a4e Add smooth-scroll to GtkTextView event mask
Without any extra supporting code, just adding GTK_SMOOTH_SCROLL_MASK to
the event mask for GtkTextView makes GEdit do the right thing and scroll
smoothly.  Lovely.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>

https://bugzilla.gnome.org/show_bug.cgi?id=671488
2012-03-06 21:45:09 +01:00
Matthias Clasen
4b05f4178a configure.ac: Improve the checks for XInput 2.2
Check for the XIScrollClassInfo struct in addition to the existing
check for XIAllowTouchEvents() because Ubuntu Oneiric seems to
have an incomplete backport which has one but not the other.

Based on a patch by Murray Cumming,
https://bugzilla.gnome.org/show_bug.cgi?id=671453
2012-03-06 07:45:04 -05:00
Alexander Larsson
7430559736 win32: Remove some unused input stuff to make win32 build again
Input events doesn't quite seem to work though, so it needs some fixing.
2012-03-06 12:04:36 +01:00
Inaki Larranaga Murgoitio
68fe42ac26 Updated Basque language 2012-03-06 11:37:54 +01:00
Cosimo Cecchi
d06cce4b32 reftests: fix misc-alignment reftest
Add it back.
2012-03-05 18:37:00 -05:00
Cosimo Cecchi
235cde5282 Revert "Remove broken misc-alignment reftest"
This reverts commit 6416385e47.
2012-03-05 18:36:58 -05:00
Cosimo Cecchi
d169f7711c reftests: fix label-sizing reftest
Add it back fixed.
2012-03-05 18:36:52 -05:00
Cosimo Cecchi
39cef018ab Revert "Remove broken label-sizing reftest"
This reverts commit 168300cb63.
2012-03-05 18:36:47 -05:00
Cosimo Cecchi
0689810647 reftests: fix quit-mnemonic reftest
And add it back
2012-03-05 18:36:26 -05:00
Cosimo Cecchi
3681b99383 Revert "Remove broken quit-mnemonic reftest"
This reverts commit 563eff4dfb.
2012-03-05 18:36:13 -05:00
Matthias Clasen
3ac4c467b3 Bump version 2012-03-05 17:13:12 -05:00
Matthias Clasen
f1d14f4aa8 3.3.18 2012-03-05 17:12:26 -05:00
Matthias Clasen
43b2dba7a8 Grr, complete the test removals 2012-03-05 17:12:16 -05:00
Matthias Clasen
cfd60f47c9 Update expected result for the infobar a11y dump 2012-03-05 15:55:01 -05:00
Matthias Clasen
7b962c8521 Remove broken css-match-regions reftest 2012-03-05 15:51:24 -05:00
Matthias Clasen
563eff4dfb Remove broken quit-mnemonic reftest 2012-03-05 15:37:49 -05:00
Matthias Clasen
6416385e47 Remove broken misc-alignment reftest 2012-03-05 15:36:50 -05:00
Matthias Clasen
168300cb63 Remove broken label-sizing reftest 2012-03-05 15:35:35 -05:00
Matthias Clasen
14d7072224 Remove broken css-match-region-matches-star reftest 2012-03-05 15:34:46 -05:00
Matej Urbančič
03954d938e Updated Slovenian translation 2012-03-05 17:47:52 +01:00
Chao-Hsiung Liao
40862b698d Updated Traditional Chinese translation(Hong Kong and Taiwan) 2012-03-05 21:18:09 +08:00
Matthias Clasen
185973983a Bump glib dep to 2.31.20
Needed for --valist-marshallers
2012-03-05 08:15:54 -05:00
Matthias Clasen
404359f2dd Fix symbol lists 2012-03-05 08:09:39 -05:00
Alexander Larsson
2422c44f8e Add custom va_marshallers in some places
This is a slight performance optimization in the common case.
2012-03-05 12:39:09 +01:00
Matthias Clasen
8367be0630 Update for 3.3.18 2012-03-05 06:17:12 -05:00
Daniel Mustieles
2f24a1bd2f Updated Spanish translation 2012-03-05 10:55:10 +01:00
Matthias Clasen
aa60e02795 gdk: Remove an unused enumeration
We don't have any API using the GdkExtensionMode enumeration, so
no point in carrying it in the headers.
2012-03-04 20:05:42 -05:00
Matthias Clasen
ab87579e3f scrolledwindow: Fix scroll event handling
Rewrite the code that deals with smooth scroll events to
be in terms of 'scroll units' as well.
2012-03-04 19:20:10 -05:00
Matthias Clasen
5714454a73 range: Straighten the wheel delta calculation
Scroll events report normalized deltas in terms of an abstract
'scroll unit' now, so our job is to determine a suitable scroll
unit here. Since we are changing the value of the adjustment,
the allocation of the widget does not factor into this at all.
2012-03-04 19:15:32 -05:00
Matthias Clasen
3dd5e88c07 xi2: Normalize scroll deltas
XI2 provides us with an increment for each scroll valuator,
and by dividing the delta by the increment, we obtain normalized
values in some abstract 'scroll unit'.

For mouse wheels, the evdev driver reports an increment of -1,
so doing this division fixes the inverted scrolling with wheels
that we've seen recently.
2012-03-04 19:12:27 -05:00
Matthias Clasen
47c190a1b7 grid: Work harder for tight homogeneous allocation
When doing homogeneous allocation in the presence of
overlapping spanning children, we need to avoid uneven
line allocations, otherwise, the final homogenization
will blow up the size request of the grid.

https://bugzilla.gnome.org/show_bug.cgi?id=671170
2012-03-04 17:29:01 -05:00
Piotr Drąg
897dc37289 Updated Polish translation 2012-03-04 22:39:03 +01:00