]> Pileus Git - ~andy/gtk/log
~andy/gtk
13 years agoAdding more documentation to GtkCellArea, documented GtkCellAreaClass structure.
Tristan Van Berkom [Thu, 2 Dec 2010 15:29:22 +0000 (00:29 +0900)]
Adding more documentation to GtkCellArea, documented GtkCellAreaClass structure.

13 years agoManually pulling back a GtkTreeViewColumn fix from treeview-refactor-staging
Tristan Van Berkom [Thu, 2 Dec 2010 08:42:46 +0000 (17:42 +0900)]
Manually pulling back a GtkTreeViewColumn fix from treeview-refactor-staging

This fix has evolved in the staging branch since all column members are
on a private structure, but since it causes warnings when closing the
windows of the testcellarea test (because the combo-boxes use a treeviewcolumn)
I thought it nice for now to just manually include the fix.

The fix is just proper bookkeeping of delegate objects at dispose() time.

13 years agoChanged tests/testcellarea.c (and scaffolding) to only reorient the GtkCellArea
Tristan Van Berkom [Thu, 2 Dec 2010 08:10:10 +0000 (17:10 +0900)]
Changed tests/testcellarea.c (and scaffolding) to only reorient the GtkCellArea

It's a better test case if the scaffolding only displays the rows from top
to bottom and doesnt line up the cells from left to right (because it shows
that height-for-width still works with vertically oriented areas).

13 years agoRemoved unused variable from GtkCellAreaBoxContext.
Tristan Van Berkom [Thu, 2 Dec 2010 08:09:44 +0000 (17:09 +0900)]
Removed unused variable from GtkCellAreaBoxContext.

13 years agoMerge branch 'master' into treeview-refactor
Tristan Van Berkom [Thu, 2 Dec 2010 04:58:02 +0000 (13:58 +0900)]
Merge branch 'master' into treeview-refactor

Conflicts:
tests/Makefile.am

13 years agoAvoid a warning when finalizing toolbars
Matthias Clasen [Thu, 2 Dec 2010 04:32:35 +0000 (23:32 -0500)]
Avoid a warning when finalizing toolbars

Recent changes cause disposing menus to emit ::deactivate. So better
disconnect the deactivate handler first.

13 years agoFixed GtkCellAreaBoxContext for some typos introduced while removing GtkCellAreaConte...
Tristan Van Berkom [Thu, 2 Dec 2010 04:19:37 +0000 (13:19 +0900)]
Fixed GtkCellAreaBoxContext for some typos introduced while removing GtkCellAreaContext->sum_preferred_width()/height() apis.

13 years agoapp-chooser-button: don't insert empty rows in the combobox
Cosimo Cecchi [Wed, 1 Dec 2010 19:18:12 +0000 (20:18 +0100)]
app-chooser-button: don't insert empty rows in the combobox

13 years agoapp-chooser-button: add a note in the docs
Cosimo Cecchi [Wed, 1 Dec 2010 15:33:34 +0000 (16:33 +0100)]
app-chooser-button: add a note in the docs

13 years agoapp-chooser: add docs and symbols coverage for new API
Cosimo Cecchi [Wed, 1 Dec 2010 13:29:57 +0000 (14:29 +0100)]
app-chooser: add docs and symbols coverage for new API

13 years agoapp-chooser-button: add gtk_app_chooser_button_set_active_custom_item()
Cosimo Cecchi [Wed, 1 Dec 2010 11:12:03 +0000 (12:12 +0100)]
app-chooser-button: add gtk_app_chooser_button_set_active_custom_item()

This allows to pre-select a custom item.

13 years agoapp-chooser-button: make sure to always get a valid iter
Cosimo Cecchi [Wed, 1 Dec 2010 15:29:57 +0000 (16:29 +0100)]
app-chooser-button: make sure to always get a valid iter

Even in case there are no installed applications for our content type.

13 years agogtk: Allow hiding the trough/slider in GtkScale
Bastien Nocera [Mon, 22 Nov 2010 17:46:25 +0000 (17:46 +0000)]
gtk: Allow hiding the trough/slider in GtkScale

When setting a GtkRange's upper and lower values to the same
value, the slider will not be drawn any more.

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

13 years agoAdded some rules to GtkCellAreaBox for rendering the last cell.
Tristan Van Berkom [Wed, 1 Dec 2010 13:42:54 +0000 (22:42 +0900)]
Added some rules to GtkCellAreaBox for rendering the last cell.

 - When we reach a cell that is out of the render area, break out
   of the loop (for columns user resized too small)
 - CLAMP the size of the last renderer to fit into the area
   (so that renderers get a chance to ellipsize when rendered
   with a space less than allocation, same reason as above).
 - Hand out remaining space in the render area to the last cell,
   this is for shallow rows in the expand column which may recieve
   more than the allocated width.

13 years ago[l10n] Updated Estonian translation
Ivar Smolin [Wed, 1 Dec 2010 11:17:39 +0000 (13:17 +0200)]
[l10n] Updated Estonian translation

13 years agoUpdating Persian translation
Mahyar Moghimi [Wed, 1 Dec 2010 10:49:46 +0000 (14:19 +0330)]
Updating Persian translation

13 years agoUpdating Persian translation
Mahyar Moghimi [Wed, 1 Dec 2010 10:46:19 +0000 (14:16 +0330)]
Updating Persian translation

13 years agoFixed GtkCellArea to always activate a cell at gtk_cell_area_activate() time even...
Tristan Van Berkom [Wed, 1 Dec 2010 07:21:09 +0000 (16:21 +0900)]
Fixed GtkCellArea to always activate a cell at gtk_cell_area_activate() time even if no cells have focus.

13 years agoAdded special clause to GtkCellAreaBox focus navigation.
Tristan Van Berkom [Wed, 1 Dec 2010 06:18:40 +0000 (15:18 +0900)]
Added special clause to GtkCellAreaBox focus navigation.

If the area has no activatable cells and has focus when
focus should be cycled, immediately focus out of the area
(because focus in that case is given to the entire area).

13 years agoswitch: Fix the attribution line
Emmanuele Bassi [Tue, 30 Nov 2010 21:54:48 +0000 (21:54 +0000)]
switch: Fix the attribution line

Thomas Wood pointed out that the original MxGtkLightSwitch widget upon
which I based the behaviour of GtkSwitch was not written by him; the
original authors are:

  Joshua Lock
  Robert Staudinger
  Jussi Kukkonen

My apologies to all of them.

13 years agoUpdate checkmenuitem docs slightly
Matthias Clasen [Tue, 30 Nov 2010 03:08:09 +0000 (22:08 -0500)]
Update checkmenuitem docs slightly

13 years agoMerge branch 'open-with-dialog'
Cosimo Cecchi [Tue, 30 Nov 2010 16:31:59 +0000 (17:31 +0100)]
Merge branch 'open-with-dialog'

13 years agoapp-chooser: other misc doc fixes
Cosimo Cecchi [Tue, 30 Nov 2010 16:27:53 +0000 (17:27 +0100)]
app-chooser: other misc doc fixes

13 years agoapp-chooser: add more symbols & docs
Cosimo Cecchi [Tue, 30 Nov 2010 15:30:33 +0000 (16:30 +0100)]
app-chooser: add more symbols & docs

13 years agoMerge branch 'master' into open-with-dialog
Cosimo Cecchi [Tue, 30 Nov 2010 15:27:28 +0000 (16:27 +0100)]
Merge branch 'master' into open-with-dialog

Conflicts:
docs/reference/gtk/gtk3-sections.txt
gtk/gtk.symbols

13 years agogtkspinner: don't setup the timeout twice (#636129)
Guillaume Desmottes [Tue, 30 Nov 2010 14:59:49 +0000 (15:59 +0100)]
gtkspinner: don't setup the timeout twice (#636129)

13 years agoapp-chooser-button: remove leftover typedef
Cosimo Cecchi [Tue, 30 Nov 2010 14:04:37 +0000 (15:04 +0100)]
app-chooser-button: remove leftover typedef

13 years agobuild: order new files alphabetically
Cosimo Cecchi [Tue, 30 Nov 2010 14:04:00 +0000 (15:04 +0100)]
build: order new files alphabetically

13 years agoapp-chooser: update docs
Cosimo Cecchi [Tue, 30 Nov 2010 14:03:33 +0000 (15:03 +0100)]
app-chooser: update docs

13 years agoBug 619148 - "active ID" properties (GtkComboBox)
Ryan Lortie [Tue, 30 Nov 2010 05:07:08 +0000 (00:07 -0500)]
Bug 619148 - "active ID" properties (GtkComboBox)

Based on a patch by Matthias, add an "active-id" property for
GtkComboBox and add some convenience API for GtkComboBoxText.

Also, add a test case to gtk-demo.

13 years agoa11y: Use ATK macros and clean up/2 - GtkSpinner
Emmanuele Bassi [Mon, 29 Nov 2010 15:43:43 +0000 (15:43 +0000)]
a11y: Use ATK macros and clean up/2 - GtkSpinner

ATK provides macros to the same effect as G_DEFINE_TYPE; using these
macros has the advantage of removing tons of duplicated code and
reducing the maintainership burden.

The widgets with inline accessibility implementation should switch to
these macros, and clean up the code.

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

13 years agoa11y: Use ATK macros and clean up/1 - GtkAssistant
Emmanuele Bassi [Mon, 29 Nov 2010 15:40:29 +0000 (15:40 +0000)]
a11y: Use ATK macros and clean up/1 - GtkAssistant

ATK provides macros to the same effect as G_DEFINE_TYPE; using these
macros has the advantage of removing tons of duplicated code and
reducing the maintainership burden.

The widgets with inline accessibility implementation should switch to
these macros, and clean up the code.

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

13 years agoForgotten changes
Matthias Clasen [Mon, 29 Nov 2010 21:47:01 +0000 (16:47 -0500)]
Forgotten changes

13 years agoGtkSwitch: Add missing "Since: 3.0" tags
Javier Jardón [Mon, 29 Nov 2010 20:49:38 +0000 (21:49 +0100)]
GtkSwitch: Add missing "Since: 3.0" tags

13 years agoconfigure: Fix typo
Javier Jardón [Mon, 29 Nov 2010 20:31:35 +0000 (21:31 +0100)]
configure: Fix typo

13 years agoUpdated Slovenian translation
Andrej Žnidaršič [Mon, 29 Nov 2010 20:27:47 +0000 (21:27 +0100)]
Updated Slovenian translation

13 years agoBump version
Matthias Clasen [Mon, 29 Nov 2010 19:48:24 +0000 (14:48 -0500)]
Bump version

13 years agoNo more rulers
Matthias Clasen [Mon, 29 Nov 2010 18:56:27 +0000 (13:56 -0500)]
No more rulers

13 years agoClean up POTFILES.skip as well
Matthias Clasen [Mon, 29 Nov 2010 18:29:49 +0000 (13:29 -0500)]
Clean up POTFILES.skip as well

13 years agoUpdate NEWS
Matthias Clasen [Mon, 29 Nov 2010 18:04:15 +0000 (13:04 -0500)]
Update NEWS

13 years agoRevert c00b85bf3f9cb1dc77dd22f138eb53048eb355b7
Matthias Clasen [Mon, 29 Nov 2010 18:00:04 +0000 (13:00 -0500)]
Revert c00b85bf3f9cb1dc77dd22f138eb53048eb355b7

This needs more work, currently we do dupe targets when copying
target entries in various places, and consequently free them
later. To do this correctly, the strings need to be interned
or something like that.

13 years agoRe-add some conditionals to symbols files
Matthias Clasen [Mon, 29 Nov 2010 17:47:44 +0000 (12:47 -0500)]
Re-add some conditionals to symbols files

We need to keep the ifdefs for platform abi differences.

13 years agoapp-chooser-online: rework of the online module
Cosimo Cecchi [Mon, 29 Nov 2010 17:10:06 +0000 (18:10 +0100)]
app-chooser-online: rework of the online module

- the _get_default() method is now async
- the PackageKit module will return NULL in case PackageKit is not
  available in the session bus
- the dummy module doesn't exist anymore
- the dialog won't display the online button in case there's no module
  available

13 years agoremove some duplicate symbols
Matthias Clasen [Mon, 29 Nov 2010 17:04:38 +0000 (12:04 -0500)]
remove some duplicate symbols

13 years agoAdd gdk_device_get_n_keys to symbol list
Matthias Clasen [Mon, 29 Nov 2010 16:49:11 +0000 (11:49 -0500)]
Add gdk_device_get_n_keys to symbol list

13 years agoAdd GtkSwitch to POTFILES
Matthias Clasen [Mon, 29 Nov 2010 16:46:58 +0000 (11:46 -0500)]
Add GtkSwitch to POTFILES

13 years agoUpdates
Matthias Clasen [Mon, 29 Nov 2010 16:43:45 +0000 (11:43 -0500)]
Updates

13 years agoSmall doc fixup
Matthias Clasen [Mon, 29 Nov 2010 16:25:10 +0000 (11:25 -0500)]
Small doc fixup

13 years agoAdd GtkSwitch to the widget gallery
Matthias Clasen [Mon, 29 Nov 2010 16:23:07 +0000 (11:23 -0500)]
Add GtkSwitch to the widget gallery

13 years agoAdd a GtkSwitch
Matthias Clasen [Mon, 29 Nov 2010 15:14:21 +0000 (10:14 -0500)]
Add a GtkSwitch

13 years agoapp-chooser-button: tabs to spaces
Cosimo Cecchi [Mon, 29 Nov 2010 15:10:58 +0000 (16:10 +0100)]
app-chooser-button: tabs to spaces

13 years agoapp-chooser-button: change the API approach for custom items
Cosimo Cecchi [Mon, 29 Nov 2010 15:04:59 +0000 (16:04 +0100)]
app-chooser-button: change the API approach for custom items

Introduce a 'custom-item-activated' on the widget, which behaves
similairly to GtkEntryCompletion::action-activated, i.e. is emitted when
a custom item is chosen from the dropdown list.
Clients can use the name provided when adding the item as a detail for
the signal, to get notified when that specific item is activated, or use
the signal without details to get notifications for all custom items.

13 years agoswitch: Use ATK macros to reduce the amount of code
Emmanuele Bassi [Mon, 29 Nov 2010 13:43:53 +0000 (13:43 +0000)]
switch: Use ATK macros to reduce the amount of code

And the insanity.

Reviewed-by: Christian Persch <chpe@gnome.org>
13 years agoswitch: Use the right value for comparison
Emmanuele Bassi [Mon, 29 Nov 2010 13:23:28 +0000 (13:23 +0000)]
switch: Use the right value for comparison

13 years agoswitch: Add accessibility implementation
Emmanuele Bassi [Mon, 29 Nov 2010 00:18:56 +0000 (00:18 +0000)]
switch: Add accessibility implementation

Modelled on GailToggleButton.

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

13 years agodocs: Add GtkSwitch to the API reference
Emmanuele Bassi [Sun, 28 Nov 2010 09:46:36 +0000 (09:46 +0000)]
docs: Add GtkSwitch to the API reference

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

13 years agoAdd GtkSwitch, a "light-switch" like widget
Emmanuele Bassi [Fri, 26 Nov 2010 13:24:04 +0000 (13:24 +0000)]
Add GtkSwitch, a "light-switch" like widget

The GtkSwitch widget is a simple UI control that has two states: on and
off. Toggling between the states is possible by clicking the widget or
by dragging the handle.

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

13 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Mon, 29 Nov 2010 11:56:35 +0000 (18:56 +0700)]
Updated Thai translation.

13 years agoapp-chooser-button: include gtk-docs for show-dialog-item
Cosimo Cecchi [Mon, 29 Nov 2010 11:25:52 +0000 (12:25 +0100)]
app-chooser-button: include gtk-docs for show-dialog-item

13 years agoapp-chooser-button: rename GtkAppChooserComboBox -> GtkAppChooserButton
Cosimo Cecchi [Mon, 29 Nov 2010 11:19:18 +0000 (12:19 +0100)]
app-chooser-button: rename GtkAppChooserComboBox -> GtkAppChooserButton

13 years agoMake GtkTreeView tell the column about expand space instead of just assigning column...
Tristan Van Berkom [Mon, 29 Nov 2010 09:04:47 +0000 (18:04 +0900)]
Make GtkTreeView tell the column about expand space instead of just assigning column->width.

Also modified the api to open up the way for treeview to tell the column
about how much of its size is really used to render the area.

13 years agoFix GtkCellAreaBox to not paint a focus rectangle while a cell is currently being...
Tristan Van Berkom [Mon, 29 Nov 2010 07:49:34 +0000 (16:49 +0900)]
Fix GtkCellAreaBox to not paint a focus rectangle while a cell is currently being edited.

13 years agoChanged cell area/renderer "can_focus" semantics to "is_activatable" across the board.
Tristan Van Berkom [Mon, 29 Nov 2010 07:29:09 +0000 (16:29 +0900)]
Changed cell area/renderer "can_focus" semantics to "is_activatable" across the board.

This is because focus in treeviews can be given to cells that cannot do anything
with activation (for better keynav), so we dissociate the concept of cell
activation and focusing.

13 years agoFixed GtkCellAreaBox->focus() to not give focus to cells that are siblings of an...
Tristan Van Berkom [Mon, 29 Nov 2010 07:20:01 +0000 (16:20 +0900)]
Fixed GtkCellAreaBox->focus() to not give focus to cells that are siblings of an intentional focus cell.

13 years agoMake focus rectangle painted on all cells if the GtkCellAreaBox is requested to paint...
Tristan Van Berkom [Mon, 29 Nov 2010 07:14:46 +0000 (16:14 +0900)]
Make focus rectangle painted on all cells if the GtkCellAreaBox is requested to paint focus and none of the cells are activatable.

13 years agoMake editable widget fill the entire inner area of the edited cell
Tristan Van Berkom [Mon, 29 Nov 2010 07:03:53 +0000 (16:03 +0900)]
Make editable widget fill the entire inner area of the edited cell
instead of just the aligned focus area to match previous behaviour

13 years agoFixed GtkCellLayout to pack cells via the api when parsing builder input.
Tristan Van Berkom [Wed, 24 Nov 2010 09:28:31 +0000 (18:28 +0900)]
Fixed GtkCellLayout to pack cells via the api when parsing builder input.

13 years agoAllow minimal implementation of GtkCellLayout
Tristan Van Berkom [Mon, 22 Nov 2010 07:27:52 +0000 (16:27 +0900)]
Allow minimal implementation of GtkCellLayout

Since GtkCellArea delegate does all the work, cell layout widgets
who use a GtkCellArea internally only have to implement the _get_area()
method, this just reduces code to forward the calls over the the internal
cell area.

13 years agoRemoved cell_layout implementation details in GtkTreeViewColumn in favor of cell_layo...
Tristan Van Berkom [Mon, 29 Nov 2010 04:01:49 +0000 (13:01 +0900)]
Removed cell_layout implementation details in GtkTreeViewColumn in favor of cell_layout->get_area

13 years agoTouching up GtkCellArea docs.
Tristan Van Berkom [Mon, 29 Nov 2010 02:02:29 +0000 (11:02 +0900)]
Touching up GtkCellArea docs.

13 years agoAdded initial detailed docs for GtkCellArea.
Tristan Van Berkom [Mon, 29 Nov 2010 01:54:07 +0000 (10:54 +0900)]
Added initial detailed docs for GtkCellArea.

13 years agoRemoved gtk_cell_area_context_sum_preferred_width/height apis.
Tristan Van Berkom [Sun, 28 Nov 2010 09:52:08 +0000 (18:52 +0900)]
Removed gtk_cell_area_context_sum_preferred_width/height apis.

Turns out theres not much reason to do this in a separate api,
now we just sum up the sizes of aligned cell groups in GtkCellAreaContextBox
when pushing the group size.

13 years agoRemove obsolete code line
Kristian Rietveld [Sun, 28 Nov 2010 20:14:33 +0000 (21:14 +0100)]
Remove obsolete code line

13 years agoAdd temporary hack to get the row heights right
Kristian Rietveld [Sun, 28 Nov 2010 20:02:36 +0000 (21:02 +0100)]
Add temporary hack to get the row heights right

13 years agoRemove unused retrieval of focus-line-width
Kristian Rietveld [Sun, 28 Nov 2010 19:40:59 +0000 (20:40 +0100)]
Remove unused retrieval of focus-line-width

13 years agovalidate_row no longer uses focus-line-width
Kristian Rietveld [Sun, 28 Nov 2010 19:39:51 +0000 (20:39 +0100)]
validate_row no longer uses focus-line-width

13 years agorgba: Invert the arguments and improve bindability
Emmanuele Bassi [Sun, 28 Nov 2010 18:49:47 +0000 (18:49 +0000)]
rgba: Invert the arguments and improve bindability

Since parse() is a method of the Gdk.RGBA class, the GdkRGBA pointer
should be the first argument, and the string the second one, to allow a
more natural binding.

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

13 years agoFirst go at migrating GtkTreeView(Column) to GtkCellArea
Kristian Rietveld [Sun, 28 Nov 2010 18:01:49 +0000 (19:01 +0100)]
First go at migrating GtkTreeView(Column) to GtkCellArea

This is still very much a work in progress, but it renders and more or
less works.  I will be fixing up the details in the very near future.

Important: this commit breaks ABI as it modifies the GtkTreeViewColumn
structure in gtktreeviewcolumn.h.  This is a sealed structure that needs
to be moved to an internal header file, most likely gtktreeprivate.h.

13 years agoAllow non-editable cells to receive focus
Kristian Rietveld [Sun, 28 Nov 2010 17:52:18 +0000 (18:52 +0100)]
Allow non-editable cells to receive focus

Slight tweak for GtkTreeView, also non-editable cells must be able to receive
focus to get all keyboard navigation right.  This will be further tweaked
to get focus siblings to work like focus cells did in GtkTreeView before
refactoring.

13 years agoAvailable extra space could be less than zero
Kristian Rietveld [Sun, 14 Nov 2010 09:43:00 +0000 (10:43 +0100)]
Available extra space could be less than zero

The allocated size, or (horizontally speaking) for-width size, can be
smaller than the sum of all minimum widths.  For example when the user
is resizing tree view columns manually.

13 years agoAvoid delays in starting applications
Matthias Clasen [Sun, 28 Nov 2010 04:12:09 +0000 (23:12 -0500)]
Avoid delays in starting applications

Only query file info once, and don't do it for non-native files, since
that may cause sync network IO.

Bug http://bugzilla.gnome.org/show_bug.cgi?id=635588

13 years agoFix recursion in the GtkIconView accessible initialization
Matthias Clasen [Sun, 28 Nov 2010 01:56:09 +0000 (20:56 -0500)]
Fix recursion in the GtkIconView accessible initialization

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

13 years agoChanged all the flush apis on GtkCellAreaContext for a single "reset" api.
Tristan Van Berkom [Sat, 27 Nov 2010 07:05:14 +0000 (16:05 +0900)]
Changed all the flush apis on GtkCellAreaContext for a single "reset" api.

13 years agoRemoving the height_for_width vfuncs on GtkCellAreaContextClass which I forgot to...
Tristan Van Berkom [Sat, 27 Nov 2010 06:40:45 +0000 (15:40 +0900)]
Removing the height_for_width vfuncs on GtkCellAreaContextClass which I forgot to remove.

13 years agoFixing GtkCellAreaBox at render time to consider height-for-width when stacked vertically
Tristan Van Berkom [Fri, 26 Nov 2010 14:41:39 +0000 (23:41 +0900)]
Fixing GtkCellAreaBox at render time to consider height-for-width when stacked vertically

Also bullet-proofing GtkCellAreaBoxContext at allocate time.

13 years agoUpdated Romanian translation
Spoiala Marian [Fri, 26 Nov 2010 14:01:41 +0000 (16:01 +0200)]
Updated Romanian translation

13 years agoUpdated Romanian translation
Lucian Adrian Grijincu [Fri, 26 Nov 2010 13:57:32 +0000 (15:57 +0200)]
Updated Romanian translation

13 years agoFixed CellAreaScaffold for new gtk_cell_area_context_allocate() api.
Tristan Van Berkom [Fri, 26 Nov 2010 12:35:53 +0000 (21:35 +0900)]
Fixed CellAreaScaffold for new gtk_cell_area_context_allocate() api.

13 years agoFinally really support rendering of cells in an unallocated context.
Tristan Van Berkom [Fri, 26 Nov 2010 12:26:24 +0000 (21:26 +0900)]
Finally really support rendering of cells in an unallocated context.

What this means is basically that a vertically oriented GtkCellAreaBox
will render cells properly even if the height is not constant for every
for of data in the said GtkCellAreaContext (i.e. the height was not allocated
by gtk_cell_area_context_allocate).

This is done completely on the fly and so is much more heavy duty
at render time (considerably slower but not visibly noticable in
lightweight views like GtkTreeMenu). Note that cell alignments
are not possible in an unallocated orientation, each row of data
individually receives only enough space to render the independant
row and no space is reserved for alignments if the size is not
a constant size across rows in the same context.

13 years agoRevert "Removed tons of api that we dont absolutely need in GtkCellAreaContext:"
Tristan Van Berkom [Fri, 26 Nov 2010 04:23:01 +0000 (13:23 +0900)]
Revert "Removed tons of api that we dont absolutely need in GtkCellAreaContext:"

This reverts commit 5f7787ab2ead2cdd11ebe17b16dd9498daaaf9c5.

13 years agoUpdated Indonesian translation
Andika Triwidada [Fri, 26 Nov 2010 05:08:00 +0000 (12:08 +0700)]
Updated Indonesian translation

13 years agodocs: Make docs build after GtkRuler removal
Bastien Nocera [Thu, 25 Nov 2010 22:42:13 +0000 (22:42 +0000)]
docs: Make docs build after GtkRuler removal

13 years agoUpdated Romanian translation
Lucian Adrian Grijincu [Thu, 25 Nov 2010 23:29:50 +0000 (01:29 +0200)]
Updated Romanian translation

13 years agoUpdated Romanian translation (remove windows line endings)
Lucian Adrian Grijincu [Thu, 25 Nov 2010 23:25:14 +0000 (01:25 +0200)]
Updated Romanian translation (remove windows line endings)

13 years agoUpdated Romanian translation
Spoiala Marian [Thu, 25 Nov 2010 23:24:15 +0000 (01:24 +0200)]
Updated Romanian translation

13 years agoUpdated Romanian translation
Spoiala Marian [Thu, 25 Nov 2010 23:22:40 +0000 (01:22 +0200)]
Updated Romanian translation

13 years agotests: fix indentation
Cosimo Cecchi [Thu, 25 Nov 2010 16:19:00 +0000 (17:19 +0100)]
tests: fix indentation

13 years agoapp-chooser-combobox: add a method to trigger the GtkAppChooserDialog
Cosimo Cecchi [Thu, 25 Nov 2010 16:17:45 +0000 (17:17 +0100)]
app-chooser-combobox: add a method to trigger the GtkAppChooserDialog

It's an optional special item in the combobox, turned off by default.

13 years agoChanged GtkCellRendererText to request less than wrap-width if the text is smaller...
Tristan Van Berkom [Fri, 19 Nov 2010 06:01:07 +0000 (15:01 +0900)]
Changed GtkCellRendererText to request less than wrap-width if the text is smaller than the wrap-width (or width-chars).

13 years agoAdded gtk_cell_renderer_get_aligned_area() and class vfunc.
Tristan Van Berkom [Thu, 25 Nov 2010 08:41:26 +0000 (17:41 +0900)]
Added gtk_cell_renderer_get_aligned_area() and class vfunc.

Since a cell renderer might use more space than the natural
size when recieving expand space it's impossible to know how
much space is actually used to render content.

Adding this virtual method to allow text renderers to implement
it, the base default method uses height-for-width apis and aligns
the cell assuming the renderer uses a fixed size.

This commit removes the similar code from gtkcellarea and
subclasses.