[gnome-control-center] randr - Don't pop up a redundant error dialog
- From: Federico Mena Quintero <federico src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-control-center] randr - Don't pop up a redundant error dialog
- Date: Mon, 15 Jun 2009 16:37:00 -0400 (EDT)
commit 4aac93ce2d9b94e34447ee21a53a327fe0341cea
Author: Federico Mena Quintero <federico novell com>
Date: Mon Jun 15 15:11:01 2009 -0500
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>
capplets/display/xrandr-capplet.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/capplets/display/xrandr-capplet.c b/capplets/display/xrandr-capplet.c
index 8bfc303..9399732 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);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]