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:
parent
cc048e3e94
commit
4aac93ce2d
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue