]> Pileus Git - ~andy/gtk/log
~andy/gtk
14 years agoUpdated Galician translation
Fran Diéguez [Sat, 1 May 2010 22:10:08 +0000 (00:10 +0200)]
Updated Galician translation

14 years agoUpdated Galician translation
Fran Diéguez [Sat, 1 May 2010 22:10:08 +0000 (00:10 +0200)]
Updated Galician translation

14 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Sat, 1 May 2010 15:06:26 +0000 (17:06 +0200)]
Updated Norwegian bokmål translation

14 years agoAdd gtk_extended_layout_get_desired_size() to gtk.symbols
Javier Jardón [Sat, 1 May 2010 14:04:51 +0000 (16:04 +0200)]
Add gtk_extended_layout_get_desired_size() to gtk.symbols

14 years agoFix some compilation warnings
Javier Jardón [Sat, 1 May 2010 01:52:03 +0000 (03:52 +0200)]
Fix some compilation warnings

14 years agoMerge branch 'native-layout-incubator'
Matthias Clasen [Fri, 30 Apr 2010 21:56:50 +0000 (17:56 -0400)]
Merge branch 'native-layout-incubator'

Conflicts:
configure.in
docs/reference/gtk/tmpl/gtkaction.sgml
docs/reference/gtk/tmpl/gtkbuilder.sgml
gdk/directfb/gdkkeys-directfb.c
gdk/gdk.symbols
gdk/x11/gdkwindow-x11.c
gtk/gtkalignment.c
gtk/gtkbox.c
gtk/gtkbutton.c
gtk/gtkcelleditable.c
gtk/gtkfilechooser.c
gtk/gtkframe.c
gtk/gtkinvisible.c
gtk/gtklabel.c
gtk/gtkscrolledwindow.c
gtk/gtksearchenginetracker.c
gtk/gtktextview.c
gtk/gtktoolbutton.c
gtk/gtktooltip.c
gtk/gtkviewport.c
gtk/gtkwidget.c
gtk/gtkwindow.c
po-properties/ca@valencia.po
po-properties/es.po
po-properties/kn.po
po-properties/mr.po
po/ca.po
po/ca@valencia.po
po/el.po
po/es.po
po/gl.po
po/id.po
po/kn.po
po/lv.po
po/mr.po
po/th.po

14 years agoUpdated Spanish translation
Jorge González [Fri, 30 Apr 2010 05:56:20 +0000 (07:56 +0200)]
Updated Spanish translation

14 years agoUpdated Spanish translation
Jorge González [Fri, 30 Apr 2010 05:56:15 +0000 (07:56 +0200)]
Updated Spanish translation

14 years agoSet an appropriate title on the folder selection dialog for print-to-file
Matthias Clasen [Thu, 29 Apr 2010 21:14:14 +0000 (17:14 -0400)]
Set an appropriate title on the folder selection dialog for print-to-file

14 years agoGet symbolic colors for statusicons from systray
Matthias Clasen [Thu, 29 Apr 2010 03:00:37 +0000 (23:00 -0400)]
Get symbolic colors for statusicons from systray

Uses the X property _NET_SYSTEM_TRAY_COLORS.

14 years agoAdd a way to set symbolic colors per-widget
Matthias Clasen [Thu, 29 Apr 2010 02:59:03 +0000 (22:59 -0400)]
Add a way to set symbolic colors per-widget

The new function, gtk_widget_modify_symbolic_color() is similar
in spirit to the other gtk_widget_modify_ functions.

14 years agoMove documentation to inline comments: GtkBuilder
Tadej Borovšak [Sun, 18 Apr 2010 14:13:11 +0000 (16:13 +0200)]
Move documentation to inline comments: GtkBuilder

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

Signed-off-by: Javier Jardón <jjardon@gnome.org>
14 years agoMove documentation to inline comments: GtkButtonBox
Tadej Borovšak [Wed, 28 Apr 2010 16:11:23 +0000 (18:11 +0200)]
Move documentation to inline comments: GtkButtonBox

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

Signed-off-by: Javier Jardón <jjardon@gnome.org>
14 years agoMove documentation to inline comments: GtkBox
Tadej Borovšak [Tue, 9 Mar 2010 22:51:03 +0000 (23:51 +0100)]
Move documentation to inline comments: GtkBox

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

Signed-off-by: Javier Jardón <jjardon@gnome.org>
14 years agoFix <ulink> tag in previous commit
Javier Jardón [Wed, 28 Apr 2010 16:40:29 +0000 (18:40 +0200)]
Fix <ulink> tag in previous commit

14 years agoFix the build
Matthias Clasen [Wed, 28 Apr 2010 15:17:30 +0000 (11:17 -0400)]
Fix the build

14 years agoFormatting tweaks
Matthias Clasen [Wed, 28 Apr 2010 15:15:15 +0000 (11:15 -0400)]
Formatting tweaks

14 years agoMake the docs build
Matthias Clasen [Wed, 28 Apr 2010 15:10:34 +0000 (11:10 -0400)]
Make the docs build

Grr

14 years agoSome doc and formatting tweaks
Matthias Clasen [Wed, 28 Apr 2010 14:04:21 +0000 (10:04 -0400)]
Some doc and formatting tweaks

14 years agoSupport 'symbolic' themed icons
Matthias Clasen [Mon, 26 Apr 2010 10:55:34 +0000 (11:55 +0100)]
Support 'symbolic' themed icons

Add gtk_icon_info_load_symbolic() to load symbolic icons, and
theme their background/foreground colours to match the
colours used in the theme.

Adds the gtk_icon_info_load_symbolic() function, explicit
support in GtkImage and GtkCellRendererPixbuf, and test cases
for those 2 widgets.

With help from Bastien Nocera <hadess@hadess.net>

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

14 years agoAdd some documentation about width-chars and max-width-chars
Matthias Clasen [Wed, 28 Apr 2010 04:48:15 +0000 (00:48 -0400)]
Add some documentation about width-chars and max-width-chars

Explain how these properties determine the width of ellipsized
and wrapped labels.

14 years agoMove documentation to inline comments: GtkHBox
Javier Jardón [Wed, 28 Apr 2010 02:29:41 +0000 (04:29 +0200)]
Move documentation to inline comments: GtkHBox

14 years agoMove documentation to inline comments: Testing utilities
Javier Jardón [Wed, 28 Apr 2010 02:20:10 +0000 (04:20 +0200)]
Move documentation to inline comments: Testing utilities

14 years agoAllow NULL as 'icon_widget' in gtk_tool_button_new()
Javier Jardón [Tue, 27 Apr 2010 01:26:11 +0000 (03:26 +0200)]
Allow NULL as 'icon_widget' in gtk_tool_button_new()

This completes the patch of
commit b8ec73a52fe3dc3012db78f45bfcafa2cb3e14ae

14 years agoDeprecate GTK_WIDGET_*SET_FLAGS() macro
Javier Jardón [Thu, 25 Mar 2010 18:46:01 +0000 (19:46 +0100)]
Deprecate GTK_WIDGET_*SET_FLAGS() macro

The macro GTK_WIDGET_SET_FLAGS(w, GTK_VISIBLE) should
still be fixed internally.

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

14 years agoAdd accessors for GtkTextView adjustments
Mirsal Ennaime [Sat, 17 Apr 2010 21:49:49 +0000 (23:49 +0200)]
Add accessors for GtkTextView adjustments

GtkTextView is missing accessors for its sealed hadjustment
and vadjustment members.
This patch adds gtk_text_view_get_hadjustment() and
gtk_text_view_get_vadjustment() to GtkTextView

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

14 years agoAdd a GtkExtendedLayout implementation for GtkFrame
Matthias Clasen [Mon, 26 Apr 2010 22:07:42 +0000 (18:07 -0400)]
Add a GtkExtendedLayout implementation for GtkFrame

14 years agoDon't use GTK_WIDGET_*SET_FLAGS (wid, GTK_HAS_DEFAULT)
Javier Jardón [Wed, 14 Apr 2010 12:18:25 +0000 (14:18 +0200)]
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_HAS_DEFAULT)

Introduce internal _gtk_widget_set_has_default() for this

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

14 years agoDon't use GTK_WIDGET_*SET_FLAGS (wid, GTK_TOPLEVEL)
Javier Jardón [Mon, 12 Apr 2010 15:48:09 +0000 (17:48 +0200)]
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_TOPLEVEL)

Introduce internal _gtk_widget_set_is_toplvel() for this

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

14 years agoDon't use GTK_WIDGET_*SET_FLAGS (wid, GTK_HAS_GRAB)
Javier Jardón [Sun, 11 Apr 2010 21:19:42 +0000 (23:19 +0200)]
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_HAS_GRAB)

Introduce internal _gtk_widget_set_has_grab() for this

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

14 years agoOnly a GtkMisc widget should be passed to gtk_tool_button_new()
Javier Jardón [Mon, 26 Apr 2010 18:05:51 +0000 (20:05 +0200)]
Only a GtkMisc widget should be passed to gtk_tool_button_new()

Reported by Hernando Torque here:
https://bugzilla.gnome.org/show_bug.cgi?id=616851

14 years agotree-view: Use gtk_widget_send_focus_change()
Emmanuele Bassi [Mon, 12 Apr 2010 13:54:41 +0000 (14:54 +0100)]
tree-view: Use gtk_widget_send_focus_change()

Remove the second (and last) internal user of the GTK_HAS_FOCUS flag.

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

14 years agowindow: Use gtk_widget_send_focus_change()
Emmanuele Bassi [Mon, 12 Apr 2010 13:53:50 +0000 (14:53 +0100)]
window: Use gtk_widget_send_focus_change()

Remove the original user of the GTK_HAS_FOCUS flags.

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

14 years agowidget: Add send_focus_change()
Emmanuele Bassi [Mon, 12 Apr 2010 13:49:21 +0000 (14:49 +0100)]
widget: Add send_focus_change()

Currently the only users of the GTK_HAS_FOCUS flag are setting it
before sending a focus change event. This is normally needed by
GtkWindow, but there are widgets that require controlling the focus
of widgets that are semantically their children even though they are
parented to another top-level. Case in point: the quick search entry
for GtkTreeView.

Over the years people have been hacking the focus change out of
gtkwindow.c and gtktreeview.c, thus leaking the direct access of the
GTK_HAS_FOCUS flag.

The simplest way to avoid that is to add a function that sends the
focus change event and controls the setting of the flag, thus removing
the need for external widgets to do the same.

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

14 years agoTiny documentation tweak
Matthias Clasen [Mon, 26 Apr 2010 11:34:01 +0000 (07:34 -0400)]
Tiny documentation tweak

14 years agoImplement action interface for gailcell.
Mike Gorse [Mon, 26 Apr 2010 08:12:59 +0000 (16:12 +0800)]
Implement action interface for gailcell.

Bug #580889.

14 years agoMake testellipsize work for rotating non-ellipsized labels
Matthias Clasen [Mon, 26 Apr 2010 00:58:36 +0000 (20:58 -0400)]
Make testellipsize work for rotating non-ellipsized labels

14 years agoRefer to GtkExtendedLayout from the container docs
Matthias Clasen [Sun, 25 Apr 2010 21:32:44 +0000 (17:32 -0400)]
Refer to GtkExtendedLayout from the container docs

14 years agoTreat h and v boxes the same way
Matthias Clasen [Sun, 25 Apr 2010 21:12:15 +0000 (17:12 -0400)]
Treat h and v boxes the same way

...we've got the money!

14 years agoFix a few typos
Matthias Clasen [Sun, 25 Apr 2010 20:59:13 +0000 (16:59 -0400)]
Fix a few typos

14 years agoDon't add padding to a pointer
Matthias Clasen [Sun, 25 Apr 2010 20:45:21 +0000 (16:45 -0400)]
Don't add padding to a pointer

14 years agoFix a regression in RTL flipping
Matthias Clasen [Sun, 25 Apr 2010 20:23:01 +0000 (16:23 -0400)]
Fix a regression in RTL flipping

This was only showing up with pack-end packing in horizontal boxes.
The RTL flipping has to be applied after moving the reference point
to the left edge of the child.

14 years agoUpdated Latvian translation.
Peteris Krisjanis [Sat, 24 Apr 2010 18:40:15 +0000 (21:40 +0300)]
Updated Latvian translation.

14 years agoAdded Kazakh translation
Baurzhan Muftakhidinov [Sat, 24 Apr 2010 10:29:42 +0000 (12:29 +0200)]
Added Kazakh translation

14 years agoFormatting and typo fixes
Matthias Clasen [Sat, 24 Apr 2010 01:52:55 +0000 (21:52 -0400)]
Formatting and typo fixes

14 years agoAdd heuristic for primary monitor
Florian Scandella [Fri, 9 Apr 2010 15:22:51 +0000 (17:22 +0200)]
Add heuristic for primary monitor

Use the first monitor returned by RANDR as primary, if primary
is not set and no LVDS is found.

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

14 years agoUpdated Catalan (Valencian) translation
Carles Ferrando [Thu, 22 Apr 2010 22:15:03 +0000 (00:15 +0200)]
Updated Catalan (Valencian) translation

14 years agoUpdated Catalan (Valencian) translation
Carles Ferrando [Thu, 22 Apr 2010 22:08:03 +0000 (00:08 +0200)]
Updated Catalan (Valencian) translation

14 years ago[docs] Fix a typo in the offscreen windows docs
Torsten Schönfeld [Thu, 22 Apr 2010 20:52:58 +0000 (22:52 +0200)]
[docs] Fix a typo in the offscreen windows docs

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

Signed-off-by: Javier Jardón <jjardon@gnome.org>
14 years agoRevert "Make GTK+ Tutorial gnome-doc-utils compliant"
Claude Paroz [Thu, 22 Apr 2010 19:11:53 +0000 (21:11 +0200)]
Revert "Make GTK+ Tutorial gnome-doc-utils compliant"

This reverts commit 4d1cf25080c2208936580667df544e14638db06f.
GTK+ maintainers should first approved the gnome-doc-utils dependency
before this migration.

14 years agoMake GTK+ Tutorial gnome-doc-utils compliant
Claude Paroz [Wed, 10 Mar 2010 21:12:06 +0000 (22:12 +0100)]
Make GTK+ Tutorial gnome-doc-utils compliant

14 years agoUpdate the gdk_event_free docs
Matthias Clasen [Thu, 22 Apr 2010 18:13:35 +0000 (14:13 -0400)]
Update the gdk_event_free docs

Bug 616118

14 years agoUpdated Kannada translations
Shankar Prasad [Thu, 22 Apr 2010 11:03:24 +0000 (16:33 +0530)]
Updated Kannada translations

14 years agoUpdated Kannada translations
Shankar Prasad [Thu, 22 Apr 2010 11:00:17 +0000 (16:30 +0530)]
Updated Kannada translations

14 years agoNotify ATK_STATE_ENABLED change when ATK_STATE_SENSITIVE changes if necessary.
Mike Gorse [Thu, 22 Apr 2010 04:24:41 +0000 (12:24 +0800)]
Notify ATK_STATE_ENABLED change when ATK_STATE_SENSITIVE changes if necessary.

Bug #615999.

14 years agoRenamed testextendedlayout2 --> extendedlayoutexample, also removed testextendedlayou...
Tristan Van Berkom [Wed, 21 Apr 2010 08:11:55 +0000 (04:11 -0400)]
Renamed testextendedlayout2 --> extendedlayoutexample, also removed testextendedlayout and letting it reside for now in native-layout branch.

14 years agoMega commit backing out everything from the native-layout branch that
Tristan Van Berkom [Wed, 21 Apr 2010 07:42:23 +0000 (03:42 -0400)]
Mega commit backing out everything from the native-layout branch that
is not ready for integration

This commit makes the native-layout branch into a reasonable
patch applicable to git master, it pulls out GtkCellRenderer
support, ComboBox support, the Plug/Socket api is also not ready
and is pulled out.

14 years agoAdded documentation, implemented gtk_extended_layout_is_height_for_width() where...
Tristan Van Berkom [Wed, 21 Apr 2010 05:32:55 +0000 (01:32 -0400)]
Added documentation, implemented gtk_extended_layout_is_height_for_width() where needed.

14 years agoMove documentation to inline comments: GtkMessageDialog
Javier Jardón [Fri, 18 Dec 2009 04:00:56 +0000 (05:00 +0100)]
Move documentation to inline comments: GtkMessageDialog

Also, add a note about GTK_BUTTONS_OK, GTK_BUTTONS_YES_NO
and GTK_BUTTONS_OK_CANCEL are discouraged by the GNOME HIG.

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

14 years agoImproved legibility of the label parameters test.
Tristan Van Berkom [Wed, 21 Apr 2010 02:02:48 +0000 (22:02 -0400)]
Improved legibility of the label parameters test.

14 years agoAdded test reflecting the usage of GtkLabel parameters.
Tristan Van Berkom [Wed, 21 Apr 2010 00:44:24 +0000 (20:44 -0400)]
Added test reflecting the usage of GtkLabel parameters.

14 years agoUpdated test for api change.
Tristan Van Berkom [Wed, 21 Apr 2010 00:44:11 +0000 (20:44 -0400)]
Updated test for api change.

14 years agoUpdating test for api change.
Tristan Van Berkom [Wed, 21 Apr 2010 00:43:41 +0000 (20:43 -0400)]
Updating test for api change.

14 years agoMake sure not to base the minimum size on "max-width-chars", only the natural size.
Tristan Van Berkom [Wed, 21 Apr 2010 00:30:10 +0000 (20:30 -0400)]
Make sure not to base the minimum size on "max-width-chars", only the natural size.

14 years agoAdded test to demonstrate width-for-height labels.
Tristan Van Berkom [Tue, 20 Apr 2010 22:58:44 +0000 (18:58 -0400)]
Added test to demonstrate width-for-height labels.

14 years agoFixed GtkLabel to wrap correctly and report width-for-height correctly when vertical.
Tristan Van Berkom [Tue, 20 Apr 2010 22:54:50 +0000 (18:54 -0400)]
Fixed GtkLabel to wrap correctly and report width-for-height correctly when vertical.

14 years agoSlightly reduced extended layout cache size, updated authors/copywrite year.
Tristan Van Berkom [Tue, 20 Apr 2010 22:53:54 +0000 (18:53 -0400)]
Slightly reduced extended layout cache size, updated authors/copywrite year.

14 years agoFixed GtkLabel to include GtkMisc padding when calculating height-for-width.
Tristan Van Berkom [Tue, 20 Apr 2010 19:23:13 +0000 (15:23 -0400)]
Fixed GtkLabel to include GtkMisc padding when calculating height-for-width.

14 years agoRestore layout in get_desired_size() after guessing a wrap width
Tristan Van Berkom [Tue, 20 Apr 2010 18:16:13 +0000 (14:16 -0400)]
Restore layout in get_desired_size() after guessing a wrap width

This fixes the label layout in cases where gtk_widget_size_request()
is called on a label without a following size_allocate(), for instance
when a button state changes.

14 years agoVarious updates to follow new gtk_extended_layout_get_desired_size added argument.
Tristan Van Berkom [Tue, 20 Apr 2010 05:30:56 +0000 (01:30 -0400)]
Various updates to follow new gtk_extended_layout_get_desired_size added argument.

14 years agoFixed missing return from get_desired_width/height in GtkViewport (causing testgtk...
Tristan Van Berkom [Tue, 20 Apr 2010 05:27:32 +0000 (01:27 -0400)]
Fixed missing return from get_desired_width/height in GtkViewport (causing testgtk to have a small width).

14 years agoSplit up width and height queries so that they make more sense (extended-layout)
Tristan Van Berkom [Tue, 20 Apr 2010 05:26:58 +0000 (01:26 -0400)]
Split up width and height queries so that they make more sense (extended-layout)

14 years agoAdded request_natural argument to get_desired_size()
Tristan Van Berkom [Tue, 20 Apr 2010 05:24:51 +0000 (01:24 -0400)]
Added request_natural argument to get_desired_size()

Currently get_desired_size() is more of an emulation of
gtk_widget_size_request() for the minimum size as it bases the
contextual request on the minimum preferred size; this argument
lets you do the request with the natural preferred size as well.

14 years agoGtkAlignment now tries to allocate natural size to the child if available and does...
Tristan Van Berkom [Tue, 20 Apr 2010 05:22:31 +0000 (01:22 -0400)]
GtkAlignment now tries to allocate natural size to the child if available and does the height-for-width calculation depending on allocation.

14 years agoFixed acces of child->requisition; call gtk_widget_get_child_requisition instead.
Tristan Van Berkom [Tue, 20 Apr 2010 04:33:20 +0000 (00:33 -0400)]
Fixed acces of child->requisition; call gtk_widget_get_child_requisition instead.

This fixes squished pathbar issue (as access to ->requisition is really
not supported anymore).

14 years agoReduced natural request padding for rotating ellipsizing labels
Tristan Van Berkom [Tue, 20 Apr 2010 01:50:55 +0000 (21:50 -0400)]
Reduced natural request padding for rotating ellipsizing labels

After fixing height requests this works much smoother, although in
some places pango seems to ellipsize a rotated label when given
the width it requested.

14 years agoFixed another caching bug in extended layout
Tristan Van Berkom [Tue, 20 Apr 2010 01:37:44 +0000 (21:37 -0400)]
Fixed another caching bug in extended layout

Was confusing width/height REQUEST_NEEDED flags, this caused
the volumebutton test to not re-request the height properly
when changing orientations.

14 years agoUnconditionally return the height for the minimum width when doing get_desired_height()
Tristan Van Berkom [Tue, 20 Apr 2010 00:43:19 +0000 (20:43 -0400)]
Unconditionally return the height for the minimum width when doing get_desired_height()

This is the correct support for the opposing orientation for widgets
that support height-for-width, in an interface that was realized as
width-for-height, a height-for-width supporting widget should return
the minimum height for the minimum width when the initial
get_desired_height() is run.

14 years agoFixed height-for-width cache
Tristan Van Berkom [Tue, 20 Apr 2010 00:41:23 +0000 (20:41 -0400)]
Fixed height-for-width cache

Fixed the cache to be cleared when flagged with WIDTH/HEIGHT_REQUEST_NEEDED.
This error was causing some widgets to not be sized correctly (the stock and
icon browser in the demo for instance).

14 years agoRemoving old comments in gtkbin.c
Tristan Van Berkom [Tue, 20 Apr 2010 00:40:04 +0000 (20:40 -0400)]
Removing old comments in gtkbin.c

14 years agoFixed computation of sizegroups when no explicit request is set.
Tristan Van Berkom [Mon, 19 Apr 2010 18:46:28 +0000 (14:46 -0400)]
Fixed computation of sizegroups when no explicit request is set.

My previous commit to GtkSizeGroup made sure that when
gtk_widget_set_size_request() is set on a widget, it will be
taken into account when computing the widget's own request,
this commit fixes the case where there is no explicit size
request.

14 years agoFixed testellipsize
Tristan Van Berkom [Mon, 19 Apr 2010 18:04:20 +0000 (14:04 -0400)]
Fixed testellipsize

14 years agoUse the proper screen in _gdk_windowing_get_shape_for_mask()
Claudio Saavedra [Thu, 15 Apr 2010 21:12:29 +0000 (00:12 +0300)]
Use the proper screen in _gdk_windowing_get_shape_for_mask()

Bug 615853 - BadMatch when pressing keyboard volume keys while pointer in
             secondary X screen

_gdk_windowing_get_shape_for_mask() is using the default screen, not taking
into account that its GdkBitmap could have been created for a different one,
causing BadMatch errors.

14 years agoBump version to 2.21.0
Javier Jardón [Mon, 19 Apr 2010 15:46:51 +0000 (17:46 +0200)]
Bump version to 2.21.0

14 years agoAdded testextendedlayout2.c to tests.
Tristan Van Berkom [Mon, 19 Apr 2010 05:07:20 +0000 (01:07 -0400)]
Added testextendedlayout2.c to tests.

This test is a collection of builder files which demonstrate the
added features of natural sizes and height-for-width geometry; so
far it only contains 3 cases, more to come...

14 years agoFixed GtkSpinner to request 12x12 at init time instead of at expose time.
Tristan Van Berkom [Mon, 19 Apr 2010 00:46:30 +0000 (20:46 -0400)]
Fixed GtkSpinner to request 12x12 at init time instead of at expose time.

This should not change the space taken by the spinner when hidden,
and it should only set the minimum size not the actual size (i.e. code
in place was conditionally setting it if not allocated 12x12, which
doesnt really make sense)... This fixes spinners showing at the correct size
in gtk-demo.

14 years agoFixed _gtk_size_group_bump_requisition() to properly handle values specified by gtk_w...
Tristan Van Berkom [Mon, 19 Apr 2010 00:45:42 +0000 (20:45 -0400)]
Fixed _gtk_size_group_bump_requisition() to properly handle values specified by gtk_widget_set_size_request()

14 years agoAdded GTK_DEBUG_EXTENDED_LAYOUT flag and use that for debuggin in gtkextendedlayout.c
Tristan Van Berkom [Mon, 19 Apr 2010 00:14:13 +0000 (20:14 -0400)]
Added GTK_DEBUG_EXTENDED_LAYOUT flag and use that for debuggin in gtkextendedlayout.c

14 years agoImplemented GtkExtendedLayout on GtkWindow.
Tristan Van Berkom [Mon, 19 Apr 2010 00:13:46 +0000 (20:13 -0400)]
Implemented GtkExtendedLayout on GtkWindow.

14 years agoFixed GtkAssistant to not access ->requisition of children directly.
Tristan Van Berkom [Mon, 19 Apr 2010 00:11:43 +0000 (20:11 -0400)]
Fixed GtkAssistant to not access ->requisition of children directly.

This was causing a 0 height action-area because a GtkBox does not
generally update ->requisition with anything useful
(call gtk_widget_get_child_requisition() here instead).

14 years agoFurther fixed base outputs of GtkLabel desired geometries.
Tristan Van Berkom [Sun, 18 Apr 2010 22:13:56 +0000 (18:13 -0400)]
Further fixed base outputs of GtkLabel desired geometries.

Now (when wrapping), if no "width-chars" was specified for a minimum
width, default to the width guessed by gtk_label_ensure_layout(), small
specified widths will otherwise result in very large height requests.

14 years agoFixed bug in gtk_extended_get_desired_size().
Tristan Van Berkom [Sun, 18 Apr 2010 22:12:30 +0000 (18:12 -0400)]
Fixed bug in gtk_extended_get_desired_size().

gtk_extended_get_desired_size() was mixing up orientations based
on the preference, considering ditching the preference anyway.
Also slightly enhanced debug prints.

14 years agoCompute the collective heights for the width of a horizontal box.
Tristan Van Berkom [Sun, 18 Apr 2010 22:09:40 +0000 (18:09 -0400)]
Compute the collective heights for the width of a horizontal box.

Introduce an algorithm to allocate children some virtual widths based on
their base widths returned by ->get_desired_width(), then return the
collective desired heights for each or thier virtually allocated width.

This will only work in the horizontal orientation.

14 years agoFixed extended layout test to compile without the gtk_label_set_fullsize() api.
Tristan Van Berkom [Sun, 18 Apr 2010 21:56:58 +0000 (17:56 -0400)]
Fixed extended layout test to compile without the gtk_label_set_fullsize() api.

14 years agoInclude <X11/Xutil.h> in gdkdnd-x11.c
Javier Jardón [Thu, 8 Apr 2010 15:46:45 +0000 (17:46 +0200)]
Include <X11/Xutil.h> in gdkdnd-x11.c

Otherwise, inclusion of shape.h triggers an unknown type error
for Region, and compile fails, at least in Solaris.

Reported by Philip Brown here:
https://bugzilla.gnome.org/show_bug.cgi?id=615028

14 years ago[docs] Move documentation to inline comments: GailTextUtil and GailMisc
Javier Jardón [Sun, 18 Apr 2010 17:40:17 +0000 (19:40 +0200)]
[docs] Move documentation to inline comments: GailTextUtil and GailMisc

14 years ago[docs] Move documentation to inline comments: GtkArrow
Javier Jardón [Sun, 18 Apr 2010 15:48:02 +0000 (17:48 +0200)]
[docs] Move documentation to inline comments: GtkArrow

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

Signed-off-by: Javier Jardón <jjardon@gnome.org>
14 years ago[docs] Move documentation to inline comments: GtkVButtonBox
Steven Harms [Thu, 4 Mar 2010 18:31:44 +0000 (13:31 -0500)]
[docs] Move documentation to inline comments: GtkVButtonBox

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

Signed-off-by: Javier Jardón <jjardon@gnome.org>
14 years ago[docs] Move documentation to inline comments: GtkAssistant
Tadej Borovšak [Fri, 5 Mar 2010 22:44:31 +0000 (23:44 +0100)]
[docs] Move documentation to inline comments: GtkAssistant

Signed-off-by: Javier Jardón <jjardon@gnome.org>
14 years ago[docs] Move documentation to inline comments: GtkBuildable
Tadej Borovšak [Thu, 4 Mar 2010 16:09:36 +0000 (17:09 +0100)]
[docs] Move documentation to inline comments: GtkBuildable

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

Signed-off-by: Javier Jardón <jjardon@gnome.org>