5532 self.trUtf8("First time usage"), |
5532 self.trUtf8("First time usage"), |
5533 self.trUtf8("""eric5 has not been configured yet. """ |
5533 self.trUtf8("""eric5 has not been configured yet. """ |
5534 """The configuration dialog will be started.""")) |
5534 """The configuration dialog will be started.""")) |
5535 self.showPreferences() |
5535 self.showPreferences() |
5536 |
5536 |
|
5537 def checkProjectsWorkspace(self): |
|
5538 """ |
|
5539 Public method to check, if a projects workspace has been configured. If |
|
5540 it has not, a dialog is shown. |
|
5541 """ |
|
5542 if not Preferences.isConfigured(): |
|
5543 # eric hasn't been configured at all |
|
5544 self.checkConfigurationStatus() |
|
5545 |
|
5546 workspace = Preferences.getMultiProject("Workspace") |
|
5547 if workspace == "": |
|
5548 default = Utilities.getHomeDir() |
|
5549 workspace = E5FileDialog.getExistingDirectory( |
|
5550 None, |
|
5551 self.trUtf8("Select Workspace Directory"), |
|
5552 default, |
|
5553 E5FileDialog.Options(E5FileDialog.Option(0))) |
|
5554 Preferences.setMultiProject("Workspace", workspace) |
|
5555 |
5537 def versionIsNewer(self, required, snapshot=None): |
5556 def versionIsNewer(self, required, snapshot=None): |
5538 """ |
5557 """ |
5539 Public method to check, if the eric5 version is good compared to |
5558 Public method to check, if the eric5 version is good compared to |
5540 the required version. |
5559 the required version. |
5541 |
5560 |