Rename 'window-unfocused' to 'backdrop'

'window-unfocused' is too long and mentions "focus" which is historically
loaded with the meaning "input focus".

'backdrop' isn't generally used in GUI speak and still conveys the state the
widgets in an unfocused or background toplevel window are in.
This commit is contained in:
Rui Matos
2012-01-05 17:21:03 +00:00
committed by Benjamin Otte
parent 7a00a95508
commit e9adaabc5e
5 changed files with 12 additions and 12 deletions

View File

@ -3783,8 +3783,8 @@ gtk_widget_unparent (GtkWidget *widget)
gtk_widget_queue_compute_expand (old_parent);
}
/* Unset window-unfocused since we are no longer inside a toplevel window */
gtk_widget_unset_state_flags (widget, GTK_STATE_FLAG_WINDOW_UNFOCUSED);
/* Unset BACKDROP since we are no longer inside a toplevel window */
gtk_widget_unset_state_flags (widget, GTK_STATE_FLAG_BACKDROP);
if (priv->context)
gtk_style_context_set_parent (priv->context, NULL);