From 4aac93ce2d9b94e34447ee21a53a327fe0341cea Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Mon, 15 Jun 2009 15:11:01 -0500 Subject: [PATCH] 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 --- capplets/display/xrandr-capplet.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/capplets/display/xrandr-capplet.c b/capplets/display/xrandr-capplet.c index 8bfc303ef..9399732f4 100644 --- a/capplets/display/xrandr-capplet.c +++ b/capplets/display/xrandr-capplet.c @@ -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); } }