From ebb0d7e54d557ece4a719573fb0cb8a6aee58d73 Mon Sep 17 00:00:00 2001
From: tjc <tjc@ee4ac58c-ac51-4696-9907-e4b3aa274f04>
Date: Wed, 11 Jul 2007 12:50:03 +0000
Subject: [PATCH] updates

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@6212 ee4ac58c-ac51-4696-9907-e4b3aa274f04
---
 etc/options                                                | 3 ++-
 .../artemis/components/genebuilder/GeneBuilderFrame.java   | 7 ++++---
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/etc/options b/etc/options
index b1f251ee1..4e4caaacf 100644
--- a/etc/options
+++ b/etc/options
@@ -2,7 +2,7 @@
 
 # (Note that comment lines start with a hash (#) symbol)
 
-# $Header: //tmp/pathsoft/artemis/etc/options,v 1.27 2007-07-09 13:29:13 tjc Exp $
+# $Header: //tmp/pathsoft/artemis/etc/options,v 1.28 2007-07-11 12:48:31 tjc Exp $
 
 # This file should contain option settings that look like this:
 #
@@ -634,6 +634,7 @@ invisible_qualifiers_gff= \
     gff_source     \
     GO             \
     ID             \
+    Name           \
     Ontology_term  \
     Parent         \
     product        \
diff --git a/uk/ac/sanger/artemis/components/genebuilder/GeneBuilderFrame.java b/uk/ac/sanger/artemis/components/genebuilder/GeneBuilderFrame.java
index 11efd581a..9ec1519ac 100644
--- a/uk/ac/sanger/artemis/components/genebuilder/GeneBuilderFrame.java
+++ b/uk/ac/sanger/artemis/components/genebuilder/GeneBuilderFrame.java
@@ -20,7 +20,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  *
- * $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/components/genebuilder/GeneBuilderFrame.java,v 1.29 2007-07-05 11:54:13 tjc Exp $
+ * $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/components/genebuilder/GeneBuilderFrame.java,v 1.30 2007-07-11 12:50:03 tjc Exp $
  */
 
 package uk.ac.sanger.artemis.components.genebuilder;
@@ -219,7 +219,7 @@ public class GeneBuilderFrame extends JFrame
     
     Utilities.centreFrame(this);
     setVisible(true);
-    all.setDividerLocation(0.35);
+    all.setDividerLocation(0.30);
   }
   
   /**
@@ -237,7 +237,8 @@ public class GeneBuilderFrame extends JFrame
       e.printStackTrace();
     }
     
-    if(chadoTransactionManager != null)
+    if(chadoTransactionManager != null &&
+       chadoTransactionManager.hasTransactions())
     { 
       int select = JOptionPane.showConfirmDialog(this, 
           "Commit changes back to the database?", 
-- 
GitLab