* src/ViewManager.py:
* src/DbLoader.py: Remove os.chdir, no longer needed for relative path 2008-02-24 Douglas S. Blank <dblank@cs.brynmawr.edu> svn: r10105
This commit is contained in:
parent
7ff838b08b
commit
cd756e5b13
@ -1,3 +1,8 @@
|
||||
2008-02-24 Douglas S. Blank <dblank@cs.brynmawr.edu>
|
||||
* src/ViewManager.py:
|
||||
* src/DbLoader.py:
|
||||
Remove os.chdir, no longer needed for relative path
|
||||
|
||||
2008-02-24 Douglas S. Blank <dblank@cs.brynmawr.edu>
|
||||
* src/DataViews/GrampletView.py: don't save deleted gramplets
|
||||
* src/glade/gramps.glade: changed tooltip from "close" to "delete"
|
||||
|
@ -268,10 +268,6 @@ class DbLoader:
|
||||
try:
|
||||
self.dbstate.db.load(filename, self.uistate.pulse_progressbar, mode)
|
||||
self.dbstate.db.set_save_path(filename)
|
||||
try:
|
||||
os.chdir(os.path.dirname(filename))
|
||||
except (OSError, IOError):
|
||||
print "could not change directory"
|
||||
except OSError, msg:
|
||||
ErrorDialog(
|
||||
_("Could not open file: %s") % filename, str(msg))
|
||||
|
@ -1057,10 +1057,6 @@ class ViewManager:
|
||||
if value:
|
||||
(filename, title) = value
|
||||
self.db_loader.read_file(filename)
|
||||
try:
|
||||
os.chdir(os.path.dirname(filename))
|
||||
except (IOError, OSError):
|
||||
pass
|
||||
self.__post_load_newdb(filename, 'x-directory/normal', title)
|
||||
|
||||
def __read_recent_file(self, filename):
|
||||
|
Loading…
Reference in New Issue
Block a user