EvLinkAction *action;
EvLinkDest *dest;
+ if (window->priv->history == NULL)
+ return;
+
if (link) {
action = g_object_ref (ev_link_get_action (link));
dest = ev_link_action_get_dest (action);
action = g_object_new (EPHY_TYPE_ZOOM_ACTION,
"name", ZOOM_CONTROL_ACTION,
"label", _("Zoom"),
- "stock_id", GTK_STOCK_ZOOM_IN,
+ "stock_id", EV_STOCK_ZOOM,
"tooltip", _("Adjust the zoom level"),
"zoom", 1.0,
NULL);