0, (GdkModifierType)0, page_first_cb, (gpointer)view_data);
gnome_ui_handler_toolbar_new_item (uih, "/Prev",
N_("Previous"), N_("View the previous page"), -1,
- GNOME_UI_HANDLER_PIXMAP_STOCK, GNOME_STOCK_PIXMAP_FIRST,
+ GNOME_UI_HANDLER_PIXMAP_STOCK, GNOME_STOCK_PIXMAP_BACK,
0, (GdkModifierType)0, page_prev_cb, (gpointer)view_data);
gnome_ui_handler_toolbar_new_item (uih, "/Next",
N_("Next"), N_("View the next page"), -1,
- GNOME_UI_HANDLER_PIXMAP_STOCK, GNOME_STOCK_PIXMAP_FIRST,
+ GNOME_UI_HANDLER_PIXMAP_STOCK, GNOME_STOCK_PIXMAP_FORWARD,
0, (GdkModifierType)0, page_next_cb, (gpointer)view_data);
gnome_ui_handler_toolbar_new_item (uih, "/Last",
N_("Last"), N_("View the last page"), -1,
- GNOME_UI_HANDLER_PIXMAP_STOCK, GNOME_STOCK_PIXMAP_FIRST,
+ GNOME_UI_HANDLER_PIXMAP_STOCK, GNOME_STOCK_PIXMAP_LAST,
0, (GdkModifierType)0, page_last_cb, (gpointer)view_data);
}
* Launch the component.
*/
object_server = gnome_object_activate_with_goad_id (
- NULL, component_goad_id, 0, NULL);
+ NULL, component_goad_id, GOAD_ACTIVATE_SHLIB, NULL);
if (object_server == NULL)
return NULL;
GnomeUIHandlerToolbarItem *toolbar;
gnome_ui_handler_create_toolbar (container->uih, "pdf");
- toolbar = gnome_ui_handler_toolbar_parse_uiinfo_list (container->uih, container_toolbar);
+ toolbar = gnome_ui_handler_toolbar_parse_uiinfo_list_with_data (container_toolbar, container);
gnome_ui_handler_toolbar_add_list (container->uih, "/", toolbar);
gnome_ui_handler_toolbar_free_list (toolbar);
}