aboutsummaryrefslogtreecommitdiffstats
path: root/executive-summary/evolution-services/executive-summary-component-client.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/evolution-services/executive-summary-component-client.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/evolution-services/executive-summary-component-client.c')
-rw-r--r--executive-summary/evolution-services/executive-summary-component-client.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/executive-summary/evolution-services/executive-summary-component-client.c b/executive-summary/evolution-services/executive-summary-component-client.c
index b33a876450..7702785692 100644
--- a/executive-summary/evolution-services/executive-summary-component-client.c
+++ b/executive-summary/evolution-services/executive-summary-component-client.c
@@ -199,7 +199,8 @@ executive_summary_component_client_supports (ExecutiveSummaryComponentClient *cl
Bonobo_Control
executive_summary_component_client_create_bonobo_view (ExecutiveSummaryComponentClient *client,
- char **title)
+ char **title,
+ char **icon)
{
Bonobo_Control control;
Evolution_SummaryComponent component;
@@ -211,7 +212,7 @@ executive_summary_component_client_create_bonobo_view (ExecutiveSummaryComponent
CORBA_exception_init (&ev);
component = bonobo_object_corba_objref (BONOBO_OBJECT (client));
- control = Evolution_SummaryComponent_create_bonobo_view (component, title, &ev);
+ control = Evolution_SummaryComponent_create_bonobo_view (component, title, icon, &ev);
if (ev._major != CORBA_NO_EXCEPTION) {
g_warning ("Error creating view");
@@ -226,7 +227,8 @@ executive_summary_component_client_create_bonobo_view (ExecutiveSummaryComponent
char *
executive_summary_component_client_create_html_view (ExecutiveSummaryComponentClient *client,
- char **title)
+ char **title,
+ char **icon)
{
CORBA_char *ret_html;
Evolution_SummaryComponent component;
@@ -239,9 +241,8 @@ executive_summary_component_client_create_html_view (ExecutiveSummaryComponentCl
CORBA_exception_init (&ev);
component = bonobo_object_corba_objref (BONOBO_OBJECT (client));
- g_print ("Here\n");
- ret_html = Evolution_SummaryComponent_create_html_view (component, title, &ev);
- g_print ("Not here - %s\n", ret_html);
+ ret_html = Evolution_SummaryComponent_create_html_view (component, title, icon, &ev);
+
if (ev._major != CORBA_NO_EXCEPTION) {
g_warning ("Error creating HTML view");
CORBA_exception_free (&ev);