Commit Graph

23461 Commits

Author SHA1 Message Date
Alexander Larsson
5f62ba2693 Convert the "group" property on radio widgets to a GtkRadioGroup
The various radio widgets all have a write-only "group" property
of the same type as the widget. This let you set the group in a
bindable way, but is quite weird when we have a real GtkRadioGroup
object.

We convert this to a real read-write GtkRadioGroup type. Additionally
we make it CONSTRUCT and use it in the various constructors instead
of hand-rolling the set_group call.
2010-11-05 14:25:12 +01:00
Alexander Larsson
f03481c4f2 Remove gtk_radio_..._join_group methods that were added for 3.0
These versions were added in order to have a bindable version of
_set_group, but with GtkRadioGroup _set_group is already bindable,
so we remove it.
2010-11-05 14:25:12 +01:00
Alexander Larsson
5324e62ab0 Deprecate gtk_radio_..._from_widget
The _from_widget versions of the radio group constructors are really
only useful in e.g. bindings where the old GSList group did not bind
well. They have no use now that we have a proper GtkRagioGroup object.
2010-11-05 14:25:12 +01:00
Alexander Larsson
9631d82de8 Replace use of gtk_radio_..._from_widget with GtkRadioGroup use
The _from_widget stuff is really not needed when we have a proper
group object.
2010-11-05 14:25:12 +01:00
Alexander Larsson
8e0cb2ad30 Convert GtkRadioAction to use GtkRadioGroup 2010-11-05 14:25:12 +01:00
Alexander Larsson
67ced1e28a Convert GtkRadioMenuItem to GtkRadioGroup 2010-11-05 14:25:12 +01:00
Alexander Larsson
f26f253118 Update the general docs and examples to use GtkRadioGroup 2010-11-05 14:25:12 +01:00
Alexander Larsson
ac63f89763 Convert GtkRadioButton and GtkRadioToolButton to use GtkRadioGroup
This changes the API by changing the GSList group in the constructors
and the _set_group/_get_group calls to a GtkRadioGroup.
2010-11-05 14:25:12 +01:00
Alexander Larsson
ba3590f770 Add GtkRadioGroup 2010-11-05 14:25:12 +01:00
Murray Cumming
d1829ecd74 GtkWidget/GtkContainer: Slight fixes to geometry-management docs.
Replace it's with its in several places.
Replace some , with .
Replace some ; with .
Fix some plurals.
Other minor corrections.
2010-11-04 16:37:54 +01:00
Murray Cumming
897a333744 GtkWidget: Document the size-request signal deprecation.
Hopefully my text is correct.
2010-11-04 16:11:25 +01:00
Matthias Clasen
10f0e991da Handle empty button boxes gracefully
https://bugzilla.gnome.org/show_bug.cgi?id=633915
2010-11-03 23:01:09 -04:00
Christian Dywan
1c14268687 Only show Desktop in file chooser button if there is one
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=632894
2010-11-03 19:19:19 +01:00
Owen W. Taylor
5daab52661 Switch to CSS interpretation of rgb() and rgba() colors
CSS3 defines a somewhat odd syntax for rgba() colors - the rgb values
are integers from 0 to 255 or percentages and the a value is a
float from 0 to 1. To avoid increasing the total amount of confusion
in the world, make gdk_rgb_to_string() and gdk_rgb_parse() follow
this syntax rather than using floats for r, g, and b.

https://bugzilla.gnome.org/show_bug.cgi?id=633762
2010-11-03 13:41:45 -04:00
Ryan Lortie
fbdcf193ae gtktoolitemgroup: don't use GTimeSpec
Use gint64 time instead.
2010-11-03 08:26:27 -04:00
Javier Jardón
1f1e7c37ad Revert "Move the /*< private >*/ at the correct position"
All the object structures is opaque
This reverts commit c59ca4f6b9.
2010-11-03 03:38:06 +01:00
Javier Jardón
4e0a50db9e docs: Improve cross-referencing on GtkGrid docs 2010-11-03 03:31:57 +01:00
Javier Jardón
dab457fbc6 docs: Fix gtk-doc markup in GtkWidget docs 2010-11-03 03:31:46 +01:00
Takayuki KUSANO
b80322ba93 Updated Japanese translation 2010-11-03 09:02:19 +09:00
Murray Cumming
764f627733 Fix tiny documetnation typo. 2010-11-02 10:43:42 +01:00
Murray Cumming
d3aa89fc11 GtkScrollable: Improve the documentation text. 2010-11-02 09:23:24 +01:00
Murray Cumming
c4714662b1 Removed a trailing enum comma. 2010-11-01 23:09:21 +01:00
Ignacio Casal Quinteiro
d8d73163fd Normalize boolean. 2010-11-01 22:59:21 +01:00
Ignacio Casal Quinteiro
37dc91f012 Do not use gbooleans to save some bits. 2010-11-01 22:43:35 +01:00
Matthias Clasen
586c5f0bb0 Bump version 2010-11-01 13:13:04 -04:00
Paolo Borelli
5dddcb1fa5 Get rid of unused shaped_object list in _GtkTextLineDisplay
https://bugzilla.gnome.org/show_bug.cgi?id=631076
2010-11-01 17:09:58 +01:00
Matthias Clasen
450b1f4322 Update NEWS 2010-11-01 11:44:30 -04:00
Matthias Clasen
69c7213ba9 GtkToolitemGroup: Use monotonic clock for animation timeout 2010-11-01 11:43:15 -04:00
Ignacio Casal Quinteiro
1fad7eaf85 Add caseless unit tests for textiter. 2010-11-01 15:21:53 +01:00
Ignacio Casal Quinteiro
2f98a1c8b3 Add case insensitive to GtkTextIter. Fixes bug #61852.
This code has been taken from GtkSourceView so also kudos to Paolo Maggi
and Paolo Borelli for helping with this patch.
2010-11-01 15:21:48 +01:00
Paolo Borelli
42910194a9 Fix backward search bug exposed by the unit test
When searching with multiple lines first_line_start/end were initialized
to the last line start/end iters
2010-11-01 15:21:43 +01:00
Ignacio Casal Quinteiro
be703155aa Add unit tests for textiter. 2010-11-01 15:21:39 +01:00
Matthias Clasen
9ff207bd25 Avoid exporting an extra symbol 2010-11-01 09:17:21 -04:00
Matthias Clasen
816f08872a Fix make check 2010-11-01 09:17:21 -04:00
Paolo Borelli
c59ca4f6b9 Move the /*< private >*/ at the correct position 2010-11-01 14:15:03 +01:00
Matthias Clasen
8eee2f9bce NEWS for 2.91.3 2010-11-01 08:14:19 -04:00
Ivar Smolin
b2ff82d0a3 [l10n] Updated Estonian translation 2010-11-01 08:19:38 +02:00
Matthias Clasen
750a9f3225 Fix a typo 2010-10-31 22:16:41 -04:00
Matthias Clasen
a3f19ddae8 Mention actions in the libunique migration guide 2010-10-31 22:14:53 -04:00
Matthias Clasen
54a5e37136 Fix interaction between scrolling menus and automatic mnemonics
https://bugzilla.gnome.org/show_bug.cgi?id=612611
2010-10-31 15:53:07 -04:00
Michael Natterer
d1a58b78be gtk: remove all border_width handling from the button box
and let GtkContainer do the job; fixes doubled border widths. GtkBox
did already delegate border handling to Gtkcontainer, which interacted
badly with a subclass that didn't.
2010-10-31 20:16:19 +01:00
Michael Natterer
476b4c248c gtk: fix automatic width of spin buttons which have no width in chars set 2010-10-31 20:03:55 +01:00
Michael Natterer
240e1b4b59 tests: missed these two gtk_box_new() which sneaked in by rebasing... 2010-10-31 20:01:28 +01:00
Matthias Clasen
c6a379dc62 GtkAssistant: Mention custom pages in the introduction 2010-10-31 14:34:35 -04:00
Michael Natterer
3a0afce509 gtk: remove "gboolean homogeneous" from gtk_box_new()
Because it's FALSE in virtually all use cases.
2010-10-31 19:22:28 +01:00
Matthias Clasen
81d7dd0774 Add content size test for scrolled window 2010-10-31 14:10:41 -04:00
Bastien Nocera
cbbfd7beb6 GtkAssistant: Add custom page type
The custom page type will not show any buttons by default, and
it is left to the application to add its own buttons instead.

The _next_page() and _previous_page() functions can be used
for the back and forward buttons used by the application.

https://bugzilla.gnome.org/show_bug.cgi?id=576498
2010-10-31 16:08:46 +00:00
Bastien Nocera
b5abd10940 GtkAssistant: Add more details about buttons shown
Add more documentation about which buttons will be shown for which
type of GtkAssistant page.

https://bugzilla.gnome.org/show_bug.cgi?id=576498
2010-10-31 16:08:46 +00:00
Matthias Clasen
c5e9526faf Improve GtkAssistant docs 2010-10-30 21:30:23 -04:00
Martin Nordholts
cdda7f9151 Handle NULL intp in test_increment_intp()
Support passing NULL for &int to gtk_test_display_button_window() so
we can use that function also when we are not interested in counting
clicks.
2010-10-31 00:49:38 +02:00