1303 # redo if it is a redirect |
1303 # redo if it is a redirect |
1304 self.checkPluginUpdatesAvailable() |
1304 self.checkPluginUpdatesAvailable() |
1305 return |
1305 return |
1306 |
1306 |
1307 if self.__updateAvailable: |
1307 if self.__updateAvailable: |
1308 res = EricMessageBox.information( |
1308 self.__ui.activatePluginRepositoryViewer() |
1309 None, |
|
1310 self.tr("New plugin versions available"), |
|
1311 self.tr("<p>There are new plug-ins or plug-in" |
|
1312 " updates available. Use the plug-in" |
|
1313 " repository dialog to get them.</p>"), |
|
1314 EricMessageBox.Ignore | EricMessageBox.Open, |
|
1315 EricMessageBox.Open) |
|
1316 if res == EricMessageBox.Open: |
|
1317 self.__ui.showPluginsAvailable() |
|
1318 |
1309 |
1319 def checkPluginEntry(self, name, short, description, url, author, version, |
1310 def checkPluginEntry(self, name, short, description, url, author, version, |
1320 filename, status): |
1311 filename, status): |
1321 """ |
1312 """ |
1322 Public method to check a plug-in's data for an update. |
1313 Public method to check a plug-in's data for an update. |