aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/e-minicard.h
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2001-06-29 17:47:11 +0800
committerChris Toshok <toshok@src.gnome.org>2001-06-29 17:47:11 +0800
commit8093ffc805f49cc117c3a38cc36643ddc7e2ab1a (patch)
tree5fa602b9c2247361d19cd66051a962b6ba4bf777 /addressbook/gui/widgets/e-minicard.h
parent859c2cb692ebc3a7e851884c6d22c29b5240c918 (diff)
downloadgsoc2013-evolution-8093ffc805f49cc117c3a38cc36643ddc7e2ab1a.tar
gsoc2013-evolution-8093ffc805f49cc117c3a38cc36643ddc7e2ab1a.tar.gz
gsoc2013-evolution-8093ffc805f49cc117c3a38cc36643ddc7e2ab1a.tar.bz2
gsoc2013-evolution-8093ffc805f49cc117c3a38cc36643ddc7e2ab1a.tar.lz
gsoc2013-evolution-8093ffc805f49cc117c3a38cc36643ddc7e2ab1a.tar.xz
gsoc2013-evolution-8093ffc805f49cc117c3a38cc36643ddc7e2ab1a.tar.zst
gsoc2013-evolution-8093ffc805f49cc117c3a38cc36643ddc7e2ab1a.zip
add EVOLUTION_IMAGESDIR define.
2001-06-29 Chris Toshok <toshok@ximian.com> * gui/widgets/Makefile.am (INCLUDES): add EVOLUTION_IMAGESDIR define. * gui/widgets/e-minicard.h (struct _EMinicard): add our pixbuf and pixbuf size. * gui/widgets/e-minicard.c (e_minicard_init): init the icon pixbuf and its size. (e_minicard_destroy): unref the list_icon_pixbuf. (e_minicard_realize): create the list_icon GnomeCanvasPixbuf. (e_minicard_resize_children): clip the header_text by the list_icon, and place the list_icon in the right spot. (remodel): show the list_icon if we're a list, and hide it otherwise. svn path=/trunk/; revision=10596
Diffstat (limited to 'addressbook/gui/widgets/e-minicard.h')
-rw-r--r--addressbook/gui/widgets/e-minicard.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/addressbook/gui/widgets/e-minicard.h b/addressbook/gui/widgets/e-minicard.h
index 6b4ce35013..5a0f590c23 100644
--- a/addressbook/gui/widgets/e-minicard.h
+++ b/addressbook/gui/widgets/e-minicard.h
@@ -22,6 +22,7 @@
#define __E_MINICARD_H__
#include <libgnomeui/gnome-canvas.h>
+#include <gdk-pixbuf/gdk-pixbuf.h>
#include "addressbook/gui/contact-editor/e-contact-editor.h"
#include "addressbook/backend/ebook/e-card.h"
#include "addressbook/backend/ebook/e-card-simple.h"
@@ -69,6 +70,10 @@ struct _EMinicard
GnomeCanvasItem *rect;
GnomeCanvasItem *header_rect;
GnomeCanvasItem *header_text;
+ GnomeCanvasItem *list_icon;
+
+ GdkPixbuf *list_icon_pixbuf;
+ double list_icon_size;
GtkObject *editor;