Commit 630b54e8 authored by Nickolay V. Shmyrev's avatar Nickolay V. Shmyrev Committed by Nickolay V. Shmyrev

Implement Close named action. Patch by Carlos Garcia Campos.

2006-08-28  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>

	* shell/ev-window.c: (ev_window_xfer_job_cb), (do_action_named):
	Implement Close named action. Patch by Carlos Garcia Campos.
parent 9b0445a3
2006-08-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/ev-window.c: (ev_window_xfer_job_cb), (do_action_named):
Implement Close named action. Patch by Carlos Garcia Campos.
2006-08-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/ev-pixbuf-cache.c: (copy_job_to_job_info):
......
......@@ -963,7 +963,7 @@ ev_window_xfer_job_cb (EvJobXfer *job,
if (ev_window->priv->document)
g_object_unref (ev_window->priv->document);
ev_window->priv->document = g_object_ref (document);
ev_window_setup_document (ev_window);
ev_window_add_recent (ev_window, ev_window->priv->uri);
......@@ -3831,6 +3831,8 @@ do_action_named (EvWindow *window, EvLinkAction *action)
ev_window_cmd_focus_page_selector (NULL, window);
} else if (g_ascii_strcasecmp (name, "Find") == 0) {
ev_window_cmd_edit_find (NULL, window);
} else if (g_ascii_strcasecmp (name, "Close") == 0) {
ev_window_cmd_file_close_window (NULL, window);
} else {
g_warning ("Unimplemented named action: %s, please post a "
"bug report in Evince bugzilla "
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment