eric7/Plugins/VcsPlugins/vcsMercurial/ShelveExtension/ProjectBrowserHelper.py

branch
eric7
changeset 8356
68ec9c3d4de5
parent 8318
962bce857696
child 8358
144a6b854f70
equal deleted inserted replaced
8355:8a7677a63c8d 8356:68ec9c3d4de5
7 Module implementing the shelve extension project browser helper. 7 Module implementing the shelve extension project browser helper.
8 """ 8 """
9 9
10 from PyQt6.QtWidgets import QMenu 10 from PyQt6.QtWidgets import QMenu
11 11
12 from E5Gui import E5MessageBox 12 from E5Gui import EricMessageBox
13 13
14 from ..HgExtensionProjectBrowserHelper import HgExtensionProjectBrowserHelper 14 from ..HgExtensionProjectBrowserHelper import HgExtensionProjectBrowserHelper
15 15
16 16
17 class ShelveProjectBrowserHelper(HgExtensionProjectBrowserHelper): 17 class ShelveProjectBrowserHelper(HgExtensionProjectBrowserHelper):
89 @param shouldReopen flag indicating that the project should 89 @param shouldReopen flag indicating that the project should
90 be reopened (boolean) 90 be reopened (boolean)
91 @param title title of the message box (string) 91 @param title title of the message box (string)
92 """ 92 """
93 if shouldReopen: 93 if shouldReopen:
94 res = E5MessageBox.yesNo( 94 res = EricMessageBox.yesNo(
95 None, 95 None,
96 title, 96 title,
97 self.tr("""The project should be reread. Do this now?"""), 97 self.tr("""The project should be reread. Do this now?"""),
98 yesDefault=True) 98 yesDefault=True)
99 if res: 99 if res:

eric ide

mercurial