Matthias Clasen
04b92a799e
Be more careful when freeing ui manager nodes
...
https://bugzilla.redhat.com//show_bug.cgi?id=812035 has
a stacktrace that shows recursion via
free_node -> unref -> dispose -> ui manager api
which ends in a crash, since we run free_node over the entire
tree and it leaves lots of dangling pointers behind.
So, better be careful by setting all pointers to NULL after
freeing them.
2012-05-15 21:54:20 -04:00
Wouter Bolsterlee
b7cf588f6e
Updated Dutch translation
2012-05-15 22:20:12 +02:00
Rachid BM
1ecf1163a1
Updated Dutch translation
2012-05-15 22:18:56 +02:00
Cosimo Cecchi
7babd3847a
gdk: fix the build
...
Regression from commit 861c57e304
2012-05-15 13:27:21 -04:00
Cosimo Cecchi
3f7dd6f653
themingengine: render pane-separator grip only if we have no bg-image
...
So that it's possible to implement this with an SVG asset if we want.
2012-05-15 13:24:41 -04:00
Cosimo Cecchi
baf6f38f1a
tests: add background-shorthand parser test for multiple backgrounds
...
These CSS files test the background shorthand property when it's used
with multiple background layers.
2012-05-15 13:24:41 -04:00
Cosimo Cecchi
b58fa2ca32
tests: move background-shorthand test to background-shorthand-single
...
And update/fix it for the new shorthand parsing, since the old test did
a couple of things wrong:
- it erroneously flipped background-clip and background-origin when
testing
- it was missing default initial values for background-size and
background-position from the generated test output
2012-05-15 13:24:41 -04:00
Cosimo Cecchi
61c7014e3e
shorthand: implement multiple backgrounds for the background shorthand
2012-05-15 13:24:40 -04:00
Cosimo Cecchi
3cd6edeba8
csspositionvalue: make empty error value non fatal
...
If there's just no value to parse (e.g. because we're parsing a
shorthand property), don't error out while trying to parse a number.
2012-05-15 13:24:40 -04:00
Cosimo Cecchi
a17c69cc03
shorthand: add background-position and background-size to bg shorthand
2012-05-15 13:24:40 -04:00
Cosimo Cecchi
cfc5854068
shorthand: use array values for shorthand properties parsing
...
Right now, just parse the first value in the array.
2012-05-15 13:24:40 -04:00
Cosimo Cecchi
8aec81333d
tests: add trailing commas to background-shorthand.css test file
2012-05-15 13:24:40 -04:00
Cosimo Cecchi
0cd6710da0
reftests: add a reftest for multiple background layers
2012-05-15 13:24:40 -04:00
Cosimo Cecchi
9cdff6ed67
themingbackgorund: render all background layers
...
Now that background properties are arrays, use them in
GtkThemingBackground when rendering.
2012-05-15 13:24:40 -04:00
Cosimo Cecchi
214809ece2
colorswatch: don't use the clip box directly
...
We can render our checkboard pattern on the padding box instead. This is
in preparation for GtkThemingBackground supporting multiple layers.
2012-05-15 13:24:40 -04:00
Cosimo Cecchi
580b585fc9
styleproperty: make background-image an array value
...
This also requires having the GtkCssArrayValue parse func forward the
base GFile from the style property parse implementation.
2012-05-15 13:24:40 -04:00
Cosimo Cecchi
f65970b521
styleproperty: make background-size an array property
2012-05-15 13:24:40 -04:00
Cosimo Cecchi
9b04673392
styleproperty: make background-position an array property
2012-05-15 13:24:40 -04:00
Cosimo Cecchi
ed12be7e81
styleproperty: make background-repeat an array property
2012-05-15 13:24:40 -04:00
Cosimo Cecchi
f8e6e272a7
styleproperty: make background-clip and background-area array properties
...
Right now just make them arrays, but don't consider values after the
first.
2012-05-15 13:24:40 -04:00
Bastien Nocera
861c57e304
gdkoffscreenwindow: Don't crash when resetting cursor
...
When the toplevel is a GdkOffscreenWindow which doesn't
implement the set_device_cursor() vfunc, we would have
crashed. Implement a dummy ->set_device_cursor vfunc.
https://bugzilla.gnome.org/show_bug.cgi?id=675809
2012-05-15 18:05:36 +01:00
Bastien Nocera
0c6b54aa44
Revert "gdk: Don't crash when resetting cursor"
...
Patch didn't get reviewed yet.
This reverts commit 779591b62f
.
2012-05-15 17:57:33 +01:00
Bastien Nocera
5bf82077f5
statusicon: Fix implicit declaration warning
...
gtkstatusicon.c:1333:4: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration]
Added in commit c837809960
2012-05-15 17:55:36 +01:00
Bastien Nocera
779591b62f
gdk: Don't crash when resetting cursor
...
When the toplevel is a GdkOffscreenWindow which doesn't
implement the set_device_cursor() vfunc.
https://bugzilla.gnome.org/show_bug.cgi?id=675809
2012-05-15 17:49:33 +01:00
Fernando Lemos
c837809960
statusicon: use absolute delta to find the nearest icon size
...
Otherwise, if we only look at (pixel_size - stock_size), we miss the
case when the pixel size is smaller than any provided stock size.
https://bugzilla.gnome.org/show_bug.cgi?id=673749
2012-05-15 10:34:28 -04:00
Kjartan Maraas
54fe6d71c0
Updated Norwegian bokmål translation
2012-05-15 14:17:31 +02:00
Matthias Clasen
1685b2b220
iconview: Bring back rtl flipping
...
This was lost in the recent layout rewrite.
2012-05-15 01:12:28 -04:00
Edward Sheldrake
f77b690e26
GDK X11 DND: Fix infinite loop
...
Related: https://bugzilla.gnome.org/show_bug.cgi?id=664646
2012-05-14 23:02:23 -04:00
Daniel Mustieles
01fdd670cf
Updated Spanish translation
2012-05-14 14:52:24 +02:00
Timothy Arceri
8d1f32aaaf
GTK PrintToFile settings
...
To make setting output directory and filename simpler in the PrintToFile
dialog two gtkprintsettings have been added GTK_PRINT_SETTINGS_OUTPUT_DIR
and GTK_PRINT_SETTINGS_OUTPUT_BASENAME.
This will reduce the code needed to implement a better name than "output.pdf"
and actually makes more sense than the existing setting
GTK_PRINT_SETTINGS_OUTPUT_URI which doesn't work seamlessly with
GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT like the new settings do.
https://bugzilla.gnome.org/show_bug.cgi?id=657322
2012-05-14 14:26:53 +02:00
Frédéric Péters
f730f519f8
Fix links to developer.gnome.org
2012-05-13 19:44:39 +02:00
Kristian Rietveld
d4b38c5806
quartz: Ignore events from all mouse buttons past the resize boundary
...
Before, right click events were still let through into GDK. In this
case, also middle/right button events with x-coordinates in the range
[-3, 0] are processed, resulting in failures/crashes in the window
finding code because no GdkWindows are present in this range.
2012-05-13 18:20:12 +02:00
Matthias Clasen
a8c6ba3c8e
Remove lies
...
We forgot the documentation when we simplified the GtkApplication
session api.
2012-05-11 17:44:14 -04:00
Piotr Drąg
81d90bd9e9
Updated POTFILES.skip
2012-05-11 22:01:19 +02:00
Cosimo Cecchi
1f2d70956c
visuals: add some visuals UI files for h/v linked button boxes
2012-05-11 11:47:00 -04:00
Cosimo Cecchi
f900df6f01
box: set orientation style classes when setting orientation
...
Since we override the property, we have to call the internal helper
manually.
2012-05-11 11:46:59 -04:00
Benjamin Otte
25695684ad
cssprovider: Remove unused members from scanner
...
Now that the parser takes care of the file, we don't need to keep track
of it ourselves anymore.
2012-05-11 16:42:12 +02:00
Benjamin Otte
0e4670150a
csssection: Remove file argument from constructor
...
The parser has the file available.
2012-05-11 16:42:12 +02:00
Benjamin Otte
a7f238138e
styleproperty: Remove base argument
...
from _gtk_style_property_parse_value(). The GtkCssParser takes care of
that now.
2012-05-11 16:42:12 +02:00
Benjamin Otte
6ee237ea59
cssstyleproperty: Remove base argument
...
from parse functions.
2012-05-11 16:42:12 +02:00
Benjamin Otte
1367ef7e54
cssstylefuncs: Remove base argument
...
The GtkCssParser keeps track of the base file now.
2012-05-11 16:42:12 +02:00
Benjamin Otte
cc6c7c5e16
cssshorthand: Don't pass base file anymore
...
It's part of the parser now.
2012-05-11 16:42:12 +02:00
Benjamin Otte
c9f01ffb43
cssimage: No need to pass base file anymore
...
The file is now part of the GtkCssParser
2012-05-11 16:42:12 +02:00
Benjamin Otte
e1317268a3
cssparser: Change APIs that work with files
...
Now that we keep track of the parser's file, we don't require it to be
passed anymore.
2012-05-11 16:42:12 +02:00
Benjamin Otte
a65780902a
cssparser: Keep track of the file
2012-05-11 16:42:11 +02:00
Benjamin Otte
a8d8c02ab7
Revert "cssprovider: Remove unused members from scanner"
...
This reverts commit b501e64a8a
.
2012-05-11 16:41:25 +02:00
Benjamin Otte
b501e64a8a
cssprovider: Remove unused members from scanner
...
Now that the parser takes care of the file, we don't need to keep track
of it ourselves anymore.
2012-05-11 16:35:30 +02:00
Alexander Larsson
859b6888c7
[broadway] Fixup build
...
Seems the return value of device_query_state was removed, it was
TRUE always anyway.
2012-05-11 14:49:15 +02:00
Bastien Nocera
c6a7a0889c
gtk: Fix warnings for some uses of GtkLinkButton
...
Not setting a URI but catching the activate-link signal is a
valid use of GtkLinkButton, but we shouldn't allow showing a
popup menu which offers to copy the URI if there's none.
2012-05-10 15:22:31 +01:00
Michael Natterer
c1cfcd03a5
quartz: add a special case to GtkIMContextSimply for entering '"'
...
Turn dead_doubleacute plus space into '"' and not into a double
acute because that's the way to enter double quotes on the
US-International keyboard layout.
(cherry picked from commit 71164e57b9
)
2012-05-10 11:06:09 +02:00