[jsword-svn] bibledesktop/java/main/org/crosswire/bibledesktop/book/install s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Sun Jan 1 20:40:04 MST 2006


Update of /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/install
In directory www.crosswire.org:/tmp/cvs-serv25565/java/main/org/crosswire/bibledesktop/book/install

Modified Files:
	SitePane.java 
Log Message:
A mostly complete implementation of daily devotion as a separate book type.

Index: SitePane.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/install/SitePane.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** SitePane.java	21 Aug 2005 20:38:04 -0000	1.15
--- SitePane.java	2 Jan 2006 03:40:02 -0000	1.16
***************
*** 235,239 ****
          // return new BooksTreeModel(books);
          BookSet bmds = new BookSet(books.getBooks());
!         TreeNode bookRoot = new BookNode("root", bmds, new Object[] { BookMetaData.KEY_TYPE, BookMetaData.KEY_LANGUAGE }, 0); //$NON-NLS-1$
          return new DefaultTreeModel(bookRoot);
      }
--- 235,239 ----
          // return new BooksTreeModel(books);
          BookSet bmds = new BookSet(books.getBooks());
!         TreeNode bookRoot = new BookNode("root", bmds, new Object[] { BookMetaData.KEY_CATEGORY, BookMetaData.KEY_LANGUAGE }, 0); //$NON-NLS-1$
          return new DefaultTreeModel(bookRoot);
      }
***************
*** 455,459 ****
          actions.getAction(UNINDEX).setEnabled(bookSelected && imanager.isIndexed(book));
          actions.getAction(INSTALL).setEnabled(bookSelected);
!         actions.getAction(INSTALL_SEARCH).setEnabled(bookSelected && book.getType() == BookCategory.BIBLE);
      }
  
--- 455,459 ----
          actions.getAction(UNINDEX).setEnabled(bookSelected && imanager.isIndexed(book));
          actions.getAction(INSTALL).setEnabled(bookSelected);
!         actions.getAction(INSTALL_SEARCH).setEnabled(bookSelected && book.getBookCategory() == BookCategory.BIBLE);
      }
  



More information about the jsword-svn mailing list