<menuitem name="ViewZoomInMenu" action="ViewZoomIn"/>
<menuitem name="ViewZoomInMenu" action="ViewZoomIn"/>
<menuitem name="ViewZoomOutMenu" action="ViewZoomOut"/>
- <menuitem name="ViewNormalSizeMenu" action="ViewNormalSize"/>
<menuitem name="ViewBestFitMenu" action="ViewBestFit"/>
<menuitem name="ViewPageWidthMenu" action="ViewPageWidth"/>
<separator/>
has_pages && ev_view_can_zoom_in (view));
set_action_sensitive (ev_window, "ViewZoomOut",
has_pages && ev_view_can_zoom_out (view));
- set_action_sensitive (ev_window, "ViewNormalSize", has_pages);
set_action_sensitive (ev_window, "ViewBestFit", has_pages);
set_action_sensitive (ev_window, "ViewPageWidth", has_pages);
set_action_sensitive (ev_window, "ViewReload", has_pages);
update_action_sensitivity (ev_window);
}
-static void
-ev_window_cmd_view_normal_size (GtkAction *action, EvWindow *ev_window)
-{
- g_return_if_fail (EV_IS_WINDOW (ev_window));
-
- ev_view_zoom_normal (EV_VIEW (ev_window->priv->view));
- update_action_sensitivity (ev_window);
-}
-
static void
ev_window_cmd_go_previous_page (GtkAction *action, EvWindow *ev_window)
{
{ "ViewZoomOut", GTK_STOCK_ZOOM_OUT, NULL, "<control>minus",
N_("Shrink the document"),
G_CALLBACK (ev_window_cmd_view_zoom_out) },
- { "ViewNormalSize", GTK_STOCK_ZOOM_100, NULL, "<control>0",
- N_("Reset the zoom level to the default value"),
- G_CALLBACK (ev_window_cmd_view_normal_size) },
{ "ViewReload", GTK_STOCK_REFRESH, N_("_Reload"), "<control>R",
N_("Reload the document"),
G_CALLBACK (ev_window_cmd_view_reload) },