Set draw-as-radio to TRUE
svn path=/trunk/; revision=22217
This commit is contained in:
@ -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>
|
2009-01-24 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
Revert changes for bug 567124. Instead of trying to avoid
|
Revert changes for bug 567124. Instead of trying to avoid
|
||||||
|
|||||||
@ -176,6 +176,8 @@ gtk_radio_action_init (GtkRadioAction *action)
|
|||||||
action->private_data = GTK_RADIO_ACTION_GET_PRIVATE (action);
|
action->private_data = GTK_RADIO_ACTION_GET_PRIVATE (action);
|
||||||
action->private_data->group = g_slist_prepend (NULL, action);
|
action->private_data->group = g_slist_prepend (NULL, action);
|
||||||
action->private_data->value = 0;
|
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);
|
g_return_val_if_fail (name != NULL, NULL);
|
||||||
|
|
||||||
return g_object_new (GTK_TYPE_RADIO_ACTION,
|
return g_object_new (GTK_TYPE_RADIO_ACTION,
|
||||||
"name", name,
|
"name", name,
|
||||||
"label", label,
|
"label", label,
|
||||||
"tooltip", tooltip,
|
"tooltip", tooltip,
|
||||||
"stock-id", stock_id,
|
"stock-id", stock_id,
|
||||||
"value", value,
|
"value", value,
|
||||||
NULL);
|
NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user