]> Pileus Git - ~andy/gtk/log
~andy/gtk
13 years agoMerge branch 'master' into treeview-refactor
Tristan Van Berkom [Wed, 8 Dec 2010 06:24:49 +0000 (15:24 +0900)]
Merge branch 'master' into treeview-refactor

13 years agoMore annotations for GdkDisplay
Milan Bouchet-Valat [Tue, 7 Dec 2010 18:03:55 +0000 (19:03 +0100)]
More annotations for GdkDisplay

Mostly (out), and a few (allow-none) for parameters.

13 years agoGtkStyleContext migration guide tweaks
Matthias Clasen [Tue, 7 Dec 2010 17:59:17 +0000 (12:59 -0500)]
GtkStyleContext migration guide tweaks

Move the guide into the 2-to-3 guide, since it is something
you have to do when porting from 2 to 3. Also add an example
for handling of temporary state changes and some more text
about color handling.

13 years agoSome doc additions
Matthias Clasen [Tue, 7 Dec 2010 14:55:18 +0000 (09:55 -0500)]
Some doc additions

13 years agoAdded minimum size parameter to GtkWidgetClass->adjust_size_allocation.
Tristan Van Berkom [Tue, 7 Dec 2010 14:45:48 +0000 (23:45 +0900)]
Added minimum size parameter to GtkWidgetClass->adjust_size_allocation.

This allows us to add a check before executing
->get_preferred_height_for_width() to ensure we always
request for at least the minimum required size (and lets
us remove the warning in gtkcontainer.c telling implementors
to do this check manually from thier container implementations).

13 years agolabel: plug a memory leak
Cosimo Cecchi [Tue, 7 Dec 2010 09:13:32 +0000 (10:13 +0100)]
label: plug a memory leak

13 years agoapp-chooser-widget: plug a memory leak
Cosimo Cecchi [Tue, 7 Dec 2010 09:08:47 +0000 (10:08 +0100)]
app-chooser-widget: plug a memory leak

13 years agoAdding gtk_tree_view_column_new_with_area to gtk.symbols and gtk3-sections.txt.
Tristan Van Berkom [Tue, 7 Dec 2010 08:04:04 +0000 (17:04 +0900)]
Adding gtk_tree_view_column_new_with_area to gtk.symbols and gtk3-sections.txt.

13 years agoRevert "Temporary fix to make separator rows request enough space for the expander...
Tristan Van Berkom [Tue, 7 Dec 2010 05:09:26 +0000 (14:09 +0900)]
Revert "Temporary fix to make separator rows request enough space for the expander size."

This reverts commit 515af9ce702d77c5d1ab0a089c51564c31cd2247.

13 years agoTemporary fix to make separator rows request enough space for the expander size.
Tristan Van Berkom [Tue, 7 Dec 2010 04:49:21 +0000 (13:49 +0900)]
Temporary fix to make separator rows request enough space for the expander size.

This fix is incorrect, treeviews dont rely on the expander size for drawing
separator rows (added XXX comment in line), need to fix this somewhere else

13 years agoFixed my mistake in validate_row (), now the height of treeviews in GtkEntryCompletio...
Tristan Van Berkom [Tue, 7 Dec 2010 04:11:27 +0000 (13:11 +0900)]
Fixed my mistake in validate_row (), now the height of treeviews in GtkEntryCompletion is correct again.

13 years agoBump version
Matthias Clasen [Tue, 7 Dec 2010 01:37:30 +0000 (20:37 -0500)]
Bump version

13 years agoMore !srcdir fixes for the stylecontext test
Matthias Clasen [Tue, 7 Dec 2010 00:05:18 +0000 (19:05 -0500)]
More !srcdir fixes for the stylecontext test

13 years agoUpdate for the removal of gtk_decorated_window_ apis
Matthias Clasen [Mon, 6 Dec 2010 22:44:12 +0000 (17:44 -0500)]
Update for the removal of gtk_decorated_window_ apis

13 years agoFix POTFILES for recent changes
Matthias Clasen [Mon, 6 Dec 2010 19:35:13 +0000 (14:35 -0500)]
Fix POTFILES for recent changes

13 years agoPrepare the stylecontext test to run out-of-srcdir
Matthias Clasen [Mon, 6 Dec 2010 19:11:46 +0000 (14:11 -0500)]
Prepare the stylecontext test to run out-of-srcdir

This is necessary to make distcheck work.

13 years agoAllow + in identifiers
Matthias Clasen [Mon, 6 Dec 2010 19:10:42 +0000 (14:10 -0500)]
Allow + in identifiers

This is necessary since we treat paths as identifiers in
@import rules, and it is common to have a + in there (at least
when distchecking gtk+ ...)

13 years agogdk: Add section docs for GdkRGBA
Benjamin Otte [Mon, 6 Dec 2010 17:56:11 +0000 (18:56 +0100)]
gdk: Add section docs for GdkRGBA

13 years agogtk: Remove old DirectFB code for drawing window decorations
Benjamin Otte [Mon, 6 Dec 2010 16:20:13 +0000 (17:20 +0100)]
gtk: Remove old DirectFB code for drawing window decorations

I'm not sure it'd even compile.

13 years agogdk: Remove GdkWindowObject typedef
Benjamin Otte [Mon, 6 Dec 2010 16:19:56 +0000 (17:19 +0100)]
gdk: Remove GdkWindowObject typedef

It's unused by now.

13 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Mon, 6 Dec 2010 17:13:24 +0000 (18:13 +0100)]
Updated Norwegian bokmål translation

13 years agointrospection: Fix (out) for gdk_screen_get_monitor_geometry
Colin Walters [Mon, 6 Dec 2010 16:42:47 +0000 (11:42 -0500)]
introspection: Fix (out) for gdk_screen_get_monitor_geometry

Scanner doesn't detect this case correctly because it's a typedef;
work around it here by explicitly specifying that it's caller
allocates.  See bug 636393 for the scanner issue.

13 years agoconfigure: Drop AC_PREREQ back down to 2.62
Colin Walters [Mon, 6 Dec 2010 16:27:57 +0000 (11:27 -0500)]
configure: Drop AC_PREREQ back down to 2.62

Commit 39f57407639b85c7e929d349ee95eabc46d083e bumped the
autoconf version to 2.64 with no explicit rationale.  It looks
to me like a copy-and-paste error.  Reverting back to 2.62 (the
previous version).  2.63 at least (RHEL6) works here.

13 years agoUpdate NEWS for 2.91.6
Matthias Clasen [Mon, 6 Dec 2010 15:56:03 +0000 (10:56 -0500)]
Update NEWS for 2.91.6

13 years agoDisable theme engines for now
Matthias Clasen [Mon, 6 Dec 2010 15:12:22 +0000 (10:12 -0500)]
Disable theme engines for now

They need to be ported to GtkThemingEngine.

13 years agoFix a typo to fix the build.
Murray Cumming [Mon, 6 Dec 2010 15:01:55 +0000 (16:01 +0100)]
Fix a typo to fix the build.

13 years agoAdd gtk_widget_path_get_type to the headers
Matthias Clasen [Mon, 6 Dec 2010 14:50:01 +0000 (09:50 -0500)]
Add gtk_widget_path_get_type to the headers

Bug 636591

13 years agoPort Quartz backend to latest rendering-cleanup changes
Kristian Rietveld [Mon, 6 Dec 2010 13:13:40 +0000 (14:13 +0100)]
Port Quartz backend to latest rendering-cleanup changes

13 years agoFix Makefile syntax
Matthias Clasen [Mon, 6 Dec 2010 12:26:00 +0000 (07:26 -0500)]
Fix Makefile syntax

13 years agoAdding gtk_tree_view_column_new_with_area().
Tristan Van Berkom [Mon, 6 Dec 2010 10:04:51 +0000 (19:04 +0900)]
Adding gtk_tree_view_column_new_with_area().

Creates a treeviewcolumn using a specific GtkCellArea.
This patch also makes GtkEntryCompletion use the new api
instead of g_object_new().

13 years agoFixed some nit-picking bugs in GtkCellArea
Tristan Van Berkom [Mon, 6 Dec 2010 08:27:03 +0000 (17:27 +0900)]
Fixed some nit-picking bugs in GtkCellArea

  - Dont try fetching a cell renderer for an event when the event
    coordinate is outside the cell area allocation (can happen
    on the y axis, not all events are button events).
  - Dont remove focus-line-width (inner area) an extra time from
    GtkCellArea->event
  - Dont remove focus-line-width from the cell area at all for the
    editable widget... use the whole area including the focus line
    (compared with git master behaviour and now it looks right, check
    the multiline editable string in testtreeedit).

13 years agoFixed GtkTreeViewColumn to reset the context when _gtk_tree_view_column_cell_set_dirt...
Tristan Van Berkom [Mon, 6 Dec 2010 08:03:53 +0000 (17:03 +0900)]
Fixed GtkTreeViewColumn to reset the context when _gtk_tree_view_column_cell_set_dirty is called.

This fixes autosize columns... result can be viewable by checking
tests/testtreeview and setting the second column to autosize and then
expanding/colapsing some rows.

13 years agoChanged GtkTreeViewColumn->requested_width to ->padding
Tristan Van Berkom [Mon, 6 Dec 2010 07:31:07 +0000 (16:31 +0900)]
Changed GtkTreeViewColumn->requested_width to ->padding

Now we bookkeep the treeview assigned padding asides from the
requested width stored in the GtkCellAreaContext, this removes
the need for bookkeeping the deepest expanded depth in gtktreeview.c

At allocation time, just remove the padding from the allocated width
of the column and feed the rest to the underlying cell area.

13 years agoAdded expand controls to testtreeedit (now you can play with align & expand effects...
Tristan Van Berkom [Mon, 6 Dec 2010 07:30:18 +0000 (16:30 +0900)]
Added expand controls to testtreeedit (now you can play with align & expand effects in cells there).

13 years agoFix GtkCellAreaBox allocate_cells_manually to handle undersized areas.
Tristan Van Berkom [Mon, 6 Dec 2010 07:29:40 +0000 (16:29 +0900)]
Fix GtkCellAreaBox allocate_cells_manually to handle undersized areas.

13 years agoFixed gtk-doc statement in GtkCellArea header
Tristan Van Berkom [Mon, 6 Dec 2010 07:29:13 +0000 (16:29 +0900)]
Fixed gtk-doc statement in GtkCellArea header

13 years agoMake invalid stylesheets fail to parse again
Matthias Clasen [Mon, 6 Dec 2010 05:44:58 +0000 (00:44 -0500)]
Make invalid stylesheets fail to parse again

The recent improvements to error reporting caused gtk_css_provider_load...
to always return TRUE and leave the error unset. Error messages were instead
dumped out with g_message, which is not helpful.

This commit changes things back to the way they were before:
If a GError is passed in, parsing will fail at the first error, reporting
it in the given GError. If no GError is passed in, we keep going and
just issue the warning messages. This fixes the parser tests.

13 years agoDon't use g_warning when loading an engine fails
Matthias Clasen [Mon, 6 Dec 2010 05:44:01 +0000 (00:44 -0500)]
Don't use g_warning when loading an engine fails

This causes the tests to abort if clearlooks can't be found.

13 years agoAdded gtk_cell_area_foreach_alloc() to further simplify GtkCellArea subclasses
Tristan Van Berkom [Mon, 6 Dec 2010 05:11:28 +0000 (14:11 +0900)]
Added gtk_cell_area_foreach_alloc() to further simplify GtkCellArea subclasses

gtk_cell_area_foreach_alloc() itterates over an allocated list of cells
and calls a callback with the cell's allocation until the callback returns
TRUE.
  - Removed vfunc get_cell_allocation() and implemented
    gtk_cell_area_get_cell_allocation() using foreach_alloc()
  - Added gtk_cell_area_get_cell_at_position() using foreach_alloc()
  - Removed GtkCellAreaBox ->event() implementation and implemented
    mouse "click" cell activation in GtkCellArea class directly using
    gtk_cell_area_get_cell_at_position().

13 years agoChanged gtk_cell_area_forall to gtk_cell_area_foreach since thats more widely used...
Tristan Van Berkom [Mon, 6 Dec 2010 03:41:38 +0000 (12:41 +0900)]
Changed gtk_cell_area_forall to gtk_cell_area_foreach since thats more widely used semantics.

Also gave a boolean return value to the callback to allow breaking out of the loop.

13 years agoappchooser: Remove bogus function declaration
Benjamin Otte [Mon, 6 Dec 2010 00:30:19 +0000 (01:30 +0100)]
appchooser: Remove bogus function declaration

13 years agostyle: Remove unused code
Benjamin Otte [Sun, 5 Dec 2010 14:05:00 +0000 (15:05 +0100)]
style: Remove unused code

13 years agogdk: Constify argument to gdk_rgba_copy()
Benjamin Otte [Sun, 5 Dec 2010 13:54:43 +0000 (14:54 +0100)]
gdk: Constify argument to gdk_rgba_copy()

13 years agogdk: Remove depth argument from GdkWindowImpl->get_geometry()
Benjamin Otte [Sun, 5 Dec 2010 13:40:35 +0000 (14:40 +0100)]
gdk: Remove depth argument from GdkWindowImpl->get_geometry()

13 years agoAPI: gdk: Remove depth argument from gdk_window_get_geometry()
Benjamin Otte [Sun, 5 Dec 2010 13:36:59 +0000 (14:36 +0100)]
API: gdk: Remove depth argument from gdk_window_get_geometry()

We don't want to expose depth anymore. If you need it, query the visual.

13 years agogdk: Remove nonexisting function from internal header
Benjamin Otte [Sun, 5 Dec 2010 13:32:59 +0000 (14:32 +0100)]
gdk: Remove nonexisting function from internal header

13 years agoUse the new style context API in GtkButton
Paolo Borelli [Sun, 5 Dec 2010 21:05:29 +0000 (22:05 +0100)]
Use the new style context API in GtkButton

Mostly replaces gtk_widget_style_get with gtk_style_context_get_style

13 years agoUse the new style context API in GtkLabel.
Paolo Borelli [Sun, 5 Dec 2010 20:00:59 +0000 (21:00 +0100)]
Use the new style context API in GtkLabel.

13 years agoRemove unused function modify_color_property
Paolo Borelli [Sun, 5 Dec 2010 20:11:34 +0000 (21:11 +0100)]
Remove unused function modify_color_property

13 years agoGtkStyleContext: warn on meaningless coords in gtk_render_* calls
Carlos Garnacho [Sun, 5 Dec 2010 19:18:03 +0000 (20:18 +0100)]
GtkStyleContext: warn on meaningless coords in gtk_render_* calls

13 years agoBug 636511 - New style override functions do not work on textview
Carlos Garnacho [Sun, 5 Dec 2010 19:00:44 +0000 (20:00 +0100)]
Bug 636511 - New style override functions do not work on textview

Emit ::style-set on overrider style changes, this is necessary
in the mean time so widgets not listening yet to ::style-updated
get the style changes.

13 years agoUpdated Spanish translation
Jorge González [Sun, 5 Dec 2010 17:33:31 +0000 (18:33 +0100)]
Updated Spanish translation

13 years agoBring back _gtk_tree_view_column_get_cell_at_pos
Kristian Rietveld [Sun, 5 Dec 2010 17:18:36 +0000 (18:18 +0100)]
Bring back _gtk_tree_view_column_get_cell_at_pos

The function has been re-implemented around GtkCellArea.  This commits
also brings back the invocation of this function in
gtk_tree_view_button_press().  I shouldn't have removed this.

13 years agoFix abi check after recent merges
Matthias Clasen [Sun, 5 Dec 2010 17:18:30 +0000 (12:18 -0500)]
Fix abi check after recent merges

13 years agoReplace FIRST_PIXEL macros with something that's more clear
Kristian Rietveld [Sun, 5 Dec 2010 17:04:07 +0000 (18:04 +0100)]
Replace FIRST_PIXEL macros with something that's more clear

13 years agoClean up and clarify row height calculations
Kristian Rietveld [Sun, 5 Dec 2010 16:56:30 +0000 (17:56 +0100)]
Clean up and clarify row height calculations

13 years agoClean up _gtk_tree_view_column_cell_event
Kristian Rietveld [Sun, 5 Dec 2010 16:12:37 +0000 (17:12 +0100)]
Clean up _gtk_tree_view_column_cell_event

13 years agoRemove the need for _gtk_tree_view_column_get_focus_area
Kristian Rietveld [Sun, 5 Dec 2010 16:10:21 +0000 (17:10 +0100)]
Remove the need for _gtk_tree_view_column_get_focus_area

13 years agoClarify start_pos parameter gtk_tree_view_column_cell_get_position
Kristian Rietveld [Sun, 5 Dec 2010 16:04:52 +0000 (17:04 +0100)]
Clarify start_pos parameter gtk_tree_view_column_cell_get_position

By renaming it to x_offset.

13 years agoRemove private accessor for focus column
Kristian Rietveld [Sun, 5 Dec 2010 14:20:17 +0000 (15:20 +0100)]
Remove private accessor for focus column

13 years agoMove _gtk_tree_view_column_cell_focus to gtktreeview.c
Kristian Rietveld [Sun, 5 Dec 2010 14:18:13 +0000 (15:18 +0100)]
Move _gtk_tree_view_column_cell_focus to gtktreeview.c

13 years agoUse structure bitfield instead of GtkTreeViewFlags
Kristian Rietveld [Sun, 5 Dec 2010 14:12:53 +0000 (15:12 +0100)]
Use structure bitfield instead of GtkTreeViewFlags

13 years agoUpdated Galician translations
Fran Diéguez [Sun, 5 Dec 2010 13:57:08 +0000 (14:57 +0100)]
Updated Galician translations

13 years agoTurn TREE_VIEW_DRAW_EXPANDERS into an inline function
Kristian Rietveld [Sun, 5 Dec 2010 13:47:51 +0000 (14:47 +0100)]
Turn TREE_VIEW_DRAW_EXPANDERS into an inline function

13 years agoRemove unused TREE_VIEW_COLUMN_REQUESTED_WIDTH macro
Kristian Rietveld [Sun, 5 Dec 2010 13:42:40 +0000 (14:42 +0100)]
Remove unused TREE_VIEW_COLUMN_REQUESTED_WIDTH macro

13 years agoTurn TREE_VIEW_HEADER_HEIGHT into an inline function
Kristian Rietveld [Sun, 5 Dec 2010 13:42:08 +0000 (14:42 +0100)]
Turn TREE_VIEW_HEADER_HEIGHT into an inline function

13 years agoAdded g_getenv("RTL") to test rtl layouting.
Tristan Van Berkom [Sun, 5 Dec 2010 06:20:19 +0000 (15:20 +0900)]
Added g_getenv("RTL") to test rtl layouting.

13 years agoFixed conflicts from rebasing GtkTreeViewColumn changes from treeview-refactor.
Tristan Van Berkom [Sat, 4 Dec 2010 07:24:31 +0000 (16:24 +0900)]
Fixed conflicts from rebasing GtkTreeViewColumn changes from treeview-refactor.

13 years agoAdding testverticalcells.c.
Tristan Van Berkom [Sat, 4 Dec 2010 05:27:18 +0000 (14:27 +0900)]
Adding testverticalcells.c.

This test displays a GtkTreeViewColumn rendering a vertically
oriented GtkCellArea along side a horizontally oriented column
in the same treeview.

13 years agoRemoving hack and fixing gtk_tree_view_column_cell_get_size().
Tristan Van Berkom [Sat, 4 Dec 2010 05:05:15 +0000 (14:05 +0900)]
Removing hack and fixing gtk_tree_view_column_cell_get_size().

Now consult gtk_cell_area_context_get_preferred_height().

It can be that height-for-widths requested here were too large
when multiple cells are in play because of the alignments stored
in the context... removing the temporary focus-line-width hack.

13 years agoAdded GtkTreeViewColumn:cell-area construct-only property.
Tristan Van Berkom [Wed, 1 Dec 2010 14:26:25 +0000 (23:26 +0900)]
Added GtkTreeViewColumn:cell-area construct-only property.

Allow feeding treeviewcolumn a custom cell-area (or not a custom one,
but allow sharing the cell-area with say, the combo-box area).

This patch also:

 - Fixes signal connections to the area (now they do eventually get
   disconnected at dispose time, they are handled regardless if a
   treeview is set but execute safely, at least there is only one
   connection/disconnection).

 - Fixes refcounting on the cell_area (GtkCellArea is GInitiallyUnowned).

 - Adds a constructor() in order to build the cell-area if one has
   not been provided by the caller before hand at g_object_new()
   construct time.

13 years agoFixed GtkTreeViewColumn allocation to only subtract the depth padding/indentation...
Tristan Van Berkom [Wed, 1 Dec 2010 08:12:32 +0000 (17:12 +0900)]
Fixed GtkTreeViewColumn allocation to only subtract the depth padding/indentation from the expander column.

13 years agoChanged GtkTreeView to bookkeep the deepest expanded depth instead of recalculating...
Tristan Van Berkom [Wed, 1 Dec 2010 07:20:22 +0000 (16:20 +0900)]
Changed GtkTreeView to bookkeep the deepest expanded depth instead of recalculating it at column allocation time.

13 years agoAllocate proper inner cell area to the GtkTreeViewColumn.
Tristan Van Berkom [Wed, 1 Dec 2010 05:57:44 +0000 (14:57 +0900)]
Allocate proper inner cell area to the GtkTreeViewColumn.

This is a premature patch, it traverses the tree's expanded
rows and fetches the deepest depth every time we allocate a
column. The deepest depth should rather be cached and pushed
when a row expands, then recalculated when the deepest expanded
row collapses.

13 years agoCreated _gtk_tree_view_column_request_width().
Tristan Van Berkom [Wed, 1 Dec 2010 03:41:42 +0000 (12:41 +0900)]
Created _gtk_tree_view_column_request_width().

Removed gtk_tree_view_get_real_requested_width_from_column() from
gtktreeview.c in favor of this function in the treeviewcolumn domain
(since this function goes and checks treeviewcolumn internals, settings
and derives the real requested width, seems logical this should be done
by the treeviewcolumn instead).

13 years agoUse gtk_tree_view_get_real_requested_width_from_column() all around
Tristan Van Berkom [Wed, 1 Dec 2010 03:26:45 +0000 (12:26 +0900)]
Use gtk_tree_view_get_real_requested_width_from_column() all around

GtkTreeView duplicated the contents of this function word-for-word
inside gtk_tree_view_update_size().

13 years agoChanged _gtk_tree_view_column_set_width for _gtk_tree_view_column_allocate
Tristan Van Berkom [Wed, 1 Dec 2010 03:23:02 +0000 (12:23 +0900)]
Changed _gtk_tree_view_column_set_width for _gtk_tree_view_column_allocate

Now the GtkTreeViewColumn takes care of move/resizing its window and
allocating its button (except for the special case of current drag_column
where the column doesnt actually get reallocated).

13 years agoRemoved GtkTreeViewPrivate from gtktreeprivate.h and added a few more accessors.
Tristan Van Berkom [Tue, 30 Nov 2010 07:36:07 +0000 (16:36 +0900)]
Removed GtkTreeViewPrivate from gtktreeprivate.h and added a few more accessors.

This actually much simplifies interaction with GtkTreeSelection
(at least reduces code size where dealing width the treeview anchor path).

13 years agoRemoved the private sharing of internal treeview macros from gtktreeprivate.h
Tristan Van Berkom [Tue, 30 Nov 2010 06:28:14 +0000 (15:28 +0900)]
Removed the private sharing of internal treeview macros from gtktreeprivate.h

Added them directly to gtktreeview.c.

13 years agoRemoved all variables from GtkTreeViewColumn and created GtkTreeViewColumnPrivate
Tristan Van Berkom [Tue, 30 Nov 2010 05:29:45 +0000 (14:29 +0900)]
Removed all variables from GtkTreeViewColumn and created GtkTreeViewColumnPrivate

Some details:
  - button_request was not needed, consult the minimum request of the button
  - gtk_tree_view_column_get_button() needed to be public as people can set
    tooltips on the button (and libgail accesses the button).

13 years agoDo not bother starting a draw call if bar_size <= 0
Kristian Rietveld [Sun, 5 Dec 2010 12:56:24 +0000 (13:56 +0100)]
Do not bother starting a draw call if bar_size <= 0

13 years agoUpdated Hebrew translation
Yaron Shahrabani [Sun, 5 Dec 2010 12:14:03 +0000 (14:14 +0200)]
Updated Hebrew translation

13 years agoAvoid memory corruption in the color_properties hashtable.
Paolo Borelli [Sun, 5 Dec 2010 11:30:28 +0000 (12:30 +0100)]
Avoid memory corruption in the color_properties hashtable.

13 years agoAdded proper handling of right to left layouting of cells to GtkCellAreaBox.
Tristan Van Berkom [Sun, 5 Dec 2010 06:20:46 +0000 (15:20 +0900)]
Added proper handling of right to left layouting of cells to GtkCellAreaBox.

13 years agoAdded different icon at the end of testtreeedit to see if RTL is actually working.
Tristan Van Berkom [Sun, 5 Dec 2010 03:44:43 +0000 (12:44 +0900)]
Added different icon at the end of testtreeedit to see if RTL is actually working.

13 years agoMerge branch 'master' into treeview-refactor
Tristan Van Berkom [Sun, 5 Dec 2010 04:14:39 +0000 (13:14 +0900)]
Merge branch 'master' into treeview-refactor

13 years agoAdd internal accessor for GtkEntry->is_cell_renderer
Javier Jardón [Sat, 27 Nov 2010 03:38:17 +0000 (04:38 +0100)]
Add internal accessor for GtkEntry->is_cell_renderer

This fixes commit fb3429e5072508570d78dcc7cccb6ef425586bb2

13 years agoFix a segfault in gdk_window_beep
Matthias Clasen [Sat, 4 Dec 2010 22:25:40 +0000 (17:25 -0500)]
Fix a segfault in gdk_window_beep

Not a good idea to cast an instance to a class...

13 years agoTry again to fix the gdk symbol list
Matthias Clasen [Sat, 4 Dec 2010 21:32:02 +0000 (16:32 -0500)]
Try again to fix the gdk symbol list

Grr, gdk_window_class_class_get_type should have been
gdk_window_window_class_get_type.

13 years agoFix gdk_rgba_parse call
Matthias Clasen [Sat, 4 Dec 2010 21:16:29 +0000 (16:16 -0500)]
Fix gdk_rgba_parse call

13 years agoFix call to gtk_widget_override_cursor()
Carlos Garnacho [Sat, 4 Dec 2010 17:26:02 +0000 (18:26 +0100)]
Fix call to gtk_widget_override_cursor()

13 years agoMake gtk_widget_override_cursor() take GdkRGBAs
Carlos Garnacho [Sat, 4 Dec 2010 16:44:53 +0000 (17:44 +0100)]
Make gtk_widget_override_cursor() take GdkRGBAs

Even though the style properties have the GdkColor type, the other
gtk_widget_override_* API takes RGBA colors, so it is consistent
now.

13 years agoMerge branch 'master' into treeview-refactor
Tristan Van Berkom [Sat, 4 Dec 2010 15:36:37 +0000 (00:36 +0900)]
Merge branch 'master' into treeview-refactor

Conflicts:
gtk/gtkmarshalers.list
tests/Makefile.am

13 years agoAnnotate gdk_window_get_geometry, get_position and get_origin
Paolo Borelli [Sat, 4 Dec 2010 13:55:11 +0000 (14:55 +0100)]
Annotate gdk_window_get_geometry, get_position and get_origin

13 years agoGtkThemingEngine: Fix parameters for gtk_theming_engine_lookup_color()
Carlos Garnacho [Sat, 4 Dec 2010 14:08:35 +0000 (15:08 +0100)]
GtkThemingEngine: Fix parameters for gtk_theming_engine_lookup_color()

13 years agotestgtk: Fix gdk_rgba_parse() arguments.
Carlos Garnacho [Sat, 4 Dec 2010 13:29:16 +0000 (14:29 +0100)]
testgtk: Fix gdk_rgba_parse() arguments.

13 years agoGtkCssProvider: Improve error handling and reporting.
Carlos Garnacho [Fri, 3 Dec 2010 20:56:39 +0000 (21:56 +0100)]
GtkCssProvider: Improve error handling and reporting.

Nicer error reports are provided, and a GError can be spread from
anywhere in parsing, so over time more precise and meaningful
messages can be produced.

13 years agoGtkThemingEngine: Be a bit more robust against missing essential properties.
Carlos Garnacho [Fri, 3 Dec 2010 11:25:12 +0000 (12:25 +0100)]
GtkThemingEngine: Be a bit more robust against missing essential properties.

13 years agoGtkWidget: add gtk_widget_render_icon_pixbuf()
Carlos Garcia Campos [Fri, 3 Dec 2010 20:14:48 +0000 (21:14 +0100)]
GtkWidget: add gtk_widget_render_icon_pixbuf()

and deprecate gtk_widget_render_icon()

13 years agoGtkIconFactory: add gtk_icon_set_render_icon_pixbuf()
Carlos Garcia Campos [Fri, 3 Dec 2010 19:39:58 +0000 (20:39 +0100)]
GtkIconFactory: add gtk_icon_set_render_icon_pixbuf()

and deprecate gtk_icon_set_render_icon().