Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWouter Bolsterlee <uws+gnome@xs4all.nl>2005-09-13 14:07:47 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-09-13 14:07:47 (GMT)
commitd618865e5e57e95cc09987ee3edb3e4fefc34b2a (patch)
treeadce7f5310963ccd46c5f3f71ea7a68cd59cad89
parente69764da3aebb5017080dbe59747e2983e3a9788 (diff)
Increase timeout to hide full screen popup. Bug 316123.
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.
-rw-r--r--ChangeLog7
-rw-r--r--shell/ev-window.c4
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 807f3aa..6d7eaec 100644
--- 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:
diff --git a/shell/ev-window.c b/shell/ev-window.c
index ed10ada..5449ab9 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;