randr - Don't pop up a redundant error dialog

In case the RANDR configuration cannot be applied, gnome-settings-daemon already
pops up an error message.  So, don't pop up another error of our own.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
This commit is contained in:
Federico Mena Quintero 2009-06-15 15:11:01 -05:00
parent cc048e3e94
commit 4aac93ce2d

View file

@ -1842,7 +1842,9 @@ apply_configuration_returned_cb (DBusGProxy *proxy,
begin_version1_apply_configuration (app);
return;
} else {
error_message (app, _("Could not apply the selected configuration"), error->message);
/* We don't pop up an error message; gnome-settings-daemon already does that
* in case the selected RANDR configuration could not be applied.
*/
g_error_free (error);
}
}