gnome-settings-daemon r810 - in trunk: . plugins/xrandr
- From: federico svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-settings-daemon r810 - in trunk: . plugins/xrandr
- Date: Wed, 8 Apr 2009 19:58:22 +0000 (UTC)
Author: federico
Date: Wed Apr 8 19:58:22 2009
New Revision: 810
URL: http://svn.gnome.org/viewvc/gnome-settings-daemon?rev=810&view=rev
Log:
(RANDR) - Increase timeout of confirmation dialog to 30 seconds,
to let monitors settle down and to let the user read the message.
Signed-off-by: Federico Mena Quintero <federico novell com>
Modified:
trunk/ChangeLog
trunk/plugins/xrandr/gsd-xrandr-manager.c
Modified: trunk/plugins/xrandr/gsd-xrandr-manager.c
==============================================================================
--- trunk/plugins/xrandr/gsd-xrandr-manager.c (original)
+++ trunk/plugins/xrandr/gsd-xrandr-manager.c Wed Apr 8 19:58:22 2009
@@ -67,6 +67,11 @@
#define VIDEO_KEYSYM "XF86Display"
+/* Number of seconds that the confirmation dialog will last before it resets the
+ * RANDR configuration to its old state.
+ */
+#define CONFIRMATION_DIALOG_SECONDS 30
+
/* name of the icon files (gsd-xrandr.svg, etc.) */
#define GSD_XRANDR_ICON_NAME "gsd-xrandr"
@@ -248,7 +253,9 @@
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_NONE,
_("Does the display look OK?"));
- timeout.countdown = 15;
+
+ timeout.countdown = CONFIRMATION_DIALOG_SECONDS;
+
print_countdown_text (&timeout);
gtk_dialog_add_button (GTK_DIALOG (timeout.dialog), _("_Restore Previous Configuration"), GTK_RESPONSE_CANCEL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]