summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@novell.com>2009-03-19 17:53:57 +0000
committerFederico Mena Quintero <federico@src.gnome.org>2009-03-19 17:53:57 +0000
commit7219cdd637e92d3b3d9500ffb4fb924f85b9692d (patch)
tree7f9defc6ea3556e125794703035e99f398a94b02 /plugins
parentb714ad4dd5c45cca6b1ad052aaf81d6b2d8df9e5 (diff)
downloadgnome-settings-daemon-7219cdd637e92d3b3d9500ffb4fb924f85b9692d.tar.gz
(RANDR) Revert the use of g_timeout_add_seconds() as it doesn't make sense for user-visible second ticks
Signed-off-by: Federico Mena Quintero <federico@novell.com> svn path=/trunk/; revision=794
Diffstat (limited to 'plugins')
-rw-r--r--plugins/xrandr/gsd-xrandr-manager.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/xrandr/gsd-xrandr-manager.c b/plugins/xrandr/gsd-xrandr-manager.c
index 22513d0e..f8c35e3f 100644
--- a/plugins/xrandr/gsd-xrandr-manager.c
+++ b/plugins/xrandr/gsd-xrandr-manager.c
@@ -212,7 +212,7 @@ user_says_things_are_ok (GsdXrandrManager *manager)
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_NONE,
_("Does the display look OK?"));
- timeout.countdown = 10;
+ timeout.countdown = 15;
print_countdown_text (&timeout);
gtk_dialog_add_button (GTK_DIALOG (timeout.dialog), _("_Restore Previous Configuration"), GTK_RESPONSE_CANCEL);
@@ -224,9 +224,10 @@ user_says_things_are_ok (GsdXrandrManager *manager)
&timeout);
gtk_widget_show_all (timeout.dialog);
- timeout_id = g_timeout_add_seconds (1,
- timeout_cb,
- &timeout);
+ /* We don't use g_timeout_add_seconds() since we actually care that the user sees "real" second ticks in the dialog */
+ timeout_id = g_timeout_add (1000,
+ timeout_cb,
+ &timeout);
gtk_main ();
gtk_widget_destroy (timeout.dialog);