aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/e-minicard-view-model.h
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2001-05-12 05:03:42 +0800
committerChris Toshok <toshok@src.gnome.org>2001-05-12 05:03:42 +0800
commit95651fe8285b961687f8ade655e0c2b1b08aad78 (patch)
treea1d32c0e71523e80a63b8729150959557bf052c1 /addressbook/gui/widgets/e-minicard-view-model.h
parent714cf99b72b368750d167e8b4861dc8394878458 (diff)
downloadgsoc2013-evolution-95651fe8285b961687f8ade655e0c2b1b08aad78.tar
gsoc2013-evolution-95651fe8285b961687f8ade655e0c2b1b08aad78.tar.gz
gsoc2013-evolution-95651fe8285b961687f8ade655e0c2b1b08aad78.tar.bz2
gsoc2013-evolution-95651fe8285b961687f8ade655e0c2b1b08aad78.tar.lz
gsoc2013-evolution-95651fe8285b961687f8ade655e0c2b1b08aad78.tar.xz
gsoc2013-evolution-95651fe8285b961687f8ade655e0c2b1b08aad78.tar.zst
gsoc2013-evolution-95651fe8285b961687f8ade655e0c2b1b08aad78.zip
use e_card_list_get_vcard to build up the data to send.
2001-05-11 Chris Toshok <toshok@ximian.com> * gui/widgets/e-minicard-view.c (e_minicard_view_drag_data_get): use e_card_list_get_vcard to build up the data to send. (e_minicard_view_init): connect to the model's drag_begin signal. (e_minicard_view_drag_begin): gather the list of cards being dragged and call gtk_drag_begin. (add_to_list): new function. (get_card_list): same. (disconnect_signals): disconnect the drag_data_get signal. (e_minicard_view_init): connect to the drag_begin signal on our model. * gui/widgets/e-minicard-view.h (struct _EMinicardView): change drag_card to drag_list. * gui/widgets/e-minicard-view-model.c (minicard_drag_begin): new function, emit our drag_begin signal. (addressbook_incarnate): connect to the item's drag_begin signal. (e_minicard_view_model_class_init): init our drag_begin signal. * gui/widgets/e-minicard-view-model.h: add drag_begin signal. * gui/component/addressbook-config.c (addressbook_source_dialog): always loop through all source types here, making LDAP first so it's forces as the first notebook item. (addressbook_config_auth_label): remove SASL case. (addressbook_source_edit_changed): same. (addressbook_source_item_new): flag the area of code that needs to go into the advanced dialog (if we add one before someone graciously redesigns the entire addressbook gui :) * gui/component/addressbook-storage.c (ldap_unparse_auth): remove SASL case. (ldap_parse_auth): same. * gui/component/addressbook-storage.h: make LDAP come first in our source type enumeration, and remove the SASL auth type. svn path=/trunk/; revision=9774
Diffstat (limited to 'addressbook/gui/widgets/e-minicard-view-model.h')
-rw-r--r--addressbook/gui/widgets/e-minicard-view-model.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/addressbook/gui/widgets/e-minicard-view-model.h b/addressbook/gui/widgets/e-minicard-view-model.h
index c0e1029522..c958a81690 100644
--- a/addressbook/gui/widgets/e-minicard-view-model.h
+++ b/addressbook/gui/widgets/e-minicard-view-model.h
@@ -4,6 +4,7 @@
#include <gal/widgets/e-reflow-model.h>
#include <gal/widgets/e-selection-model.h>
+#include "e-minicard.h"
#include "addressbook/backend/ebook/e-book.h"
#include "addressbook/backend/ebook/e-book-view.h"
#include "addressbook/backend/ebook/e-card.h"
@@ -52,6 +53,7 @@ struct _EMinicardViewModelClass {
* Signals
*/
void (*status_message) (EMinicardViewModel *model, const gchar *message);
+ gint (* drag_begin) (EMinicardViewModel *model, GdkEvent *event);
};