diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-03-01 16:43:28 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-03-01 16:43:28 +0800 |
commit | 92d19d2d4f989a021a6587755689b7439c7fb064 (patch) | |
tree | 1b1de8956425713bb497983620ffb3011964b086 /addressbook/gui/widgets/e-minicard.h | |
parent | a4fe250a03ac4b9571dd4da9e9d83e941046775b (diff) | |
download | gsoc2013-evolution-92d19d2d4f989a021a6587755689b7439c7fb064.tar.gz gsoc2013-evolution-92d19d2d4f989a021a6587755689b7439c7fb064.tar.zst gsoc2013-evolution-92d19d2d4f989a021a6587755689b7439c7fb064.zip |
Used ESelectionModelSimple and the changes to EReflow and EReflowSorted to
2001-03-01 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h,
gui/widgets/e-minicard.c, gui/widgets/e-minicard.h: Used
ESelectionModelSimple and the changes to EReflow and EReflowSorted
to get multiple selection in the minicard view.
* gui/widgets/test-reflow.c: Changed this to get it to compile
with the changes to EReflow.
svn path=/trunk/; revision=8444
Diffstat (limited to 'addressbook/gui/widgets/e-minicard.h')
-rw-r--r-- | addressbook/gui/widgets/e-minicard.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/addressbook/gui/widgets/e-minicard.h b/addressbook/gui/widgets/e-minicard.h index 54c5806a28..dbc914502c 100644 --- a/addressbook/gui/widgets/e-minicard.h +++ b/addressbook/gui/widgets/e-minicard.h @@ -76,8 +76,10 @@ struct _EMinicard guint needs_remodeling : 1; guint changed : 1; + + guint selected : 1; - gboolean has_focus; + guint has_focus : 1; double width; double height; @@ -87,7 +89,7 @@ struct _EMinicardClass { GnomeCanvasGroupClass parent_class; - void (* resize) (EMinicard *minicard); + gint (* selected) (EMinicard *minicard, GdkEvent *event); }; @@ -95,6 +97,8 @@ GtkType e_minicard_get_type (void); char *e_minicard_get_card_id (EMinicard *minicard); int e_minicard_compare (EMinicard *minicard1, EMinicard *minicard2); +int e_minicard_selected (EMinicard *minicard, GdkEvent *event); + #ifdef __cplusplus } #endif /* __cplusplus */ |