diff options
Diffstat (limited to 'shell/e-component-view.c')
-rw-r--r-- | shell/e-component-view.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/shell/e-component-view.c b/shell/e-component-view.c index c7080d334e..51b6310ef0 100644 --- a/shell/e-component-view.c +++ b/shell/e-component-view.c @@ -137,5 +137,15 @@ e_component_view_set_title(EComponentView *ecv, const char *title) CORBA_exception_free(&ev); } +void +e_component_view_set_button_icon (EComponentView *ecv, const char *iconName) +{ + CORBA_Environment ev = { 0 }; + + /* save roundtrips, check title is the same */ + GNOME_Evolution_ShellView_setButtonIcon(ecv->shell_view, ecv->id, iconName, &ev); + CORBA_exception_free(&ev); +} + BONOBO_TYPE_FUNC_FULL (EComponentView, GNOME_Evolution_ComponentView, bonobo_object_get_type(), e_component_view) |