1116 # redo if it is a redirect |
1116 # redo if it is a redirect |
1117 self.checkPluginUpdatesAvailable() |
1117 self.checkPluginUpdatesAvailable() |
1118 return |
1118 return |
1119 |
1119 |
1120 if self.__updateAvailable: |
1120 if self.__updateAvailable: |
1121 E5MessageBox.information( |
1121 res = E5MessageBox.information( |
1122 None, |
1122 None, |
1123 self.trUtf8("New plugin versions available"), |
1123 self.trUtf8("New plugin versions available"), |
1124 self.trUtf8("<p>There are new plug-ins or plug-in" |
1124 self.trUtf8("<p>There are new plug-ins or plug-in" |
1125 " updates available. Use the plug-in" |
1125 " updates available. Use the plug-in" |
1126 " repository dialog to get them.</p>") |
1126 " repository dialog to get them.</p>"), |
1127 ) |
1127 E5MessageBox.StandardButtons( |
|
1128 E5MessageBox.Ignore | \ |
|
1129 E5MessageBox.Open), |
|
1130 E5MessageBox.Open) |
|
1131 if res == E5MessageBox.Open: |
|
1132 self.__ui.showPluginsAvailable() |
1128 |
1133 |
1129 def checkPluginEntry(self, name, short, description, url, author, version, |
1134 def checkPluginEntry(self, name, short, description, url, author, version, |
1130 filename, status): |
1135 filename, status): |
1131 """ |
1136 """ |
1132 Public method to check a plug-in's data for an update. |
1137 Public method to check a plug-in's data for an update. |