[evince] [shell] Don't show the loading window when loading remote files



commit ebb9c9abdd55644e3d9c15143b436d6d08f7abca
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Wed Jun 9 15:27:59 2010 +0200

    [shell] Don't show the loading window when loading remote files
    
    We already have a progress bar in the message area.

 shell/ev-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/shell/ev-window.c b/shell/ev-window.c
index d737356..0cfbbb3 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -1857,7 +1857,6 @@ ev_window_open_uri (EvWindow       *ev_window,
 	ev_window_close_dialogs (ev_window);
 	ev_window_clear_load_job (ev_window);
 	ev_window_clear_local_uri (ev_window);
-	ev_view_set_loading (EV_VIEW (ev_window->priv->view), TRUE);
 
 	ev_window->priv->window_mode = mode;
 
@@ -1896,6 +1895,7 @@ ev_window_open_uri (EvWindow       *ev_window,
 	if (!g_file_is_native (source_file) && !ev_window->priv->local_uri) {
 		ev_window_load_file_remote (ev_window, source_file);
 	} else {
+		ev_view_set_loading (EV_VIEW (ev_window->priv->view), TRUE);
 		g_object_unref (source_file);
 		ev_job_scheduler_push_job (ev_window->priv->load_job, EV_JOB_PRIORITY_NONE);
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]