]> Pileus Git - ~andy/gtk/log
~andy/gtk
12 years agoconfigure.ac: Use aux directory to store autogenerated files
Javier Jardón [Mon, 13 Jun 2011 02:06:04 +0000 (03:06 +0100)]
configure.ac: Use aux directory to store autogenerated files

12 years agogtkdnd: Don't bind/unbind keycodes that couldn't be determined
Daniel Drake [Sun, 12 Jun 2011 16:48:17 +0000 (17:48 +0100)]
gtkdnd: Don't bind/unbind keycodes that couldn't be determined

At http://dev.laptop.org/ticket/10643 we are seeing that drag-and-drop
within the Sugar shell causes all of Sugar's custom keybindings to be
removed.

This is because gtkdnd tries to unbind XK_KP_Space, which (on my systems)
is resolved to NoSymbol by XKeycodeToKeysym(). NoSymbol has value 0,
the same as AnyKey, and XUngrabKey(AnyKey) is equivalent to unbinding
all possible keycodes.

Fix this by catching NoSymbol before binding/unbinding.

https://bugzilla.gnome.org/show_bug.cgi?id=652402

12 years agoRevert "gtk/gtkmenuitem: gtk_misc_set_alignment replacing"
Matthias Clasen [Mon, 13 Jun 2011 01:36:37 +0000 (21:36 -0400)]
Revert "gtk/gtkmenuitem: gtk_misc_set_alignment replacing"

This reverts commit 49e62d2a5f6cb0cefbb03a4b6a1df413f3903fea.
It turns out that GtkAccelLabel is not quite ready for
widget align properties.

12 years agotests: use GdkRGBA instead GdkColor
Javier Jardón [Mon, 6 Jun 2011 15:47:40 +0000 (16:47 +0100)]
tests: use GdkRGBA instead GdkColor

12 years agogtk-demo/colorsel.c: Do not use GtkAlignment
Javier Jardón [Sun, 12 Jun 2011 22:09:08 +0000 (23:09 +0100)]
gtk-demo/colorsel.c: Do not use GtkAlignment

12 years agogtk.symbols: Add missing api
Javier Jardón [Sun, 12 Jun 2011 21:40:22 +0000 (22:40 +0100)]
gtk.symbols: Add missing api

12 years agodefault theme: Fix menuitem check/radio colors
Benjamin Otte [Sun, 12 Jun 2011 21:35:39 +0000 (23:35 +0200)]
default theme: Fix menuitem check/radio colors

12 years agodefault theme: fix menuitem selections
Benjamin Otte [Sun, 12 Jun 2011 21:28:43 +0000 (23:28 +0200)]
default theme: fix menuitem selections

12 years agodefault theme: fix tooltip colors
Benjamin Otte [Sun, 12 Jun 2011 21:26:53 +0000 (23:26 +0200)]
default theme: fix tooltip colors

12 years agothemingengine: Add magic to draw inset/outset properly
Benjamin Otte [Sun, 12 Jun 2011 20:58:52 +0000 (22:58 +0200)]
themingengine: Add magic to draw inset/outset properly

Use a bunch of tricks to get inset/outset right with a small amount of
code. In particular, fix the hidden sides causing artifacts.

Included is a bunch of code comments explaining what we actually do.

12 years agothemingengine: Reduce border to 0 on hidden sides
Benjamin Otte [Sun, 12 Jun 2011 20:58:10 +0000 (22:58 +0200)]
themingengine: Reduce border to 0 on hidden sides

Fixes drawing of expanders.

12 years agothemingengine: Fix inset/outset drawing
Benjamin Otte [Sun, 12 Jun 2011 20:07:12 +0000 (22:07 +0200)]
themingengine: Fix inset/outset drawing

12 years agogailtextcell: Fix typo
Javier Jardón [Sun, 12 Jun 2011 20:45:47 +0000 (21:45 +0100)]
gailtextcell: Fix typo

12 years agotextview: do not destroy the layout in unrealize
Ignacio Casal Quinteiro [Sun, 12 Jun 2011 15:52:23 +0000 (17:52 +0200)]
textview: do not destroy the layout in unrealize

Now instead of invalidating when we create the layout we invalidate
when we realize the widget and we remove the invalidation when
unrealizing. It was pointless too destroying the layout in unrealize
as at the end what we just wanted was to remove the invalidation idles.

12 years agoroundedbox: Handle shrinking to zero
Benjamin Otte [Sun, 12 Jun 2011 01:42:29 +0000 (03:42 +0200)]
roundedbox: Handle shrinking to zero

We need it for wide separators.

12 years agothemingengine: set the right coordinates for the rounded box rect
Cosimo Cecchi [Sat, 11 Jun 2011 17:32:15 +0000 (13:32 -0400)]
themingengine: set the right coordinates for the rounded box rect

12 years agoUpdated Slovenian translation
Matej Urbančič [Sat, 11 Jun 2011 15:44:59 +0000 (17:44 +0200)]
Updated Slovenian translation

12 years agoUpdated Slovenian translation
Matej Urbančič [Sat, 11 Jun 2011 15:40:17 +0000 (17:40 +0200)]
Updated Slovenian translation

12 years agoUpdated Spanish translation
Jorge González [Sat, 11 Jun 2011 09:34:19 +0000 (11:34 +0200)]
Updated Spanish translation

12 years agostyleproperty: Resolve NULL RGBAs to pink
Benjamin Otte [Sat, 11 Jun 2011 08:44:16 +0000 (10:44 +0200)]
styleproperty: Resolve NULL RGBAs to pink

.. instead of returning NULL and crashing.

Fixes no-colors reftest

12 years agoreftests: Add reftest for unresolvable properties
Benjamin Otte [Sat, 11 Jun 2011 08:41:17 +0000 (10:41 +0200)]
reftests: Add reftest for unresolvable properties

12 years agostyleproperty: Fall back to default values, instead of recursing
Benjamin Otte [Sat, 11 Jun 2011 08:02:58 +0000 (10:02 +0200)]
styleproperty: Fall back to default values, instead of recursing

Copy/paste error. The original commit message even explains this.

12 years agostyleproperty: Add a default value func for border-image-width
Benjamin Otte [Sat, 11 Jun 2011 07:23:34 +0000 (09:23 +0200)]
styleproperty: Add a default value func for border-image-width

This is necessary because we want to use NULL as the default value. But
the default value for borders is { 0, 0, 0, 0 } and not NULL.

Fixes border-image-gradient and border-image-repeat reftests.

12 years agoreftests: Add a test for inset box-shadow
Benjamin Otte [Sat, 11 Jun 2011 06:42:05 +0000 (08:42 +0200)]
reftests: Add a test for inset box-shadow

This test is copied from the CSS spec. The reference is very sensitive
to the rendering algorithm in use, because the rounded corners have
semi-transparent pixels. It might be necessary to update them in the
future.

12 years agothemingengine: Render inset box shadow on top of backgrounds
Benjamin Otte [Sat, 11 Jun 2011 04:19:51 +0000 (06:19 +0200)]
themingengine: Render inset box shadow on top of backgrounds

12 years agostyleproperty: Parse shadow options in any order
Benjamin Otte [Sat, 11 Jun 2011 03:24:54 +0000 (05:24 +0200)]
styleproperty: Parse shadow options in any order

The CSS spec allows random ordering of various properties, so we should,
too.

12 years agocssprovider: add a doc paragraph about box-shadow
Cosimo Cecchi [Tue, 7 Jun 2011 16:57:08 +0000 (12:57 -0400)]
cssprovider: add a doc paragraph about box-shadow

12 years agostyleproperty: register the box-shadow property
Cosimo Cecchi [Thu, 2 Jun 2011 00:59:14 +0000 (20:59 -0400)]
styleproperty: register the box-shadow property

12 years agoshadow: add _gtk_box_shadow_render()
Cosimo Cecchi [Thu, 2 Jun 2011 00:58:53 +0000 (20:58 -0400)]
shadow: add _gtk_box_shadow_render()

This supports only inset box-shadow elements for now.

12 years agothemingengine: Draw border with GtkRoundedBox
Benjamin Otte [Sat, 11 Jun 2011 04:13:00 +0000 (06:13 +0200)]
themingengine: Draw border with GtkRoundedBox

12 years agothemingengine: Use GtkRoundedBox for drawing backgrounds
Benjamin Otte [Sat, 11 Jun 2011 02:14:19 +0000 (04:14 +0200)]
themingengine: Use GtkRoundedBox for drawing backgrounds

12 years agothemingengine: Do pattern merging smarter
Benjamin Otte [Sat, 11 Jun 2011 02:06:22 +0000 (04:06 +0200)]
themingengine: Do pattern merging smarter

Create an intermdiate surface and fill() with it later. Instead of doing
clip + paint twice.

12 years agogtk: Add GtkRoundedBox
Benjamin Otte [Sat, 11 Jun 2011 01:57:57 +0000 (03:57 +0200)]
gtk: Add GtkRoundedBox

CSS drawing operates on rounded boxes a lot, so it makes sense to split
them out instead of duplicating them everywhere.

12 years agothemingengine: Get rid of extra variables
Benjamin Otte [Sat, 11 Jun 2011 01:56:56 +0000 (03:56 +0200)]
themingengine: Get rid of extra variables

Now that we don't change the width/height anymore, we can keep using it
for scaling he background.

12 years agothemingengine: remove unused variable
Benjamin Otte [Sat, 11 Jun 2011 00:14:40 +0000 (02:14 +0200)]
themingengine: remove unused variable

12 years agoreftests: Add background-area reftest
Benjamin Otte [Sat, 11 Jun 2011 00:12:35 +0000 (02:12 +0200)]
reftests: Add background-area reftest

Checks the fix from last commit: background area is supposed to be the
border box.

12 years agothemingengine: background applies to full border
Benjamin Otte [Sat, 11 Jun 2011 00:02:45 +0000 (02:02 +0200)]
themingengine: background applies to full border

The code was attempting to only apply it to half of the border. But
according to CSS, the background area by default is the full border box.

12 years agothemingengine: Remove unnecessary optimization
Benjamin Otte [Fri, 10 Jun 2011 23:32:43 +0000 (01:32 +0200)]
themingengine: Remove unnecessary optimization

Code is likely as fast or faster without it, and this saves code.

12 years agoUpdate gtkimcontextsimpleseqs.h
Matthias Clasen [Fri, 10 Jun 2011 22:36:06 +0000 (18:36 -0400)]
Update gtkimcontextsimpleseqs.h

This is using the updated compose-parse.py from the previous commit.

12 years agoUpdate compose-parse.py
Matthias Clasen [Fri, 10 Jun 2011 22:33:05 +0000 (18:33 -0400)]
Update compose-parse.py

This update makes compose-parse.py work with Unicode 6.0 and make
it generate the new GDK_KEY_ defines. Patch by Ryo Hashimoto,
bug 651979.

12 years agogtktoolitemgroup: gtk_misc_set_alignment replacing
Diego Celix [Fri, 10 Jun 2011 00:38:52 +0000 (02:38 +0200)]
gtktoolitemgroup: gtk_misc_set_alignment replacing

Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
gtk/gtktoolitemgroup.c

https://bugzilla.gnome.org/show_bug.cgi?id=650762

12 years agogtkprinteroptionwidget: gtk_misc_set_alignment
Diego Celix [Fri, 10 Jun 2011 00:32:05 +0000 (02:32 +0200)]
gtkprinteroptionwidget: gtk_misc_set_alignment

Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
gtk/gtkprinteroptionwidget.c

https://bugzilla.gnome.org/show_bug.cgi?id=650762

12 years agogtk/gtkfontsel: gtk_misc_set_alignment replacing
Diego Celix [Fri, 10 Jun 2011 00:47:09 +0000 (02:47 +0200)]
gtk/gtkfontsel: gtk_misc_set_alignment replacing

Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
gtk/gtkfontsel.c

https://bugzilla.gnome.org/show_bug.cgi?id=650762

12 years agogtk/gtkassistant: gtk_misc_set_alignment replacing
Diego Celix [Fri, 10 Jun 2011 00:26:43 +0000 (02:26 +0200)]
gtk/gtkassistant: gtk_misc_set_alignment replacing

Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
gtk/gtkassistant.c

https://bugzilla.gnome.org/show_bug.cgi?id=650762

12 years agogtkprintunixdialog: gtk_misc_set_alignment replace
Diego Celix [Thu, 9 Jun 2011 02:12:17 +0000 (04:12 +0200)]
gtkprintunixdialog: gtk_misc_set_alignment replace

Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
gtk/gtkprintunixdialog.c

https://bugzilla.gnome.org/show_bug.cgi?id=650762

12 years agogtkprintbackend: gtk_misc_set_alignment replacing
Diego Celix [Thu, 9 Jun 2011 01:44:03 +0000 (03:44 +0200)]
gtkprintbackend: gtk_misc_set_alignment replacing

Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
gtk/gtkprintbackend.c

https://bugzilla.gnome.org/show_bug.cgi?id=650762

12 years agogtkpagesetupunixdialog: gtk_misc_set_alignment
Diego Celix [Thu, 9 Jun 2011 02:14:21 +0000 (04:14 +0200)]
gtkpagesetupunixdialog: gtk_misc_set_alignment

Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
gtk/gtkpagesetupunixdialog.c

https://bugzilla.gnome.org/show_bug.cgi?id=650762

12 years agogtkfilechooserdefault: gtk_misc_set_alignment
Diego Celix [Thu, 9 Jun 2011 01:54:37 +0000 (03:54 +0200)]
gtkfilechooserdefault: gtk_misc_set_alignment

Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
gtk/gtkfilechooserdefault.c

https://bugzilla.gnome.org/show_bug.cgi?id=650762

12 years agogtkcellrendereraccel: gtk_misc_set_alignment
Diego Celix [Thu, 9 Jun 2011 01:58:38 +0000 (03:58 +0200)]
gtkcellrendereraccel: gtk_misc_set_alignment

Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
gtk/gtkcellrendereraccel.c

https://bugzilla.gnome.org/show_bug.cgi?id=650762

12 years agogtk/gtkmessagedialog: gtk_misc_set_alignment
Diego Celix [Sat, 21 May 2011 18:32:00 +0000 (20:32 +0200)]
gtk/gtkmessagedialog: gtk_misc_set_alignment

Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
gtk/gtkmessagedialog.c

https://bugzilla.gnome.org/show_bug.cgi?id=650762

12 years agogtk/gtkmountoperation: gtk_misc_set_alignment
Diego Celix [Sat, 21 May 2011 18:08:51 +0000 (20:08 +0200)]
gtk/gtkmountoperation: gtk_misc_set_alignment

Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
gtk/gtkmountoperation.c

https://bugzilla.gnome.org/show_bug.cgi?id=650762

12 years agogtk/gtkradiomenuitem: gtk_misc_set_alignment
Diego Celix [Sat, 21 May 2011 17:58:33 +0000 (19:58 +0200)]
gtk/gtkradiomenuitem: gtk_misc_set_alignment

Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
gtk/gtkradiomenuitem.c

https://bugzilla.gnome.org/show_bug.cgi?id=650762

12 years agogtk/gtkmenuitem: gtk_misc_set_alignment replacing
Diego Celix [Sat, 21 May 2011 17:54:50 +0000 (19:54 +0200)]
gtk/gtkmenuitem: gtk_misc_set_alignment replacing

Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
gtk/gtkmenuitem.c

https://bugzilla.gnome.org/show_bug.cgi?id=650762

12 years agoOne more change
Matthias Clasen [Fri, 10 Jun 2011 21:42:14 +0000 (17:42 -0400)]
One more change

12 years agoExpand migration hints for h/v boxes
Matthias Clasen [Fri, 10 Jun 2011 21:40:16 +0000 (17:40 -0400)]
Expand migration hints for h/v boxes

12 years agobuild: fix win32 configure checks
Marc-André Lureau [Fri, 10 Jun 2011 12:03:47 +0000 (14:03 +0200)]
build: fix win32 configure checks

Notice the broken check for "os_win32" vs. "$os_win32".
Improve a bit the rest of autofoo stuff around it.

https://bugzilla.gnome.org/show_bug.cgi?id=652282

12 years agoreftests: Remove unused file from EXTRA_DIST
Benjamin Otte [Fri, 10 Jun 2011 14:26:39 +0000 (16:26 +0200)]
reftests: Remove unused file from EXTRA_DIST

12 years agocups: Fix unused variable warning when not using colord
Benjamin Otte [Fri, 10 Jun 2011 13:00:39 +0000 (15:00 +0200)]
cups: Fix unused variable warning when not using colord

12 years agogtk: Use const instead G_CONST_RETURN
Javier Jardón [Mon, 6 Jun 2011 18:13:44 +0000 (19:13 +0100)]
gtk: Use const instead G_CONST_RETURN

12 years agodocs: Do not use G_CONST_RETURN
Javier Jardón [Mon, 6 Jun 2011 18:07:23 +0000 (19:07 +0100)]
docs: Do not use G_CONST_RETURN

12 years agogdk: Use const instead G_CONST_RETURN
Javier Jardón [Mon, 6 Jun 2011 18:05:18 +0000 (19:05 +0100)]
gdk: Use const instead G_CONST_RETURN

12 years agoIf --enable-colord or --disable-colord is not used when configuring, autodetect the...
Richard Hughes [Fri, 10 Jun 2011 11:34:40 +0000 (12:34 +0100)]
If --enable-colord or --disable-colord is not used when configuring, autodetect the presence of colord

12 years agoUpdated Hebrew translation.
Yaron Shahrabani [Fri, 10 Jun 2011 09:56:42 +0000 (12:56 +0300)]
Updated Hebrew translation.

12 years agodocs: Improve crossreferences
Javier Jardón [Fri, 10 Jun 2011 09:55:28 +0000 (10:55 +0100)]
docs: Improve crossreferences

Use #GtkOrientable:orientation instead "orientation"

12 years agoBox, etc: Improve docs after H* and V* deprecations.
Murray Cumming [Thu, 9 Jun 2011 20:59:38 +0000 (22:59 +0200)]
Box, etc: Improve docs after H* and V* deprecations.

Stop documenting the base class as just a base class for the
H and V specializations, copying the useful descriptions from
those H/V classes to the base class. Do not advise the use of
the H/V classes or refer to them unnecessarily.

12 years agoUpdated GLib Translations.
Yaron Shahrabani [Fri, 10 Jun 2011 05:17:10 +0000 (08:17 +0300)]
Updated GLib Translations.

12 years agoAvoid underallocations in the custom paper dialog
Matthias Clasen [Fri, 10 Jun 2011 04:15:10 +0000 (00:15 -0400)]
Avoid underallocations in the custom paper dialog

12 years agoDon't rely on button allocations for invisible headers
Matthias Clasen [Fri, 10 Jun 2011 04:10:08 +0000 (00:10 -0400)]
Don't rely on button allocations for invisible headers

Now that we are not allocating treeview column buttons anymore
with invisible headers, we can't rely on their allocations for
other things like cell area computations anymore. Use x-offset
and width of the column directly, instead.

12 years agoAdd API to get x position of treeview columns
Matthias Clasen [Fri, 10 Jun 2011 04:09:25 +0000 (00:09 -0400)]
Add API to get x position of treeview columns

Their width was already available.

12 years agoborder-image: unpack the GtkGradient if there's one
Cosimo Cecchi [Fri, 10 Jun 2011 02:41:36 +0000 (22:41 -0400)]
border-image: unpack the GtkGradient if there's one

So that it will eventually be resolved by the style property lookup
machinery.

12 years agocellrendererpix: make the icon render properly again
Cosimo Cecchi [Fri, 10 Jun 2011 02:56:56 +0000 (22:56 -0400)]
cellrendererpix: make the icon render properly again

pix_rect was not initialized anymore, so the gdk_rectangle_intersect()
call would always fail.

12 years agoGtkTreeView: Don't short-circuit header-height calculation
Matthias Clasen [Fri, 10 Jun 2011 01:40:08 +0000 (21:40 -0400)]
GtkTreeView: Don't short-circuit header-height calculation

The code was putting header_height at zero when there is
no model. That leads to temporary underallocation of header
buttons.

12 years agoGtkDialog: avoid underallocations
Matthias Clasen [Fri, 10 Jun 2011 00:40:45 +0000 (20:40 -0400)]
GtkDialog: avoid underallocations

GtkDialog changes its size depending on style properties. If
we only do this in response to ::style-updated, it happens during
the initial realization of the dialog and leads to the dialog
'growing' between when we determine the initial window size and
when we allocate it that size. So, do this beforehand.

12 years agoborder-image: add support for border-image-width too
Cosimo Cecchi [Thu, 9 Jun 2011 23:59:14 +0000 (19:59 -0400)]
border-image: add support for border-image-width too

It's useful to set a slice size != border-width, as backgrounds are
clipped to border-width too.

As slices can be half-transparent and overlap the background,
this would not fill the border box properly if we only use a single
property for specifying the width.

Also, this brings us even closer to CSS3.

12 years agoDon't size-allocate invisible headers
Matthias Clasen [Thu, 9 Jun 2011 22:55:19 +0000 (18:55 -0400)]
Don't size-allocate invisible headers

We don't ignore their size requests when determining the
column width, so allocating them is bound to spew tons
of annoying underallocation warnings.

12 years agoshadow: render icon-shadow for spinners
Cosimo Cecchi [Mon, 6 Jun 2011 15:38:45 +0000 (11:38 -0400)]
shadow: render icon-shadow for spinners

12 years agoentry: use the current state when rendering symbolic icons
Cosimo Cecchi [Tue, 31 May 2011 22:43:43 +0000 (18:43 -0400)]
entry: use the current state when rendering symbolic icons

Make sure the current state is picked up when rendering symbolic icons
too.

12 years agoentry: use GTK_STYLE_CLASS_IMAGE when rendering the entry icon
Cosimo Cecchi [Wed, 25 May 2011 01:33:14 +0000 (21:33 -0400)]
entry: use GTK_STYLE_CLASS_IMAGE when rendering the entry icon

12 years agostylecontext: add an "image" style class
Cosimo Cecchi [Wed, 25 May 2011 01:29:20 +0000 (21:29 -0400)]
stylecontext: add an "image" style class

For images such as icons in GtkEntry widgets.

12 years agoentry: use gtk_render_icon()
Cosimo Cecchi [Tue, 31 May 2011 20:13:15 +0000 (16:13 -0400)]
entry: use gtk_render_icon()

12 years agocellrendererpix: use gtk_render_icon()
Cosimo Cecchi [Tue, 31 May 2011 20:05:31 +0000 (16:05 -0400)]
cellrendererpix: use gtk_render_icon()

12 years agoimage: use gtk_render_icon()
Cosimo Cecchi [Sat, 21 May 2011 03:51:37 +0000 (23:51 -0400)]
image: use gtk_render_icon()

12 years agostylecontext: add gtk_render_icon()
Cosimo Cecchi [Wed, 25 May 2011 00:59:50 +0000 (20:59 -0400)]
stylecontext: add gtk_render_icon()

12 years agothemingengine: use cairo image surfaces to render state effects
Cosimo Cecchi [Mon, 6 Jun 2011 14:23:44 +0000 (10:23 -0400)]
themingengine: use cairo image surfaces to render state effects

This makes the code cleaner and allows this to be re-used in a
pixbuf-less future.

12 years agothemingengine: add gtk_theming_engine_render_icon()
Cosimo Cecchi [Mon, 6 Jun 2011 14:23:06 +0000 (10:23 -0400)]
themingengine: add gtk_theming_engine_render_icon()

Renders a pixbuf in the provided rectangle, applying effects such as
'icon-shadow'.

12 years agoshadow: add _gtk_icon_shadow_paint()
Cosimo Cecchi [Sat, 21 May 2011 03:51:16 +0000 (23:51 -0400)]
shadow: add _gtk_icon_shadow_paint()

Paints a shadow of the current source, using the defined colors.

12 years agostyleproperties: add an 'icon-shadow' style property
Cosimo Cecchi [Sat, 21 May 2011 03:48:36 +0000 (23:48 -0400)]
styleproperties: add an 'icon-shadow' style property

It's a custom property with the same semantics of text-shadow, which
works on icons and icon-like UI elements, such as spinners, arrows and
separators.

12 years agoborder-image: fix a horizontal/vertical index typo
Cosimo Cecchi [Thu, 9 Jun 2011 21:05:27 +0000 (17:05 -0400)]
border-image: fix a horizontal/vertical index typo

12 years agoUpdated Spanish translation
Jorge González [Thu, 9 Jun 2011 21:05:15 +0000 (23:05 +0200)]
Updated Spanish translation

12 years agospinbutton: don't render an additional background below arrows
Cosimo Cecchi [Thu, 9 Jun 2011 18:56:09 +0000 (14:56 -0400)]
spinbutton: don't render an additional background below arrows

It's an entry, so it already has a background below, even when the entry
doesn't have a frame. Also, gtk_spin_button_draw_arrow() will render a
background and a frame in the arrow space anyway.

12 years agospinbutton: don't remove the entry style class while rendering arrows
Cosimo Cecchi [Thu, 9 Jun 2011 18:55:50 +0000 (14:55 -0400)]
spinbutton: don't remove the entry style class while rendering arrows

12 years agoborder-image: don't try to unpack values from a NULL border-image
Cosimo Cecchi [Thu, 9 Jun 2011 18:54:00 +0000 (14:54 -0400)]
border-image: don't try to unpack values from a NULL border-image

NULL is a valid value for border-image, so if it's NULL when unpacking,
don't try to access the struct fields, but just init the GValues for the
unpacked parameters.

12 years agogtkcssprovider.h: Remove a trailing comma.
Murray Cumming [Thu, 9 Jun 2011 18:36:14 +0000 (20:36 +0200)]
gtkcssprovider.h: Remove a trailing comma.

12 years agoAdd optional colord support to the CUPS print module
Richard Hughes [Fri, 3 Jun 2011 13:25:54 +0000 (14:25 +0100)]
Add optional colord support to the CUPS print module

This functionality adds a new 'Printer Profile' entry to the 'Color' page in the
UNIX print dialog if colord support is enabled.

This shows the user what color profile will be used for the settings they have
selected, and if no profile or the default profile is going to be used.

We are deliberately not allowing the user to _change_ the selected profile, as
the ICC profile is an implementation detail, and we should not change the other
print settings based on the characterization state.

The OpenICC group broadly recommend showing the profile that is used, so that
power users can be sure the correct profile is being used at the right time.

Normal users won't care, as they don't know how horrible the color match is
without profiling the printer and media.

12 years agoAdd a 'value' GObject property to GtkPrinterOption so that it can be used with g_obje...
Richard Hughes [Thu, 9 Jun 2011 14:30:31 +0000 (15:30 +0100)]
Add a 'value' GObject property to GtkPrinterOption so that it can be used with g_object_bind_property()

12 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Thu, 9 Jun 2011 11:02:39 +0000 (13:02 +0200)]
Updated Norwegian bokmål translation

12 years agotesttreeview: Don't use deprecated classes to make things interesting
Benjamin Otte [Thu, 9 Jun 2011 04:21:11 +0000 (06:21 +0200)]
testtreeview: Don't use deprecated classes to make things interesting

12 years agotestgtk: Fix deprecation
Benjamin Otte [Thu, 9 Jun 2011 04:20:42 +0000 (06:20 +0200)]
testgtk: Fix deprecation

12 years agogail: Fix for new box handling
Benjamin Otte [Thu, 9 Jun 2011 04:18:10 +0000 (06:18 +0200)]
gail: Fix for new box handling

12 years agogail: Fix scrollbar index_in_parent() implementation
Benjamin Otte [Thu, 9 Jun 2011 04:16:23 +0000 (06:16 +0200)]
gail: Fix scrollbar index_in_parent() implementation