aboutsummaryrefslogtreecommitdiffstats
path: root/executive-summary/component/e-summary-factory.c
diff options
context:
space:
mode:
authorIain Holmes <iain@helixcode.com>2000-10-10 08:03:25 +0800
committerIain Holmes <iain@src.gnome.org>2000-10-10 08:03:25 +0800
commit31f7447f6cef8ea08fd323e4d56e76a1999431a5 (patch)
tree944d4845786e9d96b764291b431c0a0f78392770 /executive-summary/component/e-summary-factory.c
parent24926636e65df9318a9e688f885b34fccdb77cd6 (diff)
downloadgsoc2013-evolution-31f7447f6cef8ea08fd323e4d56e76a1999431a5.tar
gsoc2013-evolution-31f7447f6cef8ea08fd323e4d56e76a1999431a5.tar.gz
gsoc2013-evolution-31f7447f6cef8ea08fd323e4d56e76a1999431a5.tar.bz2
gsoc2013-evolution-31f7447f6cef8ea08fd323e4d56e76a1999431a5.tar.lz
gsoc2013-evolution-31f7447f6cef8ea08fd323e4d56e76a1999431a5.tar.xz
gsoc2013-evolution-31f7447f6cef8ea08fd323e4d56e76a1999431a5.tar.zst
gsoc2013-evolution-31f7447f6cef8ea08fd323e4d56e76a1999431a5.zip
Added an icon parameter to the create_view methods.
2000-10-09 Iain Holmes <iain@helixcode.com> * 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
Diffstat (limited to 'executive-summary/component/e-summary-factory.c')
-rw-r--r--executive-summary/component/e-summary-factory.c5
1 files changed, 3 insertions, 2 deletions
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);