[jsword-svn]
bibledesktop/java/main/org/crosswire/bibledesktop/book/install s
jswordcvs at crosswire.org
jswordcvs at crosswire.org
Sat Jun 11 13:41:17 MST 2005
Update of /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/install
In directory www.crosswire.org:/tmp/cvs-serv27497/java/main/org/crosswire/bibledesktop/book/install
Modified Files:
SitePane.java
Log Message:
Made showing the sidebar a default and set it to no.
Cleaned up the code to consistently use "book" to refer to "module"
Index: SitePane.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/install/SitePane.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** SitePane.java 8 Jun 2005 20:13:20 -0000 1.12
--- SitePane.java 11 Jun 2005 20:41:15 -0000 1.13
***************
*** 47,55 ****
import org.crosswire.common.util.Reporter;
import org.crosswire.jsword.book.Book;
import org.crosswire.jsword.book.BookException;
import org.crosswire.jsword.book.BookList;
import org.crosswire.jsword.book.BookMetaData;
import org.crosswire.jsword.book.BookSet;
- import org.crosswire.jsword.book.BookType;
import org.crosswire.jsword.book.Books;
import org.crosswire.jsword.book.BooksEvent;
--- 47,55 ----
import org.crosswire.common.util.Reporter;
import org.crosswire.jsword.book.Book;
+ import org.crosswire.jsword.book.BookCategory;
import org.crosswire.jsword.book.BookException;
import org.crosswire.jsword.book.BookList;
import org.crosswire.jsword.book.BookMetaData;
import org.crosswire.jsword.book.BookSet;
import org.crosswire.jsword.book.Books;
import org.crosswire.jsword.book.BooksEvent;
***************
*** 455,459 ****
actions.getAction(UNINDEX).setEnabled(bookSelected && imanager.isIndexed(book));
actions.getAction(INSTALL).setEnabled(bookSelected);
! actions.getAction(INSTALL_SEARCH).setEnabled(bookSelected && book.getType() == BookType.BIBLE);
}
--- 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);
}
***************
*** 496,500 ****
/**
! * From which we get our list of installable modules
*/
protected transient Installer installer;
--- 496,500 ----
/**
! * From which we get our list of installable books
*/
protected transient Installer installer;
More information about the jsword-svn
mailing list