Matthias Clasen
5d5d93e624
Make the docs build
...
Grr
2010-04-28 11:10:34 -04:00
Matthias Clasen
50656c74e3
Some doc and formatting tweaks
2010-04-28 10:04:21 -04:00
Matthias Clasen
6b939d57c7
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
2010-04-28 12:02:05 +01:00
Matthias Clasen
c8dd9895e4
Add some documentation about width-chars and max-width-chars
...
Explain how these properties determine the width of ellipsized
and wrapped labels.
2010-04-28 00:48:15 -04:00
Javier Jardón
3cc9575323
Move documentation to inline comments: GtkHBox
2010-04-28 04:29:41 +02:00
Javier Jardón
a6ed128abf
Move documentation to inline comments: Testing utilities
2010-04-28 04:20:10 +02:00
Javier Jardón
1e2dabf31d
Allow NULL as 'icon_widget' in gtk_tool_button_new()
...
This completes the patch of
commit b8ec73a52f
2010-04-27 03:26:11 +02:00
Javier Jardón
d3d4cf0e84
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
2010-04-27 02:45:18 +02:00
Mirsal Ennaime
5eaff47e85
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
2010-04-27 02:23:07 +02:00
Matthias Clasen
538ec4efbb
Add a GtkExtendedLayout implementation for GtkFrame
2010-04-26 18:07:42 -04:00
Javier Jardón
41a073263a
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
2010-04-26 21:10:15 +02:00
Javier Jardón
45257e31c7
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
2010-04-26 21:07:20 +02:00
Javier Jardón
560e426f16
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
2010-04-26 21:04:51 +02:00
Javier Jardón
b8ec73a52f
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
2010-04-26 20:23:39 +02:00
Emmanuele Bassi
621b415e5b
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
2010-04-26 18:59:24 +01:00
Emmanuele Bassi
91930f86b2
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
2010-04-26 18:59:23 +01:00
Emmanuele Bassi
f04a720348
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
2010-04-26 18:59:22 +01:00
Matthias Clasen
cd45dfaa1d
Tiny documentation tweak
2010-04-26 07:34:01 -04:00
Mike Gorse
15482528a5
Implement action interface for gailcell.
...
Bug #580889 .
2010-04-26 16:12:59 +08:00
Matthias Clasen
a0b61a5a72
Make testellipsize work for rotating non-ellipsized labels
2010-04-25 20:58:36 -04:00
Matthias Clasen
36c3eaea81
Refer to GtkExtendedLayout from the container docs
2010-04-25 17:32:44 -04:00
Matthias Clasen
f285ed1348
Treat h and v boxes the same way
...
...we've got the money!
2010-04-25 17:12:15 -04:00
Matthias Clasen
ff267664b8
Fix a few typos
2010-04-25 16:59:13 -04:00
Matthias Clasen
bcbd7cce13
Don't add padding to a pointer
2010-04-25 16:45:21 -04:00
Matthias Clasen
ff0eb03201
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.
2010-04-25 16:23:01 -04:00
Peteris Krisjanis
52887f0006
Updated Latvian translation.
2010-04-24 21:40:15 +03:00
Baurzhan Muftakhidinov
1ab3fc02f9
Added Kazakh translation
2010-04-24 12:30:03 +02:00
Matthias Clasen
148ea63dba
Formatting and typo fixes
2010-04-23 21:52:55 -04:00
Florian Scandella
53fae3247c
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
2010-04-23 23:42:02 +02:00
Carles Ferrando
093722fcc8
Updated Catalan (Valencian) translation
2010-04-23 00:15:20 +02:00
Carles Ferrando
e816ab7cff
Updated Catalan (Valencian) translation
2010-04-23 00:10:32 +02:00
Torsten Schönfeld
85d166fbb9
[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>
2010-04-22 23:17:32 +02:00
Claude Paroz
5e22dd4e43
Revert "Make GTK+ Tutorial gnome-doc-utils compliant"
...
This reverts commit 4d1cf25080
.
GTK+ maintainers should first approved the gnome-doc-utils dependency
before this migration.
2010-04-22 21:11:53 +02:00
Claude Paroz
4d1cf25080
Make GTK+ Tutorial gnome-doc-utils compliant
2010-04-22 20:18:32 +02:00
Matthias Clasen
78e68d4548
Update the gdk_event_free docs
...
Bug 616118
2010-04-22 14:13:35 -04:00
Shankar Prasad
af06c64edb
Updated Kannada translations
2010-04-22 16:33:24 +05:30
Shankar Prasad
206f2bbfa8
Updated Kannada translations
2010-04-22 16:30:17 +05:30
Mike Gorse
3f78773862
Notify ATK_STATE_ENABLED change when ATK_STATE_SENSITIVE changes if necessary.
...
Bug #615999 .
2010-04-22 12:24:41 +08:00
Tristan Van Berkom
909ca43c1a
Renamed testextendedlayout2 --> extendedlayoutexample, also removed testextendedlayout and letting it reside for now in native-layout branch.
2010-04-21 04:11:55 -04:00
Tristan Van Berkom
2a5272647d
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.
2010-04-21 03:42:23 -04:00
Tristan Van Berkom
9306a73dfd
Added documentation, implemented gtk_extended_layout_is_height_for_width() where needed.
2010-04-21 01:32:55 -04:00
Javier Jardón
95fd5011c2
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
2010-04-21 05:57:29 +02:00
Tristan Van Berkom
504ec365a7
Improved legibility of the label parameters test.
2010-04-20 22:02:48 -04:00
Tristan Van Berkom
7db18bb726
Added test reflecting the usage of GtkLabel parameters.
2010-04-20 20:44:24 -04:00
Tristan Van Berkom
a3a245ab56
Updated test for api change.
2010-04-20 20:44:11 -04:00
Tristan Van Berkom
4d06d75dce
Updating test for api change.
2010-04-20 20:43:41 -04:00
Tristan Van Berkom
680d7762ba
Make sure not to base the minimum size on "max-width-chars", only the natural size.
2010-04-20 20:30:10 -04:00
Tristan Van Berkom
630357beb3
Added test to demonstrate width-for-height labels.
2010-04-20 18:58:44 -04:00
Tristan Van Berkom
dfd311497d
Fixed GtkLabel to wrap correctly and report width-for-height correctly when vertical.
2010-04-20 18:54:50 -04:00
Tristan Van Berkom
d5b31c303c
Slightly reduced extended layout cache size, updated authors/copywrite year.
2010-04-20 18:53:54 -04:00