[jsword-svn] bibledesktop/java/limbo/org/crosswire/bibledesktop/desktop s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Tue Mar 22 05:39:58 MST 2005


Update of /cvs/jsword/bibledesktop/java/limbo/org/crosswire/bibledesktop/desktop
In directory www.crosswire.org:/tmp/cvs-serv9891/java/limbo/org/crosswire/bibledesktop/desktop

Modified Files:
	MaintenancePane.java 
Log Message:
changed calls like book.getBookMetaData().xxx() to book.xxx().
Added a "Remove Index" button on the Book Installer.

Index: MaintenancePane.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/limbo/org/crosswire/bibledesktop/desktop/MaintenancePane.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** MaintenancePane.java	19 Mar 2005 01:57:09 -0000	1.5
--- MaintenancePane.java	22 Mar 2005 12:39:56 -0000	1.6
***************
*** 158,166 ****
  
              if (JOptionPane.showConfirmDialog(this,
!                 "Are you sure you want to delete "+book.getBookMetaData().getName()+"?\nDeleted Books can not be recovered", //$NON-NLS-1$ //$NON-NLS-2$
                  "Delete Bible", //$NON-NLS-1$
                  JOptionPane.YES_NO_OPTION) == JOptionPane.YES_OPTION)
              {
!                 book.getBookMetaData().getDriver().delete(book);
              }
          }
--- 158,166 ----
  
              if (JOptionPane.showConfirmDialog(this,
!                 "Are you sure you want to delete "+book.getName()+"?\nDeleted Books can not be recovered", //$NON-NLS-1$ //$NON-NLS-2$
                  "Delete Bible", //$NON-NLS-1$
                  JOptionPane.YES_NO_OPTION) == JOptionPane.YES_OPTION)
              {
!                 book.getDriver().delete(book);
              }
          }



More information about the jsword-svn mailing list