After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 322735 - "current-value" property missing on GtkRadioAction
"current-value" property missing on GtkRadioAction
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Class: UIManager / Actions
2.8.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
: 323007 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-11-29 09:12 UTC by Jorn Baayen
Modified: 2011-02-04 16:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (3.87 KB, patch)
2005-11-29 09:14 UTC, Jorn Baayen
none Details | Review
Updated patch (4.12 KB, patch)
2005-11-30 10:05 UTC, Jorn Baayen
none Details | Review

Description Jorn Baayen 2005-11-29 09:12:49 UTC
GtkRadioAction has a gtk_radio_action_get_current_value() function, but no
"current-value" property. Having a RW property would be most useful.
Comment 1 Jorn Baayen 2005-11-29 09:14:02 UTC
Created attachment 55363 [details] [review]
Proposed patch
Comment 2 Jorn Baayen 2005-11-29 16:22:55 UTC
If this patch is accepted, I would also like to add a value/current-value API to
GtkRadioButton - just let me know in time before the api freeze if it would be
considered.
Comment 3 Matthias Clasen 2005-11-29 16:30:01 UTC
Yes, it would be considered, and such a patch would be appreciated.
Comment 4 Jorn Baayen 2005-11-30 10:05:43 UTC
Created attachment 55411 [details] [review]
Updated patch

Adds a warning to gtk_radio_action_set_current_value() if the requested value
was not found.

Also note that I filed a patch to GtkRadioButton as bug #322819.
Comment 5 Matthias Clasen 2005-12-06 16:27:50 UTC
*** Bug 323007 has been marked as a duplicate of this bug. ***
Comment 6 Matthias Clasen 2006-01-16 19:07:22 UTC
2006-01-16  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols: 
	* gtk/gtkradioaction.[hc]: Add a current-value property and a
	setter for it.  (#322735, Jorn Baayen)