nautilus-sendto r325 - in trunk: . src/plugins
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: nautilus-sendto r325 - in trunk: . src/plugins
- Date: Tue, 27 May 2008 08:53:28 +0000 (UTC)
Author: hadess
Date: Tue May 27 08:53:28 2008
New Revision: 325
URL: http://svn.gnome.org/viewvc/nautilus-sendto?rev=325&view=rev
Log:
2008-05-27 Bastien Nocera <hadess hadess net>
* src/plugins/evolution.c (error_cb), (get_contacts_widget):
A bit of debugging, print any errors we might get from the
contact entry
Modified:
trunk/ChangeLog
trunk/src/plugins/evolution.c
Modified: trunk/src/plugins/evolution.c
==============================================================================
--- trunk/src/plugins/evolution.c (original)
+++ trunk/src/plugins/evolution.c Tue May 27 08:53:28 2008
@@ -94,6 +94,12 @@
}
static void
+error_cb (EContactEntry *entry_widget, const char *error, NstPlugin *plugin)
+{
+ g_warning ("An error occurred: %s", error);
+}
+
+static void
add_sources (EContactEntry *entry)
{
ESourceList *source_list;
@@ -135,6 +141,8 @@
G_CALLBACK (contacts_selected_cb), plugin);
g_signal_connect (G_OBJECT (entry), "state-change",
G_CALLBACK (state_change_cb), NULL);
+ g_signal_connect (G_OBJECT (entry), "error",
+ G_CALLBACK (error_cb), plugin);
add_sources (E_CONTACT_ENTRY (entry));
setup_source_changes (E_CONTACT_ENTRY (entry));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]