From e3ab855984902fdc48f3e8703e2f30c005a214b2 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Sat, 13 Oct 2001 17:28:42 +0000 Subject: New function to try to activate a component when you know it's going to * evolution-shell-component-utils.c (e_activation_failure_dialog): New function to try to activate a component when you know it's going to fail, and then pop up a dialog explaining why it failed. svn path=/trunk/; revision=13657 --- shell/evolution-shell-component-utils.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'shell/evolution-shell-component-utils.h') diff --git a/shell/evolution-shell-component-utils.h b/shell/evolution-shell-component-utils.h index 4cf021ca64..c656927751 100644 --- a/shell/evolution-shell-component-utils.h +++ b/shell/evolution-shell-component-utils.h @@ -23,6 +23,7 @@ #define __EVOLUTION_SHELL_COMPONENT_UTILS_H__ #include +#include #ifdef __cplusplus extern "C" { @@ -41,6 +42,9 @@ typedef struct _EPixmap { /* Takes an array of pixmaps, terminated by E_PIXMAP_END, and loads into uic */ void e_pixmaps_update (BonoboUIComponent *uic, EPixmap *pixcache); +void e_activation_failure_dialog (GtkWindow *parent, const char *msg, + const char *oafiid, const char *repo_id); + #ifdef __cplusplus } #endif /* __cplusplus */ -- cgit v1.2.3