Yedidyah Bar David has uploaded a new change for review. Change subject: packaging: setup: Move product option title to common ......................................................................
packaging: setup: Move product option title to common Change-Id: I661cd5062108426164ef4a26772753957db41769 Related-To: https://bugzilla.redhat.com/1080997 Related-To: https://bugzilla.redhat.com/1080998 Signed-off-by: Yedidyah Bar David <d...@redhat.com> --- M packaging/setup/plugins/ovirt-engine-common/base/dialog/titles.py M packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/dialog/titles.py 2 files changed, 19 insertions(+), 19 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/61/27261/1 diff --git a/packaging/setup/plugins/ovirt-engine-common/base/dialog/titles.py b/packaging/setup/plugins/ovirt-engine-common/base/dialog/titles.py index 22f6fae..3eab5c6 100644 --- a/packaging/setup/plugins/ovirt-engine-common/base/dialog/titles.py +++ b/packaging/setup/plugins/ovirt-engine-common/base/dialog/titles.py @@ -43,6 +43,25 @@ super(Plugin, self).__init__(context=context) @plugin.event( + stage=plugin.Stages.STAGE_CUSTOMIZATION, + name=osetupcons.Stages.DIALOG_TITLES_S_PRODUCT_OPTIONS, + ) + def _title_s_product_options(self): + self._title( + text=_('PRODUCT OPTIONS'), + ) + + @plugin.event( + stage=plugin.Stages.STAGE_CUSTOMIZATION, + name=osetupcons.Stages.DIALOG_TITLES_E_PRODUCT_OPTIONS, + after=( + osetupcons.Stages.DIALOG_TITLES_S_PRODUCT_OPTIONS, + ), + ) + def _title_e_product_options(self): + pass + + @plugin.event( stage=plugin.Stages.STAGE_CLOSEUP, name=osetupcons.Stages.DIALOG_TITLES_S_SUMMARY, ) diff --git a/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/dialog/titles.py b/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/dialog/titles.py index 3cc8042..bccc83f 100644 --- a/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/dialog/titles.py +++ b/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/dialog/titles.py @@ -48,25 +48,6 @@ @plugin.event( stage=plugin.Stages.STAGE_CUSTOMIZATION, - name=osetupcons.Stages.DIALOG_TITLES_S_PRODUCT_OPTIONS, - ) - def _title_s_product_options(self): - self._title( - text=_('PRODUCT OPTIONS'), - ) - - @plugin.event( - stage=plugin.Stages.STAGE_CUSTOMIZATION, - name=osetupcons.Stages.DIALOG_TITLES_E_PRODUCT_OPTIONS, - after=( - osetupcons.Stages.DIALOG_TITLES_S_PRODUCT_OPTIONS, - ), - ) - def _title_e_product_options(self): - pass - - @plugin.event( - stage=plugin.Stages.STAGE_CUSTOMIZATION, name=osetupcons.Stages.DIALOG_TITLES_S_PACKAGES, after=( osetupcons.Stages.DIALOG_TITLES_E_PRODUCT_OPTIONS, -- To view, visit http://gerrit.ovirt.org/27261 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I661cd5062108426164ef4a26772753957db41769 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Yedidyah Bar David <d...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches