]> www.fi.muni.cz Git - evince.git/commitdiff
Increase timeout to hide full screen popup. Bug 316123.
authorWouter Bolsterlee <uws+gnome@xs4all.nl>
Tue, 13 Sep 2005 14:07:47 +0000 (14:07 +0000)
committerNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Tue, 13 Sep 2005 14:07:47 +0000 (14:07 +0000)
2005-09-13  Wouter Bolsterlee  <uws+gnome@xs4all.nl>

* shell/ev-window.c: (fullscreen_set_timeout):

Increase timeout to hide full screen popup. Bug
316123.

ChangeLog
shell/ev-window.c

index 807f3aa98fa37a2d07d3c395680c3f9a8b1d0031..6d7eaeca39dda7cf71748853eb26820fef8c2f71 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-09-13  Wouter Bolsterlee  <uws+gnome@xs4all.nl>
+
+       * shell/ev-window.c: (fullscreen_set_timeout):
+       
+       Increase timeout to hide full screen popup. Bug 
+       316123. 
+
 2005-09-13  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
 
        * data/evince.schemas.in:
index ed10ada925e39e679118339076b929a5da196539..5449ab932cd1bed283fe5e6d072db6e00806d1d3 100644 (file)
@@ -153,6 +153,8 @@ static const GtkTargetEntry ev_drop_types[] = {
 #define GCONF_LOCKDOWN_SAVE         "/desktop/gnome/lockdown/disable_save_to_disk"
 #define GCONF_LOCKDOWN_PRINT        "/desktop/gnome/lockdown/disable_printing"
 
+#define FULLSCREEN_TIMEOUT 5 * 1000
+
 #define SIDEBAR_DEFAULT_SIZE    132
 #define LINKS_SIDEBAR_ID "links"
 #define THUMBNAILS_SIDEBAR_ID "thumbnails"
@@ -1701,7 +1703,7 @@ fullscreen_set_timeout (EvWindow *window)
                g_source_destroy (window->priv->fullscreen_timeout_source);
        }
 
-       source = g_timeout_source_new (1000);
+       source = g_timeout_source_new (FULLSCREEN_TIMEOUT);
        g_source_set_callback (source, fullscreen_timeout_cb, window, NULL);
        g_source_attach (source, NULL);
        window->priv->fullscreen_timeout_source = source;