<toolitem name="PreviewPrint" action="PreviewPrint"/>
</toolbar>
+ <accelerator name="FileCloseWindowAccel" action="FileCloseWindow"/>
<accelerator name="SpaceAccel" action="Space"/>
<accelerator name="ReturnAccel" action="Return"/>
<accelerator name="BackSpaceAccel" action="BackSpace"/>
}
#endif
+static void
+ev_previewer_window_close (GtkAction *action,
+ EvPreviewerWindow *window)
+{
+ gtk_widget_destroy (GTK_WIDGET (window));
+}
+
static void
ev_previewer_window_previous_page (GtkAction *action,
EvPreviewerWindow *window)
#endif
static const GtkActionEntry action_entries[] = {
+ { "FileCloseWindow", GTK_STOCK_CLOSE, NULL, "<control>W",
+ NULL,
+ G_CALLBACK (ev_previewer_window_close) },
{ "GoPreviousPage", GTK_STOCK_GO_UP, N_("_Previous Page"), "<control>Page_Up",
N_("Go to the previous page"),
G_CALLBACK (ev_previewer_window_previous_page) },