info: don't use the fallback warning text when turning it off

Use text that says the standard experience will be attempted.
This commit is contained in:
William Jon McCann 2011-02-17 18:21:22 -05:00
parent 4f6e642670
commit ab5adcb98e
2 changed files with 11 additions and 2 deletions

View file

@ -734,9 +734,18 @@ static void
toggle_fallback_warning_label (CcInfoPanel *self,
gboolean visible)
{
GtkWidget *widget;
GtkWidget *widget;
const char *text;
widget = WID (self->priv->builder, "graphics_logout_warning_label");
if (self->priv->is_fallback)
text = _("The next login will attempt to use the standard experience.");
else
text = _("The next login will use the fallback mode intended for unsupported graphics hardware.");
gtk_label_set_text (GTK_LABEL (widget), text);
if (visible)
gtk_widget_show (widget);
else

View file

@ -757,7 +757,7 @@
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
<property name="xalign">0</property>
<property name="label">The next login will use the fallback mode intended for unsupported graphics hardware</property>
<property name="label">The next login will use the fallback mode intended for unsupported graphics hardware.</property>
<property name="wrap">True</property>
<property name="selectable">True</property>
<attributes>