From fa20d6a1f4c0c792ceefa031922da750eb60c32e Mon Sep 17 00:00:00 2001 From: Hans Petter Jansson Date: Sat, 17 Jan 2004 00:52:06 +0000 Subject: Don't run callback if the action was cancelled. (load_source_cb): Ditto. 2004-01-16 Hans Petter Jansson * gui/component/addressbook.c (load_source_auth_cb): Don't run callback if the action was cancelled. (load_source_cb): Ditto. (addressbook_load_source): Return an ID for the load attempt. (addressbook_load_source_cancel): Implement, allows cancelling a load attempt. * gui/contact-editor/e-contact-editor.c (new_target_cb): Clear the values for in-progress load operation. Only unref new_book if it's non-NULL. (cancel_load): Implement. Cancels the load operation if one is in progress. (source_selected): Cancel any running load operation before starting a new one. Set up in-progress values. (e_contact_editor_init): Clear the in-progress values. (e_contact_editor_dispose): Cancel load operation. (e_contact_editor_set_property): If a new target book is set, cancel any conflicting load operation in progress. * gui/widgets/e-addressbook-view.c (set_paned_position): Remove debug output. (get_paned_position): Ditto. svn path=/trunk/; revision=24287 --- addressbook/gui/widgets/e-addressbook-view.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'addressbook/gui/widgets') diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c index 3e58c2651c..04f28671f5 100644 --- a/addressbook/gui/widgets/e-addressbook-view.c +++ b/addressbook/gui/widgets/e-addressbook-view.c @@ -363,8 +363,6 @@ set_paned_position (EABView *eav) GConfClient *gconf_client; gint pos; - g_print (G_STRLOC "\n"); - gconf_client = gconf_client_get_default (); pos = gconf_client_get_int (gconf_client, "/apps/evolution/addressbook/display/vpane_position", NULL); if (pos < 1) @@ -379,8 +377,6 @@ get_paned_position (EABView *eav) GConfClient *gconf_client; gint pos; - g_print (G_STRLOC "\n"); - gconf_client = gconf_client_get_default (); pos = gtk_paned_get_position (GTK_PANED (eav->paned)); -- cgit v1.2.3