Kjartan Maraas
ef50f7a4e8
Updated Norwegian bokmål translation.
2011-06-19 17:32:13 +02:00
Jorge González
0e430faa81
Updated Spanish translation
2011-06-19 17:18:01 +02:00
Matthias Clasen
e81426dbd6
Add sibling information to widget path string representations
2011-06-18 12:36:38 -04:00
Matthias Clasen
0725e417c5
Fix css syntax in example
2011-06-18 11:11:47 -04:00
Matthias Clasen
b71b560e56
Remove an unused variable
2011-06-17 22:57:35 -04:00
Matthias Clasen
ebebbe4da4
Remove nonexisting properties
...
glade insists on adding GtkGrid:n-rows and :n-columns, for
no good reason...
2011-06-17 20:35:41 -04:00
Cosimo Cecchi
71eb9d123d
tests: import the widget-factory test for theming
...
Courtesy of Andrea Cimitan <andrea.cimitan@canonical.com>.
2011-06-17 11:51:14 -04:00
Matthias Clasen
8f357bb809
Update keybinding docs
...
These were still explaining gtkrc syntax.
2011-06-16 23:51:06 -04:00
Matthias Clasen
5eb8ca1882
Remove unnecessary includes
...
gtkstyle.h is similarly unused.
2011-06-16 23:35:24 -04:00
Matthias Clasen
f1a9c3efff
Remove unused includes
...
Nothing is using gtkrc.h functionality any more.
2011-06-16 23:33:43 -04:00
Matthias Clasen
04ce0467ab
Silence a warning
2011-06-16 23:18:03 -04:00
Matthias Clasen
9bb5077b90
GtkBox: don't reset styles too often
2011-06-16 22:15:50 -04:00
José Aliste
1da07caaed
info_bar: call style_updated at the end of info_bar_init
...
This fix a render bug where the infobar would not add borders
arount its content. Fix proposed by Benjamin Otte.
2011-06-16 14:34:14 -04:00
Chun-wei Fan
e8fb1bcb13
Update Visual C++ projects
...
Use G_ENABLE_DEBUG for all debug builds
2011-06-16 15:34:43 +08:00
Benjamin Otte
e54ccaee53
toolbar: Better fix for animations
...
It turns out there's more places where the toolbar item size is used as
the margin box instead of the content box. Because of that, store the
margin box when allocating and use it whenever calls
toolbar_content_get_allocation() instead of calling
gtk_widget_get_allocation().
2011-06-15 22:50:59 +02:00
Benjamin Otte
ba869e0fe0
toolbar: Handle the fact that size_allocate() != get_allocation()
...
size_allocate() allocates the available space for the margin box,
get_allocation() returns the actual space of the content box and those
can be different. And then animations never stop.
If that makes you go "huh?", you might want to read
http://www.w3.org/TR/CSS21/box.html
and the docs for gtk_widget_compute_align().
2011-06-15 20:14:18 +02:00
Benjamin Otte
4edb3f08e4
reftests: fix background-area reftest after the last commit
2011-06-15 11:25:26 -04:00
Cosimo Cecchi
af77ba78bb
themingengine: shrink the background size to the padding-box
...
This fixes a regression introduced by this commit [1] that causes
background to draw beyond the padding-box, which breaks rounded corners,
(in addition to not being compliant with what CSS does by default).
[1] http://git.gnome.org/browse/gtk+/commit/?id=c56700ca3029a9ab1362009bff35f2a70e432c02
https://bugzilla.gnome.org/show_bug.cgi?id=652618
2011-06-15 11:03:56 -04:00
Xan Lopez
b47c7405f2
themingengine: plug a couple of leaks
2011-06-15 14:13:20 +02:00
Xan Lopez
8eb48a876b
border-image: Fix leakage
2011-06-15 13:46:16 +02:00
Benjamin Otte
d3535ff6ce
tests: Add tests for font-family
...
This readds the tests now that font-family works again. They were
previously removed when font-family support was backed out due to bugs.
2011-06-15 12:57:21 +02:00
Benjamin Otte
0d253b67f4
css: Make font property a shorthand
...
... and implement the CSS font properties:
- font-size
- font-style
- font-family
- font-weight
- font-variant
This is the second try at this. The first was backed out previously due
to bugginess. Let's hope this one survives a bit longer.
Also makes the font-family CSS test work again.
2011-06-15 12:52:53 +02:00
Matthias Clasen
0c162851ed
Add a missing break statement
2011-06-14 21:59:55 -04:00
Matthias Clasen
519b3ca861
Add a missing break statement
2011-06-14 21:58:51 -04:00
Matthias Clasen
5254fbacfb
Avoid an oob read
2011-06-14 21:56:50 -04:00
Matthias Clasen
f68c073e33
Remove a redundant NULL check
2011-06-14 21:53:53 -04:00
Matthias Clasen
32f0761daa
Avoid a dereference-before-null-check
2011-06-14 21:50:16 -04:00
Matthias Clasen
d5dad6412b
Give this code a chance to work
...
At least it does not get uninitialized variable warnings now.
2011-06-14 21:44:12 -04:00
Matthias Clasen
37167ec458
Make this code more meaningful
2011-06-14 21:18:08 -04:00
Matthias Clasen
d3c427a767
Don't forget to cleanup varargs
2011-06-14 21:14:48 -04:00
William Jon McCann
be7f734aff
tests: Add simple test for image clipboard
2011-06-14 16:06:33 -04:00
Matej Urbančič
da9e1954eb
Updated Slovenian translation
2011-06-14 18:24:30 +02:00
Juan A. Suarez Romero
c903ece96b
image: Initialize variable
2011-06-14 09:49:23 +00:00
Matthias Clasen
e3e9527354
GtkAssistant: improve button labels
...
Forward/Back/Last has been declared strange; so go with something
a little more friendly: Continue/Go Back/Finish.
https://bugzilla.gnome.org/show_bug.cgi?id=652506
2011-06-13 22:35:15 -04:00
Benjamin Otte
76f2aa737b
docs: Add Since tag to GtkWidget::draw
2011-06-13 18:29:07 +02:00
Benjamin Otte
44245caae5
demos: Remove unused variable
2011-06-13 18:27:24 +02:00
Benjamin Otte
f4a6ef0d50
tests: Add a CSS test for color parsing errors
...
In [particular check for the fix in the last commit.
2011-06-13 15:01:52 +02:00
Benjamin Otte
9e2ebdee07
cssparser: Actually send an error in an error case
...
The error case was excess commas in rgb/rgba colors, such as
rgba(0,255,0,0,0.5)
2011-06-13 15:01:52 +02:00
Benjamin Otte
a471b4b198
themingengine: Improve handling of different colors
...
We don't want to have different colors cause seams, so we try very hard
to render them at the same time.
2011-06-13 15:01:52 +02:00
Benjamin Otte
407b3f2cde
themingengine: Implement support for multiple border colors
...
Also use this support to implement inset and outset border styles
without cheats.
2011-06-13 15:01:52 +02:00
Benjamin Otte
3aa73bebea
styleproperty: Add border-*-color style properties
...
And make border-color a shorthand
2011-06-13 15:01:52 +02:00
Benjamin Otte
016e0c1a3e
reftests: Check that the default border color is the foreground color
2011-06-13 15:01:52 +02:00
Benjamin Otte
abc239f444
styleproperty: The default border color is the normal color
2011-06-13 15:01:52 +02:00
Benjamin Otte
ba7d1c2104
styleproperty: Make default_value() take a state
...
Because of this, resolve() needs to take a state, too. This is so that
we can have default values depend on other values (like border color).
2011-06-13 15:01:52 +02:00
Benjamin Otte
e0b1943c97
roundedbox: Fix border radius grow algorithm
...
When one radius gets to 0, the other should be set to 0, too. Otherwise
the paths constructed from it will not be correct.
2011-06-13 15:01:52 +02:00
Matthias Clasen
7cd471fb56
Bump version
2011-06-13 08:03:40 -04:00
Matthias Clasen
d9fa5b342b
Forgotten file
2011-06-13 07:33:47 -04:00
Carlos Garnacho
d3274e8e06
xi2: Handle XIM modules that replace events
...
Fixes Bug 645993 - XIM has wierd behaviors. Some XIM modules
filter every key event, possibly replacing it with their own
one. These events usually have serial=0, so make
GdkDeviceManagerXI2 also listen on these.
2011-06-13 07:16:16 -04:00
Matthias Clasen
2ce9ff2d6a
Remove broken font-family css test
2011-06-13 06:56:12 -04:00
Matthias Clasen
bb26d305e6
Update for 3.1.6
2011-06-13 00:16:55 -04:00