From 5a4903a839437dceb9e75b9fe2ab35d47f3aeb85 Mon Sep 17 00:00:00 2001
From: edgrif <edgrif>
Date: Thu, 15 Jul 2004 15:10:17 +0000
Subject: [PATCH] Remove redundant title setting code.

---
 src/zmapControl/zmapControlWindowButtons.c | 15 ++-------------
 1 file changed, 2 insertions(+), 13 deletions(-)

diff --git a/src/zmapControl/zmapControlWindowButtons.c b/src/zmapControl/zmapControlWindowButtons.c
index 65d979d8b..f28660171 100755
--- a/src/zmapControl/zmapControlWindowButtons.c
+++ b/src/zmapControl/zmapControlWindowButtons.c
@@ -27,9 +27,9 @@
  *              
  * Exported functions: See zmapControl_P.h
  * HISTORY:
- * Last edited: Jul  9 17:43 2004 (edgrif)
+ * Last edited: Jul 15 15:51 2004 (edgrif)
  * Created: Thu Jul 24 14:36:27 2003 (edgrif)
- * CVS info:   $Id: zmapControlWindowButtons.c,v 1.8 2004-07-14 09:07:09 edgrif Exp $
+ * CVS info:   $Id: zmapControlWindowButtons.c,v 1.9 2004-07-15 15:10:17 edgrif Exp $
  *-------------------------------------------------------------------
  */
 
@@ -129,17 +129,6 @@ static void loadCB(GtkWidget *widget, gpointer cb_data)
 
   zmapControlLoadCB(zmap) ;
 
-  // only here temporarily until we find out why it's not working in zmapWindow.c
-  feature_context = testGetGFF() ;			    /* Data read from a file... */
-
-
-  /* ROB, THIS MAY NEED TO BE REWRITTEN, WHICH SEQUENCE NAME SHOULD GO IN THE WINDOW TITLE
-   * IF MULTIPLE SEQUENCES ARE DISPLAYED ? */
-  title = g_strdup_printf("ZMap - %s", feature_context->sequence) ;
-  gtk_window_set_title(GTK_WINDOW(zmap->toplevel), title) ;
-
-  zmapWindowDrawFeatures(feature_context) ;
-
   return ;
 }
 
-- 
GitLab