aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/gal-view-minicard.h
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2002-02-13 21:19:36 +0800
committerChris Lahey <clahey@src.gnome.org>2002-02-13 21:19:36 +0800
commit0227e26f802bf0d7d019b2197f774867fb43ff70 (patch)
tree372826b995ff40863e929380705fc1020b517ad2 /addressbook/gui/widgets/gal-view-minicard.h
parent606e024e4346d7d3851d6449cddcca514ad88046 (diff)
downloadgsoc2013-evolution-0227e26f802bf0d7d019b2197f774867fb43ff70.tar
gsoc2013-evolution-0227e26f802bf0d7d019b2197f774867fb43ff70.tar.gz
gsoc2013-evolution-0227e26f802bf0d7d019b2197f774867fb43ff70.tar.bz2
gsoc2013-evolution-0227e26f802bf0d7d019b2197f774867fb43ff70.tar.lz
gsoc2013-evolution-0227e26f802bf0d7d019b2197f774867fb43ff70.tar.xz
gsoc2013-evolution-0227e26f802bf0d7d019b2197f774867fb43ff70.tar.zst
gsoc2013-evolution-0227e26f802bf0d7d019b2197f774867fb43ff70.zip
Attach the GalViewMinicard to the EMinicardView here.
2002-02-13 Christopher James Lahey <clahey@ximian.com> * gui/widgets/e-addressbook-view.c (display_view): Attach the GalViewMinicard to the EMinicardView here. * gui/widgets/gal-view-minicard.c, gui/widgets/gal-view-minicard.h (gal_view_minicard_load, gal_view_minicard_save): Made these save the column width of the view. (gal_view_minicard_attach, gal_view_minicard_detach): Added these functions to allow the GalViewMinicard to set the column width of a EMinicardView and to monitor its changes. svn path=/trunk/; revision=15707
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_ */