equal
deleted
inserted
replaced
1279 return |
1279 return |
1280 else: |
1280 else: |
1281 self.\ |
1281 self.\ |
1282 BeremizRoot.\ |
1282 BeremizRoot.\ |
1283 setURI_location(uri) |
1283 setURI_location(uri) |
|
1284 self.ChangesToSave = True |
1284 if self._View is not None: |
1285 if self._View is not None: |
1285 self._View.RefreshView() |
1286 self._View.RefreshView() |
1286 |
1287 self.AppFrame.RefreshTitle() |
|
1288 self.AppFrame.RefreshFileMenu() |
|
1289 self.AppFrame.RefreshEditMenu() |
|
1290 self.AppFrame.RefreshPageTitles() |
|
1291 |
1287 # Get connector from uri |
1292 # Get connector from uri |
1288 try: |
1293 try: |
1289 self._connector = connectors.ConnectorFactory(uri, self) |
1294 self._connector = connectors.ConnectorFactory(uri, self) |
1290 except Exception, msg: |
1295 except Exception, msg: |
1291 self.logger.write_error(_("Exception while connecting %s!\n")%uri) |
1296 self.logger.write_error(_("Exception while connecting %s!\n")%uri) |