aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/gal-view-minicard.h
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/widgets/gal-view-minicard.h')
-rw-r--r--addressbook/gui/widgets/gal-view-minicard.h18
1 files changed, 13 insertions, 5 deletions
diff --git a/addressbook/gui/widgets/gal-view-minicard.h b/addressbook/gui/widgets/gal-view-minicard.h
index fef98141f3..1228a4af8c 100644
--- a/addressbook/gui/widgets/gal-view-minicard.h
+++ b/addressbook/gui/widgets/gal-view-minicard.h
@@ -12,6 +12,7 @@
#include <gtk/gtkobject.h>
#include <gal/menus/gal-view.h>
+#include <e-minicard-view.h>
#define GAL_VIEW_MINICARD_TYPE (gal_view_minicard_get_type ())
#define GAL_VIEW_MINICARD(o) (GTK_CHECK_CAST ((o), GAL_VIEW_MINICARD_TYPE, GalViewMinicard))
@@ -20,9 +21,13 @@
#define GAL_IS_VIEW_MINICARD_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), GAL_VIEW_MINICARD_TYPE))
typedef struct {
- GalView base;
+ GalView base;
- char *title;
+ char *title;
+ double column_width;
+
+ EMinicardView *emv;
+ guint emv_column_width_changed_id;
} GalViewMinicard;
typedef struct {
@@ -31,8 +36,11 @@ typedef struct {
/* Standard functions */
GtkType gal_view_minicard_get_type (void);
-GalView *gal_view_minicard_new (const gchar *title);
-GalView *gal_view_minicard_construct (GalViewMinicard *view,
- const gchar *title);
+GalView *gal_view_minicard_new (const gchar *title);
+GalView *gal_view_minicard_construct (GalViewMinicard *view,
+ const gchar *title);
+void gal_view_minicard_attach (GalViewMinicard *view,
+ EMinicardView *emv);
+void gal_view_minicard_detach (GalViewMinicard *view);
#endif /* _GAL_VIEW_MINICARD_H_ */