aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/ebook/e-card-simple.h
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-10-29 20:31:45 +0800
committerChris Lahey <clahey@src.gnome.org>2001-10-29 20:31:45 +0800
commit0a52d890e3b75aa2d1fae3da6c206055cd723cc6 (patch)
treedec38a0f777a6838e09a9f9633987550455a7a38 /addressbook/backend/ebook/e-card-simple.h
parente3e57f4defa9cb92362a096e5ccb000ffa210be3 (diff)
downloadgsoc2013-evolution-0a52d890e3b75aa2d1fae3da6c206055cd723cc6.tar
gsoc2013-evolution-0a52d890e3b75aa2d1fae3da6c206055cd723cc6.tar.gz
gsoc2013-evolution-0a52d890e3b75aa2d1fae3da6c206055cd723cc6.tar.bz2
gsoc2013-evolution-0a52d890e3b75aa2d1fae3da6c206055cd723cc6.tar.lz
gsoc2013-evolution-0a52d890e3b75aa2d1fae3da6c206055cd723cc6.tar.xz
gsoc2013-evolution-0a52d890e3b75aa2d1fae3da6c206055cd723cc6.tar.zst
gsoc2013-evolution-0a52d890e3b75aa2d1fae3da6c206055cd723cc6.zip
Handle returning dates here. (e_card_simple_get_allow_newlines): New
2001-10-29 Christopher James Lahey <clahey@ximian.com> * backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h (e_card_simple_get): Handle returning dates here. (e_card_simple_get_allow_newlines): New function. Returns whether it makes much sense to have newlines in this string. * gui/component/addressbook-config.c, gui/component/addressbook-config.h (addressbook_create_new_source): The first argument here should be const. * gui/component/addressbook-storage.c: Added #include "addressbook-config.h". * gui/widgets/e-minicard-label.c (e_minicard_label_event): On an escape here, cancel editing and remove the focus from the text. * gui/widgets/e-minicard.c (add_field): Set allow_newlines here. (field_activated): Stop editing on the activate signal and remove the focus from the text. Fixes Ximian bug #12286. svn path=/trunk/; revision=14335
Diffstat (limited to 'addressbook/backend/ebook/e-card-simple.h')
-rw-r--r--addressbook/backend/ebook/e-card-simple.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/addressbook/backend/ebook/e-card-simple.h b/addressbook/backend/ebook/e-card-simple.h
index 4acc95cab8..1e20085708 100644
--- a/addressbook/backend/ebook/e-card-simple.h
+++ b/addressbook/backend/ebook/e-card-simple.h
@@ -178,6 +178,8 @@ const char *e_card_simple_get_name (ECardSimple
ECardSimpleField field);
const char *e_card_simple_get_short_name (ECardSimple *simple,
ECardSimpleField field);
+gboolean e_card_simple_get_allow_newlines (ECardSimple *simple,
+ ECardSimpleField field);
/* Use these only if building lists of specific types. It should be