From 31f7447f6cef8ea08fd323e4d56e76a1999431a5 Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Tue, 10 Oct 2000 00:03:25 +0000 Subject: Added an icon parameter to the create_view methods. 2000-10-09 Iain Holmes * idl/SummaryComponent.idl: Added an icon parameter to the create_view methods. * evolution-services/executive-summary-component.c: Implement the icon parameter. * evolution-services/executive-summary-component-client.c: Ditto * component/e-summary.c: Draw the specified icon. * component/e-summary-factory.c: Use the icon parameter svn path=/trunk/; revision=5805 --- executive-summary/component/e-summary-factory.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'executive-summary/component/e-summary-factory.c') diff --git a/executive-summary/component/e-summary-factory.c b/executive-summary/component/e-summary-factory.c index 355432f338..c0d0dd5ed4 100644 --- a/executive-summary/component/e-summary-factory.c +++ b/executive-summary/component/e-summary-factory.c @@ -190,6 +190,7 @@ embed_service (GtkWidget *widget, NULL}; char *obj_id; char *title; + char *icon; char *html; obj_id = bonobo_selector_select_id ("Select a service", @@ -207,8 +208,8 @@ embed_service (GtkWidget *widget, executive_summary_component_client_set_owner (client, summary); /* Create view */ - html = executive_summary_component_client_create_html_view (client, &title); - e_summary_add_html_service (esummary, summary, client, html, title); + html = executive_summary_component_client_create_html_view (client, &title, &icon); + e_summary_add_html_service (esummary, summary, client, html, title, icon); g_free (html); e_summary_rebuild_page (esummary); -- cgit v1.2.3