Tristan Van Berkom
fe257d23dd
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).
2010-04-18 20:11:43 -04:00
Tristan Van Berkom
3cbd9e9313
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.
2010-04-18 18:13:56 -04:00
Tristan Van Berkom
da318411dc
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.
2010-04-18 18:12:30 -04:00
Tristan Van Berkom
35cc52f418
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.
2010-04-18 18:09:40 -04:00
Tristan Van Berkom
33039c1452
Fixed extended layout test to compile without the gtk_label_set_fullsize() api.
2010-04-18 17:56:58 -04:00
Javier Jardón
791962e06d
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
2010-04-18 19:54:22 +02:00
Javier Jardón
72d5cc8cd5
[docs] Move documentation to inline comments: GailTextUtil and GailMisc
2010-04-18 19:46:29 +02:00
Javier Jardón
508ed4bbab
[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>
2010-04-18 17:59:53 +02:00
Steven Harms
c3d5faf6b7
[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>
2010-04-18 08:54:40 +02:00
Tadej Borovšak
5f767e2c48
[docs] Move documentation to inline comments: GtkAssistant
...
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-04-18 08:02:03 +02:00
Tadej Borovšak
51e32fe67a
[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>
2010-04-18 05:27:22 +02:00
Tadej Borovšak
8e8d302d10
[docs] Move documentation to inline comments: GtkBin
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=612351
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-04-18 05:19:21 +02:00
Tadej Borovšak
4c0cf04688
[docs] Move documentation to inline comments: GtkAspectFrame
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611958
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-04-18 05:08:36 +02:00
Tristan Van Berkom
e8a365ce36
Restore functionality where ellipsizing label *minimum* size grows to "max-char-width".
2010-04-17 23:06:24 -04:00
Tadej Borovšak
b802be45b3
[docs] Move documentation to inline comments: GtkAlignment.
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611956
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-04-18 04:55:27 +02:00
Tristan Van Berkom
64e23c42bd
Fixed GtkLabel reported minimum and natural sizes
...
This commit makes GtkLabel use "max-width-chars" to determine the
desired natural width for wrapping labels as well as all around refactoring
the initially reported values in get_desired_width/height. this also
addresses some issues with rotating ellipsizing text.
2010-04-17 22:54:29 -04:00
Tristan Van Berkom
8b57ad94c0
Now gtk_extended_layout_get_desired_size() returns a minimum for minimum in the minimum requisition and a natural for minimum in the natural.
2010-04-17 22:52:27 -04:00
Tristan Van Berkom
b30445c927
Make GtkWindow use the generic smallest size for the requisition again
2010-04-17 22:51:35 -04:00
Tristan Van Berkom
19ff8cb026
Fixed test to call the extended layout api instead of consulting ->requisition
2010-04-17 22:50:12 -04:00
Tadej Borovšak
b6a6142556
[docs] Move documentation to inline comments: GtkAction
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611952
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-04-18 04:49:51 +02:00
Steven Harms
6cdeb370a1
[docs] Move documentation to inline comments: GtkVRuler
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611656
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-04-18 03:55:22 +02:00
Steven Harms
25b6994cba
[docs] Move documentation to inline comments: GtkVolumeButton
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611827
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-04-18 03:48:26 +02:00
Steven Harms
7693026e44
[docs] Move documentation to inline comments: GtkViewport
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611829x
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-04-18 03:29:16 +02:00
Steven Harms
75ffa7983a
[docs] Move documentation to inline comments: GtkVPaned
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611634
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-04-18 02:57:30 +02:00
Patrick Bernaud
6a9b72525a
[docs] Move documentation to inline comments: GtkSocket
...
https://bugzilla.gnome.org/show_bug.cgi?id=611707
2010-04-18 02:36:04 +02:00
Tristan Van Berkom
9247bc8d6d
Fixed GtkExtendedLayout interaction with sizegroups plus cleanups
...
Fixed GtkExtendedLayout to interact with sizegroups, "size-requsts"
and caching the values all in the same code segment.
Migrated the cache code to be internal to gtkextendedlayout.c
2010-04-17 01:51:10 -04:00
Tristan Van Berkom
46fe9c3f00
Disabling natural sizes of labels.
...
Since GtkLabel is returning invalid natural sizes for now,
in order to test regressions well with the new width-for-height
api, I've temporarily disabled the natural values.
2010-04-17 01:49:35 -04:00
Tristan Van Berkom
caba7992b8
Refactored GtkSizeGroup for GtkExtendedLayout
...
Removed _gtk_size_group_compute_requisition and
_gtk_size_group_get_child_requisition in favor of
_gtk_size_group_bump_requisition() which does an orientation
contextual computation of the size group and returns the
collective value in one pass.
2010-04-17 01:46:59 -04:00
Stefan Kost
d4a159d488
[docs] improve docs for gtk_accelerator_parse().
...
Link to gdk_keyval_from_name() and give example for non obvious accelerator
strings.
2010-04-16 21:30:47 +03:00
Javier Jardón
edfcc3dd41
[docs] Fix GtkWidget and GtkFileChooser documentation
...
gtk-doc version >= 1.14 is more strict, It produces valid xml
if the source is valid.
2010-04-15 22:58:39 +02:00
Javier Jardón
06f66c185a
Fix compilation warning: set a default case in switchs
2010-04-15 21:10:32 +02:00
Javier Jardón
8cde95bc5f
Fix compilation warning: remove unused variable
2010-04-15 16:19:42 +02:00
Andika Triwidada
6680266093
Updated Indonesian translation
2010-04-15 20:32:58 +07:00
Michael Natterer
9cac8f23d5
gdk: remove convert_coords_to_child()
...
and use the new public gdk_window_coords_from_parent().
2010-04-15 13:16:17 +02:00
Michael Natterer
878cde53d0
gdk: use gdk_window_is_offscreen() instead of checking manually
2010-04-15 13:08:47 +02:00
Michael Natterer
ece97b2359
Bug 615162 - Fix tooltips on offscreen widgets
...
Fix the "widget under pointer" logic and keyboard tooltip positioning
to do the right thing on offscreen widgets.
2010-04-15 13:03:43 +02:00
Michael Natterer
fdf936b5ad
gtk: fixes for offscreen widgets
...
Fix gtk_widget_translate_coordinates() and
_gtk_widget_synthesize_crossing() so they work in hierarchies with
offscreen widgets.
2010-04-15 13:02:04 +02:00
Michael Natterer
5a52d2a2f0
gdk: add API to convert coords between parent and child windows
...
which also works for offscreen windows and their embedder.
Also add gdk_window_get_effective_parent() and
gdk_window_get_effective_toplevel() which are offscreen aware.
2010-04-15 12:59:44 +02:00
Tristan Van Berkom
8432f54c51
Added _gtk_size_group_bump_requisition()
...
Added a function to update sizegroups in multiple passes, this
way the width and height can be updated in the sizegroups after
querying the extended layout implementor for these.
Implemented this in GtkExtendedLayout, sizegroups should be working reasonably now.
2010-04-14 18:07:27 -04:00
Sandeep Shedmake
615f91dadd
Updated Marathi Translations
2010-04-14 17:51:16 +05:30
Sandeep Shedmake
9990b14d1a
Updated Marathi Translations
2010-04-14 15:53:53 +05:30
Vincent Untz
9b34203cb6
No accessor for GtkAccessible.widget
...
Add gtk_accessible_get_widget().
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=612509
2010-04-14 03:49:26 +02:00
Javier Jardón
7dcb7ec357
[docs] Fix gtk_button_box_set_child_size() documentation
...
Changing these variables is not supported anymore and can
only be set through the theme.
2010-04-13 21:23:14 +02:00
Martyn Russell
100ecea239
Fixed build failure for gtkorientable
2010-04-13 11:22:45 +01:00
Martyn Russell
72c51a5a6a
tracker-search-engine: Fixed whitespace issues and copyright/authors
2010-04-13 11:13:58 +01:00
Martyn Russell
f5781b42cf
tracker-search-engine: Improve search query to order by rank and title
2010-04-13 11:13:58 +01:00
Martyn Russell
f6c1d54b3f
tracker-search-engine: Fixed 0.7/0.8 issues and add 0.9 cases
2010-04-13 11:13:58 +01:00
Javier Jardón
af0a7aea5f
Use G_DEFINE_INTERFACE macro in gtkbuildable
...
https://bugzilla.gnome.org/show_bug.cgi?id=605186
2010-04-13 07:44:12 +02:00
Javier Jardón
9f6e03f231
Use G_DEFINE_INTERFACE macro in gtkorientable
...
https://bugzilla.gnome.org/show_bug.cgi?id=605186
2010-04-13 07:43:51 +02:00
Javier Jardón
e534897216
Use G_DEFINE_INTERFACE macro in gtkcelleditable
...
https://bugzilla.gnome.org/show_bug.cgi?id=605186
2010-04-13 07:42:34 +02:00