From: Nickolay V. Shmyrev Date: Thu, 14 Sep 2006 08:34:35 +0000 (+0000) Subject: Reopen should reload document. Fixes bug 327951. X-Git-Tag: EVINCE_0_6_1~25 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=bfd0e1c1a3f9563be765a89d93abf917a5c10634;p=evince.git Reopen should reload document. Fixes bug 327951. 2006-09-14 Nickolay V. Shmyrev * shell/ev-application.c: (ev_application_open_uri_at_dest): Reopen should reload document. Fixes bug 327951. --- diff --git a/ChangeLog b/ChangeLog index a11dc7d1..d785c844 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-09-14 Nickolay V. Shmyrev + + * shell/ev-application.c: (ev_application_open_uri_at_dest): + + Reopen should reload document. Fixes + bug 327951. + 2006-09-07 Nickolay V. Shmyrev * configure.ac: diff --git a/shell/ev-application.c b/shell/ev-application.c index 88a2ee98..386b86ee 100644 --- a/shell/ev-application.c +++ b/shell/ev-application.c @@ -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 ()); }