Commit f266bf8e authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

reverted the change for bug #302400; it caused bug #319962 to be opened.

2005-10-31  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpmessagebox.c (gimp_message_box_init): reverted
	the change for bug #302400; it caused bug #319962 to be opened.
	Instead unset the focus chain for the message box.
parent c052ef99
2005-10-31 Sven Neumann <sven@gimp.org>
* app/widgets/gimpmessagebox.c (gimp_message_box_init): reverted
the change for bug #302400; it caused bug #319962 to be opened.
Instead unset the focus chain for the message box.
2005-10-31 Sven Neumann <sven@gimp.org>
* app/plug-in/plug-ins.c (plug_ins_init): only call the status
......
......@@ -139,12 +139,17 @@ gimp_message_box_init (GimpMessageBox *box)
gtk_box_set_spacing (GTK_BOX (box), 12);
gtk_container_set_border_width (GTK_CONTAINER (box), 12);
/* Unset the focus chain to keep the labels from being in the focus
* chain. Users of GimpMessageBox that add focusable widgets should
* either unset the focus chain or (better) explicitely set one.
*/
gtk_container_set_focus_chain (GTK_CONTAINER (box), NULL);
for (i = 0; i < 2; i++)
{
GtkWidget *label = g_object_new (GTK_TYPE_LABEL,
"wrap", TRUE,
"selectable", TRUE,
"can-focus", FALSE,
"xalign", 0.0,
"yalign", 0.5,
NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment