From: Wouter Bolsterlee Date: Tue, 13 Sep 2005 14:07:47 +0000 (+0000) Subject: Increase timeout to hide full screen popup. Bug 316123. X-Git-Tag: EVINCE_0_5_0~164 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=d618865e5e57e95cc09987ee3edb3e4fefc34b2a;p=evince.git Increase timeout to hide full screen popup. Bug 316123. 2005-09-13 Wouter Bolsterlee * shell/ev-window.c: (fullscreen_set_timeout): Increase timeout to hide full screen popup. Bug 316123. --- diff --git a/ChangeLog b/ChangeLog index 807f3aa9..6d7eaeca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-09-13 Wouter Bolsterlee + + * shell/ev-window.c: (fullscreen_set_timeout): + + Increase timeout to hide full screen popup. Bug + 316123. + 2005-09-13 Nickolay V. Shmyrev * data/evince.schemas.in: diff --git a/shell/ev-window.c b/shell/ev-window.c index ed10ada9..5449ab93 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -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;