]> Pileus Git - ~andy/gtk/log
~andy/gtk
12 years agoUpdated Galician translations
Fran Diéguez [Sat, 14 Jan 2012 23:43:07 +0000 (00:43 +0100)]
Updated Galician translations

12 years agoGtkApplicationWindow: Fix size-request logic
Matthias Clasen [Sat, 14 Jan 2012 18:26:09 +0000 (13:26 -0500)]
GtkApplicationWindow: Fix size-request logic

When finding the width for a given height, we can pass the full
height to both the menubar and the content. Instead, give the
menubar its minimum height, and give the rest to the content.

12 years agoGtkApplicationWindow: Fix size-allocation logic
Matthias Clasen [Sat, 14 Jan 2012 18:23:02 +0000 (13:23 -0500)]
GtkApplicationWindow: Fix size-allocation logic

The code was not properly removing the menubar height from the
height given to the content, causing the statusbar to drop off
the bottom of the window in some examples.

12 years agoDo not leak tree path when setting the model.
Paolo Borelli [Sat, 14 Jan 2012 13:33:23 +0000 (14:33 +0100)]
Do not leak tree path when setting the model.

12 years agoDestroy cairo context after painting css image url
Paolo Borelli [Sat, 14 Jan 2012 10:52:48 +0000 (11:52 +0100)]
Destroy cairo context after painting css image url

12 years agoparser: remove unused _gtk_css_parser_read_uri()
Cosimo Cecchi [Fri, 13 Jan 2012 23:09:30 +0000 (18:09 -0500)]
parser: remove unused _gtk_css_parser_read_uri()

It's not used anymore now.

12 years agoprovider: use _gtk_css_parse_read_url() in parse_import()
Cosimo Cecchi [Fri, 13 Jan 2012 23:08:12 +0000 (18:08 -0500)]
provider: use _gtk_css_parse_read_url() in parse_import()

Instead of _gtk_css_parser_read_uri(), which is going away.

12 years agoparser: remove a duplicate copy of gtk_css_parse_url()
Cosimo Cecchi [Fri, 13 Jan 2012 22:55:53 +0000 (17:55 -0500)]
parser: remove a duplicate copy of gtk_css_parse_url()

Move the function to gtkcssparser.c and use it in both places.

12 years agoUpdated POTFILES.in
Piotr Drąg [Fri, 13 Jan 2012 20:07:26 +0000 (21:07 +0100)]
Updated POTFILES.in

12 years agowayland: Add basic implementation of GtkClipboard for Wayland
Rob Bradford [Fri, 13 Jan 2012 16:43:50 +0000 (16:43 +0000)]
wayland: Add basic implementation of GtkClipboard for Wayland

This follows the approach used by the Quartz port - that of a separate
implementation matching GtkClipboard.

The simple clipboard tests in gtk3-demo function correctly but there are
almost certainly leaks and bugs.

12 years agowayland: Free the internal selection data when the selection is cleared
Rob Bradford [Fri, 13 Jan 2012 16:34:11 +0000 (16:34 +0000)]
wayland: Free the internal selection data when the selection is cleared

12 years agowayland: Fix memory handling for the selection callbacks
Rob Bradford [Fri, 13 Jan 2012 15:42:53 +0000 (15:42 +0000)]
wayland: Fix memory handling for the selection callbacks

12 years agowayland: Add basic API for setting and clearing the selection on the device
Rob Bradford [Fri, 13 Jan 2012 15:05:00 +0000 (15:05 +0000)]
wayland: Add basic API for setting and clearing the selection on the device

12 years agowayland: Expose basic mechanism for getting selection content by callback
Rob Bradford [Wed, 14 Dec 2011 14:09:52 +0000 (14:09 +0000)]
wayland: Expose basic mechanism for getting selection content by callback

This version has a couple of TODOs/FIXMEs:

* We should do something better than g_io_channel_read_to_end
* Need to check the mime type is valid

12 years agowayland: Add call to get types available for the selection as atoms
Rob Bradford [Fri, 13 Jan 2012 13:33:53 +0000 (13:33 +0000)]
wayland: Add call to get types available for the selection as atoms

12 years agowayland: Remove unused variables to silence compiler warning
Rob Bradford [Fri, 13 Jan 2012 13:29:04 +0000 (13:29 +0000)]
wayland: Remove unused variables to silence compiler warning

12 years agowayland: Set surface type based on GdkWindow hint
Kristian Høgsberg [Fri, 13 Jan 2012 14:48:46 +0000 (09:48 -0500)]
wayland: Set surface type based on GdkWindow hint

12 years agoUpdated Spanish translation
Daniel Mustieles [Fri, 13 Jan 2012 13:42:21 +0000 (14:42 +0100)]
Updated Spanish translation

12 years agowayland: Update to new SHM buffer format type
Rob Bradford [Fri, 13 Jan 2012 11:35:04 +0000 (11:35 +0000)]
wayland: Update to new SHM buffer format type

12 years agoUpdated Hebrew translation.
Yaron Shahrabani [Fri, 13 Jan 2012 07:37:09 +0000 (09:37 +0200)]
Updated Hebrew translation.

12 years agoUpdated Hebrew translation.
Yaron Shahrabani [Fri, 13 Jan 2012 07:35:54 +0000 (09:35 +0200)]
Updated Hebrew translation.

12 years agoUpdates
Matthias Clasen [Fri, 13 Jan 2012 03:56:17 +0000 (22:56 -0500)]
Updates

12 years agoExpand the docs for GtkWindow::attached-to
Matthias Clasen [Fri, 13 Jan 2012 01:39:48 +0000 (20:39 -0500)]
Expand the docs for GtkWindow::attached-to

12 years agovisuals: remove copy paste leftover
Cosimo Cecchi [Thu, 12 Jan 2012 22:30:34 +0000 (17:30 -0500)]
visuals: remove copy paste leftover

12 years agoUpdated POTFILES.skip
Piotr Drąg [Thu, 12 Jan 2012 22:23:29 +0000 (23:23 +0100)]
Updated POTFILES.skip

12 years agovisuals: add a runner for visual GtkBuilder files
Cosimo Cecchi [Thu, 12 Jan 2012 22:03:54 +0000 (17:03 -0500)]
visuals: add a runner for visual GtkBuilder files

This is useful to sketch out in GtkBuilder widgets in different states
all at once, so that we can check theming is right for them.
Add some initial UI files for primary-toolbar and inline-toolbar widgets.

12 years agogtk.symbols: fix a symbol name
Dan Winship [Thu, 12 Jan 2012 20:06:40 +0000 (15:06 -0500)]
gtk.symbols: fix a symbol name

12 years agoUpdate Arabic translation
Khaled Hosny [Thu, 12 Jan 2012 19:56:58 +0000 (21:56 +0200)]
Update Arabic translation

12 years agowindow: improve docs for gtk_window_set_attached_to()
Cosimo Cecchi [Thu, 12 Jan 2012 19:02:29 +0000 (14:02 -0500)]
window: improve docs for gtk_window_set_attached_to()

12 years agoIntroduce gtk_window_get/set_attached_to()
Andrea Cimitan [Thu, 12 Jan 2012 18:29:52 +0000 (13:29 -0500)]
Introduce gtk_window_get/set_attached_to()

gtk_window_get/set_attached_to() is a new API that allows for windows to
be attached to a GtkWidget.
The attachment is a logical binding between the toplevel window and the
widget that generated it; this kind of information is currently used to
propagate style information from the widget to the window, but is also
useful e.g. for accessibility.

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

12 years agotreeview: Do not focus a path on model change
Benjamin Otte [Thu, 12 Jan 2012 18:34:45 +0000 (19:34 +0100)]
treeview: Do not focus a path on model change

Instead, focus nothing and wait until we get focus before doing so. This
restores previous behaviour but still emits proper cursor-changed
events.

Fixes a bunch of bugs in the filechooser which populates the treeview
asynchronously.

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

12 years agofilechooser: Use SELECTION_SINGLE
Benjamin Otte [Thu, 12 Jan 2012 18:30:35 +0000 (19:30 +0100)]
filechooser: Use SELECTION_SINGLE

We want to allow people to unselect the item.

12 years agowayland: Remove unused variable from grab implementation
Rob Bradford [Thu, 12 Jan 2012 13:37:10 +0000 (13:37 +0000)]
wayland: Remove unused variable from grab implementation

12 years agowayland: Fix compilation warning for destroy function implementation
Rob Bradford [Thu, 12 Jan 2012 13:38:12 +0000 (13:38 +0000)]
wayland: Fix compilation warning for destroy function implementation

12 years agowayland: Fix implementation of gdk_atom_name
Rob Bradford [Thu, 12 Jan 2012 13:33:58 +0000 (13:33 +0000)]
wayland: Fix implementation of gdk_atom_name

12 years agowayland: Remove unused variable
Rob Bradford [Thu, 12 Jan 2012 13:39:26 +0000 (13:39 +0000)]
wayland: Remove unused variable

12 years agogtkapplication.c: Add missing "Since" tag
Javier Jardón [Thu, 12 Jan 2012 12:58:56 +0000 (12:58 +0000)]
gtkapplication.c: Add missing "Since" tag

12 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 12 Jan 2012 09:30:11 +0000 (10:30 +0100)]
Updated Spanish translation

12 years agoa11y: Disconnect from buffer signals
Benjamin Otte [Thu, 12 Jan 2012 01:34:27 +0000 (02:34 +0100)]
a11y: Disconnect from buffer signals

This way, we don't get crashes when the buffer is still in use after a
TextView gets finalized.

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

12 years agoaccessible: Remove stray semicolon
Benjamin Otte [Thu, 12 Jan 2012 03:40:06 +0000 (04:40 +0100)]
accessible: Remove stray semicolon

Note to self: Use -Wempty-body more

12 years agostyleproperty: Fix 'currentColor'
Benjamin Otte [Thu, 12 Jan 2012 03:35:36 +0000 (04:35 +0100)]
styleproperty: Fix 'currentColor'

It was always looking at the 'color' keyword for the parent context
instead of only doing that when used with the 'color' property.

Tested by border-color-default.ui reftest.

12 years agostylecontext: Don't unref animation description
Benjamin Otte [Thu, 12 Jan 2012 00:07:23 +0000 (01:07 +0100)]
stylecontext: Don't unref animation description

We get it without a ref since 6962b49a99eadc7f4266d13f66fca8611802fe09

12 years agotests: add a CSS test for currentColor in border-color
Cosimo Cecchi [Wed, 11 Jan 2012 22:37:21 +0000 (17:37 -0500)]
tests: add a CSS test for currentColor in border-color

12 years agoshorthand: fix parsing of currentColor for border-color shorthand
Cosimo Cecchi [Wed, 11 Jan 2012 22:35:59 +0000 (17:35 -0500)]
shorthand: fix parsing of currentColor for border-color shorthand

Code for border-color was missing the currentColor parsing.

12 years agoreftests: fix background-area reftest
Cosimo Cecchi [Wed, 11 Jan 2012 21:13:09 +0000 (16:13 -0500)]
reftests: fix background-area reftest

background-clip: content-box broke when I made GtkButton allocate its
border-width, as for the CSS box model.

12 years agotestlogout: actually quit if told to
Dan Winship [Wed, 11 Jan 2012 16:52:23 +0000 (11:52 -0500)]
testlogout: actually quit if told to

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

12 years agoGtkApplication: add inhibitor dialog under OS X
Dan Winship [Wed, 11 Jan 2012 16:51:21 +0000 (11:51 -0500)]
GtkApplication: add inhibitor dialog under OS X

Since OS X doesn't have an inhibitors API, we need to display the
inhibit reason ourselves.

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

12 years agoGtkApplication: fix/simplify OS X implementation
Dan Winship [Wed, 11 Jan 2012 16:17:52 +0000 (11:17 -0500)]
GtkApplication: fix/simplify OS X implementation

Make the OS X implementation compile, and remove the code that was
only needed to support user interaction during the quit request.

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

12 years agowidget-factory: make the combobox entry focusable
Cosimo Cecchi [Wed, 11 Jan 2012 16:46:56 +0000 (11:46 -0500)]
widget-factory: make the combobox entry focusable

12 years agowidget-factory: add items to the entry dropdown
Cosimo Cecchi [Wed, 11 Jan 2012 16:22:25 +0000 (11:22 -0500)]
widget-factory: add items to the entry dropdown

12 years agoreftests: Add reftest for empty area fix
Benjamin Otte [Wed, 11 Jan 2012 14:00:53 +0000 (15:00 +0100)]
reftests: Add reftest for empty area fix

12 years agothemingengine: Don't draw background image if no area
Benjamin Otte [Wed, 11 Jan 2012 13:58:52 +0000 (14:58 +0100)]
themingengine: Don't draw background image if no area

If the background positioning area is empty (width/height <=0), don't
attempt to draw the background image.

12 years agoAPI: Add gtk_style_context_get_section()
Benjamin Otte [Wed, 11 Jan 2012 04:17:35 +0000 (05:17 +0100)]
API: Add gtk_style_context_get_section()

This API allows querying the location where style properties were
defined. An example implementation will be committed soon.

12 years agocss: Introduce GtkCssComputedValues
Benjamin Otte [Wed, 11 Jan 2012 02:59:17 +0000 (03:59 +0100)]
css: Introduce GtkCssComputedValues

To be used for storing computed values. Is the replacement for
GtkStyleProperties, which is now legacy code.

12 years agostylecontext: Simplify even more code
Benjamin Otte [Wed, 11 Jan 2012 02:29:41 +0000 (03:29 +0100)]
stylecontext: Simplify even more code

12 years agostylecontext: Use our own color resolve function
Benjamin Otte [Wed, 11 Jan 2012 02:04:00 +0000 (03:04 +0100)]
stylecontext: Use our own color resolve function

... instead of using the StyleProperties.

12 years agostylecontext: Simplify function
Benjamin Otte [Wed, 11 Jan 2012 01:59:06 +0000 (02:59 +0100)]
stylecontext: Simplify function

Also, make it easier to port to what I want to do next. ;)

12 years agostyleproperty: Make query function take a vfunc
Benjamin Otte [Wed, 11 Jan 2012 01:43:16 +0000 (02:43 +0100)]
styleproperty: Make query function take a vfunc

This way we can use different methods to query properties and aren't
bound to a GtkStyleProperties object.

12 years agoshorthand: Get rid of GParameter dance
Benjamin Otte [Wed, 11 Jan 2012 00:11:58 +0000 (01:11 +0100)]
shorthand: Get rid of GParameter dance

Instead assign properties directly.

12 years agoshorthand: Unify unpack_border()
Benjamin Otte [Tue, 10 Jan 2012 23:42:29 +0000 (00:42 +0100)]
shorthand: Unify unpack_border()

Just use the property names.

12 years agoshorthand: Do an unpack function to assign to everything
Benjamin Otte [Tue, 10 Jan 2012 23:08:15 +0000 (00:08 +0100)]
shorthand: Do an unpack function to assign to everything

It's basically the opposite to pack_first_element() - it takes the given
value and stores it in all subproperties.

12 years agoshorthand: Add a "pack_first_element" pack function
Benjamin Otte [Tue, 10 Jan 2012 22:49:21 +0000 (23:49 +0100)]
shorthand: Add a "pack_first_element" pack function

And use it where appropriate.
See the docs in the function for what it does.

12 years agoshorthand: Unify border parsing code
Benjamin Otte [Tue, 10 Jan 2012 22:36:10 +0000 (23:36 +0100)]
shorthand: Unify border parsing code

Parse border.{top,right,bottom,left} into subproperties {1,2,3,4}.

12 years agoshorthand: Remove hack
Benjamin Otte [Tue, 10 Jan 2012 18:11:33 +0000 (19:11 +0100)]
shorthand: Remove hack

This hack was used for parsing back before the refactoring.

12 years agoshorthand: Move pack funcs from base class
Benjamin Otte [Tue, 10 Jan 2012 18:02:42 +0000 (19:02 +0100)]
shorthand: Move pack funcs from base class

Also make the vfuncs take the shorthand as an argument.

12 years agostyleproperties: Remove color set function
Benjamin Otte [Tue, 10 Jan 2012 13:28:22 +0000 (14:28 +0100)]
styleproperties: Remove color set function

Now that we do resolvage with the style context directly, this is no
longer needed.

12 years agoDon't leak plugin actions
Matthias Clasen [Wed, 11 Jan 2012 14:37:58 +0000 (09:37 -0500)]
Don't leak plugin actions

Pointed out by Guillaume Desmottes in bug 667695.

12 years agoprinting: gtk_print_settings_load_key_file() ignores group_name
Carlos Garcia Campos [Wed, 11 Jan 2012 13:37:08 +0000 (14:37 +0100)]
printing: gtk_print_settings_load_key_file() ignores group_name

12 years agodocument GtkActionable
Ryan Lortie [Wed, 11 Jan 2012 11:56:35 +0000 (12:56 +0100)]
document GtkActionable

This should have been done before it was merged...

12 years agoRemove duplicate definition of GtkStylePrintFunc
Christophe Fergeau [Wed, 11 Jan 2012 12:10:06 +0000 (13:10 +0100)]
Remove duplicate definition of GtkStylePrintFunc

12 years agoFix some missing renames of GtkApplicationEndStyle
Rico Tzschichholz [Wed, 11 Jan 2012 07:49:34 +0000 (08:49 +0100)]
Fix some missing renames of GtkApplicationEndStyle

12 years agoGtkButton: don't do string compare on property set
Ryan Lortie [Mon, 9 Jan 2012 14:21:18 +0000 (15:21 +0100)]
GtkButton: don't do string compare on property set

Just set the property unconditionally.

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

12 years agoRename gtk_application_window_get_observer
Ryan Lortie [Mon, 9 Jan 2012 14:18:28 +0000 (15:18 +0100)]
Rename gtk_application_window_get_observer

This should have been called _create_observer

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

Fixup switch

12 years agoAdd a switch
Matthias Clasen [Wed, 11 Jan 2012 05:10:51 +0000 (00:10 -0500)]
Add a switch

Add a switch. This demonstrates:
- that switches can be placed in toolbars
- that GtkSwitch is actionable
- that actions can be shared between multiple actionables

12 years agoGtkSwitch: Implement GtkActionable
Matthias Clasen [Wed, 11 Jan 2012 05:10:34 +0000 (00:10 -0500)]
GtkSwitch: Implement GtkActionable

12 years agoRename GtkApplicationEndStyle
Matthias Clasen [Wed, 11 Jan 2012 03:16:01 +0000 (22:16 -0500)]
Rename GtkApplicationEndStyle

Call it EndSession to make it clearer what this is about.

12 years agoBloatpad: Register with the session
Matthias Clasen [Wed, 11 Jan 2012 02:46:35 +0000 (21:46 -0500)]
Bloatpad: Register with the session

12 years agoSimplify logout notification api
Matthias Clasen [Tue, 10 Jan 2012 05:59:16 +0000 (00:59 -0500)]
Simplify logout notification api

We don't expose ::quit-requested as API anymore. Instead, we expect
users to register inhibitors when needed. Without quit-requested,
there is no need for ::quit-cancelled and gtk_application_quit_response
anymore.

We still emit ::quit when the application is about to quit.

12 years agomigrating-unique-GtkApplication: Update to new GApplication api
Javier Jardón [Tue, 10 Jan 2012 16:23:53 +0000 (16:23 +0000)]
migrating-unique-GtkApplication: Update to new GApplication api

12 years agotests: Fix typo in Makefile.am
Rico Tzschichholz [Tue, 10 Jan 2012 16:00:57 +0000 (17:00 +0100)]
tests: Fix typo in Makefile.am

12 years agoset the G_PARAM_CONSTRUCT flag on the GtkWindow:application property
Guillaume Desmottes [Tue, 10 Jan 2012 15:03:15 +0000 (16:03 +0100)]
set the G_PARAM_CONSTRUCT flag on the GtkWindow:application property

This allows subclass to get the value of this property in their constructed
method.

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

12 years agoNon-XInput2 build fix
Patrick Welche [Mon, 9 Jan 2012 11:27:28 +0000 (11:27 +0000)]
Non-XInput2 build fix

The part in gdkwindow-x11.c which uses XIEvent and friends is "protected"
by HAVE_XGENERICEVENTS, i.e., XGetEventData() has been found. (Xlib.h)

XIEvent and friends are defined in <X11/extension/XInput2.h> which is
included by gdkdisplay-x11.h if XINPUT_2 is defined.

The patch makes sure XIEvent is only used if XINPUT_2 is defined.

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

12 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 10 Jan 2012 09:43:22 +0000 (10:43 +0100)]
Updated Spanish translation

12 years agoUpdated Finnish translations by Jiri Grönroos.
Timo Jyrinki [Tue, 10 Jan 2012 08:54:13 +0000 (09:54 +0100)]
Updated Finnish translations by Jiri Grönroos.

12 years agoFix wrong refencences in the docs
Matthias Clasen [Mon, 9 Jan 2012 22:30:09 +0000 (17:30 -0500)]
Fix wrong refencences in the docs

Replace all references to g_application_set_app_menu and
g_application_set_menubar by their gtk variants, which
actually exist. Pointed out in bug 667546

12 years agoFall back to the builtin icons for spinbutton +/-
Matthias Clasen [Mon, 9 Jan 2012 22:15:17 +0000 (17:15 -0500)]
Fall back to the builtin icons for spinbutton +/-

We do have list-add/-remove icons in the builtin icon theme,
so why not use them ?

12 years agoAdd missing symbols
Matthias Clasen [Mon, 9 Jan 2012 20:11:50 +0000 (15:11 -0500)]
Add missing symbols

12 years agostyleproperty: Call style properties init function in more places
Benjamin Otte [Mon, 9 Jan 2012 21:06:17 +0000 (22:06 +0100)]
styleproperty: Call style properties init function in more places

In particular, call it when querying properties by id. This is necessary
for make check to not die.

12 years agoFix doc markup
Matthias Clasen [Mon, 9 Jan 2012 19:09:27 +0000 (14:09 -0500)]
Fix doc markup

12 years agoUpdated POTFILES.in and POTFILES.skip
Piotr Drąg [Mon, 9 Jan 2012 18:51:50 +0000 (19:51 +0100)]
Updated POTFILES.in and POTFILES.skip

12 years agoRename 'window-unfocused' to 'backdrop'
Rui Matos [Thu, 5 Jan 2012 17:21:03 +0000 (17:21 +0000)]
Rename 'window-unfocused' to 'backdrop'

'window-unfocused' is too long and mentions "focus" which is historically
loaded with the meaning "input focus".

'backdrop' isn't generally used in GUI speak and still conveys the state the
widgets in an unfocused or background toplevel window are in.

12 years agothemingengine: Move border-image handling into render_frame_internal()
Benjamin Otte [Sun, 8 Jan 2012 04:38:10 +0000 (05:38 +0100)]
themingengine: Move border-image handling into render_frame_internal()

This fixes 2 bugs:
1) extensions didn't get border images
2) border-images caused outlines to not be drawn

12 years agoroundedbox: close path
Benjamin Otte [Sun, 8 Jan 2012 03:56:31 +0000 (04:56 +0100)]
roundedbox: close path

Just because we do it everywhere else, too.

12 years agothemingengine: Implement outline support
Benjamin Otte [Sun, 8 Jan 2012 01:55:34 +0000 (02:55 +0100)]
themingengine: Implement outline support

12 years agothemingengine: Split out the border drawing function
Benjamin Otte [Sun, 8 Jan 2012 01:41:30 +0000 (02:41 +0100)]
themingengine: Split out the border drawing function

12 years agocss: Add outline CSS properties
Benjamin Otte [Sun, 8 Jan 2012 01:10:35 +0000 (02:10 +0100)]
css: Add outline CSS properties

12 years agothemingengine: Implement 'dotted' and 'dashed'
Benjamin Otte [Sun, 8 Jan 2012 00:17:48 +0000 (01:17 +0100)]
themingengine: Implement 'dotted' and 'dashed'

12 years agocss: Introduce a corner order enum
Benjamin Otte [Sat, 7 Jan 2012 21:40:17 +0000 (22:40 +0100)]
css: Introduce a corner order enum

Same order as CSS again.

The nice thing about this is that now edge i in a rounded box follows
corner i and is followed by corner (i + 1) % 4.

12 years agocss: Introduce GtkCssSide
Benjamin Otte [Sat, 7 Jan 2012 21:20:51 +0000 (22:20 +0100)]
css: Introduce GtkCssSide

... and use it.

This is basically an encoding of the order of sides in CSS. So when
parsing things, this is the way we parse things in.

12 years agothemingengine: Implement ridge and groove
Benjamin Otte [Sat, 7 Jan 2012 20:24:50 +0000 (21:24 +0100)]
themingengine: Implement ridge and groove