]> www.fi.muni.cz Git - evince.git/commitdiff
Reopen should reload document. Fixes bug 327951.
authorNickolay V. Shmyrev <nshmyrev@yandex.ru>
Thu, 14 Sep 2006 08:34:35 +0000 (08:34 +0000)
committerNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Thu, 14 Sep 2006 08:34:35 +0000 (08:34 +0000)
2006-09-14  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>

* shell/ev-application.c: (ev_application_open_uri_at_dest):

Reopen should reload document. Fixes
bug 327951.

ChangeLog
shell/ev-application.c

index a11dc7d180cda64841ee117a946ca32a92865a9a..d785c844312bc83505ed42ab7cca969f510e11a6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-09-14  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
+
+       * shell/ev-application.c: (ev_application_open_uri_at_dest):
+       
+       Reopen should reload document. Fixes 
+       bug 327951.
+
 2006-09-07  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
 
        * configure.ac:
index 88a2ee983f331bad22ce8f1dc12d50f0860f8de1..386b86ee5ffd1df6bea82c61f6efe911472ecf56 100644 (file)
@@ -247,17 +247,11 @@ ev_application_open_uri_at_dest (EvApplication  *application,
        g_return_if_fail (uri != NULL);
 
        new_window = ev_application_get_uri_window (application, uri);
-       if (new_window != NULL) {
-               gtk_window_present_with_time (GTK_WINDOW (new_window),
-                                             timestamp);
-               if (dest)
-                       ev_window_goto_dest (new_window, dest);
-
-               return;
+       
+       if (new_window == NULL) {
+               new_window = ev_application_get_empty_window (application);
        }
 
-       new_window = ev_application_get_empty_window (application);
-
        if (new_window == NULL) {
                new_window = EV_WINDOW (ev_window_new ());
        }