* src/docgen/PSDrawDoc.py: fix imports - make it work
* src/ReportBase/_StyleEditor.py: use ManagedWindow * src/ReportBase/_BareReportDialog.py: import StyleEditor * src/plugins/BookReport.py: fix "Center Person" display * src/plugins/WriteCD.py: fail gracefully without Gnome svn: r6860
This commit is contained in:
@@ -46,7 +46,14 @@ log = logging.getLogger(".WriteCD")
|
||||
#-------------------------------------------------------------------------
|
||||
import gtk
|
||||
import gtk.glade
|
||||
import gnome
|
||||
import Errors
|
||||
|
||||
try:
|
||||
import gnome
|
||||
except ImportError:
|
||||
raise Errors.UnavailableError(
|
||||
_("Cannot be loaded because python bindings "
|
||||
"for GNOME are not installed"))
|
||||
|
||||
try:
|
||||
from gnomevfs import URI, create, OPEN_WRITE, make_directory, FileExistsError
|
||||
|
||||
Reference in New Issue
Block a user