aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-shell-component-utils.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-10-14 01:28:42 +0800
committerDan Winship <danw@src.gnome.org>2001-10-14 01:28:42 +0800
commite3ab855984902fdc48f3e8703e2f30c005a214b2 (patch)
tree132f9912a63b584f1dec19e61b31997fe8bb5c1f /shell/evolution-shell-component-utils.h
parentb59df6df3099258b0cbbd06f1d030a61b655dc0c (diff)
downloadgsoc2013-evolution-e3ab855984902fdc48f3e8703e2f30c005a214b2.tar.gz
gsoc2013-evolution-e3ab855984902fdc48f3e8703e2f30c005a214b2.tar.zst
gsoc2013-evolution-e3ab855984902fdc48f3e8703e2f30c005a214b2.zip
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
Diffstat (limited to 'shell/evolution-shell-component-utils.h')
-rw-r--r--shell/evolution-shell-component-utils.h4
1 files changed, 4 insertions, 0 deletions
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 <bonobo/bonobo-ui-component.h>
+#include <gtk/gtkwindow.h>
#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 */