diff --git a/src/zmapView/zmapViewUtils.c b/src/zmapView/zmapViewUtils.c index 9b3ed1df30c622384c656e35d413a0e2c5711e73..1be8d8ce2acd087becfc0b0d7aaca0efb7e879a5 100755 --- a/src/zmapView/zmapViewUtils.c +++ b/src/zmapView/zmapViewUtils.c @@ -27,9 +27,9 @@ * Exported functions: See ZMap/ZMapView.h for public functions and * zmapView_P.h for private functions. * HISTORY: - * Last edited: Oct 1 15:42 2009 (edgrif) + * Last edited: Mar 11 13:27 2010 (edgrif) * Created: Mon Sep 20 10:29:15 2004 (edgrif) - * CVS info: $Id: zmapViewUtils.c,v 1.17 2010-03-04 15:11:38 mh17 Exp $ + * CVS info: $Id: zmapViewUtils.c,v 1.18 2010-03-12 14:46:42 edgrif Exp $ *------------------------------------------------------------------- */ @@ -108,7 +108,7 @@ void zMapViewGetVisible(ZMapViewWindow view_window, double *top, double *bottom) -void zmapViewBusy(ZMapView zmap_view, gboolean busy) +void zmapViewBusyFull(ZMapView zmap_view, gboolean busy, const char *file, const char *function) { GList* list_item ; @@ -122,11 +122,12 @@ void zmapViewBusy(ZMapView zmap_view, gboolean busy) view_window = list_item->data ; - zMapWindowBusy(view_window->window, busy) ; + zMapWindowBusyFull(view_window->window, busy, file, function) ; } while ((list_item = g_list_next(list_item))) ; } + return ; } diff --git a/src/zmapView/zmapView_P.h b/src/zmapView/zmapView_P.h index ff00905186123dba63a55d5b3d8bfcf28c2c4d1d..f0a7f2a379a46b6df4cf9a763297b72c0e3a303a 100755 --- a/src/zmapView/zmapView_P.h +++ b/src/zmapView/zmapView_P.h @@ -24,9 +24,9 @@ * * Description: * HISTORY: - * Last edited: Jan 14 10:32 2010 (edgrif) + * Last edited: Mar 11 13:27 2010 (edgrif) * Created: Thu May 13 15:06:21 2004 (edgrif) - * CVS info: $Id: zmapView_P.h,v 1.55 2010-03-04 15:11:39 mh17 Exp $ + * CVS info: $Id: zmapView_P.h,v 1.56 2010-03-12 14:46:42 edgrif Exp $ *------------------------------------------------------------------- */ #ifndef ZMAP_VIEW_P_H @@ -297,9 +297,10 @@ typedef struct _ZMapViewStruct +void zmapViewBusyFull(ZMapView zmap_view, gboolean busy, const char *file, const char *function) ; +#define zmapViewBusy(VIEW, BUSY) \ + zmapViewBusyFull((VIEW), (BUSY), __FILE__, __PRETTY_FUNCTION__) - -void zmapViewBusy(ZMapView zmap_view, gboolean busy) ; gboolean zmapAnyConnBusy(GList *connection_list) ; char *zmapViewGetStatusAsStr(ZMapViewState state) ; gboolean zmapViewBlixemLocalSequences(ZMapView view, ZMapFeature feature, GList **local_sequences_out) ;