Set draw-as-radio to TRUE

svn path=/trunk/; revision=22217
This commit is contained in:
Matthias Clasen
2009-01-25 23:54:27 +00:00
parent 508d28eddb
commit cea413caa1
2 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,7 @@
2009-01-25 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkradioaction.c: Set draw-as-radio to TRUE.
2009-01-24 Matthias Clasen <mclasen@redhat.com>
Revert changes for bug 567124. Instead of trying to avoid

View File

@ -176,6 +176,8 @@ gtk_radio_action_init (GtkRadioAction *action)
action->private_data = GTK_RADIO_ACTION_GET_PRIVATE (action);
action->private_data->group = g_slist_prepend (NULL, action);
action->private_data->value = 0;
gtk_toggle_action_set_draw_as_radio (GTK_TOGGLE_ACTION (action), TRUE);
}
/**
@ -206,12 +208,12 @@ gtk_radio_action_new (const gchar *name,
g_return_val_if_fail (name != NULL, NULL);
return g_object_new (GTK_TYPE_RADIO_ACTION,
"name", name,
"label", label,
"tooltip", tooltip,
"stock-id", stock_id,
"value", value,
NULL);
"name", name,
"label", label,
"tooltip", tooltip,
"stock-id", stock_id,
"value", value,
NULL);
}
static void